[project @ 1997-01-07 13:19:38 by simonm]
[ghc-hetmet.git] / ghc / lib / Makefile
1 #-----------------------------------------------------------------------------
2 # $Id: Makefile,v 1.4 1997/01/07 13:19:38 simonm Exp $
3
4 TOP = ../..
5 include $(TOP)/ghc/mk/ghc.mk
6
7 SUBDIRS = cbits
8 ifeq ($(IncludeTestDirsInBuild),YES)
9   SUBDIRS += tests
10 endif
11 include $(TOP)/mk/subdir.mk
12
13 # per-build options: shared with runtime system
14 include ../mk/buildflags.mk
15
16 MAKEFILE=Makefile.libHS
17 DESCR=libraries
18 include $(TOP)/ghc/mk/ways.mk
19
20 # Shortcut for typical case when testing: just make the "normal" version
21 # (simonm Todo: better way to do this?)
22 libHS.a ::
23         $(MAKE)  -f Makefile.libHS suffix=norm
24
25 # install MODULES file
26
27 install ::
28         $(INSTALL) $(INSTDATAFLAGS) MODULES $(INSTDATADIR_GHC)/imports