summaryrefslogtreecommitdiff
path: root/lib/libalpm/Makefile.am
blob: 9f555d22d7b1a826ed0a404ef0e21c46ed7a4c34 (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
51
AUTOMAKE_OPTIONS = gnu
DEFINES = -pedantic -D_GNU_SOURCE
#libalpm isn't fully C99 safe with the strict aliasing rules
# to be fixed in the future
AM_CFLAGS $(DEFINES) -fno-strict-aliasing
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)
libalpm_la_LIBADD = -ldownload

if HAS_DOXYGEN
all: doxygen.in

doxygen.in:
        doxygen Doxyfile

endif