X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Fopts.mk;h=ba3eaa0e59471b042e25a47bcaf2f3a9f3366933;hb=3de6d3f3ac24682918fa9d2c3923bb4b5c8f41ae;hp=525424f787900499fb0f2a39ddc7e5695c89407c;hpb=3b24281ca45d2c8d2bf9e2e577b62fbf5580a626;p=ghc-hetmet.git diff --git a/mk/opts.mk b/mk/opts.mk index 525424f..ba3eaa0 100644 --- a/mk/opts.mk +++ b/mk/opts.mk @@ -5,7 +5,7 @@ # This file defines Make variables for the # option flags for each utility program # -# $Id: opts.mk,v 1.4 1998/01/14 11:22:21 sof Exp $ +# $Id: opts.mk,v 1.6 1998/02/26 10:17:32 sof Exp $ # ################################################################################# @@ -24,16 +24,19 @@ # # P_OPTS is always defined like this: # -# P_OPTS = SRC_P_OPTS WAY$(_way)_P_OPTS BUILD_P_OPTS EXTRA_P_OPTS +# P_OPTS = SRC_P_OPTS WAY$(_way)_P_OPTS EXTRA_P_OPTS # # where the variables on the right hand side are set by the user or # some other Makefile. They have the following intended uses: # # SRC_P_OPTS Source-tree options for P # WAY$(_way)_P_OPTS Source-tree options for P specific to $(way) -# BUILD_P_OPTS Build-tree options for P # EXTRA_P_OPTS Command-line options for P # +# and for some programs +# +# $($*_P_OPTS) Target specific options for P +# # All these options should be set with # thing += extra-options # in case someone higher up the include hierarchy has already added some @@ -80,9 +83,9 @@ SRC_TEXI2HTML_OPTS +=-menu -verbose -glossary # All the standard gluing together, as in the comment right at the front -# For the Haskell compiler and runtests we do something a bit special: -# we also include target-specific flags HC_OPTS = $(SRC_HC_OPTS) $(WAY$(_way)_HC_OPTS) $($*_HC_OPTS) $(EXTRA_HC_OPTS) +HC_POST_OPTS = $(SRC_HC_POST_OPTS) $(WAY$(_way)_HC_POST_OPTS) $($*_HC_POST_OPTS) $(EXTRA_HC_POST_OPTS) +HC_PRE_OPTS = $(SRC_HC_PRE_OPTS) $(WAY$(_way)_HC_PRE_OPTS) $($*_HC_PRE_OPTS) $(EXTRA_HC_PRE_OPTS) RUNTEST_OPTS = $(SRC_RUNTEST_OPTS) $(WAY$(_way)_RUNTEST_OPTS) \ $($*_RUNTEST_OPTS) $(EXTRA_RUNTEST_OPTS)