Formerly GNUmakefile.~64~

This commit is contained in:
Roland McGrath 1992-06-11 05:33:52 +00:00
parent b9f64130af
commit efc335d4a1

View file

@ -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 (,)