-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.am
98 lines (85 loc) · 2.68 KB
/
Makefile.am
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
## Process this file with automake to produce Makefile.in
ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = foreign
EXTRA_DIST = \
doc \
autogen.sh \
README.md \
LICENSE \
AUTHORS \
CHANGELOG
dist_doc_DATA = \
README.md \
LICENSE \
AUTHORS \
CHANGELOG
# Deletes all the files generated by autogen.sh.
MAINTAINERCLEANFILES = \
aclocal.m4 \
ar-lib \
config.guess \
config.sub \
configure \
depcomp \
install-sh \
ltmain.sh \
Makefile.in \
missing \
mkinstalldirs \
config.h.in \
stamp.h.in \
m4/ltsugar.m4 \
m4/libtool.m4 \
m4/ltversion.m4 \
m4/lt~obsolete.m4 \
m4/ltoptions.m4
if HAVE_ZLIB
ZLIB_DEF = -DHAVE_ZLIB=1
else
ZLIB_DEF =
endif
if HAVE_PTHREAD
PTHREAD_DEF = -DHAVE_PTHREAD=1
PTHREAD_LDFLAGS_=-lpthread
else
PTHREAD_DEF =
endif
if HAVE_SYSLOG_H
SYSLOG_DEF = -DHAVE_SYSLOG_H=1
else
SYSLOG_DEF =
endif
if HAVE_GETHOSTBYNAME_R
GETHOSTBYNAME_R_DEF = -DHAVE_GETHOSTBYNAME_R=1
else
GETHOSTBYNAME_R_DEF =
endif
CURL_LDFLAGS_=-lcurl
AM_CXXFLAGS = -DMYSQL2EVQL_VERSION=\"v@PACKAGE_VERSION@\" $(PTHREAD_CFLAGS) $(PTHREAD_DEF) $(SYSLOG_DEF) $(ZLIB_DEF) $(GETHOSTBYNAME_R_DEF) -std=c++0x -ftemplate-depth=500 -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wdelete-non-virtual-dtor -Wno-predefined-identifier-outside-function -Wno-invalid-offsetof -g -I$(top_srcdir)/src -I$(top_builddir)/src
AM_CFLAGS = $(PTHREAD_CFLAGS) $(PTHREAD_DEF) $(SYSLOG_DEF) $(ZLIB_DEF) $(GETHOSTBYNAME_R_DEF) -std=c11 -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -Wall -pedantic -g
AM_LDFLAGS = $(PTHREAD_CFLAGS) $(PTHREAD_LDFLAGS_)
bin_PROGRAMS = mysql2evql
mysql2evql_SOURCES = \
src/util/flagparser.cc \
src/util/flagparser.h \
src/util/logging.cc \
src/util/logging.h \
src/util/uri.cc \
src/util/uri.h \
src/util/return_code.h \
src/util/rate_limit.cc \
src/util/rate_limit.h \
src/util/stringutil.cc \
src/util/stringutil.h \
src/util/stringutil_impl.h \
src/util/time.cc \
src/util/time.h \
src/util/time_impl.h \
src/util/option.h \
src/util/option_impl.h \
src/util/queue.h \
src/util/queue_impl.h \
src/util/mysql.cc \
src/util/mysql.h \
src/mysql2evql.cc
mysql2evql_LDADD=-lmysqlclient -lcurl