X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Flib%2FMakefile;h=ca08ea20bc2fc14bbe107a9903df46af6abcb02d;hb=a277751c44d6db6f4aa93fd8dc06bfdfbdc86760;hp=2f90b3af60da92a972da952820e706588edbd5ea;hpb=02b60157852c1bf3c371b47c33d83814a05153bc;p=ghc-hetmet.git diff --git a/ghc/lib/Makefile b/ghc/lib/Makefile index 2f90b3a..ca08ea2 100644 --- a/ghc/lib/Makefile +++ b/ghc/lib/Makefile @@ -1,47 +1,6 @@ -#----------------------------------------------------------------------------- -# $Id: Makefile,v 1.2 1996/11/21 16:47:41 simonm Exp $ +TOP=.. +include $(TOP)/mk/boilerplate.mk -TOP = ../.. -include $(TOP)/ghc/mk/ghc.mk +SUBDIRS = compat -SUBDIRS = cbits -ifeq ($(IncludeTestDirsInBuild),YES) - SUBDIRS += tests -endif - -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 - -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