X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Fconfig.mk.in;h=f18a1e742b1cb9ba94bd9f0c0ca04c23f2bc9d44;hb=4c1d058daf3f8dd1ee7190bcc77022cc20690241;hp=2c3a29240ec0512d248c1e908e90025891f5ad46;hpb=9c569d63f7a21403caf267620154ba787cae32ac;p=ghc-hetmet.git diff --git a/mk/config.mk.in b/mk/config.mk.in index 2c3a292..f18a1e7 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -147,7 +147,7 @@ IncludeTestDirsInBuild=NO # HC_ROJEMO_NHC # HC_UNSPECIFIED -WithGhcHc = $(HC) +WithGhcHc = @WithHc@ # Variable which is set to the version number of the $(WithGhcHc) we're using. # Not currently used, but might come in handy sometime soon. @@ -215,11 +215,8 @@ endif # -O is pretty desirable, otherwise no inlining of prelude # things (incl "+") happens when compiling with this compiler -ifeq "$(GhcWithHscBuiltViaC)" "YES" GhcLibHcOpts=-O -else -GhcLibHcOpts=-O -split-objs -odir $* -endif +SplitObjs = YES # Win32 only: Enable the RTS and libraries to be built as DLLs # @@ -281,7 +278,7 @@ HaveLibReadline=@HaveLibReadline@ ################################################################################ # The compiler you'd like to use to compile Happy -WithHappyHc = $(HC) +WithHappyHc = @WithHc@ # HappyHcOpts gives the flags to pass to the Haskell compiler used # to compile the Happy sources with. @@ -347,6 +344,11 @@ NoFibHcOpts = -O # ################################################################################ +# Directory used by GHC (and possibly other tools) for storing +# temporary files. If your /tmp isn't big enough, either override +# this in build.mk or set your environment variable "TMPDIR" to point +# to somewhere with more space. (TMPDIR=. is a good choice). + TMPDIR = /tmp # FPTOOLS_TOP: the top of the fptools hierarchy, absolute path. @@ -479,8 +481,6 @@ TEXI2HTML_PREFIX = $(LITERATE_PREFIX)texi2html/ HAPPY_PREFIX = $(FPTOOLS_TOP)/happy/src/ GREENCARD_PREFIX = $(FPTOOLS_TOP)/green-card/src/ -RTS_PREFIX = $(FPTOOLS_TOP)/common-rts/ - UNLIT_PREFIX = $(FPTOOLS_TOP)/ghc/utils/unlit/ UGEN_PREFIX = $(FPTOOLS_TOP)/ghc/utils/ugen/ STAT2RESID_PREFIX = $(FPTOOLS_TOP)/ghc/utils/stat2resid/ @@ -502,8 +502,8 @@ GHC = @GHC@ HBC = @HBC@ NHC = @NHC@ -HC = @WithHc@ -MKDEPENDHS = $(GHC) +HC = @WithHc@ +MKDEPENDHS = $(HC) # Sometimes we want to invoke ghc from the build tree in different # projects (eg. it's handy to have a nofib & a ghc build in the same @@ -557,6 +557,7 @@ CP = cp CPP = @CPP@ CTAGS = $(ETAGS) RAWCPP = $(CPP) -undef -traditional +FIND = @FindCmd@ INSTALL = @INSTALL@ # # Sigh - the autoconf macro for INSTALL will subst a relative path to the fallback @@ -629,10 +630,17 @@ YACC = @YaccCmd@ #----------------------------------------------------------------------------- # SGML stuff (currently not configured - we assume you have it) -SGML2LATEX = sgml2latex -SGML2HTML = sgml2html -SGML2INFO = sgml2info -SGML2TXT = sgml2txt +SGML2DVI = db2dvi +SGML2HTML = db2html +SGML2INFO = db2info +SGML2RTF = db2rtf + +SGMLSTYLESHEET = $(FPTOOLS_TOP_ABS)/docs/fptools-both.dsl + +SRC_SGML2DVI_OPTS = -d $(SGMLSTYLESHEET) +SRC_SGML2HTML_OPTS = -d $(SGMLSTYLESHEET) +SRC_SGML2INFO_OPTS = -d $(SGMLSTYLESHEET) +SRC_SGML2RTF_OPTS = -d $(SGMLSTYLESHEET) #----------------------------------------------------------------------------- # FPtools support software @@ -646,7 +654,6 @@ MSUB = $(MSUB_PREFIX)msub ETAGS = $(ETAGS_PREFIX)etags VERBATIM = $(VERBATIM_PREFIX)verbatim SGMLVERB = $(SGMLVERB_PREFIX)sgmlverb -SGML2LATEX = sgml2latex RUNTEST = $(RUNTEST_PREFIX)runstdtest HAPPY = @HappyCmd@ HAPPY_VERSION = @HappyVersion@ @@ -717,6 +724,7 @@ HSTAGS = $(HSTAGS_PREFIX)hstags # The ways currently defined. # ALL_WAYS=p t u s mp mg a b c d e f g h i j k l m n o A B +USER_WAYS=a b c d e f g h i j k l m n o A B # # The following ways currently have treated specially, p u t mg,