1712.1.1
by Monty Taylor
Merged libdrizzle directly into tree. |
1 |
#
|
2 |
# Drizzle Client Library
|
|
3 |
#
|
|
4 |
# Copyright (C) 2008 Eric Day (eday@oddments.org)
|
|
5 |
# All rights reserved.
|
|
6 |
#
|
|
1999.6.1
by kalebral at gmail
update Copyright strings to a more common format to help with creating the master debian copyright file |
7 |
# Redistribution and use in source and binary forms, with or without
|
8 |
# modification, are permitted provided that the following conditions are
|
|
9 |
# met:
|
|
10 |
#
|
|
11 |
# * Redistributions of source code must retain the above copyright
|
|
12 |
# notice, this list of conditions and the following disclaimer.
|
|
13 |
#
|
|
14 |
# * Redistributions in binary form must reproduce the above
|
|
15 |
# copyright notice, this list of conditions and the following disclaimer
|
|
16 |
# in the documentation and/or other materials provided with the
|
|
17 |
# distribution.
|
|
18 |
#
|
|
19 |
# * The names of its contributors may not be used to endorse or
|
|
20 |
# promote products derived from this software without specific prior
|
|
21 |
# written permission.
|
|
22 |
#
|
|
23 |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
24 |
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
25 |
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
26 |
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
27 |
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
28 |
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
29 |
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
30 |
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
31 |
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
32 |
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
33 |
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
1712.1.1
by Monty Taylor
Merged libdrizzle directly into tree. |
34 |
#
|
35 |
||
36 |
lib_LTLIBRARIES+= libdrizzle/libdrizzle.la |
|
37 |
||
38 |
if HAVE_LIBSQLITE3 |
|
39 |
SQLITE_PROGS= examples/sqlite_server |
|
40 |
endif |
|
41 |
||
42 |
noinst_PROGRAMS+= \ |
|
2159.1.1
by Monty Taylor
Removed the cpplint thing. We weren't actually using it and it was taking |
43 |
libdrizzle/mysql_password_hash |
44 |
libdrizzle_mysql_password_hash_LDADD= libdrizzle/libdrizzle.la |
|
45 |
libdrizzle_mysql_password_hash_SOURCES= libdrizzle/mysql_password_hash.cc |
|
46 |
||
47 |
noinst_PROGRAMS+= \ |
|
1712.1.1
by Monty Taylor
Merged libdrizzle directly into tree. |
48 |
examples/client \ |
49 |
examples/simple \ |
|
50 |
examples/simple_multi \ |
|
51 |
examples/pipe_query \ |
|
52 |
examples/server \ |
|
53 |
examples/proxy \ |
|
54 |
$(SQLITE_PROGS) |
|
55 |
||
56 |
libdrizzle_libdrizzle_la_CFLAGS= \ |
|
57 |
${AM_CFLAGS} \ |
|
1724.1.1
by Monty Taylor
Rearranged how we set -fvisibility, allowing us to turn it on on a |
58 |
${CFLAG_VISIBILITY} \ |
1712.1.1
by Monty Taylor
Merged libdrizzle directly into tree. |
59 |
-DBUILDING_LIBDRIZZLE |
60 |
||
61 |
libdrizzle_libdrizzle_la_LDFLAGS= \ |
|
62 |
$(AM_LDFLAGS) \ |
|
63 |
-version-info \ |
|
64 |
$(LIBDRIZZLE_LIBRARY_VERSION) |
|
65 |
||
66 |
libdrizzle_libdrizzle_la_SOURCES= \ |
|
67 |
libdrizzle/drizzle.c \ |
|
68 |
libdrizzle/conn.c \ |
|
69 |
libdrizzle/conn_uds.c \ |
|
70 |
libdrizzle/handshake.c \ |
|
71 |
libdrizzle/command.c \ |
|
72 |
libdrizzle/query.c \ |
|
73 |
libdrizzle/result.c \ |
|
74 |
libdrizzle/column.c \ |
|
75 |
libdrizzle/row.c \ |
|
76 |
libdrizzle/field.c \ |
|
77 |
libdrizzle/pack.c \ |
|
78 |
libdrizzle/state.c \ |
|
79 |
libdrizzle/sha1.c |
|
80 |
||
81 |
examples_server_CFLAGS= $(AM_CFLAGS) |
|
82 |
examples_server_SOURCES= examples/server.c |
|
83 |
examples_server_LDADD= libdrizzle/libdrizzle.la |
|
84 |
||
85 |
examples_proxy_CFLAGS= $(AM_CFLAGS) |
|
86 |
examples_proxy_SOURCES= examples/proxy.c |
|
87 |
examples_proxy_LDADD= libdrizzle/libdrizzle.la |
|
88 |
||
89 |
examples_client_LDADD= libdrizzle/libdrizzle.la |
|
90 |
examples_simple_LDADD= libdrizzle/libdrizzle.la |
|
91 |
examples_simple_multi_LDADD= libdrizzle/libdrizzle.la |
|
92 |
examples_pipe_query_LDADD= libdrizzle/libdrizzle.la |
|
93 |
||
94 |
if HAVE_LIBSQLITE3 |
|
95 |
examples_sqlite_server_CFLAGS= $(AM_CFLAGS) |
|
96 |
examples_sqlite_server_LDFLAGS= libdrizzle/libdrizzle.la $(LTLIBSQLITE3) |
|
97 |
examples_sqlite_server_DEPENDENCIES= libdrizzle/libdrizzle.la |
|
98 |
examples_sqlite_server_SOURCES= examples/sqlite_server.c |
|
99 |
endif |
|
100 |
||
101 |
nobase_dist_include_HEADERS+= \ |
|
102 |
libdrizzle/drizzle.h \ |
|
103 |
libdrizzle/drizzle_client.h \ |
|
104 |
libdrizzle/drizzle_server.h \ |
|
105 |
libdrizzle/conn.h \ |
|
106 |
libdrizzle/conn_client.h \ |
|
107 |
libdrizzle/conn_server.h \ |
|
108 |
libdrizzle/handshake_client.h \ |
|
109 |
libdrizzle/handshake_server.h \ |
|
110 |
libdrizzle/command_client.h \ |
|
111 |
libdrizzle/command_server.h \ |
|
112 |
libdrizzle/query.h \ |
|
113 |
libdrizzle/result.h \ |
|
114 |
libdrizzle/result_client.h \ |
|
115 |
libdrizzle/result_server.h \ |
|
116 |
libdrizzle/column.h \ |
|
117 |
libdrizzle/column_client.h \ |
|
118 |
libdrizzle/column_server.h \ |
|
119 |
libdrizzle/row_client.h \ |
|
120 |
libdrizzle/row_server.h \ |
|
121 |
libdrizzle/field_client.h \ |
|
122 |
libdrizzle/field_server.h \ |
|
123 |
libdrizzle/constants.h \ |
|
124 |
libdrizzle/structs.h \ |
|
125 |
libdrizzle/visibility.h |
|
126 |
||
127 |
noinst_HEADERS+= \ |
|
128 |
libdrizzle/common.h \ |
|
129 |
libdrizzle/drizzle_local.h \ |
|
130 |
libdrizzle/conn_local.h \ |
|
131 |
libdrizzle/pack.h \ |
|
132 |
libdrizzle/state.h \ |
|
1712.1.8
by Monty Taylor
Killed the old libdrizzle unittests - they crash hades. |
133 |
libdrizzle/sha1.h |
1712.1.1
by Monty Taylor
Merged libdrizzle directly into tree. |
134 |
|
135 |
CLEANFILES+= \ |
|
136 |
doxerr.log \ |
|
137 |
libdrizzle/drizzle_client.h.gch \ |
|
138 |
libdrizzle/drizzle_server.h.gch \ |
|
139 |
libdrizzle/common.h.gch |
|
140 |