Makefile.am (1245B)
1 # This Makefile.am is in the public domain 2 AM_CPPFLAGS = -I$(top_srcdir)/src/include -I$(top_srcdir)/src/backend 3 4 plugindir = $(libdir)/frosix 5 6 plugin_LTLIBRARIES = \ 7 libfrosix_plugin_db_postgres.la 8 9 sqldir = $(prefix)/share/frosix/sql/ 10 11 sql_DATA = \ 12 versioning.sql \ 13 frosix-0001.sql \ 14 drop.sql 15 16 pkgcfgdir = $(prefix)/share/frosix/config.d/ 17 18 pkgcfg_DATA = \ 19 frosix_db_postgres.conf 20 21 bin_PROGRAMS = \ 22 frosix-dbinit 23 24 frosix_dbinit_SOURCES = \ 25 frosix-dbinit.c 26 27 frosix_dbinit_LDADD = \ 28 $(top_builddir)/src/util/libfrosixutil.la \ 29 $(LIBGCRYPT_LIBS) \ 30 libfrosixdb.la \ 31 -lgnunetutil \ 32 -ltalerutil \ 33 -ltalerpq \ 34 $(XLIB) 35 36 37 lib_LTLIBRARIES = \ 38 libfrosixdb.la 39 40 libfrosixdb_la_SOURCES = \ 41 frosix_db_plugin.c 42 libfrosixdb_la_LIBADD = \ 43 -lgnunetpq \ 44 -lpq \ 45 -lgnunetutil \ 46 -lltdl \ 47 $(XLIB) 48 libfrosixdb_la_LDFLAGS = \ 49 $(POSTGRESQL_LDFLAGS) \ 50 -version-info 2:0:0 \ 51 -no-undefined 52 53 libfrosix_plugin_db_postgres_la_SOURCES = \ 54 plugin_frosix_postgres.c 55 libfrosix_plugin_db_postgres_la_LIBADD = \ 56 $(LTLIBINTL) 57 libfrosix_plugin_db_postgres_la_LDFLAGS = \ 58 $(FROSIX_PLUGIN_LDFLAGS) \ 59 -lgnunetpq \ 60 -lpq \ 61 -ltalerpq \ 62 -ltalerutil \ 63 -lgnunetutil \ 64 $(XLIB) 65 66 EXTRA_DIST = \ 67 $(pkgcfg_DATA) \ 68 $(sql_DATA)