2
# Drizzle Client Library
4
# Copyright (C) 2008 Eric Day (eday@oddments.org)
7
# Redistribution and use in source and binary forms, with or without
8
# modification, are permitted provided that the following conditions are
11
# * Redistributions of source code must retain the above copyright
12
# notice, this list of conditions and the following disclaimer.
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
19
# * The names of its contributors may not be used to endorse or
20
# promote products derived from this software without specific prior
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.
36
lib_LTLIBRARIES+= libdrizzle-2.0/libdrizzle/libdrizzle.la
39
SQLITE_PROGS= examples/sqlite_server
43
libdrizzle-2.0/libdrizzle/mysql_password_hash
44
libdrizzle_2_0_libdrizzle_mysql_password_hash_CXXFLAGS= ${AM_CXXFLAGS} ${LIBDRIZZLE_CPPFLAGS}
45
libdrizzle_2_0_libdrizzle_mysql_password_hash_LDADD= libdrizzle-2.0/libdrizzle/libdrizzle.la
46
libdrizzle_2_0_libdrizzle_mysql_password_hash_SOURCES= libdrizzle-2.0/libdrizzle/mysql_password_hash.cc
51
examples/simple_multi \
57
libdrizzle_2_0_libdrizzle_libdrizzle_la_CXXFLAGS= \
59
${LIBDRIZZLE_CPPFLAGS} \
63
libdrizzle_2_0_libdrizzle_libdrizzle_la_LDFLAGS= \
66
$(LIBDRIZZLE_LIBRARY_VERSION)
68
libdrizzlepkgconfigdir= $(libdir)/pkgconfig
69
libdrizzlepkgconfig_DATA= \
70
support-files/libdrizzle-2.0.pc
72
libdrizzle_2_0_libdrizzle_libdrizzle_la_SOURCES= \
73
libdrizzle-2.0/libdrizzle/column.cc \
74
libdrizzle-2.0/libdrizzle/command.cc \
75
libdrizzle-2.0/libdrizzle/conn.cc \
76
libdrizzle-2.0/libdrizzle/conn_uds.cc \
77
libdrizzle-2.0/libdrizzle/drizzle.cc \
78
libdrizzle-2.0/libdrizzle/field.cc \
79
libdrizzle-2.0/libdrizzle/handshake.cc \
80
libdrizzle-2.0/libdrizzle/pack.cc \
81
libdrizzle-2.0/libdrizzle/query.cc \
82
libdrizzle-2.0/libdrizzle/result.cc \
83
libdrizzle-2.0/libdrizzle/row.cc \
84
libdrizzle-2.0/libdrizzle/sha1.cc \
85
libdrizzle-2.0/libdrizzle/state.cc
87
examples_server_CXXFLAGS= \
89
${LIBDRIZZLE_CPPFLAGS}
90
examples_server_SOURCES= examples/server.cc
91
examples_server_LDADD= libdrizzle-2.0/libdrizzle/libdrizzle.la
93
examples_proxy_CXXFLAGS= \
95
${LIBDRIZZLE_CPPFLAGS}
96
examples_proxy_SOURCES= examples/proxy.cc
97
examples_proxy_LDADD= libdrizzle-2.0/libdrizzle/libdrizzle.la
99
examples_client_CXXFLAGS= \
101
${LIBDRIZZLE_CPPFLAGS}
102
examples_client_SOURCES= examples/client.cc
103
examples_client_LDADD= libdrizzle-2.0/libdrizzle/libdrizzle.la
105
examples_simple_CXXFLAGS= \
107
${LIBDRIZZLE_CPPFLAGS}
108
examples_simple_SOURCES= examples/simple.cc
109
examples_simple_LDADD= libdrizzle-2.0/libdrizzle/libdrizzle.la
111
examples_simple_multi_CXXFLAGS= \
113
${LIBDRIZZLE_CPPFLAGS}
114
examples_simple_multi_SOURCES= examples/simple_multi.cc
115
examples_simple_multi_LDADD= libdrizzle-2.0/libdrizzle/libdrizzle.la
117
examples_pipe_query_CXXFLAGS= \
119
${LIBDRIZZLE_CPPFLAGS}
120
examples_pipe_query_SOURCES= examples/pipe_query.cc
121
examples_pipe_query_LDADD= libdrizzle-2.0/libdrizzle/libdrizzle.la
124
examples_sqlite_server_CXXFLAGS= \
126
${LIBDRIZZLE_CPPFLAGS}
127
examples_sqlite_server_LDFLAGS= libdrizzle-2.0/libdrizzle/libdrizzle.la $(LTLIBSQLITE3)
128
examples_sqlite_server_DEPENDENCIES= libdrizzle-2.0/libdrizzle/libdrizzle.la
129
examples_sqlite_server_SOURCES= examples/sqlite_server.cc
132
dist_libdrizzleinstall_HEADERS= \
133
libdrizzle-2.0/libdrizzle/column.h \
134
libdrizzle-2.0/libdrizzle/column_client.h \
135
libdrizzle-2.0/libdrizzle/column_server.h \
136
libdrizzle-2.0/libdrizzle/command_client.h \
137
libdrizzle-2.0/libdrizzle/command_server.h \
138
libdrizzle-2.0/libdrizzle/conn.h \
139
libdrizzle-2.0/libdrizzle/conn_client.h \
140
libdrizzle-2.0/libdrizzle/conn_server.h \
141
libdrizzle-2.0/libdrizzle/constants.h \
142
libdrizzle-2.0/libdrizzle/drizzle.h \
143
libdrizzle-2.0/libdrizzle/drizzle_client.h \
144
libdrizzle-2.0/libdrizzle/drizzle_server.h \
145
libdrizzle-2.0/libdrizzle/field_client.h \
146
libdrizzle-2.0/libdrizzle/field_server.h \
147
libdrizzle-2.0/libdrizzle/handshake_client.h \
148
libdrizzle-2.0/libdrizzle/handshake_server.h \
149
libdrizzle-2.0/libdrizzle/libdrizzle.h \
150
libdrizzle-2.0/libdrizzle/query.h \
151
libdrizzle-2.0/libdrizzle/result.h \
152
libdrizzle-2.0/libdrizzle/result_client.h \
153
libdrizzle-2.0/libdrizzle/result_server.h \
154
libdrizzle-2.0/libdrizzle/row_client.h \
155
libdrizzle-2.0/libdrizzle/row_server.h \
156
libdrizzle-2.0/libdrizzle/structs.h \
157
libdrizzle-2.0/libdrizzle/visibility.h
160
libdrizzle-2.0/libdrizzle/common.h \
161
libdrizzle-2.0/libdrizzle/drizzle_local.h \
162
libdrizzle-2.0/libdrizzle/conn_local.h \
163
libdrizzle-2.0/libdrizzle/pack.h \
164
libdrizzle-2.0/libdrizzle/state.h \
165
libdrizzle-2.0/libdrizzle/sha1.h
168
libdrizzle: libdrizzle-2.0/libdrizzle/libdrizzle.la
169
install-libdrizzle: libdrizzle install-dist_libdrizzleinstallHEADERS install-libdrizzlepkgconfigDATA
170
test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
171
$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) libdrizzle-2.0/libdrizzle/libdrizzle.la "$(DESTDIR)$(libdir)"