sync

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

Makefile.am (1303B)


      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 pkgcfgdir = $(prefix)/share/sync/config.d/
     10 
     11 pkgcfg_DATA = \
     12   sync.conf
     13 
     14 bin_PROGRAMS = \
     15   sync-httpd
     16 
     17 if HAVE_MHD2
     18 # Experimental port to libmicrohttpd2
     19 bin_PROGRAMS += \
     20   sync-httpd2
     21 endif
     22 
     23 sync_httpd_SOURCES = \
     24   sync-httpd.c sync-httpd.h \
     25   sync-httpd_backup.c sync-httpd_backup.h \
     26   sync-httpd_backup_post.c \
     27   sync-httpd_config.c sync-httpd_config.h \
     28   sync-httpd_mhd.c sync-httpd_mhd.h
     29 sync_httpd_LDADD = \
     30   $(top_builddir)/src/util/libsyncutil.la \
     31   $(top_builddir)/src/syncdb/libsyncdb.la \
     32   -lmicrohttpd \
     33   -ljansson \
     34   -ltalermerchant \
     35   -ltalermhd \
     36   -ltalerjson \
     37   -ltalerutil \
     38   -lgnunetcurl \
     39   -lgnunetjson \
     40   -lgnunetutil \
     41   $(XLIB)
     42 
     43 sync_httpd2_SOURCES = \
     44   sync-httpd2.c sync-httpd2.h \
     45   sync-httpd2_backup.c sync-httpd2_backup.h \
     46   sync-httpd2_backup-post.c \
     47   sync-httpd2_config.c sync-httpd2_config.h
     48 sync_httpd2_LDADD = \
     49   $(top_builddir)/src/util/libsyncutil.la \
     50   $(top_builddir)/src/syncdb/libsyncdb.la \
     51   -lmicrohttpd2 \
     52   -ljansson \
     53   -ltalermerchant \
     54   -ltalermhd2 \
     55   -ltalerjson \
     56   -ltalerutil \
     57   -lgnunetcurl \
     58   -lgnunetjson \
     59   -lgnunetutil \
     60   $(XLIB)
     61 
     62 EXTRA_DIST = \
     63   $(pkgcfg_DATA)