projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
If the extension is not .lhs, runghc now treats it as .hs; fixes trac #1232
[ghc-hetmet.git]
/
utils
/
runghc
/
Makefile
diff --git
a/utils/runghc/Makefile
b/utils/runghc/Makefile
index
a7303f9
..
0b606de
100644
(file)
--- a/
utils/runghc/Makefile
+++ b/
utils/runghc/Makefile
@@
-1,30
+1,9
@@
-TOP=../..
-include $(TOP)/mk/boilerplate.mk
-
-HS_PROG = runghc$(exeext)
-INSTALL_PROGS += $(HS_PROG)
-
-UseGhcForCc = YES
-SRC_MKDEPENDC_OPTS += -I$(GHC_INCLUDE_DIR)
-
-SRC_HC_OPTS += -Wall
-RUNHASKELL_PROG = runhaskell$(exeext)
-all :: $(RUNHASKELL_PROG)
-
-$(RUNHASKELL_PROG) : $(HS_PROG)
- $(CP) $< $(RUNHASKELL_PROG)
-
-CLEAN_FILES += $(RUNHASKELL_PROG)
+TOP=../..
+ENABLE_SHELL_WRAPPERS = YES
-ifneq "$(NO_INSTALL_RUNHASKELL)" "YES"
-INSTALL_PROGS += $(RUNHASKELL_PROG)
-endif
+include $(TOP)/mk/boilerplate.mk
+include $(TOP)/mk/cabal.mk
-binary-dist::
- $(INSTALL_DIR) $(BIN_DIST_DIR)/utils/runghc
- $(INSTALL_DATA) Makefile $(BIN_DIST_DIR)/utils/runghc/
- $(INSTALL_PROGRAM) $(HS_PROG) $(BIN_DIST_DIR)/utils/runghc/
- $(INSTALL_PROGRAM) $(RUNHASKELL_PROG) $(BIN_DIST_DIR)/utils/runghc/
+# XXX Need to make runhaskell somehow
-include $(TOP)/mk/target.mk