aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Makefile.am
blob: c895aaf426efff4b3d61dcf31598d84e6eb1fe86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# This Makefile.am is in the public domain
AM_CPPFLAGS = -I$(top_srcdir)/src/include -I$(top_srcdir)/src/backend

if USE_COVERAGE
  AM_CFLAGS = --coverage -O0
  XLIB = -lgcov
endif

lib_LTLIBRARIES = \
  libtalermerchant.la

libtalermerchant_la_LDFLAGS = \
  -version-info 7:0:0 \
  -no-undefined

libtalermerchant_la_SOURCES = \
  merchant_api_curl_defaults.c merchant_api_curl_defaults.h \
  merchant_api_common.c merchant_api_common.h \
  merchant_api_delete_account.c \
  merchant_api_delete_instance.c \
  merchant_api_delete_order.c \
  merchant_api_delete_otp_device.c \
  merchant_api_delete_product.c \
  merchant_api_delete_template.c \
  merchant_api_delete_transfer.c \
  merchant_api_delete_webhook.c \
  merchant_api_get_account.c \
  merchant_api_get_accounts.c \
  merchant_api_get_config.c \
  merchant_api_get_instance.c \
  merchant_api_get_instances.c \
  merchant_api_get_kyc.c \
  merchant_api_get_orders.c \
  merchant_api_get_otp_device.c \
  merchant_api_get_otp_devices.c \
  merchant_api_get_product.c \
  merchant_api_get_products.c \
  merchant_api_get_transfers.c \
  merchant_api_get_template.c \
  merchant_api_get_templates.c \
  merchant_api_get_webhook.c \
  merchant_api_get_webhooks.c \
  merchant_api_lock_product.c \
  merchant_api_merchant_get_order.c \
  merchant_api_patch_account.c \
  merchant_api_patch_instance.c \
  merchant_api_patch_order_forget.c \
  merchant_api_patch_otp_device.c \
  merchant_api_patch_product.c \
  merchant_api_patch_template.c \
  merchant_api_patch_webhook.c \
  merchant_api_post_account.c \
  merchant_api_post_instance_auth.c \
  merchant_api_post_instances.c \
  merchant_api_post_orders.c \
  merchant_api_post_order_abort.c \
  merchant_api_post_order_claim.c \
  merchant_api_post_order_paid.c \
  merchant_api_post_order_pay.c \
  merchant_api_post_order_refund.c \
  merchant_api_post_otp_devices.c \
  merchant_api_post_products.c \
  merchant_api_post_transfers.c \
  merchant_api_post_templates.c \
  merchant_api_post_tokenfamilies.c \
  merchant_api_post_using_templates.c \
  merchant_api_post_webhooks.c \
  merchant_api_wallet_get_order.c \
  merchant_api_wallet_get_template.c \
  merchant_api_wallet_post_order_refund.c

libtalermerchant_la_LIBADD = \
  -ltalerexchange \
  -ltalercurl \
  -ltalerjson \
  -ltalerkyclogic \
  -ltalerutil \
  -lgnunetcurl \
  -lgnunetjson \
  -lgnunetutil \
  -ljansson \
  -lcurl \
  $(XLIB)

check_PROGRAMS = \
  test_merchant_api_common

TESTS = \
  $(check_PROGRAMS)

test_merchant_api_common_SOURCES = \
  test_merchant_api_common.c
test_merchant_api_common_LDADD = \
  $(top_srcdir)/src/lib/libtalermerchant.la \
  -lgnunetutil