summaryrefslogtreecommitdiff
path: root/lib/libalpm/Makefile.am
blob: 0381d9d890aeea68420a23fba897ee625fd5c27a (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
50
AUTOMAKE_OPTIONS = gnu

SUBDIRS = po

lib_LTLIBRARIES = libalpm.la
include_HEADERS = alpm_list.h alpm.h

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

AM_CFLAGS = -fvisibility=hidden -pedantic -D_GNU_SOURCE

EXTRA_DIST = Doxyfile

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

libalpm_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION_INFO)
libalpm_la_LIBADD = -larchive -ldownload -lm

if HAS_DOXYGEN
all: doxygen.in

doxygen.in:
        doxygen $(srcdir)/Doxyfile

endif