exchange

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

Makefile.am (1348B)


      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 
     61 EXTRA_DIST = \
     62   test_typst.conf \
     63   test_typst_1.typ
     64 
     65 check_PROGRAMS = \
     66  test_typst
     67 
     68 TESTS = $(check_PROGRAMS)
     69 
     70 test_typst_SOURCES = \
     71   test_typst.c
     72 test_typst_LDADD = \
     73   libtalermhd.la \
     74   -ltalerutil \
     75   -lmicrohttpd \
     76   -lgnunetjson \
     77   -ljansson \
     78   -lgnunetutil