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

« back to all changes in this revision

Viewing changes to lib/Makefile.am

  • Committer: Kay Roepke
  • Date: 2009-01-20 12:04:47 UTC
  • Revision ID: kay@mysql.com-20090120120447-fkoxq5ovwf9iyk4v
add the wrapper script/makefile fu to start mysql-proxy without having to set the environment variables

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
luaextdir = ${pkglibdir}/lua
2
 
 
3
1
SUBDIRS = proxy 
4
2
 
5
 
## those are in the end examples or proof-of-concepts
6
 
example_scripts = \
 
3
dist_pkgdata_DATA = \
7
4
                active-queries.lua \
8
5
                active-transactions.lua \
9
6
                admin-sql.lua \
17
14
                ro-pooling.lua \
18
15
                rw-splitting.lua \
19
16
                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
 
17
 
 
18
pkglib_LTLIBRARIES = lfs.la glib2.la chassis.la mysql.la lpeg.la posix.la
34
19
 
35
20
lfs_la_SOURCES  = lfs.c
36
21
## get libtool to build a shared-lib
56
41
 
57
42
mysql_la_SOURCES  = \
58
43
        mysql-proto.c \
59
 
        mysql-password.c \
60
44
        sql-tokenizer.l \
61
 
        sql-tokenizer-tokens.c \
62
 
        sql-tokenizer-keywords.c \
63
45
        sql-tokenizer-lua.c 
64
46
## get libtool to build a shared-lib
65
47
mysql_la_CPPFLAGS = ${LUA_CFLAGS} ${GLIB_CFLAGS} -I${top_srcdir}/src/ ${MYSQL_CFLAGS} -I${top_builddir}/lib/
72
54
 
73
55
 
74
56
noinst_HEADERS = \
75
 
        sql-tokenizer.h  \
76
 
        sql-tokenizer-keywords.h 
 
57
        sql-tokenizer.h 
77
58
 
78
 
EXTRA_DIST += \
 
59
EXTRA_DIST = \
 
60
        CMakeLists.txt \
79
61
        glib2.def \
80
62
        lfs.def \
81
63
        chassis.def \
82
64
        lpeg.def \
83
65
        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
 
 
 
66
        posix.def