aboutsummaryrefslogtreecommitdiff
path: root/src/mysql/Makefile.am
blob: 889562d600180bb2aea43575e975601d3018b626 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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 = libgnunetmysql.la
endif

libgnunetmysql_la_SOURCES = \
  mysql.c
libgnunetmysql_la_LIBADD = $(MYSQL_LDFLAGS) -lmysqlclient \
 $(top_builddir)/src/util/libgnunetutil.la
libgnunetmysql_la_LDFLAGS = \
 $(GN_LIB_LDFLAGS) \
  -version-info 0:0:0