2005-10-17 14:52:43 -04:00
|
|
|
AUTOMAKE_OPTIONS = gnu
|
2006-06-28 01:37:15 -04:00
|
|
|
|
2007-02-21 23:36:02 -05:00
|
|
|
SUBDIRS = po
|
2005-10-17 14:52:43 -04:00
|
|
|
|
|
|
|
lib_LTLIBRARIES = libalpm.la
|
2007-01-19 04:28:44 -05:00
|
|
|
include_HEADERS = alpm_list.h alpm.h
|
2005-10-20 14:57:33 -04:00
|
|
|
|
2007-06-04 10:37:00 -04:00
|
|
|
DEFS = -DLOCALEDIR=\"@localedir@\" @DEFS@
|
2007-02-21 23:36:02 -05:00
|
|
|
|
2011-12-17 21:42:35 -05:00
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-imacros $(top_builddir)/config.h
|
|
|
|
|
2007-10-31 23:19:03 -04:00
|
|
|
AM_CFLAGS = -pedantic -D_GNU_SOURCE
|
|
|
|
|
|
|
|
if ENABLE_VISIBILITY_CC
|
2008-04-15 16:57:36 -04:00
|
|
|
if DARWIN
|
|
|
|
AM_CFLAGS += -fvisibility=hidden
|
|
|
|
else
|
2007-10-31 23:19:03 -04:00
|
|
|
AM_CFLAGS += -fvisibility=internal
|
|
|
|
endif
|
2008-04-15 16:57:36 -04:00
|
|
|
endif
|
2007-10-31 23:19:03 -04:00
|
|
|
if ENABLE_GNU89_INLINE_CC
|
|
|
|
AM_CFLAGS += -fgnu89-inline
|
|
|
|
endif
|
2007-02-21 23:36:02 -05:00
|
|
|
|
|
|
|
libalpm_la_SOURCES = \
|
|
|
|
add.h add.c \
|
|
|
|
alpm.h alpm.c \
|
|
|
|
alpm_list.h alpm_list.c \
|
|
|
|
backup.h backup.c \
|
2010-10-13 04:04:07 -04:00
|
|
|
be_local.c \
|
2008-01-21 22:23:54 -05:00
|
|
|
be_package.c \
|
2010-10-13 04:04:07 -04:00
|
|
|
be_sync.c \
|
2007-02-21 23:36:02 -05:00
|
|
|
conflict.h conflict.c \
|
|
|
|
db.h db.c \
|
2007-10-19 13:17:51 -04:00
|
|
|
delta.h delta.c \
|
2007-02-21 23:36:02 -05:00
|
|
|
deps.h deps.c \
|
2010-11-16 00:57:39 -05:00
|
|
|
diskspace.h diskspace.c \
|
2008-01-22 22:36:11 -05:00
|
|
|
dload.h dload.c \
|
2008-04-06 21:20:20 -04:00
|
|
|
error.c \
|
2011-04-11 17:45:43 -04:00
|
|
|
graph.h graph.c \
|
2007-02-21 23:36:02 -05:00
|
|
|
group.h group.c \
|
|
|
|
handle.h handle.c \
|
|
|
|
log.h log.c \
|
|
|
|
package.h package.c \
|
2011-01-06 09:32:17 -05:00
|
|
|
pkghash.h pkghash.c \
|
2011-07-03 18:55:04 -04:00
|
|
|
rawstr.c \
|
2007-02-21 23:36:02 -05:00
|
|
|
remove.h remove.c \
|
2008-12-07 12:58:24 -05:00
|
|
|
signing.c signing.h \
|
2007-02-21 23:36:02 -05:00
|
|
|
sync.h sync.c \
|
|
|
|
trans.h trans.c \
|
2010-04-05 15:56:32 -04:00
|
|
|
util.h util.c \
|
|
|
|
version.c
|
2005-10-17 14:52:43 -04:00
|
|
|
|
2010-09-02 13:05:23 -04:00
|
|
|
if !HAVE_LIBSSL
|
|
|
|
libalpm_la_SOURCES += \
|
2011-08-11 16:33:05 -04:00
|
|
|
md5.h md5.c \
|
|
|
|
sha2.h sha2.c
|
2010-09-02 13:05:23 -04:00
|
|
|
endif
|
|
|
|
|
2011-04-24 12:40:58 -04:00
|
|
|
if HAVE_LIBGPGME
|
|
|
|
libalpm_la_SOURCES += \
|
|
|
|
base64.h base64.c
|
|
|
|
endif
|
|
|
|
|
2011-03-17 21:34:01 -04:00
|
|
|
libalpm_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION_INFO) @LIBCURL@
|
2008-04-14 22:01:30 -04:00
|
|
|
libalpm_la_LIBADD = $(LTLIBINTL)
|
2006-02-17 15:48:45 -05:00
|
|
|
|
2007-06-04 17:49:09 -04:00
|
|
|
# vim:set ts=2 sw=2 noet:
|