X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=ghc.mk;h=59b5ee8e59f279c18bce2db5379526fd41c7dd0a;hp=76b9748326e345de66965fb39c8a028feb03d77f;hb=431e40e1a2f795d5069d97661b7cd55f3e3b05bf;hpb=b4f9c8cd64e727165c6a4d3968fe5009aa9c6e22 diff --git a/ghc.mk b/ghc.mk index 76b9748..59b5ee8 100644 --- a/ghc.mk +++ b/ghc.mk @@ -33,20 +33,15 @@ # * remove old Makefiles, add new stubs for building in subdirs # * utils/hsc2hs/Makefile # * utils/haddock/Makefile -# * mk/oldconfig.mk.in # * docs/Makefile # * docs/docbook-cheat-sheet/Makefile # * docs/ext-core/Makefile # * docs/man/Makefile # * docs/storage-mgmt/Makefile -# * docs/users_guide/Makefile # * docs/vh/Makefile # * driver/Makefile -# * driver/ghc/Makefile -# * libraries/Makefile # * rts/dotnet/Makefile # * utils/Makefile -# * docbook PDFs, e.g. "dblatex -T db2latex users_guide.xml" # * GhcProfiled # * optionally install stage3? # * shared libraries, way dyn @@ -483,6 +478,7 @@ endif BUILD_DIRS += \ utils/haddock \ + utils/haddock/doc \ $(patsubst %, libraries/%, $(PACKAGES)) \ compiler \ $(GHC_HSC2HS_DIR) \ @@ -716,13 +712,13 @@ install_packages: libffi/package.conf.install rts/package.conf.install $(eval $(call bindist,.,\ LICENSE \ - configure config.sub config.guess \ + configure config.sub config.guess install-sh \ extra-gcc-opts.in \ Makefile \ mk/config.mk.in \ $(INPLACE_BIN)/mkdirhier \ $(INPLACE_BIN)/ghc-cabal \ - utils/pwd/pwd \ + utils/ghc-pwd/ghc-pwd \ $(BINDIST_WRAPPERS) \ $(BINDIST_LIBS) \ $(BINDIST_HI) \ @@ -742,7 +738,7 @@ $(eval $(call bindist,.,\ binary-dist: $(RM) -rf $(BIN_DIST_NAME) mkdir $(BIN_DIST_NAME) - set -e; for i in LICENSE compiler ghc rts libraries utils gmp docs libffi includes driver mk rules Makefile aclocal.m4 config.sub config.guess extra-gcc-opts.in ghc.mk inplace; do ln -s ../$$i $(BIN_DIST_NAME)/; done + set -e; for i in LICENSE compiler ghc rts libraries utils gmp docs libffi includes driver mk rules Makefile aclocal.m4 config.sub config.guess install-sh extra-gcc-opts.in ghc.mk inplace; do ln -s ../$$i $(BIN_DIST_NAME)/; done ln -s ../distrib/configure-bin.ac $(BIN_DIST_NAME)/configure.ac cd $(BIN_DIST_NAME) && autoreconf $(RM) -f $(BIN_DIST_TAR) @@ -856,11 +852,20 @@ publish-sdist : $(call nTimes,10,$(PublishCp) $(SRC_DIST_TARBALL) $(PublishLocation)/dist) endif +ifeq "$(GhcUnregisterised)" "YES" +SRC_CC_OPTS += -DNO_REGS -DUSE_MINIINTERPRETER +endif + # ----------------------------------------------------------------------------- # Cleaning .PHONY: clean +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 : clean_files .PHONY: clean_files clean_files : @@ -887,3 +892,6 @@ maintainer-clean : distclean $(RM) libraries/process/include/HsProcessConfig.h.in $(RM) libraries/unix/include/HsUnixConfig.h.in $(RM) libraries/old-time/include/HsTimeConfig.h.in + +.PHONY: all_libraries +