X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=utils%2Frunghc%2FMakefile;h=6e0dd5d30867db2eee9c0552d29db966a03cd6f4;hb=e5c3b478b3cd1707cf122833822f44b2ac09b8e9;hp=a7303f97d74d81aacac1dbd20a6e384c487ada31;hpb=1a3efdd6b616f3a101e182f715df5a0e306eb348;p=ghc-hetmet.git diff --git a/utils/runghc/Makefile b/utils/runghc/Makefile index a7303f9..6e0dd5d 100644 --- a/utils/runghc/Makefile +++ b/utils/runghc/Makefile @@ -1,30 +1,15 @@ -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) - -ifneq "$(NO_INSTALL_RUNHASKELL)" "YES" -INSTALL_PROGS += $(RUNHASKELL_PROG) -endif - -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/ - -include $(TOP)/mk/target.mk +# ----------------------------------------------------------------------------- +# +# (c) 2009 The University of Glasgow +# +# This file is part of the GHC build system. +# +# To understand how the build system works and how to modify it, see +# http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture +# http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying +# +# ----------------------------------------------------------------------------- + +dir = utils/runghc +TOP = ../.. +include $(TOP)/mk/sub-makefile.mk