mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
36 lines
872 B
Makefile
36 lines
872 B
Makefile
# generic utility modules
|
|
# (c) 2001 jannet it services
|
|
# contact@jannet.de
|
|
# $Id$
|
|
|
|
CLEAN += $(wildcard *.acdone)
|
|
DISTCLEAN += configure config.log autoscan.log configure.ac config.status
|
|
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//'`/" > $@
|
|
|
|
configure: configure.ac
|
|
autoconf $< > $@
|
|
chmod 755 $@
|
|
|
|
config.status: configure
|
|
./configure --no-create $(CONFIGURE_OPTS)
|
|
|
|
config.acdone: config.status
|
|
./config.status
|
|
touch $@
|
|
|
|
$(TOPDIR)/make/%.mk: $(TOPDIR)/make/%.mk.in config.status
|
|
./config.status $@
|
|
touch $@
|
|
|
|
$(TOPDIR)/make/%.h: $(TOPDIR)/make/%.h.in config.status
|
|
./config.status $@
|
|
touch $@
|