summaryrefslogtreecommitdiff
path: root/utils/genapply/ghc.mk
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2015-12-17 12:13:17 +0100
committerBen Gamari <ben@smart-cactus.org>2015-12-17 12:54:31 +0100
commit0cc4aad36f91570b1b489e3d239256d1c781daac (patch)
tree9c78efbbd45b010741ff5010eaa0e88b23eadf3f /utils/genapply/ghc.mk
parent27f47cda4a2d91bbeaeeb5efa8d0e3a908798120 (diff)
downloadhaskell-0cc4aad36f91570b1b489e3d239256d1c781daac.tar.gz
Build system: Cabalize genapply
Test Plan: Validate Reviewers: thomie, austin Reviewed By: thomie, austin Differential Revision: https://phabricator.haskell.org/D1639
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))