[project @ 2004-11-09 17:21:58 by simonmar]
[ghc-hetmet.git] / ghc / lib / compat / Makefile
1
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.
5 #
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.
11 #
12
13 TOP=../..
14 include $(TOP)/mk/boilerplate.mk
15
16 ALL_DIRS = \
17         Data \
18         Distribution \
19         Distribution/Compat
20
21 LIBRARY = libghccompat.a
22
23 SRC_HC_OPTS += -I$(FPTOOLS_TOP)/libraries -fglasgow-exts
24
25 include $(TOP)/mk/target.mk