diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-02-27 01:18:50 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-02-27 01:18:50 +0100 |
commit | 3112e64ef06f71b06e9f047f2c6dd1be0941a565 (patch) | |
tree | c5eed6bcdbb0c24d72466c6f052bece931307cc6 /src/sq/Makefile.am | |
parent | befd2f9fc787c2ac75790b06e1601f2f65305375 (diff) | |
download | gnunet-3112e64ef06f71b06e9f047f2c6dd1be0941a565.tar.gz gnunet-3112e64ef06f71b06e9f047f2c6dd1be0941a565.zip |
skeleton for libgnunetsq implementation
Diffstat (limited to 'src/sq/Makefile.am')
-rw-r--r-- | src/sq/Makefile.am | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/sq/Makefile.am b/src/sq/Makefile.am new file mode 100644 index 000000000..7197e7ab4 --- /dev/null +++ b/src/sq/Makefile.am | |||
@@ -0,0 +1,40 @@ | |||
1 | # This Makefile.am is in the public domain | ||
2 | AM_CPPFLAGS = -I$(top_srcdir)/src/include $(POSTGRESQL_CPPFLAGS) | ||
3 | |||
4 | if MINGW | ||
5 | WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols | ||
6 | endif | ||
7 | |||
8 | if USE_COVERAGE | ||
9 | AM_CFLAGS = --coverage | ||
10 | endif | ||
11 | |||
12 | if HAVE_POSTGRESQL | ||
13 | lib_LTLIBRARIES = libgnunetsq.la | ||
14 | endif | ||
15 | |||
16 | libgnunetsq_la_SOURCES = \ | ||
17 | sq.c \ | ||
18 | sq_query_helper.c \ | ||
19 | sq_result_helper.c | ||
20 | libgnunetsq_la_LIBADD = -lsq \ | ||
21 | $(top_builddir)/src/util/libgnunetutil.la | ||
22 | libgnunetsq_la_LDFLAGS = \ | ||
23 | $(POSTGRESQL_LDFLAGS) \ | ||
24 | $(GN_LIB_LDFLAGS) \ | ||
25 | -version-info 0:0:0 | ||
26 | |||
27 | if ENABLE_TEST_RUN | ||
28 | TESTS = \ | ||
29 | test_sq | ||
30 | endif | ||
31 | |||
32 | check_PROGRAMS= \ | ||
33 | test_sq | ||
34 | |||
35 | test_sq_SOURCES = \ | ||
36 | test_sq.c | ||
37 | test_sq_LDADD = \ | ||
38 | libgnunetsq.la \ | ||
39 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
40 | -lsqlite3 $(XLIB) | ||