summaryrefslogtreecommitdiff
path: root/utils/genprimopcode
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-04-26 11:42:15 +0000
committerIan Lynagh <igloo@earth.li>2009-04-26 11:42:15 +0000
commit34cc75e1a62638f2833815746ebce0a9114dc26b (patch)
treeef21e8fd7af1356beea9cce7d6efb8a65374e24c /utils/genprimopcode
parent74e1368d4688ee16f6decdf2cd3ebe27506b26ba (diff)
downloadhaskell-34cc75e1a62638f2833815746ebce0a9114dc26b.tar.gz
GHC new build system megapatch
Diffstat (limited to 'utils/genprimopcode')
-rw-r--r--utils/genprimopcode/Makefile13
-rw-r--r--utils/genprimopcode/ghc.mk4
2 files changed, 7 insertions, 10 deletions
diff --git a/utils/genprimopcode/Makefile b/utils/genprimopcode/Makefile
index ed011eb0c2..8849708790 100644
--- a/utils/genprimopcode/Makefile
+++ b/utils/genprimopcode/Makefile
@@ -1,10 +1,3 @@
-TOP=../..
-include $(TOP)/mk/boilerplate.mk
-
-HS_PROG = genprimopcode
-
-binary-dist:
- @:
-
-include $(TOP)/mk/target.mk
-
+dir = utils/genprimopcode
+TOP = ../..
+include $(TOP)/mk/sub-makefile.mk
diff --git a/utils/genprimopcode/ghc.mk b/utils/genprimopcode/ghc.mk
new file mode 100644
index 0000000000..74ac4232e6
--- /dev/null
+++ b/utils/genprimopcode/ghc.mk
@@ -0,0 +1,4 @@
+utils/genprimopcode_dist_MODULES = Lexer Main ParserM Parser Syntax
+utils/genprimopcode_dist_PROG = $(GHC_GENPRIMOP_PGM)
+
+$(eval $(call build-prog,utils/genprimopcode,dist,0))