2449.1.1
by Brian Aker
This fixes the race condition on pkg, as well as the php client compile failure. |
1 |
# vim:ft=automake
|
2244.1.1
by Monty Taylor
Split libdrizzle into 1.0 and 2.0. Applied the C++ changes to 2.0 branch. |
2 |
#
|
3 |
# Drizzle Client Library
|
|
4 |
#
|
|
5 |
# Copyright (C) 2008 Eric Day (eday@oddments.org)
|
|
6 |
# All rights reserved.
|
|
7 |
#
|
|
8 |
# Redistribution and use in source and binary forms, with or without
|
|
9 |
# modification, are permitted provided that the following conditions are
|
|
10 |
# met:
|
|
11 |
#
|
|
12 |
# * Redistributions of source code must retain the above copyright
|
|
13 |
# notice, this list of conditions and the following disclaimer.
|
|
14 |
#
|
|
15 |
# * Redistributions in binary form must reproduce the above
|
|
16 |
# copyright notice, this list of conditions and the following disclaimer
|
|
17 |
# in the documentation and/or other materials provided with the
|
|
18 |
# distribution.
|
|
19 |
#
|
|
20 |
# * The names of its contributors may not be used to endorse or
|
|
21 |
# promote products derived from this software without specific prior
|
|
22 |
# written permission.
|
|
23 |
#
|
|
24 |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
25 |
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
26 |
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
27 |
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
28 |
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
29 |
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
30 |
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
31 |
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
32 |
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
33 |
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
34 |
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
35 |
#
|
|
36 |
||
2449.1.2
by Brian Aker
Additional fixes for libdrizzle. |
37 |
lib_LTLIBRARIES+= libdrizzle-2.0/libdrizzle-2.0.la |
2244.1.1
by Monty Taylor
Split libdrizzle into 1.0 and 2.0. Applied the C++ changes to 2.0 branch. |
38 |
|
39 |
if HAVE_LIBSQLITE3 |
|
40 |
SQLITE_PROGS= examples/sqlite_server |
|
41 |
endif |
|
42 |
||
2449.1.2
by Brian Aker
Additional fixes for libdrizzle. |
43 |
noinst_PROGRAMS+= libdrizzle-2.0/mysql_password_hash |
44 |
libdrizzle_2_0_mysql_password_hash_LDADD= libdrizzle-2.0/libdrizzle-2.0.la |
|
45 |
libdrizzle_2_0_mysql_password_hash_SOURCES= libdrizzle-2.0/mysql_password_hash.cc |
|
2244.1.1
by Monty Taylor
Split libdrizzle into 1.0 and 2.0. Applied the C++ changes to 2.0 branch. |
46 |
|
2426.3.1
by Henrik Ingo
This does 2 things: |
47 |
# For some reason this has originally been called mysql_password_hash. I'd prefer |
48 |
# to call it drizzle_password_hash but to remain backward compatible I didn't |
|
49 |
# change any sources, rather just build it twice and provide both. |
|
50 |
# Only drizzle_password_hash is installed by make install though. |
|
2449.1.2
by Brian Aker
Additional fixes for libdrizzle. |
51 |
bin_PROGRAMS+= libdrizzle-2.0/drizzle_password_hash |
52 |
libdrizzle_2_0_drizzle_password_hash_LDADD= libdrizzle-2.0/libdrizzle-2.0.la |
|
53 |
libdrizzle_2_0_drizzle_password_hash_SOURCES= libdrizzle-2.0/mysql_password_hash.cc |
|
2426.3.1
by Henrik Ingo
This does 2 things: |
54 |
|
2244.1.1
by Monty Taylor
Split libdrizzle into 1.0 and 2.0. Applied the C++ changes to 2.0 branch. |
55 |
noinst_PROGRAMS+= \ |
2449.1.2
by Brian Aker
Additional fixes for libdrizzle. |
56 |
examples/client \ |
57 |
examples/simple \ |
|
58 |
examples/simple_multi \ |
|
59 |
examples/pipe_query \ |
|
60 |
examples/server \ |
|
61 |
examples/proxy \ |
|
62 |
$(SQLITE_PROGS) |
|
63 |
||
64 |
libdrizzle_2_0_libdrizzle_2_0_la_CXXFLAGS= \ |
|
65 |
${AM_CXXFLAGS} \ |
|
66 |
${CFLAG_VISIBILITY} \ |
|
67 |
-DBUILDING_LIBDRIZZLE |
|
68 |
||
69 |
libdrizzle_2_0_libdrizzle_2_0_la_LDFLAGS= \ |
|
70 |
$(AM_LDFLAGS) \ |
|
71 |
$(GCOV_LIBS) \ |
|
72 |
-version-info \ |
|
73 |
$(LIBDRIZZLE_LIBRARY_VERSION) |
|
74 |
||
75 |
libdrizzle_2_0_libdrizzle_2_0_la_SOURCES= \ |
|
76 |
libdrizzle-2.0/column.cc \ |
|
77 |
libdrizzle-2.0/command.cc \ |
|
78 |
libdrizzle-2.0/conn.cc \ |
|
79 |
libdrizzle-2.0/conn_uds.cc \ |
|
80 |
libdrizzle-2.0/drizzle.cc \ |
|
81 |
libdrizzle-2.0/field.cc \ |
|
82 |
libdrizzle-2.0/handshake.cc \ |
|
83 |
libdrizzle-2.0/pack.cc \ |
|
84 |
libdrizzle-2.0/query.cc \ |
|
85 |
libdrizzle-2.0/result.cc \ |
|
86 |
libdrizzle-2.0/row.cc \ |
|
87 |
libdrizzle-2.0/sha1.cc \ |
|
88 |
libdrizzle-2.0/state.cc |
|
2244.1.1
by Monty Taylor
Split libdrizzle into 1.0 and 2.0. Applied the C++ changes to 2.0 branch. |
89 |
|
90 |
examples_server_SOURCES= examples/server.cc |
|
2449.1.2
by Brian Aker
Additional fixes for libdrizzle. |
91 |
examples_server_LDADD= libdrizzle-2.0/libdrizzle-2.0.la |
2244.1.1
by Monty Taylor
Split libdrizzle into 1.0 and 2.0. Applied the C++ changes to 2.0 branch. |
92 |
|
93 |
examples_proxy_SOURCES= examples/proxy.cc |
|
2449.1.2
by Brian Aker
Additional fixes for libdrizzle. |
94 |
examples_proxy_LDADD= libdrizzle-2.0/libdrizzle-2.0.la |
2244.1.1
by Monty Taylor
Split libdrizzle into 1.0 and 2.0. Applied the C++ changes to 2.0 branch. |
95 |
|
96 |
examples_client_SOURCES= examples/client.cc |
|
2449.1.2
by Brian Aker
Additional fixes for libdrizzle. |
97 |
examples_client_LDADD= libdrizzle-2.0/libdrizzle-2.0.la |
2244.1.1
by Monty Taylor
Split libdrizzle into 1.0 and 2.0. Applied the C++ changes to 2.0 branch. |
98 |
|
99 |
examples_simple_SOURCES= examples/simple.cc |
|
2449.1.2
by Brian Aker
Additional fixes for libdrizzle. |
100 |
examples_simple_LDADD= libdrizzle-2.0/libdrizzle-2.0.la |
2244.1.1
by Monty Taylor
Split libdrizzle into 1.0 and 2.0. Applied the C++ changes to 2.0 branch. |
101 |
|
102 |
examples_simple_multi_SOURCES= examples/simple_multi.cc |
|
2449.1.2
by Brian Aker
Additional fixes for libdrizzle. |
103 |
examples_simple_multi_LDADD= libdrizzle-2.0/libdrizzle-2.0.la |
2244.1.1
by Monty Taylor
Split libdrizzle into 1.0 and 2.0. Applied the C++ changes to 2.0 branch. |
104 |
|
105 |
examples_pipe_query_SOURCES= examples/pipe_query.cc |
|
2449.1.2
by Brian Aker
Additional fixes for libdrizzle. |
106 |
examples_pipe_query_LDADD= libdrizzle-2.0/libdrizzle-2.0.la |
2244.1.1
by Monty Taylor
Split libdrizzle into 1.0 and 2.0. Applied the C++ changes to 2.0 branch. |
107 |
|
108 |
if HAVE_LIBSQLITE3 |
|
2449.1.2
by Brian Aker
Additional fixes for libdrizzle. |
109 |
examples_sqlite_server_LDFLAGS= libdrizzle-2.0/libdrizzle-2.0.la $(LTLIBSQLITE3) |
110 |
examples_sqlite_server_DEPENDENCIES= libdrizzle-2.0/libdrizzle-2.0.la |
|
2244.1.1
by Monty Taylor
Split libdrizzle into 1.0 and 2.0. Applied the C++ changes to 2.0 branch. |
111 |
examples_sqlite_server_SOURCES= examples/sqlite_server.cc |
112 |
endif |
|
113 |
||
2449.1.3
by Brian Aker
Fix libdrizzle pc support (and restore older .pc file to fix older compiles). |
114 |
nobase_include_HEADERS+= \ |
115 |
libdrizzle-2.0/column.h \ |
|
116 |
libdrizzle-2.0/column_client.h \ |
|
117 |
libdrizzle-2.0/column_server.h \ |
|
118 |
libdrizzle-2.0/command_client.h \ |
|
119 |
libdrizzle-2.0/command_server.h \ |
|
120 |
libdrizzle-2.0/conn.h \ |
|
121 |
libdrizzle-2.0/conn_client.h \ |
|
122 |
libdrizzle-2.0/conn_server.h \ |
|
123 |
libdrizzle-2.0/constants.h \ |
|
124 |
libdrizzle-2.0/drizzle.h \ |
|
125 |
libdrizzle-2.0/drizzle_client.h \ |
|
126 |
libdrizzle-2.0/drizzle_server.h \ |
|
127 |
libdrizzle-2.0/field_client.h \ |
|
128 |
libdrizzle-2.0/field_server.h \ |
|
129 |
libdrizzle-2.0/handshake_client.h \ |
|
130 |
libdrizzle-2.0/handshake_server.h \ |
|
131 |
libdrizzle-2.0/libdrizzle.h \ |
|
132 |
libdrizzle-2.0/libdrizzle.hpp \ |
|
133 |
libdrizzle-2.0/query.h \ |
|
134 |
libdrizzle-2.0/result.h \ |
|
135 |
libdrizzle-2.0/result_client.h \ |
|
136 |
libdrizzle-2.0/result_server.h \ |
|
137 |
libdrizzle-2.0/row_client.h \ |
|
138 |
libdrizzle-2.0/row_server.h \ |
|
139 |
libdrizzle-2.0/structs.h \ |
|
140 |
libdrizzle-2.0/visibility.h |
|
2244.1.1
by Monty Taylor
Split libdrizzle into 1.0 and 2.0. Applied the C++ changes to 2.0 branch. |
141 |
|
142 |
noinst_HEADERS+= \ |
|
2449.1.2
by Brian Aker
Additional fixes for libdrizzle. |
143 |
libdrizzle-2.0/common.h \ |
144 |
libdrizzle-2.0/drizzle_local.h \ |
|
145 |
libdrizzle-2.0/conn_local.h \ |
|
146 |
libdrizzle-2.0/pack.h \ |
|
147 |
libdrizzle-2.0/state.h \ |
|
148 |
libdrizzle-2.0/sha1.h |