summaryrefslogtreecommitdiff
path: root/utils/hpc
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/hpc
parent74e1368d4688ee16f6decdf2cd3ebe27506b26ba (diff)
downloadhaskell-34cc75e1a62638f2833815746ebce0a9114dc26b.tar.gz
GHC new build system megapatch
Diffstat (limited to 'utils/hpc')
-rw-r--r--utils/hpc/Main.hs (renamed from utils/hpc/Hpc.hs)0
-rw-r--r--utils/hpc/Makefile8
-rw-r--r--utils/hpc/ghc.mk7
3 files changed, 10 insertions, 5 deletions
diff --git a/utils/hpc/Hpc.hs b/utils/hpc/Main.hs
index da859d0345..da859d0345 100644
--- a/utils/hpc/Hpc.hs
+++ b/utils/hpc/Main.hs
diff --git a/utils/hpc/Makefile b/utils/hpc/Makefile
index 0f34de9174..a8458d2ee6 100644
--- a/utils/hpc/Makefile
+++ b/utils/hpc/Makefile
@@ -1,5 +1,3 @@
-
-TOP=../..
-include $(TOP)/mk/boilerplate.mk
-include $(TOP)/mk/cabal.mk
-
+dir = utils/hpc
+TOP = ../..
+include $(TOP)/mk/sub-makefile.mk
diff --git a/utils/hpc/ghc.mk b/utils/hpc/ghc.mk
new file mode 100644
index 0000000000..0e0f91cd94
--- /dev/null
+++ b/utils/hpc/ghc.mk
@@ -0,0 +1,7 @@
+utils/hpc_dist_MODULES = Main HpcCombine HpcDraft HpcFlags HpcLexer HpcMap \
+ HpcMarkup HpcOverlay HpcParser HpcReport HpcSet \
+ HpcShowTix HpcUtils
+utils/hpc_dist_HC_OPTS = -cpp -package hpc
+utils/hpc_dist_INSTALL = YES
+utils/hpc_dist_PROG = hpc$(exeext)
+$(eval $(call build-prog,utils/hpc,dist,1))