diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-05-28 11:34:06 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-05-28 11:34:06 +0200 |
commit | de953fa7bcdcfa78606753285911a6a49120327f (patch) | |
tree | 203bb8ac7722d260461c656e3f409cf1363f6051 /src/util | |
parent | c742db86c44c7da89d62b6b4ed031dd4bdf74e38 (diff) |
add --enable-wallet-only flag to build libtalerutil_wallet which ONLY contains the wallet-specific API subset
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/Makefile.am | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/util/Makefile.am b/src/util/Makefile.am index 804ff85a2..0c44570ed 100644 --- a/src/util/Makefile.am +++ b/src/util/Makefile.am @@ -6,8 +6,27 @@ if USE_COVERAGE XLIB = -lgcov endif +if WALLET_ONLY +lib_LTLIBRARIES = \ + libtalerutil_wallet.la +else lib_LTLIBRARIES = \ libtalerutil.la +endif + +libtalerutil_wallet_la_SOURCES = \ + amount.c \ + crypto.c \ + util.c + +libtalerutil_wallet_la_LIBADD = \ + -lgnunetutil_taler_wallet \ + $(LIBGCRYPT_LIBS) \ + $(XLIB) + +libtalerutil_wallet_la_LDFLAGS = \ + -version-info 0:0:0 \ + -export-dynamic -no-undefined libtalerutil_la_SOURCES = \ amount.c \ |