X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=driver%2FMakefile;h=3c79335a49065a8f2871014c1058c932057eecf8;hb=661c97c65e5fa47177502e592bb763f752b487ac;hp=a8352090c163384452d5e8ffaaab1343e5ae9f46;hpb=79b5a2cb4b9ed5fe41a05fa2ec98bd1f83971daf;p=ghc-hetmet.git diff --git a/driver/Makefile b/driver/Makefile index a835209..3c79335 100644 --- a/driver/Makefile +++ b/driver/Makefile @@ -1,34 +1,15 @@ -# -----------------------------------------------------------------------------= -# $Id: Makefile,v 1.76 2005/03/02 09:49:11 simonmar Exp $ +# ----------------------------------------------------------------------------- # -# (c) The University of Glasgow 2002 +# (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 +# +# ----------------------------------------------------------------------------- -TOP=.. -include $(TOP)/mk/boilerplate.mk - -SUBDIRS = mangler split ghc ghci - -boot all :: package.conf.inplace package.conf - -package.conf.inplace : - echo "[]" > $@ - -package.conf : - echo "[]" > $@ - -override datadir = $(libdir) -INSTALL_DATAS += package.conf ghc-usage.txt ghci-usage.txt - -# Since cleaning effectively uninstalls all the packages, we must -# remove the stamp files that the build system uses to avoid unnecessarily -# re-installing packages. -CLEAN_FILES += package.conf* stamp-pkg-conf* - -binary-dist: - $(INSTALL_DIR) $(BIN_DIST_DIR)/driver - $(INSTALL_DATA) Makefile $(BIN_DIST_DIR)/driver - $(INSTALL_DATA) $(INSTALL_DATAS) $(BIN_DIST_DIR)/driver - set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d binary-dist; done - -include $(TOP)/mk/target.mk +dir = driver +TOP = .. +include $(TOP)/mk/sub-makefile.mk