From e83964badb5c266992f5b1312b31aa6a14d392e5 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 22 Oct 2018 16:00:06 +0200 Subject: skeleton for libtalerauditor --- src/auditor-lib/Makefile.am | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 src/auditor-lib/Makefile.am (limited to 'src/auditor-lib/Makefile.am') diff --git a/src/auditor-lib/Makefile.am b/src/auditor-lib/Makefile.am new file mode 100644 index 000000000..de2399961 --- /dev/null +++ b/src/auditor-lib/Makefile.am @@ -0,0 +1,36 @@ +# This Makefile.am is in the public domain +AM_CPPFLAGS = -I$(top_srcdir)/src/include + +if USE_COVERAGE + AM_CFLAGS = --coverage -O0 + XLIB = -lgcov +endif + +lib_LTLIBRARIES = \ + libtalerauditor + +libtalerauditor_la_LDFLAGS = \ + -version-info 0:0:0 \ + -no-undefined +libtalerauditor_la_SOURCES = \ + curl_defaults.c \ + auditor_api_common.c \ + auditor_api_handle.c auditor_api_handle.h \ + auditor_api_deposit_confirmation.c +libtalerauditor_la_LIBADD = \ + $(top_builddir)/src/json/libtalerjson.la \ + $(top_builddir)/src/util/libtalerutil.la \ + -lgnunetcurl \ + -lgnunetjson \ + -lgnunetutil \ + -ljansson \ + $(XLIB) + +if HAVE_LIBCURL +libtalerauditor_la_LIBADD += -lcurl +else +if HAVE_LIBGNURL +libtalerauditor_la_LIBADD += -lgnurl +endif +endif + -- cgit v1.2.3