summaryrefslogtreecommitdiff
path: root/utils/genapply/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/genapply/Makefile')
-rw-r--r--utils/genapply/Makefile32
1 files changed, 3 insertions, 29 deletions
diff --git a/utils/genapply/Makefile b/utils/genapply/Makefile
index 186eb0e034..06c44cf2a8 100644
--- a/utils/genapply/Makefile
+++ b/utils/genapply/Makefile
@@ -1,29 +1,3 @@
-TOP=../..
-include $(TOP)/mk/boilerplate.mk
-
-HS_PROG = $(GHC_GENAPPLY_PGM)
-
-# genapply is needed to boot in rts/...
-ifneq "$(BootingFromHc)" "YES"
-boot :: all
-endif
-
-ifeq "$(GhcUnregisterised)" "YES"
-SRC_HC_OPTS += -DNO_REGS
-endif
-
-ifeq "$(ghc_ge_607)" "YES"
-SRC_HC_OPTS += -package pretty
-endif
-
-# Try to get dependencies right...
-SRC_HC_OPTS += -fforce-recomp
-
-GenApply.o : $(GHC_INCLUDE_DIR)/ghcconfig.h
-GenApply.o : $(GHC_INCLUDE_DIR)/MachRegs.h
-GenApply.o : $(GHC_INCLUDE_DIR)/Constants.h
-
-binary-dist:
- @:
-
-include $(TOP)/mk/target.mk
+dir = utils/genapply
+TOP = ../..
+include $(TOP)/mk/sub-makefile.mk