summaryrefslogtreecommitdiff
path: root/maintMakefile
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2018-08-02 20:51:11 -0400
committerPaul Smith <psmith@gnu.org>2018-08-02 20:55:34 -0400
commit23554ee65897c968a2ab56c3a6f248e7037b1098 (patch)
tree72a0fb608e77a4ea82687f3fc1e25dcb93f1e859 /maintMakefile
parent0ce880e5ee7b4c5670aa676354ae10df448a616d (diff)
downloadmake-git-23554ee65897c968a2ab56c3a6f248e7037b1098.tar.gz
Enhance the Basic.mk environment to work with Gnulib
* maintMakefile: Omit generated headers from Basic.mk prerequisites. * Basic.mk.template: Rework commands to use with $(call ...) macros. * mk/Amiga.mk: Ditto. * mk/VMS.mk: Ditto. * mk/Windows32.mk: Ditto, plus P2W to convert POSIX to Windows paths. * mk/msdosdjgpp.mk: Ditto.
Diffstat (limited to 'maintMakefile')
-rw-r--r--maintMakefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/maintMakefile b/maintMakefile
index d4716080..cea4db14 100644
--- a/maintMakefile
+++ b/maintMakefile
@@ -77,6 +77,9 @@ Basic.mk: Basic.mk.template .dep_segment Makefile
sed -e 's@^\([^ ]*\)\.o:@$$(OUTDIR)\1.$$(OBJEXT):@' \
-e 's@\([^ ]*\.[ch]\)@$$(SRCDIR)/\1@g' \
-e 's@$$(SRCDIR)/src/config.h@$$(OUTDIR)src/config.h@g' \
+ -e 's@$$(SRCDIR)/lib/stdlib.h@@g' \
+ -e 's@$$(SRCDIR)/lib/sys/types.h@@g' \
+ -e 's@$$(SRCDIR)/lib/unistd.h@@g' \
$(word 2,$^) >>$@
chmod a-w $@