X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=utils%2Fhasktags%2FMakefile;h=4d774193ad90b250f2cb1af8632a6536132fbc4c;hb=c59c053f0b8613dd128297ee0b6eef31f001c498;hp=aa81c130938cf0910648e1abd6263bda1c0b6ffa;hpb=3e2748164e3e2e2dc21ca511959671f0f5f2e37f;p=ghc-hetmet.git diff --git a/utils/hasktags/Makefile b/utils/hasktags/Makefile index aa81c13..4d77419 100644 --- a/utils/hasktags/Makefile +++ b/utils/hasktags/Makefile @@ -1,23 +1,15 @@ -TOP=../.. -include $(TOP)/mk/boilerplate.mk - -# We have two version: the inplace version compiled by the bootstrap compiler -# and the install version compiled by the stage 1 compiler -ifeq "$(stage)" "2" -HS_PROG = hasktags -else -HS_PROG = hasktags-inplace -endif - -CLEAN_FILES += Main.hi - -SRC_HC_OPTS += -Wall - -INSTALL_PROGS += $(HS_PROG) - -binary-dist: - $(INSTALL_DIR) $(BIN_DIST_DIR)/utils/hasktags - $(INSTALL_DATA) Makefile $(BIN_DIST_DIR)/utils/hasktags/ - $(INSTALL_PROGRAM) $(HS_PROG) $(BIN_DIST_DIR)/utils/hasktags/ - -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/hasktags +TOP = ../.. +include $(TOP)/mk/sub-makefile.mk