make/GNUmakefile

55 lines
1.2 KiB
Text
Raw Normal View History

1997-08-18 18:11:04 +00:00
# This is a maintainer's-only makefile
1992-01-11 11:09:59 +00:00
#
1997-08-18 18:11:04 +00:00
# It bootstraps a GNU make maintainer's directory
1995-12-12 05:47:27 +00:00
#
1992-01-11 11:09:59 +00:00
1997-08-18 18:11:04 +00:00
.SUFFIXES:
1992-01-11 11:09:59 +00:00
1997-08-27 20:30:54 +00:00
NORECURSE = true
# If the user asked for a specific target, invoke the Mkaefile instead.
#
1997-08-18 18:11:04 +00:00
.DEFAULT:
1997-08-27 20:30:54 +00:00
@[ -f Makefile.in -a -f configure -a -f aclocal.m4 -a -f config.h.in ] \
|| $(MAKE) __cfg NORECURSE=
@[ -f Makefile ] \
|| ./configure
1997-08-18 18:11:04 +00:00
$(MAKE) -f Makefile $@
1993-03-28 22:36:05 +00:00
1997-08-27 20:30:54 +00:00
.PHONY: __cfg __cfg_basic TAGS
1992-06-22 20:34:05 +00:00
1997-08-27 20:30:54 +00:00
# This is variable since the glob subdirectory doesn't use it.
#
1997-08-18 18:11:04 +00:00
ACCONFIG = acconfig.h
1993-03-28 22:36:05 +00:00
1997-08-27 20:30:54 +00:00
__cfg: __cfg_basic config.h.in TAGS
1997-08-18 18:11:04 +00:00
cd glob && $(MAKE) -f ../GNUmakefile __cfg_basic ACCONFIG=
1997-08-27 20:30:54 +00:00
ifdef NORECURSE
@echo ""; echo "Now you should run one of:"; echo ""; \
echo " make all"; \
echo " make dist"; \
echo " make distdir"; \
echo " make distcheck"; echo ""; \
echo "Or similar to proceed.";\
echo ""
endif
1992-01-11 11:09:59 +00:00
1997-08-18 18:11:04 +00:00
__cfg_basic: aclocal.m4 stamp-h.in configure Makefile.in
1997-04-07 07:21:16 +00:00
1997-08-18 18:11:04 +00:00
aclocal.m4: configure.in
aclocal
1994-02-16 23:58:49 +00:00
1997-08-18 18:11:04 +00:00
config.h.in: stamp-h.in
stamp-h.in: configure.in aclocal.m4 $(ACCONFIG)
autoheader
echo timestamp > $@
1993-03-29 19:30:33 +00:00
configure: configure.in aclocal.m4
1997-08-18 18:11:04 +00:00
autoconf
1992-01-11 11:09:59 +00:00
1997-08-18 18:11:04 +00:00
Makefile.in: configure.in config.h.in Makefile.am aclocal.m4
automake --add-missing
1997-08-27 20:30:54 +00:00
TAGS:
find . -name '*.[ch]' -print | etags -