~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to Makefile.am

Merged trunk, fixed gearman_udf plugin to use new plugin system.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# test
2
 
# # Copyright (C) 2000-2006 MySQL AB
3
 
4
 
# This program is free software; you can redistribute it and/or modify
5
 
# it under the terms of the GNU General Public License as published by
6
 
# the Free Software Foundation; version 2 of the License.
7
 
8
 
# This program is distributed in the hope that it will be useful,
9
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11
 
# GNU General Public License for more details.
12
 
13
 
# You should have received a copy of the GNU General Public License
14
 
# along with this program; if not, write to the Free Software
15
 
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
1
#  Copyright (C) 2009 Sun Microsystems
 
2
#
 
3
#  This program is free software; you can redistribute it and/or modify
 
4
#  it under the terms of the GNU General Public License as published by
 
5
#  the Free Software Foundation; version 2 of the License.
 
6
#
 
7
#  This program is distributed in the hope that it will be useful,
 
8
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
9
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
10
#  GNU General Public License for more details.
 
11
#
 
12
#  You should have received a copy of the GNU General Public License
 
13
#  along with this program; if not, write to the Free Software
 
14
#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
16
15
 
17
16
ACLOCAL_AMFLAGS = -I m4 --force
18
17
 
21
20
  po=po
22
21
endif
23
22
 
24
 
SUBDIRS = ${po} . \
 
23
SUBDIRS = ${po} \
25
24
          gnulib \
26
 
          mystrings \
27
 
          mysys \
28
 
          extra \
29
 
          client \
30
25
          drizzled/message \
31
 
          storage \
32
 
          plugin \
 
26
          . \
33
27
          drizzled \
34
28
          tests \
35
29
          support-files
36
30
 
37
 
EXTRA_DIST = config/config.rpath m4/gnulib-cache.m4
38
 
CLEANFILES = drizzled/configmake.h
39
 
DISTCLEANFILES = ac_available_languages_fragment po/POTFILES.in
40
 
MAINTAINERCLEANFILES = autom4te.cache
41
 
 
42
 
BUILT_SOURCES = drizzled/configmake.h
43
 
noinst_HEADERS = drizzled/configmake.h
44
 
 
45
 
# Create empty datadir 
46
 
install-data-local:
47
 
        $(mkinstalldirs) $(DESTDIR)$(localstatedir) 
48
 
        @if test `id -u` = 0 ; then \
49
 
                if test -n "$(GROUPADD)" && test -n "$(USERADD)"; then \
50
 
                        $(GROUPADD) $(DRIZZLED_USER) ;\
51
 
                        $(USERADD) -g $(DRIZZLED_USER) $(DRIZZLED_USER) ;\
52
 
                        chown $(DRIZZLED_USER) $(DESTDIR)$(localstatedir) ;\
53
 
                fi \
54
 
        fi
 
31
BUILT_SOURCES=          drizzled/configmake.h
 
32
EXTRA_DIST=             config/config.rpath m4/gnulib-cache.m4 \
 
33
                        config/plugin.ac config/plugin.am \
 
34
                        config/autorun.sh
 
35
CLEANFILES=             ${BUILT_SOURCES}
 
36
DISTCLEANFILES=         ac_available_languages_fragment
 
37
MAINTAINERCLEANFILES=   autom4te.cache
 
38
 
 
39
CLIENT_LDADD=           mysys/libmysys.la \
 
40
                        mystrings/libmystrings.la \
 
41
                        $(LIBDRIZZLE) $(LIBINTL) $(LIBZ) \
 
42
                        client/libgetpassword.la
 
43
 
 
44
noinst_LTLIBRARIES= \
 
45
                client/libgetpassword.la \
 
46
                mysys/libmysys.la \
 
47
                mystrings/libmystrings.la
 
48
 
 
49
noinst_PROGRAMS=
 
50
bin_PROGRAMS= \
 
51
                client/drizzle \
 
52
                client/drizzlecheck \
 
53
                client/drizzledump \
 
54
                client/drizzleimport \
 
55
                client/drizzletest \
 
56
                client/drizzleslap \
 
57
                extra/my_print_defaults \
 
58
                extra/mysql_waitpid \
 
59
                extra/innochecksum
 
60
 
 
61
 
 
62
client_libgetpassword_la_SOURCES= client/get_password.cc
 
63
 
 
64
noinst_HEADERS= \
 
65
                client/client_priv.h \
 
66
                client/errname.h \
 
67
                client/get_password.h \
 
68
                client/my_readline.h \
 
69
                drizzled/configmake.h \
 
70
                mystrings/decimal.h \
 
71
                mystrings/m_ctype.h \
 
72
                mystrings/m_string.h \
 
73
                mystrings/my_uctype.h \
 
74
                mystrings/t_ctype.h \
 
75
                mystrings/utf8.h \
 
76
                mysys/aio_result.h \
 
77
                mysys/base64.h \
 
78
                mysys/definitions.h \
 
79
                mysys/drizzle_time.h \
 
80
                mysys/hash.h \
 
81
                mysys/iocache.h \
 
82
                mysys/my_alloc.h \
 
83
                mysys/my_bit.h \
 
84
                mysys/my_dir.h \
 
85
                mysys/my_getopt.h \
 
86
                mysys/my_pthread.h \
 
87
                mysys/my_static.h \
 
88
                mysys/my_sys.h \
 
89
                mysys/my_time.h \
 
90
                mysys/my_tree.h \
 
91
                mysys/mysys_err.h \
 
92
                mysys/mysys_priv.h \
 
93
                mysys/sha1.h \
 
