X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FMakefile;h=a6374e2afb98145ebf5ad28c5b0325ef8b0d987d;hb=ce469441dcadb13da3df062631945fd1a6148e43;hp=c6d7309ab82163815a90b7ff98d68a63b400b84b;hpb=82afb115cf3a15c330eeb358d06f27f14ecf4b92;p=ghc-hetmet.git diff --git a/ghc/includes/Makefile b/ghc/includes/Makefile index c6d7309..a6374e2 100644 --- a/ghc/includes/Makefile +++ b/ghc/includes/Makefile @@ -1,5 +1,5 @@ # ----------------------------------------------------------------------------- -# $Id: Makefile,v 1.17 2001/10/19 18:33:11 qrczak Exp $ +# $Id: Makefile,v 1.18 2001/11/21 16:56:19 sof Exp $ # TOP = .. @@ -32,7 +32,10 @@ $(H_CONFIG) : $(FPTOOLS_TOP)/mk/config.h $(FPTOOLS_TOP)/mk/config.mk $(H_CONFIG) : @echo "Creating $@..." @$(RM) $@ - @echo "#define HostPlatform_TYPE $(HostPlatform_CPP)" > $@ + @echo "#ifndef __FPTOOLS_CONFIG_H__" >$@ + @echo "#define __FPTOOLS_CONFIG_H__" >>$@ + @echo >> $@ + @echo "#define HostPlatform_TYPE $(HostPlatform_CPP)" >> $@ @echo "#define TargetPlatform_TYPE $(HostPlatform_CPP)" >> $@ @echo "#define BuildPlatform_TYPE $(HostPlatform_CPP)" >> $@ @echo >> $@ @@ -59,6 +62,7 @@ endif @echo "#define $(HostVendor_CPP)_TARGET_VENDOR 1" >> $@ @echo "#define $(HostVendor_CPP)_BUILD_VENDOR 1" >> $@ @cat $(FPTOOLS_TOP)/mk/$@ >> $@ + @echo "#endif /* __FPTOOLS_CONFIG_H__ */" >> $@ @echo "Done." # ---------------------------------------------------------------------------