aboutsummaryrefslogtreecommitdiff
path: root/src/merchant/Makefile.am
blob: fbe80e0a607b312bd77dc26c1a4b45d06b1c43a2 (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
AM_CPPFLAGS = -I$(top_srcdir)/src/include $(POSTGRESQL_CPPFLAGS)

MERCHANT_DB = merchant_db.c merchant_db.h
bin_PROGRAMS = \
  taler-merchant-dbinit \
  taler-merchant-serve

taler_merchant_dbinit_SOURCES = \
  taler_merchant_dbinit.c \
  $(MERCHANT_DB)
taler_merchant_dbinit_LDADD = \
  -lpq \
  -lgnunetutil \
  -ltalerutil \
  -ltalerpq \
  -lgnunetpostgres
taler_merchant_dbinit_LDFLAGS = \
  $(POSTGRESQL_LDFLAGS)

check_PROGRAMS = \
  test-merchant \
  test-merchant-db

test_merchant_SOURCES = \
  merchant.c \
  test_merchant.c
test_merchant_LDADD = \
  -ltalerutil \
  -lgnunetutil

test_merchant_db_SOURCES = \
  $(MERCHANT_DB) \
  test_merchant_db.c
test_merchant_db_LDADD = \
  -ltalerutil \
  -ltalerpq \
  -lgnunetutil \
  -lgnunetpostgres \
  -lpq

taler_merchant_serve_SOURCES = \
  taler_merchant_serve.c \
  merchant.c merchant.h \
  $(MERCHANT_DB)
taler_merchant_serve_LDADD = \
  -lpq \
  -lgnunetutil \
  -lgnunetpostgres \
  -lmicrohttpd \
  -ltalermint \
  -ltalerutil \
  -ltalerpq \
  -ljansson
taler_merchant_serve_LDFLAGS = \
  $(POSTGRESQL_LDFLAGS)