X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc.mk;h=61e17eea11d847dc003a691fa2756e118c5376ec;hb=6e0f552430600d95768c1668b6d458c71a52f2d4;hp=b12583a251a5ac00096e7b62253a3519d5bb8bdb;hpb=48f63fe6ade6f28d7bb5df5dc04580ce2c89c99d;p=ghc-hetmet.git diff --git a/ghc.mk b/ghc.mk index b12583a..61e17ee 100644 --- a/ghc.mk +++ b/ghc.mk @@ -51,7 +51,6 @@ # # Tickets we can now close, or fix and close: # -# * 2966 make sure --with-gcc does the right thing (#2966) # * 1693 make distclean # * 3173 make install with DESTDIR @@ -101,6 +100,8 @@ # o libraries/* # o compiler +.PHONY: default all haddock + default : all # Just bring makefiles up to date: @@ -469,11 +470,15 @@ BUILD_DIRS += \ gmp \ docs/users_guide \ libraries/Cabal/doc \ - $(GHC_MANGLER_DIR) \ - $(GHC_SPLIT_DIR) \ $(GHC_UNLIT_DIR) \ $(GHC_HP2PS_DIR) +ifneq "$(GhcUnregisterised)" "YES" +BUILD_DIRS += \ + $(GHC_MANGLER_DIR) \ + $(GHC_SPLIT_DIR) +endif + ifneq "$(BINDIST)" "YES" BUILD_DIRS += \ $(GHC_GENPRIMOP_DIR) @@ -887,6 +892,7 @@ CLEAN_FILES += utils/ghc-pwd/ghc-pwd CLEAN_FILES += utils/ghc-pwd/ghc-pwd.exe CLEAN_FILES += utils/ghc-pwd/ghc-pwd.hi CLEAN_FILES += utils/ghc-pwd/ghc-pwd.o +CLEAN_FILES += libraries/bootstrapping.conf clean : clean_files .PHONY: clean_files @@ -929,7 +935,7 @@ maintainer-clean : distclean .PHONY: all_libraries .PHONY: bootstrapping-files -bootstrapping-files: $(GMP_LIB) +bootstrapping-files: $(OTHER_LIBS) bootstrapping-files: includes/ghcautoconf.h bootstrapping-files: includes/DerivedConstants.h bootstrapping-files: includes/GHCConstants.h