X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Flib%2FMakefile;h=ca08ea20bc2fc14bbe107a9903df46af6abcb02d;hb=cbe4c3a7cc2b1e627b308aff520a9f354f7a730b;hp=1e256cd6830c7469142d5ce58164653879f5ff9f;hpb=828e71e561966187381c6822a76cfa83f9c7109c;p=ghc-hetmet.git diff --git a/ghc/lib/Makefile b/ghc/lib/Makefile index 1e256cd..ca08ea2 100644 --- a/ghc/lib/Makefile +++ b/ghc/lib/Makefile @@ -1,28 +1,6 @@ -#----------------------------------------------------------------------------- -# $Id: Makefile,v 1.4 1997/01/07 13:19:38 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 - -MAKEFILE=Makefile.libHS -DESCR=libraries -include $(TOP)/ghc/mk/ways.mk - -# Shortcut for typical case when testing: just make the "normal" version -# (simonm Todo: better way to do this?) -libHS.a :: - $(MAKE) -f Makefile.libHS suffix=norm - -# install MODULES file - -install :: - $(INSTALL) $(INSTDATAFLAGS) MODULES $(INSTDATADIR_GHC)/imports +include $(TOP)/mk/target.mk