2009-04-16 10:49:16 +00:00
|
|
|
##
|
|
|
|
# Building apk-tools
|
2008-04-17 14:09:13 +00:00
|
|
|
|
2009-01-15 13:48:11 +00:00
|
|
|
PACKAGE := apk-tools
|
2009-05-27 11:46:38 +00:00
|
|
|
TAGPREFIX := $(PACKAGE)-
|
2009-07-02 12:50:56 +00:00
|
|
|
VERSION := 2.0_pre13
|
2008-04-17 14:09:13 +00:00
|
|
|
|
2009-04-16 10:49:16 +00:00
|
|
|
##
|
|
|
|
# Default directories
|
2008-04-17 14:09:13 +00:00
|
|
|
|
2009-04-16 10:49:16 +00:00
|
|
|
DESTDIR :=
|
|
|
|
SBINDIR := /sbin
|
|
|
|
CONFDIR := /etc/apk
|
|
|
|
MANDIR := /usr/share/man
|
|
|
|
DOCDIR := /usr/share/doc/apk
|
2008-04-17 14:09:13 +00:00
|
|
|
|
2009-04-16 10:49:16 +00:00
|
|
|
export DESTDIR SBINDIR CONFDIR MANDIR DOCDIR
|
2008-12-01 07:03:11 +00:00
|
|
|
|
2009-04-16 10:49:16 +00:00
|
|
|
##
|
|
|
|
# Top-level rules and targets
|
2008-04-21 16:30:10 +00:00
|
|
|
|
2009-04-16 10:49:16 +00:00
|
|
|
targets := src/
|
2008-04-17 14:09:13 +00:00
|
|
|
|
2009-04-16 10:49:16 +00:00
|
|
|
##
|
|
|
|
# Include all rules and stuff
|
2008-04-17 14:09:13 +00:00
|
|
|
|
2009-04-16 10:49:16 +00:00
|
|
|
include Make.rules
|
2008-04-17 14:09:13 +00:00
|
|
|
|
2009-04-16 10:49:16 +00:00
|
|
|
##
|
|
|
|
# Top-level targets
|
2008-04-17 14:09:13 +00:00
|
|
|
|
|
|
|
install::
|
|
|
|
$(INSTALLDIR) $(DESTDIR)$(DOCDIR)
|
|
|
|
$(INSTALL) README $(DESTDIR)$(DOCDIR)
|
|
|
|
|
2009-04-16 10:49:16 +00:00
|
|
|
static:
|
|
|
|
$(Q)$(MAKE) STATIC=y
|