X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Flib%2FMakefile;h=b7e87f17404137fdbe1f380ca77e36e0f6f826cc;hb=6d5ff8c3d0d012881203da08cc37a4fdb7dc90dc;hp=006c38274984ad9082b9ba16aa80891eb2db6dfe;hpb=7a3bd641457666e10d0a47be9f22762e03defbf0;p=ghc-hetmet.git diff --git a/ghc/lib/Makefile b/ghc/lib/Makefile index 006c382..b7e87f1 100644 --- a/ghc/lib/Makefile +++ b/ghc/lib/Makefile @@ -1,51 +1,9 @@ -#----------------------------------------------------------------------------- -# $Id: Makefile,v 1.3 1996/12/19 09:13:55 simonpj Exp $ +# ----------------------------------------------------------------------------- +# $Id: Makefile,v 1.33 1999/11/26 16:29:12 simonmar Exp $ -TOP = ../.. -include $(TOP)/ghc/mk/ghc.mk +TOP = .. +include $(TOP)/mk/boilerplate.mk -SUBDIRS = cbits -ifeq ($(IncludeTestDirsInBuild),YES) - SUBDIRS += tests -endif +SUBDIRS = std -include $(TOP)/mk/subdir.mk - -# per-build options: shared with runtime system -include ../mk/buildflags.mk - -#----------------------------------------------------------------------------- -# libHS.a, in several different 'ways' - -all :: - @for i in $(WAY_SUFFIXES); do \ - echo; \ - echo =========== Making libraries for way $$i; \ - echo; \ - $(MAKE) -f Makefile.libHS suffix=$$i; \ - done - -# Shortcut for typical case when testing: just make the "normal" version -libHS.a :: - $(MAKE) -f Makefile.libHS suffix=norm - -install :: - @for i in $(WAY_SUFFIXES); do \ - $(MAKE) -f Makefile.libHS suffix=$$i install; \ - done - -clean :: - @for i in $(WAY_SUFFIXES); do \ - $(MAKE) -f Makefile.libHS suffix=$$i clean; \ - done - -# Dependencies are done by Makefile.libHS - -depend :: - @$(MAKE) -f Makefile.libHS depend - - -# install MODULES file - -install :: - $(INSTALL) $(INSTDATAFLAGS) MODULES $(INSTDATADIR_GHC)/imports +include $(TOP)/mk/target.mk