blob: cead9a8b41dc711a0b43d38c1aac098754c1abed (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# This Makefile.am is in the public domain
AM_CPPFLAGS = -I$(top_srcdir)/src/include
if MINGW
WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
endif
if USE_COVERAGE
AM_CFLAGS = --coverage
endif
if HAVE_MYSQL
lib_LTLIBRARIES = libgnunetmy.la
endif
libgnunetmy_la_SOURCES = \
my.c \
my_query_helper.c \
my_result_helper.c
libgnunetmy_la_LIBADD = $(MYSQL_LDFLAGS) -lmysqlclient \
$(top_builddir)/src/mysql/libgnunetmysql.la \
$(top_builddir)/src/util/libgnunetutil.la
libgnunetmy_la_LDFLAGS = \
$(GN_LIB_LDFLAGS) \
-version-info 0:0:0
if ENABLE_TEST_RUN
TESTS = \
test_my
endif
EXTRA_DIST = \
test_my.conf
check_PROGRAMS= \
test_my
test_my_SOURCES = \
test_my.c
test_my_LDADD = \
libgnunetmy.la \
$(top_builddir)/src/mysql/libgnunetmysql.la \
$(top_builddir)/src/util/libgnunetutil.la \
-lmysqlclient $(XLIB)
|