X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=ghc%2Fcompiler%2FMakefile;h=2cdc7aab5e861eeece6e351bc9210604e12899e0;hb=aa84783676adedfbfe2d93dc99c69dc6a1b1ca46;hp=399757fdf5123eb626d5646c3126854bfddef568;hpb=e3d95da870e58a799d8db4079192ba2471d7853d;p=ghc-hetmet.git diff --git a/ghc/compiler/Makefile b/ghc/compiler/Makefile index 399757f..2cdc7aa 100644 --- a/ghc/compiler/Makefile +++ b/ghc/compiler/Makefile @@ -562,7 +562,7 @@ ifeq "$(BuildPackageGHC)" "YES" PACKAGE = ghc STANDALONE_PACKAGE = YES -PACKAGE_DEPS = base haskell98 +PACKAGE_DEPS = endif @@ -582,6 +582,16 @@ MKDEPENDC_SRCS = parser/Parser.y : parser/Parser.y.pp EXTRA_SRCS += parser/Parser.y + +#----------------------------------------------------------------------------- +# Source files for tags file generation +# +# We want to excluded derived sources, because they won't be in the source +# tree, which is where we are going to move the TAGS file to.a + +TAGS_HS_SRCS = parser/Parser.y.pp $(filter-out $(DERIVED_SRCS) main/Config.hs parser/Parser.y, $(sort $(SRCS))) + + include $(TOP)/mk/target.mk # -----------------------------------------------------------------------------