~jan-kneschke/mysql-proxy/packet-tracking-assertions

« back to all changes in this revision

Viewing changes to lib/Makefile.am

  • Committer: Kay Roepke
  • Author(s): Jan Kneschke
  • Date: 2008-01-23 22:00:28 UTC
  • Revision ID: kay@mysql.com-20080123220028-hq2xqb69apa75fnx
first round on mysql-shell based on the proxy code

this is mostly a verification if the proxy-code is flexible enough to handle 
all three scenarios of: client, server and forwarding (proxy)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
luaextdir = ${pkglibdir}/lua
2
 
 
3
 
SUBDIRS = proxy 
4
 
 
5
 
## those are in the end examples or proof-of-concepts
6
 
example_scripts = \
7
 
                active-queries.lua \
8
 
                active-transactions.lua \
9
 
                admin-sql.lua \
10
 
                analyze-query.lua \
11
 
                auditing.lua \
12
 
                commit-obfuscator.lua \
13
 
                commit-obfuscator.msc \
14
 
                histogram.lua \
15
 
                load-multi.lua \
16
 
                ro-balance.lua \
17
 
                ro-pooling.lua \
18
 
                rw-splitting.lua \
19
 
                xtab.lua
20
 
EXTRA_DIST = 
21
 
 
22
 
if USE_WRAPPER_SCRIPT
23
 
## only install them if we are self-contained
24
 
## otherwise let the packager decide where to put them
25
 
dist_doc_DATA = ${example_scripts}
26
 
else
27
 
EXTRA_DIST += ${example_scripts}
28
 
endif
29
 
 
30
 
dist_luaext_DATA = \
31
 
        admin.lua
32
 
 
33
 
luaext_LTLIBRARIES = lfs.la glib2.la chassis.la mysql.la lpeg.la posix.la
34
 
 
35
 
lfs_la_SOURCES  = lfs.c
36
 
## get libtool to build a shared-lib
37
 
lfs_la_CPPFLAGS = ${LUA_CFLAGS}
38
 
lfs_la_LDFLAGS  = $(AM_LDFLAGS) -module -avoid-version
39
 
 
40
 
posix_la_SOURCES  = posix.c
41
 
## get libtool to build a shared-lib
42
 
posix_la_CPPFLAGS = ${LUA_CFLAGS}
43
 
posix_la_LDFLAGS  = $(AM_LDFLAGS) -module -avoid-version
44
 
 
45
 
glib2_la_SOURCES  = glib2.c
46
 
## get libtool to build a shared-lib
47
 
glib2_la_CPPFLAGS = ${LUA_CFLAGS} ${GLIB_CFLAGS}
48
 
glib2_la_LDFLAGS  = $(AM_LDFLAGS) -module -avoid-version
49
 
glib2_la_LIBADD   = $(GLIB_LIBS)
50
 
 
51
 
chassis_la_SOURCES  = chassis.c
52
 
## get libtool to build a shared-lib
53
 
chassis_la_CPPFLAGS = ${LUA_CFLAGS} ${GLIB_CFLAGS} -I${top_srcdir}/src/
54
 
chassis_la_LDFLAGS  = $(AM_LDFLAGS) -module -avoid-version
55
 
chassis_la_LIBADD   = ${GLIB_LIBS} ${top_builddir}/src/libmysql-chassis.la
56
 
 
57
 
mysql_la_SOURCES  = \
58
 
        mysql-proto.c \
59
 
        mysql-password.c \
60
 
        sql-tokenizer.l \
61
 
        sql-tokenizer-tokens.c \
62
 
        sql-tokenizer-keywords.c \
63
 
        sql-tokenizer-lua.c 
64
 
## get libtool to build a shared-lib
65
 
mysql_la_CPPFLAGS = ${LUA_CFLAGS} ${GLIB_CFLAGS} -I${top_srcdir}/src/ ${MYSQL_CFLAGS} -I${top_builddir}/lib/
66
 
mysql_la_LDFLAGS  = $(AM_LDFLAGS) -module -avoid-version
67
 
mysql_la_LIBADD   = ${GLIB_LIBS} ${top_builddir}/src/libmysql-proxy.la
68
 
 
69
 
lpeg_la_SOURCES  = lpeg.c
70
 
lpeg_la_CPPFLAGS = ${LUA_CFLAGS}
71
 
lpeg_la_LDFLAGS  = $(AM_LDFLAGS) -module -avoid-version
72
 
 
73
 
 
74
 
noinst_HEADERS = \
75
 
        sql-tokenizer.h  \
76
 
        sql-tokenizer-keywords.h 
77
 
 
78
 
EXTRA_DIST += \
79
 
        glib2.def \
80
 
        lfs.def \
81
 
        chassis.def \
82
 
        lpeg.def \
83
 
        mysql.def \
84
 
        posix.def \
85
 
        CMakeLists.txt
86
 
 
87
 
DISTCLEANFILES = \
88
 
        sql-tokenizer.c \
89
 
        sql-tokenizer-keywords.c
90
 
 
91
 
noinst_PROGRAMS=sql-tokenizer-gen
92
 
 
93
 
sql_tokenizer_gen_SOURCES=\
94
 
        sql-tokenizer-gen.c \
95
 
        sql-tokenizer-tokens.c
96
 
 
97
 
sql_tokenizer_gen_CPPFLAGS=${GLIB_CFLAGS} -I${srcdir}
98
 
sql_tokenizer_gen_LDADD=${GLIB_LIBS}
99
 
 
100
 
sql-tokenizer.c: sql-tokenizer-keywords.c
101
 
 
102
 
sql-tokenizer-keywords.c: sql-tokenizer-gen
103
 
        ${builddir}/sql-tokenizer-gen > ${builddir}/sql-tokenizer-keywords.c
104
 
 
105