From 102394e76fb446ec19f4aa74a27c6ce78e588adc Mon Sep 17 00:00:00 2001 From: sof <unknown> Date: Tue, 17 Sep 1996 00:16:30 +0000 Subject: [PATCH] [project @ 1996-09-17 00:16:30 by sof] Changed to properly generate deps. for way X files --- ghc/lib/Jmakefile | 37 ++++++++++++++++++++++++++++++++++--- 1 file changed, 34 insertions(+), 3 deletions(-) diff --git a/ghc/lib/Jmakefile b/ghc/lib/Jmakefile index da21653e2b98..350b068ffa7d 100644 --- a/ghc/lib/Jmakefile +++ b/ghc/lib/Jmakefile @@ -46,6 +46,9 @@ GHC_OPTS=-recomp -cpp \ -fusing-ghc-internals \ HcMaxHeapFlag $(EXTRA_HC_OPTS) +EXTRA_MKDEPENDHS_OPTS = -irequired:prelude:ghc:hbc:glaExts:concurrent + + PREL_OPTS=/*???-fcompiling-ghc-internals -fno-implicit-prelude*/ /* per-build options: shared with RTS */ @@ -199,7 +202,35 @@ HSTAGS_OPTS=-cpp -fglasgow-exts /* otherwise, the dependencies jeopardize our .hc files -- which are all we have! */ MAIN_INCLUDE_DIR = $(TOP_PWD)/$(CURRENT_DIR)/$(GHC_INCLUDES) -MKDEPENDHS_OPTS= -o .hc -I$(MAIN_INCLUDE_DIR) - -HaskellDependTarget( $(BASIC_HS_PREL) ) +MKDEPENDHS_OPTS= \ +IfBuild_mc(-s mc) \ +IfBuild_mr(-s mr) \ +IfBuild_mt(-s mt) \ +IfBuild_mp(-s mp) \ +IfBuild_mg(-s mg) \ +IfBuild_2s(-s 2s) \ +IfBuild_1s(-s 1s) \ +IfBuild_du(-s du) \ +IfBuild_p(-s p) \ +IfBuild_t(-s t) \ +IfBuild_a(-s a) \ +IfBuild_b(-s b) \ +IfBuild_c(-s c) \ +IfBuild_d(-s d) \ +IfBuild_e(-s e) \ +IfBuild_f(-s f) \ +IfBuild_g(-s g) \ +IfBuild_h(-s h) \ +IfBuild_i(-s i) \ +IfBuild_j(-s j) \ +IfBuild_k(-s k) \ +IfBuild_l(-s l) \ +IfBuild_m(-s m) \ +IfBuild_n(-s n) \ +IfBuild_o(-s o) \ +IfBuild_A(-s A) \ +IfBuild_B(-s B) \ +-o hc -I$(MAIN_INCLUDE_DIR) + +HaskellDependTarget( $(BASIC_HS) ) #endif -- GitLab