X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc.mk;h=d30573b59bbdb302f0ff35bbed3a8be794c2f455;hb=7c1909944e8726cad97107081a30b01bedeb9767;hp=4406d31fe0a5789459e85c1b51707b0faea47f83;hpb=5eb445c891b8e84e4c003a49c4cafea5205015a1;p=ghc-hetmet.git diff --git a/ghc.mk b/ghc.mk index 4406d31..d30573b 100644 --- a/ghc.mk +++ b/ghc.mk @@ -33,7 +33,6 @@ # * 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 @@ -722,7 +721,7 @@ $(eval $(call bindist,.,\ 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) \ @@ -856,11 +855,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 +895,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 +