1AUTOMAKE_OPTIONS = gnu 2 3SUBDIRS = po 4 5lib_LTLIBRARIES = libalpm.la 6include_HEADERS = alpm_list.h alpm.h 7 8AM_CPPFLAGS = \ 9 -imacros $(top_builddir)/config.h \ 10 -DSYSHOOKDIR=\"@datarootdir@/libalpm/hooks/\" \ 11 -DLOCALEDIR=\"@localedir@\" 12 13AM_CFLAGS = -pedantic -D_GNU_SOURCE $(WARNING_CFLAGS) 14 15if ENABLE_VISIBILITY_CC 16if DARWIN 17AM_CFLAGS += -fvisibility=hidden 18else 19AM_CFLAGS += -fvisibility=internal 20endif 21endif 22 23pkgconfigdir = $(libdir)/pkgconfig 24pkgconfig_DATA = libalpm.pc 25 26libalpm_la_SOURCES = \ 27 add.h add.c \ 28 alpm.h alpm.c \ 29 alpm_list.h alpm_list.c \ 30 backup.h backup.c \ 31 base64.h base64.c \ 32 be_local.c \ 33 be_package.c \ 34 be_sync.c \ 35 conflict.h conflict.c \ 36 db.h db.c \ 37 delta.h delta.c \ 38 deps.h deps.c \ 39 diskspace.h diskspace.c \ 40 dload.h dload.c \ 41 error.c \ 42 filelist.h filelist.c \ 43 graph.h graph.c \ 44 group.h group.c \ 45 handle.h handle.c \ 46 hook.h hook.c \ 47 ini.h ini.c \ 48 libarchive-compat.h \ 49 log.h log.c \ 50 package.h package.c \ 51 pkghash.h pkghash.c \ 52 rawstr.c \ 53 remove.h remove.c \ 54 signing.c signing.h \ 55 sync.h sync.c \ 56 trans.h trans.c \ 57 util.h util.c \ 58 util-common.h util-common.c \ 59 version.c 60 61libalpm_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION_INFO) 62 63libalpm_la_CFLAGS = \ 64 $(AM_CFLAGS) \ 65 $(GPGME_CFLAGS) \ 66 $(LIBARCHIVE_CFLAGS) \ 67 $(LIBCURL_CFLAGS) \ 68 $(LIBSSL_CFLAGS) \ 69 $(NETTLE_CFLAGS) 70 71libalpm_la_LIBADD = \ 72 $(LTLIBINTL) \ 73 $(GPGME_LIBS) \ 74 $(LIBARCHIVE_LIBS) \ 75 $(LIBCURL_LIBS) \ 76 $(LIBSSL_LIBS) \ 77 $(NETTLE_LIBS) 78