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
|
|
|
|
2011-12-17 21:42:35 -05:00
|
|
|
AM_CPPFLAGS = \
|
2012-09-18 23:38:21 -04:00
|
|
|
-imacros $(top_builddir)/config.h \
|
|
|
|
-DLOCALEDIR=\"@localedir@\"
|
2011-12-17 21:42:35 -05:00
|
|
|
|
2012-03-30 23:26:32 -04:00
|
|
|
AM_CFLAGS = -pedantic -D_GNU_SOURCE $(WARNING_CFLAGS)
|
2007-10-31 23:19:03 -04:00
|
|
|
|
|
|
|
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
|
|
|
|
2012-03-19 23:56:59 -04:00
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
pkgconfig_DATA = libalpm.pc
|
|
|
|
|
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 \
|
2012-07-12 16:29:59 -04:00
|
|
|
filelist.h filelist.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
|
|
|
|
|
2012-03-30 14:37:06 -04:00
|
|
|
libalpm_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION_INFO)
|
2012-03-30 14:26:35 -04:00
|
|
|
|
|
|
|
libalpm_la_CFLAGS = \
|
|
|
|
$(AM_CFLAGS) \
|
2012-03-30 23:08:31 -04:00
|
|
|
$(GPGME_CFLAGS) \
|
2012-03-30 14:30:08 -04:00
|
|
|
$(LIBARCHIVE_CFLAGS) \
|
2012-03-30 14:37:06 -04:00
|
|
|
$(LIBCURL_CFLAGS) \
|
2012-03-30 14:26:35 -04:00
|
|
|
$(LIBSSL_CFLAGS)
|
|
|
|
|
|
|
|
libalpm_la_LIBADD = \
|
|
|
|
$(LTLIBINTL) \
|
2012-03-30 23:08:31 -04:00
|
|
|
$(GPGME_LIBS) \
|
2012-03-30 14:30:08 -04:00
|
|
|
$(LIBARCHIVE_LIBS) \
|
2012-03-30 14:37:06 -04:00
|
|
|
$(LIBCURL_LIBS) \
|
2012-03-30 14:26:35 -04:00
|
|
|
$(LIBSSL_LIBS)
|
2006-02-17 15:48:45 -05:00
|
|
|
|
2007-06-04 17:49:09 -04:00
|
|
|
# vim:set ts=2 sw=2 noet:
|