remove CYGWIN codeblocks, drop vendored Windows openvpn, drop win32 specific files.
[oweals/gnunet.git] / src / sq / Makefile.am
1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include
3
4 if USE_COVERAGE
5   AM_CFLAGS = --coverage
6 endif
7
8 if HAVE_SQLITE
9 lib_LTLIBRARIES = libgnunetsq.la
10 endif
11
12 libgnunetsq_la_SOURCES = \
13   sq.c \
14   sq_exec.c \
15   sq_prepare.c \
16   sq_query_helper.c \
17   sq_result_helper.c
18 libgnunetsq_la_LIBADD = -lsqlite3 \
19  $(top_builddir)/src/util/libgnunetutil.la
20 libgnunetsq_la_LDFLAGS = \
21  $(GN_LIB_LDFLAGS) \
22   -version-info 0:0:0
23
24 if ENABLE_TEST_RUN
25 TESTS = \
26  test_sq
27 endif
28
29 check_PROGRAMS= \
30  test_sq
31
32 test_sq_SOURCES = \
33   test_sq.c
34 test_sq_LDADD = \
35   libgnunetsq.la \
36   $(top_builddir)/src/util/libgnunetutil.la  \
37   -lsqlite3 $(XLIB)