mirror of
https://github.com/mirror/make.git
synced 2025-02-02 15:50:37 +08:00
Formerly GNUmakefile.~66~
This commit is contained in:
parent
b5ee5f8539
commit
15614defd8
11
GNUmakefile
11
GNUmakefile
@ -23,6 +23,9 @@ default:
|
|||||||
# Get most of the information from the Unix-compatible makefile.
|
# Get most of the information from the Unix-compatible makefile.
|
||||||
include compatMakefile
|
include compatMakefile
|
||||||
|
|
||||||
|
extras := $(filter-out @%@,$(extras))
|
||||||
|
LOADLIBES := $(filter-out @%@,$(LOADLIBES)) cygnus-is-scum.o
|
||||||
|
|
||||||
# Set `ARCH' to a string for the type of machine.
|
# Set `ARCH' to a string for the type of machine.
|
||||||
ifndef ARCH
|
ifndef ARCH
|
||||||
ifdef machine
|
ifdef machine
|
||||||
@ -53,10 +56,6 @@ ifneq "$(defines)" "@DEFS@"
|
|||||||
CPPFLAGS = $(defines)
|
CPPFLAGS = $(defines)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq "$(extras)" "@LIBOBJS@"
|
|
||||||
extras := # nada
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq "$(wildcard $(ARCH)/makefile)" ""
|
ifneq "$(wildcard $(ARCH)/makefile)" ""
|
||||||
include $(ARCH)/makefile
|
include $(ARCH)/makefile
|
||||||
objs := $(sort $(objs) $(addprefix $(ARCH)/,$(ALLOCA) $(extras)))
|
objs := $(sort $(objs) $(addprefix $(ARCH)/,$(ALLOCA) $(extras)))
|
||||||
@ -174,8 +173,8 @@ ETAGS = etags -T # for v19 etags
|
|||||||
# Run the tests.
|
# Run the tests.
|
||||||
.PHONY: tests
|
.PHONY: tests
|
||||||
testdir := $(shell ls -d1 make-test-?.? | sort -n +0.10 -0.11 +0.12 | tail -1l)
|
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
|
configure: /home/gd/gnu/autoconf/make.conf
|
||||||
cp $< $@
|
cp $< $@
|
||||||
|
Loading…
Reference in New Issue
Block a user