# This Makefile.am is in the public domain AM_CPPFLAGS = -I$(top_srcdir)/src/include if USE_COVERAGE AM_CFLAGS = --coverage -O0 XLIB = -lgcov endif pkgcfgdir = $(prefix)/share/taler/config.d/ pkgcfg_DATA = \ kudos.conf \ merchant.conf EXTRA_DIST = \ $(pkgcfg_DATA) bin_PROGRAMS = \ taler-merchant-depositcheck \ taler-merchant-exchangekeyupdate \ taler-merchant-httpd \ taler-merchant-kyccheck \ taler-merchant-reconciliation \ taler-merchant-webhook \ taler-merchant-wirewatch taler_merchant_depositcheck_SOURCES = \ taler-merchant-depositcheck.c taler_merchant_depositcheck_LDADD = \ $(top_builddir)/src/backenddb/libtalermerchantdb.la \ $(top_builddir)/src/util/libtalermerchantutil.la \ -ltalerexchange \ -ltalerjson \ -ltalerutil \ -ltalerpq \ -ljansson \ -lgnunetcurl \ -lgnunetjson \ -lgnunetutil \ -lcurl \ $(XLIB) taler_merchant_depositcheck_CFLAGS = \ $(AM_CFLAGS) taler_merchant_exchangekeyupdate_SOURCES = \ taler-merchant-exchangekeyupdate.c taler_merchant_exchangekeyupdate_LDADD = \ $(top_builddir)/src/backenddb/libtalermerchantdb.la \ $(top_builddir)/src/util/libtalermerchantutil.la \ -ltalerexchange \ -ltalerjson \ -ltalerutil \ -ltalerpq \ -lgnunetjson \ -lgnunetcurl \ -lgnunetutil \ -lcurl \ $(XLIB) taler_merchant_exchangekeyupdate_CFLAGS = \ $(AM_CFLAGS) taler_merchant_httpd_SOURCES = \ taler-merchant-httpd.c taler-merchant-httpd.h \ taler-merchant-httpd_config.c taler-merchant-httpd_config.h \ taler-merchant-httpd_contract.c taler-merchant-httpd_contract.h \ taler-merchant-httpd_exchanges.c taler-merchant-httpd_exchanges.h \ taler-merchant-httpd_get-orders-ID.c \ taler-merchant-httpd_get-orders-ID.h \ taler-merchant-httpd_get-templates-ID.c \ taler-merchant-httpd_get-templates-ID.h \ taler-merchant-httpd_helper.c \ taler-merchant-httpd_helper.h \ taler-merchant-httpd_mhd.c \ taler-merchant-httpd_mhd.h \ taler-merchant-httpd_private-delete-account-ID.c \ taler-merchant-httpd_private-delete-account-ID.h \ taler-merchant-httpd_private-delete-categories-ID.c \ taler-merchant-httpd_private-delete-categories-ID.h \ taler-merchant-httpd_private-delete-instances-ID.c \ taler-merchant-httpd_private-delete-instances-ID.h \ taler-merchant-httpd_private-delete-instances-ID-token.c \ taler-merchant-httpd_private-delete-instances-ID-token.h \ taler-merchant-httpd_private-delete-products-ID.c \ taler-merchant-httpd_private-delete-products-ID.h \ taler-merchant-httpd_private-delete-orders-ID.c \ taler-merchant-httpd_private-delete-orders-ID.h \ taler-merchant-httpd_private-delete-otp-devices-ID.c \ taler-merchant-httpd_private-delete-otp-devices-ID.h \ taler-merchant-httpd_private-delete-templates-ID.c \ taler-merchant-httpd_private-delete-templates-ID.h \ taler-merchant-httpd_private-delete-token-families-SLUG.c \ taler-merchant-httpd_private-delete-token-families-SLUG.h \ taler-merchant-httpd_private-delete-transfers-ID.c \ taler-merchant-httpd_private-delete-transfers-ID.h \ taler-merchant-httpd_private-delete-webhooks-ID.c \ taler-merchant-httpd_private-delete-webhooks-ID.h \ taler-merchant-httpd_private-get-accounts.c \ taler-merchant-httpd_private-get-accounts.h \ taler-merchant-httpd_private-get-accounts-ID.c \ taler-merchant-httpd_private-get-accounts-ID.h \ taler-merchant-httpd_private-get-categories.c \ taler-merchant-httpd_private-get-categories.h \ taler-merchant-httpd_private-get-categories-ID.c \ taler-merchant-httpd_private-get-categories-ID.h \ taler-merchant-httpd_private-get-instances.c \ taler-merchant-httpd_private-get-instances.h \ taler-merchant-httpd_private-get-instances-ID.c \ taler-merchant-httpd_private-get-instances-ID.h \ taler-merchant-httpd_private-get-instances-ID-kyc.c \ taler-merchant-httpd_private-get-instances-ID-kyc.h \ taler-merchant-httpd_private-get-pos.c \ taler-merchant-httpd_private-get-pos.h \ taler-merchant-httpd_private-get-products.c \ taler-merchant-httpd_private-get-products.h \ taler-merchant-httpd_private-get-products-ID.c \ taler-merchant-httpd_private-get-products-ID.h \ taler-merchant-httpd_private-get-orders.c \ taler-merchant-httpd_private-get-orders.h \ taler-merchant-httpd_private-get-orders-ID.c \ taler-merchant-httpd_private-get-orders-ID.h \ taler-merchant-httpd_private-get-otp-devices.c \ taler-merchant-httpd_private-get-otp-devices.h \ taler-merchant-httpd_private-get-otp-devices-ID.c \ taler-merchant-httpd_private-get-otp-devices-ID.h \ taler-merchant-httpd_private-get-transfers.c \ taler-merchant-httpd_private-get-transfers.h \ taler-merchant-httpd_private-get-templates.c \ taler-merchant-httpd_private-get-templates.h \ taler-merchant-httpd_private-get-templates-ID.c \ taler-merchant-httpd_private-get-templates-ID.h \ taler-merchant-httpd_private-get-token-families.c \ taler-merchant-httpd_private-get-token-families.h \ taler-merchant-httpd_private-get-token-families-SLUG.c \ taler-merchant-httpd_private-get-token-families-SLUG.h \ taler-merchant-httpd_private-get-webhooks.c \ taler-merchant-httpd_private-get-webhooks.h \ taler-merchant-httpd_private-get-webhooks-ID.c \ taler-merchant-httpd_private-get-webhooks-ID.h \ taler-merchant-httpd_private-patch-accounts-ID.c \ taler-merchant-httpd_private-patch-accounts-ID.h \ taler-merchant-httpd_private-patch-categories-ID.c \ taler-merchant-httpd_private-patch-categories-ID.h \ taler-merchant-httpd_private-patch-instances-ID.c \ taler-merchant-httpd_private-patch-instances-ID.h \ taler-merchant-httpd_private-patch-orders-ID-forget.c \ taler-merchant-httpd_private-patch-orders-ID-forget.h \ taler-merchant-httpd_private-patch-otp-devices-ID.c \ taler-merchant-httpd_private-patch-otp-devices-ID.h \ taler-merchant-httpd_private-patch-products-ID.c \ taler-merchant-httpd_private-patch-products-ID.h \ taler-merchant-httpd_private-patch-templates-ID.c \ taler-merchant-httpd_private-patch-templates-ID.h \ taler-merchant-httpd_private-patch-token-families-SLUG.c \ taler-merchant-httpd_private-patch-token-families-SLUG.h \ taler-merchant-httpd_private-patch-webhooks-ID.c \ taler-merchant-httpd_private-patch-webhooks-ID.h \ taler-merchant-httpd_private-post-account.c \ taler-merchant-httpd_private-post-account.h \ taler-merchant-httpd_private-post-categories.c \ taler-merchant-httpd_private-post-categories.h \ taler-merchant-httpd_private-post-instances.c \ taler-merchant-httpd_private-post-instances.h \ taler-merchant-httpd_private-post-instances-ID-auth.c \ taler-merchant-httpd_private-post-instances-ID-auth.h \ taler-merchant-httpd_private-post-instances-ID-token.c \ taler-merchant-httpd_private-post-instances-ID-token.h \ taler-merchant-httpd_private-post-orders-ID-refund.c \ taler-merchant-httpd_private-post-orders-ID-refund.h \ taler-merchant-httpd_private-post-orders.c \ taler-merchant-httpd_private-post-orders.h \ taler-merchant-httpd_private-post-products.c \ taler-merchant-httpd_private-post-products.h \ taler-merchant-httpd_private-post-otp-devices.c \ taler-merchant-httpd_private-post-otp-devices.h \ taler-merchant-httpd_private-post-products-ID-lock.c \ taler-merchant-httpd_private-post-products-ID-lock.h \ taler-merchant-httpd_private-post-templates.c \ taler-merchant-httpd_private-post-templates.h \ taler-merchant-httpd_private-post-token-families.c \ taler-merchant-httpd_private-post-token-families.h \ taler-merchant-httpd_private-post-transfers.c \ taler-merchant-httpd_private-post-transfers.h \ taler-merchant-httpd_private-post-webhooks.c \ taler-merchant-httpd_private-post-webhooks.h \ taler-merchant-httpd_post-orders-ID-abort.c \ taler-merchant-httpd_post-orders-ID-abort.h \ taler-merchant-httpd_post-orders-ID-claim.c \ taler-merchant-httpd_post-orders-ID-claim.h \ taler-merchant-httpd_post-orders-ID-pay.c \ taler-merchant-httpd_post-orders-ID-pay.h \ taler-merchant-httpd_post-orders-ID-paid.c \ taler-merchant-httpd_post-orders-ID-paid.h \ taler-merchant-httpd_post-orders-ID-refund.c \ taler-merchant-httpd_post-orders-ID-refund.h \ taler-merchant-httpd_post-using-templates.c \ taler-merchant-httpd_post-using-templates.h \ taler-merchant-httpd_qr.c \ taler-merchant-httpd_qr.h \ taler-merchant-httpd_spa.c \ taler-merchant-httpd_spa.h \ taler-merchant-httpd_statics.c \ taler-merchant-httpd_statics.h taler_merchant_httpd_LDADD = \ $(top_builddir)/src/backenddb/libtalermerchantdb.la \ $(top_builddir)/src/bank/libtalermerchantbank.la \ $(top_builddir)/src/util/libtalermerchantutil.la \ -ltalerexchange \ -ltalertemplating \ -ltalermhd \ -ltalerbank \ -ltalerkyclogic \ -ltalerjson \ -ltalerutil \ -ltalerpq \ -lmicrohttpd \ -ljansson \ -lgnunetcurl \ -lgnunetjson \ -lgnunetutil \ @QR_LIBS@ \ $(XLIB) if HAVE_DONAU taler_merchant_httpd_LDADD += \ -ldonau endif taler_merchant_httpd_CFLAGS = \ @QR_CFLAGS@ \ $(AM_CFLAGS) taler_merchant_kyccheck_SOURCES = \ taler-merchant-kyccheck.c taler_merchant_kyccheck_LDADD = \ $(top_builddir)/src/backenddb/libtalermerchantdb.la \ $(top_builddir)/src/util/libtalermerchantutil.la \ -ltalerexchange \ -ltalerjson \ -ltalerutil \ -ltalerpq \ -lgnunetjson \ -lgnunetcurl \ -lgnunetutil \ -lcurl \ $(XLIB) taler_merchant_kyccheck_CFLAGS = \ $(AM_CFLAGS) taler_merchant_reconciliation_SOURCES = \ taler-merchant-reconciliation.c taler_merchant_reconciliation_LDADD = \ $(top_builddir)/src/backenddb/libtalermerchantdb.la \ $(top_builddir)/src/util/libtalermerchantutil.la \ -ltalerexchange \ -ltalerjson \ -ltalerutil \ -ltalerpq \ -lgnunetjson \ -lgnunetcurl \ -lgnunetutil \ -lcurl \ $(XLIB) taler_merchant_reconciliation_CFLAGS = \ $(AM_CFLAGS) taler_merchant_webhook_SOURCES = \ taler-merchant-webhook.c taler_merchant_webhook_LDADD = \ $(top_builddir)/src/backenddb/libtalermerchantdb.la \ $(top_builddir)/src/util/libtalermerchantutil.la \ -ltalertemplating \ -ltalermhd \ -ltalerjson \ -ltalerutil \ -ltalerpq \ -ljansson \ -lgnunetcurl \ -lgnunetjson \ -lgnunetutil \ -lcurl \ $(XLIB) taler_merchant_webhook_CFLAGS = \ $(AM_CFLAGS) taler_merchant_wirewatch_SOURCES = \ taler-merchant-wirewatch.c taler_merchant_wirewatch_LDADD = \ $(top_builddir)/src/bank/libtalermerchantbank.la \ $(top_builddir)/src/backenddb/libtalermerchantdb.la \ $(top_builddir)/src/util/libtalermerchantutil.la \ -ltalermhd \ -ltalerjson \ -ltalerutil \ -ltalerpq \ -ljansson \ -lgnunetcurl \ -lgnunetjson \ -lgnunetutil \ -lcurl \ $(XLIB) taler_merchant_wirewatch_CFLAGS = \ $(AM_CFLAGS)