2 # This library contains modules only available in versions of GHC
3 # newer than the current one. They are implemented as stubs that
4 # #include the actual code from fptools/libraries.
6 # The idea is to ease the task of writing portable code in GHC and its
7 # tools: the client can link with libghccompat.a and assume that all
8 # the modules are available. In this way we can add modules to the library
9 # and start using them right away in GHC, as long as the new library modules
10 # can be compiled using older versions of GHC.
14 include $(TOP)/mk/boilerplate.mk
21 LIBRARY = libghccompat.a
23 SRC_HC_OPTS += -I$(FPTOOLS_TOP)/libraries -fglasgow-exts
25 include $(TOP)/mk/target.mk