Handle EXTRA_LIBRARIES when building programs
[ghc-hetmet.git] / utils / genapply / ghc.mk
index 94fb456..cc0aede 100644 (file)
@@ -1,9 +1,19 @@
+# -----------------------------------------------------------------------------
+#
+# (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
+#
+# -----------------------------------------------------------------------------
+
 utils/genapply_dist_MODULES = GenApply
 utils/genapply_dist_PROG    = $(GHC_GENAPPLY_PGM)
 
-ifeq "$(ghc_ge_607)" "YES"
 utils/genapply_HC_OPTS += -package pretty
-endif
 
 ifeq "$(GhcUnregisterised)" "YES"
 utils/genapply_HC_OPTS += -DNO_REGS