summaryrefslogtreecommitdiff
path: root/utils/hpc
diff options
context:
space:
mode:
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))