diff options
author | Roland McGrath <roland@redhat.com> | 1993-01-12 22:51:00 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1993-01-12 22:51:00 +0000 |
commit | 5e83d8b10aa70c6be78449a3fbc16fdc4d10da7f (patch) | |
tree | 07360da84a7a4a04041d68d7d4720ca7afc7ce2b | |
parent | 4c84e130646de350a0fd86e98024ed79f86abfad (diff) | |
download | gunmake-5e83d8b10aa70c6be78449a3fbc16fdc4d10da7f.tar.gz |
Formerly GNUmakefile.~88~
-rw-r--r-- | GNUmakefile | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/GNUmakefile b/GNUmakefile index c80ac2b..3796dd2 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -89,7 +89,7 @@ $(archpfx)remote.o: remote.c $(archpfx)remote.dep: remote.c $(mkdep) $(REMOTE) $< | sed 's,$*\.o,& $@,' > $@ -CPPFLAGS := -I$(ARCH) $(CPPFLAGS) $(filter-out @%@,$(defines)) +CPPFLAGS := -I$(ARCH) $(CPPFLAGS) -DHAVE_CONFIG_H $(filter-out @%@,$(defines)) ifneq "$(wildcard $(ARCH)/makefile)" "" include $(ARCH)/makefile @@ -178,8 +178,16 @@ ETAGS = etags -T # for v19 etags .PHONY: tests testdir := $(shell ls -d1 make-test-?.? | sort -n +0.10 -0.11 +0.12 | tail -1l) tests:# $(testdir)/run_make_tests.pl $(prog) -# cd $(<D); perl $(<F) - +# cd $(<D); MAKELEVEL=0 perl $(<F) + +build.sh.in: build.template + sed -e 's@%objs%@$(filter-out $(GLOB) $(ALLOCA) $(extras),\ + $(patsubst $(archpfx)%,%,$(objs)))@' \ + -e 's@%globobjs%@$(patsubst %.c,%.o,\ + $(filter %.c,$(notdir $(globfiles))))@' \ + $< > $@.new + mv -f $@.new $@ + # Make the distribution tar files. .PHONY: dist @@ -225,7 +233,7 @@ endef make-doc-$(version).tar.Z: README-doc COPYING make.dvi make.info make.info* $(make-tar) make-$(version).tar.Z: README INSTALL COPYING ChangeLog NEWS \ - configure Makefile.in configure.in \ + configure Makefile.in configure.in build.sh.in \ $(srcs) remote-*.c $(globfiles) \ make.texinfo gpl.texinfo make-stds.texi \ make.?? make.??s make.toc make.aux make.man texinfo.tex TAGS tags |