mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
autoconf.mk, projdefs.mk: Add files
This commit is contained in:
parent
b5f4b685fd
commit
e4b7aee901
2 changed files with 33 additions and 0 deletions
19
make/autoconf.mk
Normal file
19
make/autoconf.mk
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# generic utility modules
|
||||
# (c) 2001 jannet it services
|
||||
# contact@jannet.de
|
||||
# $Id$
|
||||
|
||||
CLEAN += config.status
|
||||
DISTCLEAN += configure config.log autoscan.log configure.ac config.status
|
||||
|
||||
configure.ac: configure.ac.tmpl $(TOPDIR)/VERSION
|
||||
cat $< | sed -e "s/_VERSION_/`cat $(TOPDIR)/VERSION | sed 's/-dev//'`/" > $@
|
||||
|
||||
configure: configure.ac
|
||||
autoconf $< > $@
|
||||
chmod 755 $@
|
||||
|
||||
config.status: configure
|
||||
./configure $(CONFIGURE_OPTS)
|
||||
|
||||
config: config.status
|
||||
14
make/projdefs.mk
Normal file
14
make/projdefs.mk
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# generic utility modules
|
||||
# (c) 2001 jannet it services
|
||||
# contact@jannet.de
|
||||
# $Id$
|
||||
|
||||
CAP_PROJECT := $(shell echo $(PROJECT) | tr [a-z] [A-Z])
|
||||
|
||||
include $(MODDIR)/make/defs.mk
|
||||
|
||||
$(CAP_PROJECT)_VERSION := $(VERSION)
|
||||
$(CAP_PROJECT)_INSTALL_LIBDIR := $(INSTALL_LIBDIR)
|
||||
$(CAP_PROJECT)_TOPDIR := $(TOPDIR)
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue