Move important information up in -Si output
[pacman-ng.git] / lib / libalpm / Makefile.am
blob911e52bfdee50ea734ae232eef4c1452bf8328be
1 AUTOMAKE_OPTIONS = gnu
3 SUBDIRS = po
5 lib_LTLIBRARIES = libalpm.la
6 include_HEADERS = alpm_list.h alpm.h
8 DEFS = -DLOCALEDIR=\"@localedir@\" @DEFS@
10 AM_CPPFLAGS = \
11         -imacros $(top_builddir)/config.h
13 AM_CFLAGS = -pedantic -D_GNU_SOURCE $(WARNING_CFLAGS)
15 if ENABLE_VISIBILITY_CC
16 if DARWIN
17 AM_CFLAGS += -fvisibility=hidden
18 else
19 AM_CFLAGS += -fvisibility=internal
20 endif
21 endif
22 if ENABLE_GNU89_INLINE_CC
23 AM_CFLAGS += -fgnu89-inline
24 endif
26 pkgconfigdir = $(libdir)/pkgconfig
27 pkgconfig_DATA = libalpm.pc
29 libalpm_la_SOURCES = \
30         add.h add.c \
31         alpm.h alpm.c \
32         alpm_list.h alpm_list.c \
33         backup.h backup.c \
34         be_local.c \
35         be_package.c \
36         be_sync.c \
37         conflict.h conflict.c \
38         db.h db.c \
39         delta.h delta.c \
40         deps.h deps.c \
41         diskspace.h diskspace.c \
42         dload.h dload.c \
43         error.c \
44         filelist.h filelist.c \
45         graph.h graph.c \
46         group.h group.c \
47         handle.h handle.c \
48         log.h log.c \
49         package.h package.c \
50         pkghash.h pkghash.c \
51         rawstr.c \
52         remove.h remove.c \
53         signing.c signing.h \
54         sync.h sync.c \
55         trans.h trans.c \
56         util.h util.c \
57         version.c
59 if !HAVE_LIBSSL
60 libalpm_la_SOURCES += \
61         md5.h md5.c \
62         sha2.h sha2.c
63 endif
65 if HAVE_LIBGPGME
66 libalpm_la_SOURCES += \
67         base64.h base64.c
68 endif
70 libalpm_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION_INFO)
72 libalpm_la_CFLAGS = \
73         $(AM_CFLAGS) \
74         $(GPGME_CFLAGS) \
75         $(LIBARCHIVE_CFLAGS) \
76         $(LIBCURL_CFLAGS) \
77         $(LIBSSL_CFLAGS)
79 libalpm_la_LIBADD = \
80         $(LTLIBINTL) \
81         $(GPGME_LIBS) \
82         $(LIBARCHIVE_LIBS) \
83         $(LIBCURL_LIBS) \
84         $(LIBSSL_LIBS)
86 # vim:set ts=2 sw=2 noet: