summaryrefslogtreecommitdiff
path: root/src/pacman/Makefile.am
blob: f8450b86fb9be1d464572f02d94e1afeb92509ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
bin_PROGRAMS = pacman pacman.static

AM_CFLAGS = -D_GNU_SOURCE \
	-I$(top_srcdir)/lib/libalpm \
	-I$(top_srcdir)/lib/libftp

pacman_SOURCES = util.c log.c list.c package.c db.c download.c trans.c add.c \
	remove.c upgrade.c query.c sync.c conf.c pacman.c

pacman_static_SOURCES = $(pacman_SOURCES)

pacman_LDADD = \
	$(top_srcdir)/lib/libalpm/libalpm.la \
	$(top_srcdir)/lib/libftp/libftp.la

pacman_static_LDADD = \
	$(top_srcdir)/lib/libalpm/.libs/libalpm.a \
	$(top_srcdir)/lib/libftp/.libs/libftp.a $(LDFLAGS)

pacman_static_LDFLAGS = -all-static