[project @ 2001-09-04 18:29:20 by ken]
[ghc-hetmet.git] / ghc / driver / Makefile
index 6241478..b0c4b63 100644 (file)
@@ -1,5 +1,5 @@
 #-----------------------------------------------------------------------------
-# $Id: Makefile,v 1.64 2001/06/12 17:07:23 simonmar Exp $
+# $Id: Makefile,v 1.68 2001/08/04 06:09:24 ken Exp $
 #
 
 TOP=..
@@ -37,6 +37,7 @@ SRC_HC_OPTS += -fglasgow-exts -cpp -syslib concurrent -syslib posix -syslib misc
 endif
 
 SRC_HC_OPTS += -DWANT_PRETTY
+SRC_HC_OPTS += $(filter -D% -U%,$(GhcRtsCcOpts))
 
 all :: package.conf package.conf.inplace
 
@@ -54,10 +55,6 @@ Package.o : ../utils/ghc-pkg/Package.hs
 override datadir = $(libdir)
 INSTALL_DATAS += package.conf ghc-usage.txt
 
-ifeq "$(BIN_DIST)" "1"
-INSTALL_PROGS += pkgconf
-endif
-
 CLEAN_FILES += Main.hi pkgconf package.conf.inplace package.conf
 
 # -----------------------------------------------------------------------------