exchange/src/util/Makefile.am
Christian Grothoff cb55c1a3af
Changing configuration structure to enable multiple accounts.
This change enables using multiple wire plugins at the same time.
Also, we now distinguish between the wire plugin (i.e. EBICS or
taler_bank) and the wire method (i.e. SEPA or x-taler-bank) that
the wire plugin is implementing.  The "taler-bank" wire method
was renamed from "test" to "x-taler-bank".

This also changes the format of the /wire response of the exchange,
as we now need to return multiple accounts.  Note that wire fees
are specified per wire method, not per wire account.

taler-exchange-keyup now automatically signs all of the /wire
responses in the location specified by the configuration.

Account identification in wire plugins was changed to use
payto://-URLs instead of method-specific JSON fields.  Signing
and validation of /wire responses was moved from each wire
plugin to a generic validation method in libtalerutil (crypto)
or libtalerjson (for JSON-formatted inputs).
Convenience methods were added to generate JSON for wire accounts
(salting, signing).

Various section and option names were adjusted to streamline the
configuration and make it more consistent overall.  Documentation
was updated as well.
2018-04-02 14:29:44 +02:00

87 lines
1.3 KiB
Makefile

# This Makefile.am is in the public domain
AM_CPPFLAGS = -I$(top_srcdir)/src/include $(LIBGCRYPT_CFLAGS)
if USE_COVERAGE
AM_CFLAGS = --coverage -O0
XLIB = -lgcov
endif
pkgcfgdir = $(prefix)/share/taler/config.d/
pkgcfg_DATA = \
paths.conf
EXTRA_DIST = \
paths.conf \
taler-config.in
bin_SCRIPTS = \
taler-config
if WALLET_ONLY
lib_LTLIBRARIES = \
libtalerutil_wallet.la
else
lib_LTLIBRARIES = \
libtalerutil.la
endif
libtalerutil_wallet_la_SOURCES = \
amount.c \
crypto.c
libtalerutil_wallet_la_LIBADD = \
-lgnunetutil_taler_wallet \
$(LIBGCRYPT_LIBS) \
$(XLIB)
libtalerutil_wallet_la_LDFLAGS = \
-version-info 1:0:1 \
-export-dynamic -no-undefined
libtalerutil_la_SOURCES = \
amount.c \
crypto.c \
crypto_wire.c \
util.c \
os_installation.c
libtalerutil_la_LIBADD = \
-lgnunetutil \
$(LIBGCRYPT_LIBS) \
-lmicrohttpd $(XLIB)
libtalerutil_la_LDFLAGS = \
-version-info 0:0:0 \
-export-dynamic -no-undefined
TESTS = \
test_amount \
test_crypto \
test_url
check_PROGRAMS = \
test_amount \
test_crypto \
test_url
test_amount_SOURCES = \
test_amount.c
test_amount_LDADD = \
-lgnunetutil \
libtalerutil.la
test_crypto_SOURCES = \
test_crypto.c
test_crypto_LDADD = \
-lgnunetutil \
libtalerutil.la
test_url_SOURCES = \
test_url.c
test_url_LDADD = \
-lgnunetutil \
libtalerutil.la