mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2024-12-26 14:00:56 +00:00
Formerly GNUmakefile.~64~
This commit is contained in:
parent
b9f64130af
commit
efc335d4a1
1 changed files with 12 additions and 8 deletions
20
GNUmakefile
20
GNUmakefile
|
@ -49,7 +49,9 @@ $(archpfx)remote.o: remote.c
|
||||||
$(archpfx)remote.dep: remote.c
|
$(archpfx)remote.dep: remote.c
|
||||||
$(mkdep) $(REMOTE) $< | sed 's,$*\.o,& $@,' > $@
|
$(mkdep) $(REMOTE) $< | sed 's,$*\.o,& $@,' > $@
|
||||||
|
|
||||||
|
ifneq "$(defines)" "@DEFS@"
|
||||||
CPPFLAGS = $(defines)
|
CPPFLAGS = $(defines)
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq "$(wildcard $(ARCH)/makefile)" ""
|
ifneq "$(wildcard $(ARCH)/makefile)" ""
|
||||||
include $(ARCH)/makefile
|
include $(ARCH)/makefile
|
||||||
|
@ -69,13 +71,11 @@ ifneq ($(wildcard $(libc_dir)/works-for-make),)
|
||||||
# $(libc_dir)/lib/libc.a
|
# $(libc_dir)/lib/libc.a
|
||||||
CC := $(CC) -b glibc
|
CC := $(CC) -b glibc
|
||||||
|
|
||||||
# glob is in the C library.
|
# getopt is in libc.
|
||||||
globdep = $(libc_dir)/lib/libc.a
|
|
||||||
globlib =
|
|
||||||
|
|
||||||
# So is getopt.
|
|
||||||
GETOPT =
|
GETOPT =
|
||||||
|
|
||||||
|
CPPFLAGS := -DSTDC_HEADERS -DHAVE_UNISTD_H -DHAVE_GLOB_H
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
globdep = glob/libglob.a
|
globdep = glob/libglob.a
|
||||||
|
@ -148,7 +148,7 @@ remote.dep: remote.c
|
||||||
endif
|
endif
|
||||||
nolib-deps = $(patsubst $(archpfx)%,%,$(depfiles))
|
nolib-deps = $(patsubst $(archpfx)%,%,$(depfiles))
|
||||||
endif
|
endif
|
||||||
Makefile: compatMakefile $(nolib-deps)
|
Makefile.in: compatMakefile $(nolib-deps)
|
||||||
(cat $<; \
|
(cat $<; \
|
||||||
echo '# Automatically generated dependencies.'; \
|
echo '# Automatically generated dependencies.'; \
|
||||||
sed -e 's/ [^ ]*\.dep//' -e 's=$(archpfx)==' $(filter-out $<,$^) \
|
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)
|
tests: $(testdir)/run_make_tests.pl $(prog)
|
||||||
cd $(<D); perl $(<F)
|
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.
|
# Make the distribution tar files.
|
||||||
|
|
||||||
.PHONY: dist
|
.PHONY: dist
|
||||||
|
@ -214,10 +218,10 @@ endef
|
||||||
|
|
||||||
make-doc-$(version).tar.Z: README-doc COPYING make.dvi make.info make.info*
|
make-doc-$(version).tar.Z: README-doc COPYING make.dvi make.info make.info*
|
||||||
$(make-tar)
|
$(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 \
|
$(srcs) remote-*.c $(globfiles) make.texinfo gpl.texinfo \
|
||||||
make.cp* make.fn* make.ky* make.pg* make.toc make.tp* make.vr* \
|
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)
|
$(make-tar)
|
||||||
|
|
||||||
ifneq (,)
|
ifneq (,)
|
||||||
|
|
Loading…
Reference in a new issue