exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

Makefile.am (1557B)


      1 # This Makefile.am is in the public domain
      2 AM_CPPFLAGS = -I$(top_srcdir)/src/include
      3 
      4 if USE_COVERAGE
      5   AM_CFLAGS = --coverage -O0
      6   XLIB = -lgcov
      7 endif
      8 
      9 lib_LTLIBRARIES = \
     10   libtalermhd.la
     11 
     12 libtalermhd_la_SOURCES = \
     13   mhd.c \
     14   mhd_config.c \
     15   mhd_legal.c \
     16   mhd_parsing.c \
     17   mhd_responses.c \
     18   mhd_run.c \
     19   mhd_spa.c \
     20   mhd_typst.c
     21 libtalermhd_la_LDFLAGS = \
     22   -version-info 8:0:1 \
     23   -no-undefined
     24 libtalermhd_la_LIBADD = \
     25   $(top_builddir)/src/json/libtalerjson.la \
     26   $(top_builddir)/src/util/libtalerutil.la \
     27   -lgnunetjson \
     28   -lgnunetmhd \
     29   -lgnunetutil \
     30   -lmicrohttpd \
     31   -ljansson \
     32   -lz \
     33   $(XLIB)
     34 
     35 if HAVE_MHD2
     36 lib_LTLIBRARIES += \
     37   libtalermhd2.la
     38 endif
     39 
     40 libtalermhd2_la_SOURCES = \
     41   mhd_config.c \
     42   mhd2.c \
     43   mhd2_legal.c \
     44   mhd2_responses.c \
     45   mhd2_run.c \
     46   mhd2_spa.c
     47 libtalermhd2_la_LDFLAGS = \
     48   -version-info 0:0:0 \
     49   -no-undefined
     50 libtalermhd2_la_LIBADD = \
     51   $(top_builddir)/src/json/libtalerjson.la \
     52   $(top_builddir)/src/util/libtalerutil.la \
     53   -lgnunetjson \
     54   -lgnunetutil \
     55   -lmicrohttpd2 \
     56   -ljansson \
     57   -lz \
     58   $(XLIB)
     59 
     60 AM_TESTS_ENVIRONMENT=export TALER_EXCHANGE_PREFIX=$${TALER_EXCHANGE_PREFIX:-@libdir@};export PATH=$${TALER_EXCHANGE_PREFIX:-@prefix@}/bin:$$PATH;export TALER_AUDITOR_PREFIX=$${TALER_AUDITOR_PREFIX:-@libdir@};
     61 
     62 EXTRA_DIST = \
     63   test_typst.conf \
     64   test_typst_1.typ
     65 
     66 check_PROGRAMS = \
     67  test_typst
     68 
     69 TESTS = $(check_PROGRAMS)
     70 
     71 test_typst_SOURCES = \
     72   test_typst.c
     73 test_typst_LDADD = \
     74   libtalermhd.la \
     75   -ltalerutil \
     76   -lmicrohttpd \
     77   -lgnunetjson \
     78   -ljansson \
     79   -lgnunetutil