sync

Backup service to store encrypted wallet databases (experimental)
Log | Files | Refs | Submodules | README | LICENSE

Makefile.am (1277B)


      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   libsynctesting.la
     11 
     12 libsynctesting_la_LDFLAGS = \
     13   -version-info 0:1:0 \
     14   -no-undefined
     15 libsynctesting_la_SOURCES = \
     16   testing_api_cmd_backup_download.c \
     17   testing_api_cmd_backup_upload.c \
     18   testing_api_traits.c
     19 libsynctesting_la_LIBADD = \
     20   $(top_builddir)/src/lib/libsync.la \
     21   -ltalermerchant \
     22   -ltalerexchange \
     23   -ltalerjson \
     24   -ltalerutil \
     25   -lgnunetcurl \
     26   -lgnunetjson \
     27   -lgnunetutil \
     28   -ljansson \
     29   -ltalertesting \
     30   $(XLIB)
     31 
     32 AM_TESTS_ENVIRONMENT=export SYNC_PREFIX=$${SYNC_PREFIX:-@libdir@};export PATH=$${SYNC_PREFIX:-@prefix@}/bin:$$PATH;
     33 
     34 check_PROGRAMS = \
     35   test_sync_api
     36 
     37 TESTS = \
     38   $(check_PROGRAMS)
     39 
     40 EXTRA_DIST = \
     41   test_sync_api.conf \
     42   test_sync_api_home/.local/share/taler/exchange-offline/master.priv
     43 
     44 test_sync_api_SOURCES = \
     45   test_sync_api.c
     46 test_sync_api_LDADD = \
     47   $(top_builddir)/src/lib/libsync.la \
     48   libsynctesting.la \
     49   -ltalertesting \
     50   -ltalermerchanttesting \
     51   -ltalerfakebank \
     52   -ltalerbank \
     53   -ltalerexchange \
     54   -ltalermerchant \
     55   -ltalerjson \
     56   -ltalerutil \
     57   -lgnunetjson \
     58   -lgnunetcurl \
     59   -lgnunetutil \
     60   -ljansson \
     61   $(XLIB)