Move ROOTDIR definition into config.h
[pacman-ng.git] / src / util / Makefile.am
blob590bb3d2083e596ee53f1282911377feac640513
1 # paths set at make time
2 conffile  = ${sysconfdir}/pacman.conf
3 dbpath    = ${localstatedir}/lib/pacman/
4 cachedir  = ${localstatedir}/cache/pacman/pkg/
6 bin_PROGRAMS = vercmp testpkg testdb cleanupdelta pacsort pactree
8 DEFS = -DLOCALEDIR=\"@localedir@\" \
9        -DCONFFILE=\"$(conffile)\" \
10        -DDBPATH=\"$(dbpath)\" \
11        -DCACHEDIR=\"$(cachedir)\" \
12        @DEFS@
14 AM_CPPFLAGS = \
15         -imacros $(top_builddir)/config.h \
16         -I$(top_srcdir)/lib/libalpm
18 AM_CFLAGS = -pedantic -D_GNU_SOURCE
20 cleanupdelta_SOURCES = cleanupdelta.c
21 cleanupdelta_LDADD = $(top_builddir)/lib/libalpm/.libs/libalpm.la
23 pacsort_SOURCES = pacsort.c
24 pacsort_LDADD = $(top_builddir)/lib/libalpm/.libs/libalpm.la
26 pactree_SOURCES = pactree.c
27 pactree_LDADD = $(top_builddir)/lib/libalpm/.libs/libalpm.la
29 testdb_SOURCES = testdb.c
30 testdb_LDADD = $(top_builddir)/lib/libalpm/.libs/libalpm.la
32 testpkg_SOURCES = testpkg.c
33 testpkg_LDADD = $(top_builddir)/lib/libalpm/.libs/libalpm.la
35 vercmp_SOURCES = vercmp.c
36 vercmp_LDADD = $(top_builddir)/lib/libalpm/version.lo
38 # vim:set ts=2 sw=2 noet: