make: Move defs.mk -> ytools.mk

This commit is contained in:
Jan Lindemann 2002-07-20 10:26:53 +00:00 committed by Jan Lindemann
commit 1223681535
4 changed files with 43 additions and 44 deletions

View file

@ -5,9 +5,14 @@
CLEAN += $(wildcard *.acdone)
DISTCLEAN += configure config.log autoscan.log configure.ac config.status
AC_FILES_IN = $(shell find . -name '*.in')
AC_FILES_IN = $(shell find . -name '*.in' | grep -v contrib)
AC_FILES = $(basename $(AC_FILES_IN))
all: config $(AC_FILES)
config: config.acdone
install: config $(AC_FILES)
confclean:
rm -f $(DISTCLEAN) $(CLEAN)
configure.ac: configure.ac.tmpl VERSION
cat $< | sed -e "s/_VERSION_/`cat VERSION | sed 's/-dev//'`/" > $@
@ -22,16 +27,10 @@ config.acdone: config.status
./config.status
touch $@
%.mk: %.mk.in config.status
$(TOPDIR)/make/%.mk: $(TOPDIR)/make/%.mk.in config.status
./config.status $@
touch $@
%.h: %.h.in config.status
$(TOPDIR)/make/%.h: $(TOPDIR)/make/%.h.in config.status
./config.status $@
touch $@
config: config.acdone
all: config $(AC_FILES)
install: config $(AC_FILES)
confclean:
rm -f $(DISTCLEAN) $(CLEAN)