5 lib_LTLIBRARIES = libalpm.la
6 include_HEADERS = alpm_list.h alpm.h
8 DEFS = -DLOCALEDIR=\"@localedir@\" @DEFS@
11 -imacros $(top_builddir)/config.h
13 AM_CFLAGS = -pedantic -D_GNU_SOURCE $(WARNING_CFLAGS)
15 if ENABLE_VISIBILITY_CC
17 AM_CFLAGS += -fvisibility=hidden
19 AM_CFLAGS += -fvisibility=internal
22 if ENABLE_GNU89_INLINE_CC
23 AM_CFLAGS += -fgnu89-inline
26 pkgconfigdir = $(libdir)/pkgconfig
27 pkgconfig_DATA = libalpm.pc
29 libalpm_la_SOURCES = \
32 alpm_list.h alpm_list.c \
37 conflict.h conflict.c \
41 diskspace.h diskspace.c \
44 filelist.h filelist.c \
60 libalpm_la_SOURCES += \
66 libalpm_la_SOURCES += \
70 libalpm_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION_INFO)
75 $(LIBARCHIVE_CFLAGS) \
86 # vim:set ts=2 sw=2 noet: