Makefile.am (2105B)
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 tmpldatadir = $(prefix)/share/challenger/templates/ 10 11 dist_tmpldata_DATA = \ 12 default-challenge-message.txt 13 14 pkgcfgdir = $(prefix)/share/challenger/config.d/ 15 16 pkgcfg_DATA = \ 17 challenger.conf 18 19 bin_PROGRAMS = \ 20 challenger-admin \ 21 challenger-httpd 22 23 bin_SCRIPTS = \ 24 challenger-send-email \ 25 challenger-send-post \ 26 challenger-send-sms \ 27 challenger-send-sms-clicksend \ 28 challenger-send-sms-telesign 29 30 check_SCRIPTS = \ 31 test-challenger.sh \ 32 test-challenger-pkce.sh \ 33 test-challenger-revisit.sh 34 35 TESTS = \ 36 $(check_SCRIPTS) 37 38 challenger_admin_SOURCES = \ 39 challenger-admin.c 40 challenger_admin_LDADD = \ 41 $(top_builddir)/src/challengerdb/libchallengerdb.la \ 42 $(top_builddir)/src/util/libchallengerutil.la \ 43 -ltalerutil \ 44 -lgnunetutil \ 45 $(XLIB) 46 47 challenger_httpd_SOURCES = \ 48 challenger_cm_enums.c challenger_cm_enums.h \ 49 challenger-httpd.c challenger-httpd.h \ 50 challenger-httpd_agpl.c challenger-httpd_agpl.h \ 51 challenger-httpd_spa.c challenger-httpd_spa.h \ 52 challenger-httpd_authorize.c challenger-httpd_authorize.h \ 53 challenger-httpd_challenge.c challenger-httpd_challenge.h \ 54 challenger-httpd_common.c challenger-httpd_common.h \ 55 challenger-httpd_config.c challenger-httpd_config.h \ 56 challenger-httpd_info.c challenger-httpd_info.h \ 57 challenger-httpd_mhd.c challenger-httpd_mhd.h \ 58 challenger-httpd_setup.c challenger-httpd_setup.h \ 59 challenger-httpd_solve.c challenger-httpd_solve.h \ 60 challenger-httpd_token.c challenger-httpd_token.h 61 62 challenger_httpd_LDADD = \ 63 $(top_builddir)/src/util/libchallengerutil.la \ 64 $(top_builddir)/src/challengerdb/libchallengerdb.la \ 65 -ltalertemplating \ 66 -lmicrohttpd \ 67 -ljansson \ 68 -ltalermhd \ 69 -ltalerjson \ 70 -ltalerutil \ 71 -lgnunetcurl \ 72 -lgnunetjson \ 73 -lgnunetutil \ 74 -lgcrypt \ 75 $(XLIB) 76 77 EXTRA_DIST = \ 78 cat.sh \ 79 challenger.conf \ 80 test-challenger.conf \ 81 test-challenger-pkce.conf \ 82 $(pkgcfg_DATA) \ 83 $(bin_SCRIPTS) \ 84 $(check_SCRIPTS)