summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/Makefile.am
blob: 9bee7b592beababc983f8fa31fffae6bdc2aa02b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
AUTOMAKE_OPTIONS = gnu
DEFINES = -pedantic -D_GNU_SOURCE
AM_CFLAGS = $(DEFINES) -I$(top_srcdir)/lib/libfetch
SUBDIRS = po

localedir = $(datadir)/locale
DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@

TARGETS = md5driver.c \
	md5.c \
	sha1.c \
	util.c \
	list.c \
	log.c \
	error.c \
	package.c \
	group.c \
	db.c \
	cache.c \
	conflict.c \
	deps.c \
	provide.c \
	versioncmp.c \
	backup.c \
	trans.c \
	add.c \
	remove.c \
	sync.c \
	handle.c \
	server.c \
	alpm.c \
	be_files.c

lib_LTLIBRARIES = libalpm.la

include_HEADERS = alpm.h

libalpm_la_SOURCES = $(TARGETS)

libalpm_la_LDFLAGS = -no-undefined -version-info $(PM_VERSION_INFO) -L$(top_srcdir)/lib/libfetch
libalpm_la_LIBADD = -lfetch

if HAS_DOXYGEN
all: doxygen.in

doxygen.in:
	doxygen Doxyfile

endif