SRC_HC_OPTS += -XGenerics
endif
+ifndef DONT_WANT_STD_LIBRARY
ifndef LIBRARY
ifeq "$(_way:%_dyn=YES)" "YES"
LIBRARY = libHS$(PACKAGE)$(_way:%_dyn=%)-ghc$(ProjectVersion)$(soext)
LIBRARY = libHS$(PACKAGE)$(_way).a
endif
endif
+endif
ifeq "$(WAYS)" ""
WAYS = $(GhcLibWays)
endif
+ifdef LIBRARY
all :: $(LIBRARY)
# POSSIBLE alternative version using --make:
INSTALL_PROGS += $(DLL_NAME)
INSTALL_LIBS += $(patsubst %.a,%_imp.a, $(LIBRARY))
endif
+endif
# The interface files are put inside the $(libdir), since they
# might (potentially) be platform specific..