~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/include.am

  • Committer: Monty Taylor
  • Date: 2010-08-12 20:27:32 UTC
  • mto: (1720.1.5 build)
  • mto: This revision was merged to the branch mainline in revision 1722.
  • Revision ID: mordred@inaugust.com-20100812202732-9kzchbkvkyki4n3u
Merged libdrizzle directly into tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
8
# the COPYING file in this directory for full text.
 
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
        extra/mysql_password_hash \
 
20
        examples/client \
 
21
        examples/simple \
 
22
        examples/simple_multi \
 
23
        examples/pipe_query \
 
24
        examples/server \
 
25
        examples/proxy \
 
26
        $(SQLITE_PROGS)
 
27
 
 
28
libdrizzle_libdrizzle_la_CFLAGS= \
 
29
        ${AM_CFLAGS} \
 
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
if BUILD_WIN32
 
53
libdrizzle_libdrizzle_la_SOURCES+= win32/poll.c
 
54
endif
 
55
 
 
56
examples_server_CFLAGS= $(AM_CFLAGS)
 
57
examples_server_SOURCES= examples/server.c
 
58
examples_server_LDADD= libdrizzle/libdrizzle.la
 
59
 
 
60
examples_proxy_CFLAGS= $(AM_CFLAGS)
 
61
examples_proxy_SOURCES= examples/proxy.c
 
62
examples_proxy_LDADD= libdrizzle/libdrizzle.la
 
63
 
 
64
examples_client_LDADD= libdrizzle/libdrizzle.la
 
65
examples_simple_LDADD= libdrizzle/libdrizzle.la
 
66
examples_simple_multi_LDADD= libdrizzle/libdrizzle.la
 
67
examples_pipe_query_LDADD= libdrizzle/libdrizzle.la
 
68
 
 
69
if HAVE_LIBSQLITE3
 
70
examples_sqlite_server_CFLAGS= $(AM_CFLAGS)
 
71
examples_sqlite_server_LDFLAGS= libdrizzle/libdrizzle.la $(LTLIBSQLITE3)
 
72
examples_sqlite_server_DEPENDENCIES= libdrizzle/libdrizzle.la
 
73
examples_sqlite_server_SOURCES= examples/sqlite_server.c
 
74
endif
 
75
 
 
76
nobase_dist_include_HEADERS+= \
 
77
        libdrizzle/drizzle.h \
 
78
        libdrizzle/drizzle_client.h \
 
79
        libdrizzle/drizzle_server.h \
 
80
        libdrizzle/conn.h \
 
81
        libdrizzle/conn_client.h \
 
82
        libdrizzle/conn_server.h \
 
83
        libdrizzle/handshake_client.h \
 
84
        libdrizzle/handshake_server.h \
 
85
        libdrizzle/command_client.h \
 
86
        libdrizzle/command_server.h \
 
87
        libdrizzle/query.h \
 
88
        libdrizzle/result.h \
 
89
        libdrizzle/result_client.h \
 
90
        libdrizzle/result_server.h \
 
91
        libdrizzle/column.h \
 
92
        libdrizzle/column_client.h \
 
93
        libdrizzle/column_server.h \
 
94
        libdrizzle/row_client.h \
 
95
        libdrizzle/row_server.h \
 
96
        libdrizzle/field_client.h \
 
97
        libdrizzle/field_server.h \
 
98
        libdrizzle/constants.h \
 
99
        libdrizzle/structs.h \
 
100
        libdrizzle/visibility.h
 
101
 
 
102
noinst_HEADERS+= \
 
103
        libdrizzle/common.h \
 
104
        libdrizzle/drizzle_local.h \
 
105
        libdrizzle/conn_local.h \
 
106
        libdrizzle/pack.h \
 
107
        libdrizzle/state.h \
 
108
        libdrizzle/sha1.h \
 
109
        unittests/common.h
 
110
 
 
111
CLEANFILES+= \
 
112
        doxerr.log \
 
113
        libdrizzle/drizzle_client.h.gch \
 
114
        libdrizzle/drizzle_server.h.gch \
 
115
        libdrizzle/common.h.gch
 
116
 
 
117
EXTRA_DIST+= \
 
118
        PROTOCOL \
 
119
        config/config.rpath \
 
120
        support/libdrizzle.spec \
 
121
        docs/Doxyfile.api \
 
122
        docs/Doxyfile.dev \
 
123
        docs/dev_header.html \
 
124
        docs/api_header.html \
 
125
        docs/doxygen.h
 
126