summaryrefslogtreecommitdiff
path: root/utils/genapply/ghc.mk
diff options
context:
space:
mode:
Diffstat (limited to 'utils/genapply/ghc.mk')
-rw-r--r--utils/genapply/ghc.mk14
1 files changed, 5 insertions, 9 deletions
diff --git a/utils/genapply/ghc.mk b/utils/genapply/ghc.mk
index 2eea233ea5..e0e5886521 100644
--- a/utils/genapply/ghc.mk
+++ b/utils/genapply/ghc.mk
@@ -10,18 +10,14 @@
#
# -----------------------------------------------------------------------------
-utils/genapply_dist_MODULES = GenApply
-utils/genapply_dist_PROGNAME = genapply
+utils/genapply_USES_CABAL = YES
+utils/genapply_PACKAGE = genapply
+utils/genapply_dist_PROGNAME = genapply
+utils/genapply_dist_INSTALL = NO
utils/genapply_dist_INSTALL_INPLACE = YES
-utils/genapply_HC_OPTS += -package pretty
-
ifeq "$(GhcUnregisterised)" "YES"
-utils/genapply_HC_OPTS += -DNO_REGS
+utils/genapply_CONFIGURE_OPTS = --flag unregisterised
endif
-utils/genapply/GenApply.hs : includes/ghcconfig.h
-utils/genapply/GenApply.hs : includes/MachRegs.h
-utils/genapply/GenApply.hs : includes/Constants.h
-
$(eval $(call build-prog,utils/genapply,dist,0))