X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=ghc%2Futils%2Fhscpp%2FMakefile;h=65835ea7ee50ed62b54e723eafb7b95de1072e0d;hp=6a85958ef5ced787c1816e5e5d9fb515788c6193;hb=67fe852eb2e9b3a489b62cbf9259b5a868db5468;hpb=9c57bb326d68380fd1ad30cdace4ad800b007924 diff --git a/ghc/utils/hscpp/Makefile b/ghc/utils/hscpp/Makefile index 6a85958..65835ea 100644 --- a/ghc/utils/hscpp/Makefile +++ b/ghc/utils/hscpp/Makefile @@ -1,3 +1,9 @@ +#----------------------------------------------------------------------------- +# $Id: Makefile,v 1.11 1999/10/05 10:30:33 simonmar Exp $ +# +# hscpp doesn't depend on any of the install paths, so we don't need to +# play the same tricks we play with mkdependHS and the GHC driver script. + TOP=../.. include $(TOP)/mk/boilerplate.mk @@ -5,9 +11,6 @@ SCRIPT_PROG=hscpp SCRIPT_OBJS=hscpp.prl SCRIPT_SUBST_VARS= RAWCPP -# Note: might be overridden from cmd-line (see install rule below) -INSTALLING=0 - INTERP=perl # @@ -16,24 +19,4 @@ INTERP=perl INSTALL_LIB_SCRIPTS+=$(SCRIPT_PROG) INSTALL_LIBEXECS=$(C_PROG) - -# -# Before really installing the script, we have to -# reconfigure it such that the paths it refers to, -# point to the installed utils. -# -install :: - @$(RM) $(SCRIPT_PROG) - @$(MAKE) $(MFLAGS) INSTALLING=1 $(SCRIPT_PROG) - - include $(TOP)/mk/target.mk - - -# Hack to re-create the in-situ build tree script after -# having just installed it. -# -install :: - @$(RM) $(SCRIPT_PROG) - @$(MAKE) $(MFLAGS) BIN_DIST=0 $(SCRIPT_PROG) -