diff options
author | sof <unknown> | 2001-08-16 22:54:25 +0000 |
---|---|---|
committer | sof <unknown> | 2001-08-16 22:54:25 +0000 |
commit | 48e7208b5b03b375cd8cff78accb521387270ab6 (patch) | |
tree | 2163b65a3ad3c270c9d6b32716952229e0d945a6 /mk/target.mk | |
parent | 1951cb4ffa822529e31c6a57313e8bfab9c42dab (diff) | |
download | haskell-48e7208b5b03b375cd8cff78accb521387270ab6.tar.gz |
[project @ 2001-08-16 22:54:24 by sof]
Death to GHC_INCLUDE_DIR (well, almost).
- mk/target.mk: get rid off the abomination of having SRC_CC_OPTS include
GHC_INCLUDE_DIR and GHC_RUNTIME_DIR for all fptools/ projects.
- mk/suffix.mk: %.pp suffix rule no longer hardwires in the use of GHC_INCLUDE_DIR;
just $(CPP_OPTS). ==> If you want GHC_INCLUDE_DIR on the include path, better
add it to SRC_CPP_OPTS (say) at the point where you need it (ghc/compiler/Makefile
and ghc/lib/std/Makefile do this now).
- wipe out the use of -I$(GHC_INCLUDE_DIR) in HC_OPTS in hslibs/; not needed.
- hslibs/mk/boilerplate.mk still define GHC_{IO_}INCLUDE_DIR for the purpose
of using it when compiling .c files. It should be possible to get rid off it
by having CC=$(HC), but I haven't imposed that change (yet).
Diffstat (limited to 'mk/target.mk')
-rw-r--r-- | mk/target.mk | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mk/target.mk b/mk/target.mk index 7522603eb5..4d216fc149 100644 --- a/mk/target.mk +++ b/mk/target.mk @@ -365,8 +365,6 @@ ifeq "$(LIBOBJS)" "" endif endif -SRC_CC_OPTS += -I$(GHC_INCLUDE_DIR) -I$(GHC_RUNTIME_DIR) - ifeq "$(IS_CBITS_LIB)" "YES" override datadir:=$(libdir)/include INSTALL_DATAS += Hs$(shell perl -e 'print ucfirst "$(PACKAGE)"').h |