diff options
author | Roland McGrath <roland@redhat.com> | 1992-06-11 05:33:52 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1992-06-11 05:33:52 +0000 |
commit | efc335d4a1ca4e6c5ca345e3a30f9db265d0b3d2 (patch) | |
tree | 19b12b1015e0b7f340c7e8c6a89a738a159b5d1d /GNUmakefile | |
parent | b9f64130afcee04dbcfab7986c9ab102c65c90de (diff) | |
download | gunmake-efc335d4a1ca4e6c5ca345e3a30f9db265d0b3d2.tar.gz |
Formerly GNUmakefile.~64~
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/GNUmakefile b/GNUmakefile index 3b48af0..8f6e2d4 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -49,7 +49,9 @@ $(archpfx)remote.o: remote.c $(archpfx)remote.dep: remote.c $(mkdep) $(REMOTE) $< | sed 's,$*\.o,& $@,' > $@ +ifneq "$(defines)" "@DEFS@" CPPFLAGS = $(defines) +endif ifneq "$(wildcard $(ARCH)/makefile)" "" include $(ARCH)/makefile @@ -69,13 +71,11 @@ ifneq ($(wildcard $(libc_dir)/works-for-make),) # $(libc_dir)/lib/libc.a CC := $(CC) -b glibc -# glob is in the C library. -globdep = $(libc_dir)/lib/libc.a -globlib = - -# So is getopt. +# getopt is in libc. GETOPT = +CPPFLAGS := -DSTDC_HEADERS -DHAVE_UNISTD_H -DHAVE_GLOB_H + else globdep = glob/libglob.a @@ -148,7 +148,7 @@ remote.dep: remote.c endif nolib-deps = $(patsubst $(archpfx)%,%,$(depfiles)) endif -Makefile: compatMakefile $(nolib-deps) +Makefile.in: compatMakefile $(nolib-deps) (cat $<; \ echo '# Automatically generated dependencies.'; \ sed -e 's/ [^ ]*\.dep//' -e 's=$(archpfx)==' $(filter-out $<,$^) \ @@ -173,6 +173,10 @@ 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) +configure: /home/gd/gnu/autoconf/make.conf + cp $< $@ +/home/gd/gnu/autoconf/%: force;$(MAKE) -C $(@D) $(@F) + # Make the distribution tar files. .PHONY: dist @@ -214,10 +218,10 @@ endef make-doc-$(version).tar.Z: README-doc COPYING make.dvi make.info make.info* $(make-tar) -make-$(version).tar.Z: README COPYING ChangeLog CHANGES TAGS tags Makefile \ +make-$(version).tar.Z: README COPYING ChangeLog CHANGES configure Makefile.in \ $(srcs) remote-*.c $(globfiles) make.texinfo gpl.texinfo \ make.cp* make.fn* make.ky* make.pg* make.toc make.tp* make.vr* \ - make.aux make.man texinfo.tex + make.aux make.man texinfo.tex TAGS tags $(make-tar) ifneq (,) |