94
                mysys/thr_lock.h \
 
95
                mysys/typelib.h
 
96
 
 
97
mystrings_libmystrings_la_SOURCES= \
 
98
                mystrings/bmove_upp.cc \
 
99
                mystrings/ctype-bin.cc \
 
100
                mystrings/ctype-extra.cc \
 
101
                mystrings/ctype-mb.cc \
 
102
                mystrings/ctype-simple.cc \
 
103
                mystrings/ctype-uca.cc \
 
104
                mystrings/ctype-utf8.cc \
 
105
                mystrings/ctype.cc \
 
106
                mystrings/decimal.cc \
 
107
                mystrings/dtoa.cc \
 
108
                mystrings/int2str.cc \
 
109
                mystrings/is_prefix.cc \
 
110
                mystrings/llstr.cc \
 
111
                mystrings/longlong2str.cc \
 
112
                mystrings/my_strtoll10.cc
 
113
 
 
114
mysys_libmysys_la_SOURCES= \
 
115
                mysys/array.cc \
 
116
                mysys/base64.cc \
 
117
                mysys/charset-def.cc \
 
118
                mysys/charset.cc \
 
119
                mysys/checksum.cc \
 
120
                mysys/default.cc \
 
121
                mysys/default_modify.cc \
 
122
                mysys/errors.cc \
 
123
                mysys/hash.cc \
 
124
                mysys/mf_arr_appstr.cc \
 
125
                mysys/mf_cache.cc \
 
126
                mysys/mf_dirname.cc \
 
127
                mysys/mf_fn_ext.cc \
 
128
                mysys/mf_format.cc \
 
129
                mysys/mf_getdate.cc \
 
130
                mysys/mf_iocache.cc \
 
131
                mysys/mf_iocache2.cc \
 
132
                mysys/mf_loadpath.cc \
 
133
                mysys/mf_pack.cc \
 
134
                mysys/mf_qsort.cc \
 
135
                mysys/mf_qsort2.cc \
 
136
                mysys/mf_radix.cc \
 
137
                mysys/mf_same.cc \
 
138
                mysys/mf_sort.cc \
 
139
                mysys/mf_tempfile.cc \
 
140
                mysys/mf_wcomp.cc \
 
141
                mysys/mulalloc.cc \
 
142
                mysys/my_access.cc \
 
143
                mysys/my_alloc.cc \
 
144
                mysys/my_bit.cc \
 
145
                mysys/my_copy.cc \
 
146
                mysys/my_create.cc \
 
147
                mysys/my_delete.cc \
 
148
                mysys/my_dup.cc \
 
149
                mysys/my_error.cc \
 
150
                mysys/my_file.cc \
 
151
                mysys/my_filename.cc \
 
152
                mysys/my_getopt.cc \
 
153
                mysys/my_getsystime.cc \
 
154
                mysys/my_init.cc \
 
155
                mysys/my_lib.cc \
 
156
                mysys/my_open.cc \
 
157
                mysys/my_read.cc \
 
158
                mysys/my_redel.cc \
 
159
                mysys/my_rename.cc \
 
160
                mysys/my_static.cc \
 
161
                mysys/my_symlink.cc \
 
162
                mysys/my_symlink2.cc \
 
163
                mysys/my_sync.cc \
 
164
                mysys/my_thr_init.cc \
 
165
                mysys/my_time.cc \
 
166
                mysys/my_write.cc \
 
167
                mysys/ptr_cmp.cc \
 
168
                mysys/sha1.cc \
 
169
                mysys/thr_lock.cc \
 
170
                mysys/tree.cc \
 
171
                mysys/typelib.cc
 
172
 
 
173
client_drizzle_SOURCES=         client/drizzle.cc client/readline.cc
 
174
client_drizzle_LDADD=           ${CLIENT_LDADD} ${READLINE_LIBS}
 
175
 
 
176
client_drizzlecheck_SOURCES =   client/drizzlecheck.cc
 
177
client_drizzlecheck_LDADD=      ${CLIENT_LDADD}
 
178
 
 
179
client_drizzledump_SOURCES=     client/drizzledump.cc
 
180
client_drizzledump_LDADD=       ${CLIENT_LDADD}
 
181
 
 
182
client_drizzleimport_SOURCES=   client/drizzleimport.cc
 
183
client_drizzleimport_LDADD=     ${CLIENT_LDADD}
 
184
 
 
185
client_drizzleslap_SOURCES=     client/drizzleslap.cc
 
186
client_drizzleslap_LDADD=       ${CLIENT_LDADD}
 
187
 
 
188
client_drizzletest_SOURCES=     client/drizzletest.cc
 
189
client_drizzletest_LDADD=       ${CLIENT_LDADD} ${LIBPCRE}
 
190
 
 
191
extra_my_print_defaults_SOURCES= extra/my_print_defaults.cc
 
192
extra_my_print_defaults_LDADD= \
 
193
                $(top_builddir)/mysys/libmysys.la \
 
194
                $(top_builddir)/mystrings/libmystrings.la \
 
195
                $(LIBINTL)
 
196
extra_mysql_waitpid_SOURCES= extra/mysql_waitpid.cc
 
197
extra_mysql_waitpid_LDADD= \
 
198
                $(top_builddir)/mysys/libmysys.la \
 
199
                $(top_builddir)/mystrings/libmystrings.la \
 
200
                $(LIBINTL)
 
201
 
 
202
EXTRA_LTLIBRARIES=
 
203
pkgplugin_LTLIBRARIES=
 
204
include config/plugin.am
55
205
 
56
206
 
57
207
.PHONY: test \