2007-05-31 02:51:28 -04:00
|
|
|
# paths set at make time
|
|
|
|
conffile = ${sysconfdir}/pacman.conf
|
2007-07-23 16:58:04 -04:00
|
|
|
dbpath = ${localstatedir}/lib/pacman/
|
2008-12-14 13:59:39 -05:00
|
|
|
gpgdir = ${sysconfdir}/pacman.d/gnupg/
|
2007-08-21 21:53:38 -04:00
|
|
|
cachedir = ${localstatedir}/cache/pacman/pkg/
|
2007-11-04 23:05:44 -05:00
|
|
|
logfile = ${localstatedir}/log/pacman.log
|
2007-05-31 02:51:28 -04:00
|
|
|
|
2007-11-01 20:36:50 -04:00
|
|
|
bin_PROGRAMS = pacman
|
|
|
|
|
2007-05-31 02:51:28 -04:00
|
|
|
DEFS = -DLOCALEDIR=\"@localedir@\" \
|
|
|
|
-DCONFFILE=\"$(conffile)\" \
|
2007-07-23 16:58:04 -04:00
|
|
|
-DROOTDIR=\"$(ROOTDIR)\" \
|
|
|
|
-DDBPATH=\"$(dbpath)\" \
|
2008-12-14 13:59:39 -05:00
|
|
|
-DGPGDIR=\"$(gpgdir)\" \
|
2007-08-21 21:53:38 -04:00
|
|
|
-DCACHEDIR=\"$(cachedir)\" \
|
2007-11-04 23:05:44 -05:00
|
|
|
-DLOGFILE=\"$(logfile)\" \
|
2007-05-31 02:51:28 -04:00
|
|
|
@DEFS@
|
2007-02-21 23:36:02 -05:00
|
|
|
INCLUDES = -I$(top_srcdir)/lib/libalpm
|
|
|
|
|
2007-04-26 16:59:38 -04:00
|
|
|
AM_CFLAGS = -pedantic -D_GNU_SOURCE
|
2007-02-21 23:36:02 -05:00
|
|
|
|
2008-05-31 12:53:51 -04:00
|
|
|
if USE_GIT_VERSION
|
2011-01-22 09:15:16 -05:00
|
|
|
GIT_VERSION := $(shell sh -c 'git describe --abbrev=4 --dirty | sed s/^v//')
|
2008-05-31 12:53:51 -04:00
|
|
|
DEFS += -DGIT_VERSION=\"$(GIT_VERSION)\"
|
|
|
|
endif
|
|
|
|
|
2007-02-21 23:36:02 -05:00
|
|
|
pacman_SOURCES = \
|
|
|
|
conf.h conf.c \
|
2009-05-20 15:46:23 -04:00
|
|
|
database.c \
|
2007-04-25 02:21:12 -04:00
|
|
|
deptest.c \
|
2007-02-21 23:36:02 -05:00
|
|
|
package.h package.c \
|
2007-04-25 02:21:12 -04:00
|
|
|
pacman.h pacman.c \
|
|
|
|
query.c \
|
|
|
|
remove.c \
|
|
|
|
sync.c \
|
2007-04-25 20:02:07 -04:00
|
|
|
callback.h callback.c \
|
2007-12-02 15:14:14 -05:00
|
|
|
upgrade.c \
|
2007-02-21 23:36:02 -05:00
|
|
|
util.h util.c
|
2005-10-17 14:52:43 -04:00
|
|
|
|
2008-04-14 22:01:30 -04:00
|
|
|
LDADD = $(LTLIBINTL) $(top_builddir)/lib/libalpm/.libs/libalpm.la
|
2005-10-17 14:52:43 -04:00
|
|
|
|
2007-06-04 17:49:09 -04:00
|
|
|
# vim:set ts=2 sw=2 noet:
|