aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 3105b639cf86e4a06dbe0592cb1948ad99758fef (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
# This Makefile.am is in the public domain
bin_PROGRAMS = taler-nfc

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

taler_nfc_SOURCES = \
  nfc.c nfc.h \
  wallet.c wallet.h \
  product.c product.h \
  communication.c communication.h \
  main.c
taler_nfc_LDADD = \
  -ljansson \
  -lnfc \
  -lpthread \
  $(XLIB)


if HAVE_LIBCURL
taler_nfc_LDADD += -lcurl
else
if HAVE_LIBGNURL
taler_nfc_LDADD += -lgnurl
endif
endif