LIBRARY, GHCI_LIBRARY: permit settings of these to be overridden in Makefiles; Merge to STABLE
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
-# $Id: package.mk,v 1.52 2005/03/29 14:06:02 simonmar Exp $
+# $Id: package.mk,v 1.53 2005/04/15 18:13:34 sof Exp $
SRC_HC_OPTS += -fgenerics
endif
SRC_HC_OPTS += -fgenerics
endif
LIBRARY = libHS$(PACKAGE)$(_way).a
LIBRARY = libHS$(PACKAGE)$(_way).a
ifeq "$(WAYS)" ""
WAYS = $(GhcLibWays)
ifeq "$(WAYS)" ""
WAYS = $(GhcLibWays)
ifeq "$(way)" ""
ifeq "$(GhcWithInterpreter)" "YES"
ifeq "$(way)" ""
ifeq "$(GhcWithInterpreter)" "YES"
GHCI_LIBRARY = $(patsubst lib%.a,%.o,$(LIBRARY))
GHCI_LIBRARY = $(patsubst lib%.a,%.o,$(LIBRARY))
ifneq "$(NO_INSTALL_LIBRARY)" "YES"
INSTALL_LIBS += $(GHCI_LIBRARY)
ifneq "$(NO_INSTALL_LIBRARY)" "YES"
INSTALL_LIBS += $(GHCI_LIBRARY)