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 |
# |
|
7 |
# Use and distribution licensed under the BSD license. See |
|
1799.2.3
by Monty Taylor
Reference root BSD copying file. |
8 |
# the COPYING.BSD file in the root source directory for full text. |
1712.1.1
by Monty Taylor
Merged libdrizzle directly into tree. |
9 |
# |
10 |
# |
|
11 |
||
12 |
lib_LTLIBRARIES+= libdrizzle/libdrizzle.la |
|
13 |
||
14 |
if HAVE_LIBSQLITE3 |
|
15 |
SQLITE_PROGS= examples/sqlite_server |
|
16 |
endif |
|
17 |
||
18 |
noinst_PROGRAMS+= \ |
|
19 |
examples/client \ |
|
20 |
examples/simple \ |
|
21 |
examples/simple_multi \ |
|
22 |
examples/pipe_query \ |
|
23 |
examples/server \ |
|
24 |
examples/proxy \ |
|
25 |
$(SQLITE_PROGS) |
|
26 |
||
27 |
libdrizzle_libdrizzle_la_CFLAGS= \ |
|
28 |
${AM_CFLAGS} \ |
|
1724.1.1
by Monty Taylor
Rearranged how we set -fvisibility, allowing us to turn it on on a |
29 |
${CFLAG_VISIBILITY} \ |
1712.1.1
by Monty Taylor
Merged libdrizzle directly into tree. |
30 |
-DBUILDING_LIBDRIZZLE |
31 |
||
32 |
libdrizzle_libdrizzle_la_LDFLAGS= \ |
|
33 |
$(AM_LDFLAGS) \ |
|
34 |
-version-info \ |
|
35 |
$(LIBDRIZZLE_LIBRARY_VERSION) |
|
36 |
||
37 |
libdrizzle_libdrizzle_la_SOURCES= \ |
|
38 |
libdrizzle/drizzle.c \ |
|
39 |
libdrizzle/conn.c \ |
|
40 |
libdrizzle/conn_uds.c \ |
|
41 |
libdrizzle/handshake.c \ |
|
42 |
libdrizzle/command.c \ |
|
43 |
libdrizzle/query.c \ |
|
44 |
libdrizzle/result.c \ |
|
45 |
libdrizzle/column.c \ |
|
46 |
libdrizzle/row.c \ |
|
47 |
libdrizzle/field.c \ |
|
48 |
libdrizzle/pack.c \ |
|
49 |
libdrizzle/state.c \ |
|
50 |
libdrizzle/sha1.c |
|
51 |
||
52 |
examples_server_CFLAGS= $(AM_CFLAGS) |
|
53 |
examples_server_SOURCES= examples/server.c |
|
54 |
examples_server_LDADD= libdrizzle/libdrizzle.la |
|
55 |
||
56 |
examples_proxy_CFLAGS= $(AM_CFLAGS) |
|
57 |
examples_proxy_SOURCES= examples/proxy.c |
|
58 |
examples_proxy_LDADD= libdrizzle/libdrizzle.la |
|
59 |
||
60 |
examples_client_LDADD= libdrizzle/libdrizzle.la |
|
61 |
examples_simple_LDADD= libdrizzle/libdrizzle.la |
|
62 |
examples_simple_multi_LDADD= libdrizzle/libdrizzle.la |
|
63 |
examples_pipe_query_LDADD= libdrizzle/libdrizzle.la |
|
64 |
||
65 |
if HAVE_LIBSQLITE3 |
|
66 |
examples_sqlite_server_CFLAGS= $(AM_CFLAGS) |
|
67 |
examples_sqlite_server_LDFLAGS= libdrizzle/libdrizzle.la $(LTLIBSQLITE3) |
|
68 |
examples_sqlite_server_DEPENDENCIES= libdrizzle/libdrizzle.la |
|
69 |
examples_sqlite_server_SOURCES= examples/sqlite_server.c |
|
70 |
endif |
|
71 |
||
72 |
nobase_dist_include_HEADERS+= \ |
|
73 |
libdrizzle/drizzle.h \ |
|
74 |
libdrizzle/drizzle_client.h \ |
|
75 |
libdrizzle/drizzle_server.h \ |
|
76 |
libdrizzle/conn.h \ |
|
77 |
libdrizzle/conn_client.h \ |
|
78 |
libdrizzle/conn_server.h \ |
|
79 |
libdrizzle/handshake_client.h \ |
|
80 |
libdrizzle/handshake_server.h \ |
|
81 |
libdrizzle/command_client.h \ |
|
82 |
libdrizzle/command_server.h \ |
|
83 |
libdrizzle/query.h \ |
|
84 |
libdrizzle/result.h \ |
|
85 |
libdrizzle/result_client.h \ |
|
86 |
libdrizzle/result_server.h \ |
|
87 |
libdrizzle/column.h \ |
|
88 |
libdrizzle/column_client.h \ |
|
89 |
libdrizzle/column_server.h \ |
|
90 |
libdrizzle/row_client.h \ |
|
91 |
libdrizzle/row_server.h \ |
|
92 |
libdrizzle/field_client.h \ |
|
93 |
libdrizzle/field_server.h \ |
|
94 |
libdrizzle/constants.h \ |
|
95 |
libdrizzle/structs.h \ |
|
96 |
libdrizzle/visibility.h |
|
97 |
||
98 |
noinst_HEADERS+= \ |
|
99 |
libdrizzle/common.h \ |
|
100 |
libdrizzle/drizzle_local.h \ |
|
101 |
libdrizzle/conn_local.h \ |
|
102 |
libdrizzle/pack.h \ |
|
103 |
libdrizzle/state.h \ |
|
1712.1.8
by Monty Taylor
Killed the old libdrizzle unittests - they crash hades. |
104 |
libdrizzle/sha1.h |
1712.1.1
by Monty Taylor
Merged libdrizzle directly into tree. |
105 |
|
106 |
CLEANFILES+= \ |
|
107 |
doxerr.log \ |
|
108 |
libdrizzle/drizzle_client.h.gch \ |
|
109 |
libdrizzle/drizzle_server.h.gch \ |
|
110 |
libdrizzle/common.h.gch |
|
111 |