#-----------------------------------------------------------------------------
-# $Id: Makefile,v 1.58 2001/03/27 08:29:07 qrczak Exp $
+# $Id: Makefile,v 1.63 2001/04/12 15:17:17 michaelw Exp $
#
TOP=..
"$(GHC_INCLUDE_DIR)" \
"$(FPTOOLS_TOP_ABS)"
-ghc_407_at_least = $(shell expr "$(GhcMinVersion)" \>= 7)
+ghc_407_at_least = $(shell expr "$(GhcVersion)" \>= 4.07)
ifeq "$(ghc_407_at_least)" "1"
ifneq "$(mingw32_TARGET_OS)" "1"
SRC_HC_OPTS += -fglasgow-exts -cpp -package concurrent -package posix -package text
Package.o : ../utils/ghc-pkg/Package.hs
override datadir = $(libdir)
-INSTALL_DATAS += package.conf
+INSTALL_DATAS += package.conf ghc-usage.txt
-CLEAN_FILES += pkgconf package.conf.inplace package.conf
+ifeq "$(BIN_DIST)" "1"
+INSTALL_PROGS += pkgconf
+endif
+
+CLEAN_FILES += Main.hi pkgconf package.conf.inplace package.conf
# -----------------------------------------------------------------------------