mirror of
https://github.com/moparisthebest/pacman
synced 2024-08-13 17:03:46 -04:00
1040ad4e71
With commit 097d5a478b
, including alpm.h also drags in archive.h.
Ensure the tools we build that depend on ALPM also include the necessary
flags to find libarchive headers if they are not installed in a standard
location.
[Dan: Add commit message]
Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
37 lines
1.0 KiB
Makefile
37 lines
1.0 KiB
Makefile
# paths set at make time
|
|
conffile = ${sysconfdir}/pacman.conf
|
|
dbpath = ${localstatedir}/lib/pacman/
|
|
gpgdir = ${sysconfdir}/pacman.d/gnupg/
|
|
cachedir = ${localstatedir}/cache/pacman/pkg/
|
|
|
|
bin_PROGRAMS = vercmp testpkg cleanupdelta pacsort pactree
|
|
|
|
AM_CPPFLAGS = \
|
|
-imacros $(top_builddir)/config.h \
|
|
-I$(top_srcdir)/lib/libalpm \
|
|
-DLOCALEDIR=\"@localedir@\" \
|
|
-DCONFFILE=\"$(conffile)\" \
|
|
-DDBPATH=\"$(dbpath)\" \
|
|
-DGPGDIR=\"$(gpgdir)\" \
|
|
-DCACHEDIR=\"$(cachedir)\"
|
|
|
|
AM_CFLAGS = -pedantic -D_GNU_SOURCE $(WARNING_CFLAGS) \
|
|
$(LIBARCHIVE_CFLAGS)
|
|
|
|
cleanupdelta_SOURCES = cleanupdelta.c
|
|
cleanupdelta_LDADD = $(top_builddir)/lib/libalpm/.libs/libalpm.la
|
|
|
|
pacsort_SOURCES = pacsort.c util-common.c
|
|
pacsort_LDADD = $(top_builddir)/lib/libalpm/.libs/libalpm.la
|
|
|
|
pactree_SOURCES = pactree.c util-common.c
|
|
pactree_LDADD = $(top_builddir)/lib/libalpm/.libs/libalpm.la
|
|
|
|
testpkg_SOURCES = testpkg.c
|
|
testpkg_LDADD = $(top_builddir)/lib/libalpm/.libs/libalpm.la
|
|
|
|
vercmp_SOURCES = vercmp.c
|
|
vercmp_LDADD = $(top_builddir)/lib/libalpm/libalpm_la-version.lo
|
|
|
|
# vim:set noet:
|