992.1.25
by Monty Taylor
Moved myisam to new plugin system. |
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
|
|
1
by brian
clean slate |
15 |
|
722.2.9
by Monty Taylor
I _think_ I've got the plug.in triggering rebuild thing going on right. |
16 |
ACLOCAL_AMFLAGS = -I m4 --force |
475
by Monty Taylor
Added m4 files for deficient systems. Changed include mechanism to not need |
17 |
|
1192.3.54
by Robert Collins
Merged from Robert: Eliminate separate Makefile.am for drizzled/hash and drizzled/message. |
18 |
# includes append to these:
|
1192.3.55
by Robert Collins
Merged from Robert: changed subdir make files to be included makefiles. |
19 |
SUFFIXES = |
1192.3.54
by Robert Collins
Merged from Robert: Eliminate separate Makefile.am for drizzled/hash and drizzled/message. |
20 |
TESTS = |
21 |
check_PROGRAMS = |
|
22 |
noinst_HEADERS = |
|
1253.2.2
by Monty Taylor
Fixed header install. |
23 |
nobase_nodist_include_HEADERS = |
24 |
nobase_dist_include_HEADERS = |
|
1241.9.4
by Monty Taylor
Beginnings of what we need to do to support -fvisibility=hidden. |
25 |
lib_LTLIBRARIES = |
1192.3.54
by Robert Collins
Merged from Robert: Eliminate separate Makefile.am for drizzled/hash and drizzled/message. |
26 |
noinst_LTLIBRARIES = |
27 |
noinst_PROGRAMS = |
|
28 |
||
1
by brian
clean slate |
29 |
# Process this file with automake to create Makefile.in
|
312.1.8
by Monty Taylor
Don't build po dir if we don't have gettext. |
30 |
if BUILD_GETTEXT
|
31 |
po=po |
|
32 |
endif
|
|
1
by brian
clean slate |
33 |
|
1192.3.6
by Monty Taylor
pandora-build v0.67 - Support configure-time bzr version checking. |
34 |
VERSION=$(PANDORA_RELEASE_VERSION) |
35 |
||
992.1.15
by Monty Taylor
Moved mysys build into root Makefile. |
36 |
SUBDIRS = ${po} \ |
815.1.1
by Monty Taylor
Add timegm which is missing on Solaris. |
37 |
gnulib \
|
1192.3.55
by Robert Collins
Merged from Robert: changed subdir make files to be included makefiles. |
38 |
. |
187
by Brian Aker
Fixed tab issue |
39 |
|
1192.3.73
by Monty Taylor
Fix distcheck. |
40 |
DIST_SUBDIRS = ${SUBDIRS} tests |
41 |
||
997.2.19
by Monty Taylor
Reverted back to building drizzled in drizzled. |
42 |
BUILT_SOURCES= drizzled/configmake.h |
43 |
EXTRA_DIST= config/config.rpath m4/gnulib-cache.m4 \ |
|
1130.3.42
by Monty Taylor
Fied check_include_guards for distcheck. |
44 |
config/autorun.sh Doxyfile \
|
1192.3.6
by Monty Taylor
pandora-build v0.67 - Support configure-time bzr version checking. |
45 |
config/bzr_revinfo \
|
1130.3.43
by Monty Taylor
Moved checks for inclusion of config.h in headers to cpplint. Made the test running cpplint more general. |
46 |
extra/run_cpplint.sh \
|
1130.3.42
by Monty Taylor
Fied check_include_guards for distcheck. |
47 |
extra/cpplint.py \
|
1192.6.2
by Robert Collins
Merged in lifeless' fix for parallel lint and only linting changed files. |
48 |
extra/clean_source.sh \
|
49 |
config/make-lint.py |
|
1130.3.42
by Monty Taylor
Fied check_include_guards for distcheck. |
50 |
|
1022.2.28
by Monty Taylor
Build/dist fixes. Added my_print_defaults back for now - test_run needs it. But now it's a noinst. Moving forward, it either needs to be renamed and installed properly, or it needs to have its functionality wrapped up into something else. |
51 |
|
997.2.19
by Monty Taylor
Reverted back to building drizzled in drizzled. |
52 |
CLEANFILES= ${BUILT_SOURCES} |
1192.3.12
by Monty Taylor
Fixed another distcheck issue. Distcheck works now. |
53 |
DISTCLEANFILES= ac_available_languages_fragment \ |
54 |
.plugin.scan \
|
|
1253.2.4
by Monty Taylor
Some GCC warnings fixes. |
55 |
config/bzr_revinfo \
|
56 |
config/top.h |
|
1192.3.16
by Monty Taylor
Fixed the illusive touch errors in vpath builds. |
57 |
|
997.2.19
by Monty Taylor
Reverted back to building drizzled in drizzled. |
58 |
MAINTAINERCLEANFILES= autom4te.cache |
992.1.18
by Monty Taylor
Moved client build into root Makefile. |
59 |
|
1241.9.57
by Monty Taylor
Oy. Bigger change than I normally like - but this stuff is all intertwined. |
60 |
CLIENT_LDADD=\ |
1241.9.64
by Monty Taylor
Moved remaining non-public portions of mysys and mystrings to drizzled/internal. |
61 |
drizzled/internal/libinternal.la \
|
1241.9.57
by Monty Taylor
Oy. Bigger change than I normally like - but this stuff is all intertwined. |
62 |
$(LIBDRIZZLE) $(LIBINTL) $(LIBZ) \ |
1241.9.68
by Monty Taylor
And fixed OSx. |
63 |
gnulib/libgnu.la \
|
1241.9.57
by Monty Taylor
Oy. Bigger change than I normally like - but this stuff is all intertwined. |
64 |
client/libgetpassword.la |
992.1.18
by Monty Taylor
Moved client build into root Makefile. |
65 |
|
1192.3.54
by Robert Collins
Merged from Robert: Eliminate separate Makefile.am for drizzled/hash and drizzled/message. |
66 |
noinst_LTLIBRARIES+= \ |
1241.9.64
by Monty Taylor
Moved remaining non-public portions of mysys and mystrings to drizzled/internal. |
67 |
client/libgetpassword.la |
992.1.15
by Monty Taylor
Moved mysys build into root Makefile. |
68 |
|
1192.3.54
by Robert Collins
Merged from Robert: Eliminate separate Makefile.am for drizzled/hash and drizzled/message. |
69 |
noinst_PROGRAMS+=\ |
1022.2.28
by Monty Taylor
Build/dist fixes. Added my_print_defaults back for now - test_run needs it. But now it's a noinst. Moving forward, it either needs to be renamed and installed properly, or it needs to have its functionality wrapped up into something else. |
70 |
client/drizzletest \
|
71 |
extra/my_print_defaults |
|
1022.2.26
by Monty Taylor
Fixed an oops. |
72 |
|
997.2.13
by Monty Taylor
Made client programs install properly. |
73 |
bin_PROGRAMS= \ |
992.1.18
by Monty Taylor
Moved client build into root Makefile. |
74 |
client/drizzle \
|
75 |
client/drizzledump \
|
|
76 |
client/drizzleimport \
|
|
1022.2.26
by Monty Taylor
Fixed an oops. |
77 |
client/drizzleslap |
992.1.17
by Monty Taylor
Moved extra/ into root Makefile.am |
78 |
|
1022.2.25
by Monty Taylor
Imported manpages for the things we ship. Started to edit the names of thing. Changed the port/password options in the drizzle.1 manpage. |
79 |
man_MANS=\ |
80 |
client/drizzle.1 \
|
|
81 |
client/drizzled.8 \
|
|
82 |
client/drizzledump.1 \
|
|
83 |
client/drizzleimport.1 \
|
|
84 |
client/drizzleslap.1 |
|
992.1.18
by Monty Taylor
Moved client build into root Makefile. |
85 |
|
86 |
client_libgetpassword_la_SOURCES= client/get_password.cc |
|
87 |
||
1241.9.64
by Monty Taylor
Moved remaining non-public portions of mysys and mystrings to drizzled/internal. |
88 |
noinst_HEADERS+=\ |
992.1.18
by Monty Taylor
Moved client build into root Makefile. |
89 |
client/client_priv.h \
|
994.2.4
by Monty Taylor
Blast. Fixed some make distcheck issues. |
90 |
client/errname.h \
|
992.1.18
by Monty Taylor
Moved client build into root Makefile. |
91 |
client/get_password.h \
|
1095.2.1
by Robert Klahn
Replace typedef struct LINE_BUFFER with class LineBuffer, encapsulating current logic |
92 |
client/linebuffer.h \
|
1241.9.64
by Monty Taylor
Moved remaining non-public portions of mysys and mystrings to drizzled/internal. |
93 |
drizzled/configmake.h |
94 |
||
722.1.4
by Monty Taylor
Removed all the setting of DEFS everywhere. Use configmake.h to get the values |
95 |
|
1095.2.1
by Robert Klahn
Replace typedef struct LINE_BUFFER with class LineBuffer, encapsulating current logic |
96 |
client_drizzle_SOURCES= client/drizzle.cc client/linebuffer.cc |
992.1.18
by Monty Taylor
Moved client build into root Makefile. |
97 |
client_drizzle_LDADD= ${CLIENT_LDADD} ${READLINE_LIBS} |
98 |
||
99 |
client_drizzledump_SOURCES= client/drizzledump.cc |
|
100 |
client_drizzledump_LDADD= ${CLIENT_LDADD} |
|
101 |
||
102 |
client_drizzleimport_SOURCES= client/drizzleimport.cc |
|
103 |
client_drizzleimport_LDADD= ${CLIENT_LDADD} |
|
104 |
||
105 |
client_drizzleslap_SOURCES= client/drizzleslap.cc |
|
1099.1.2
by Monty Taylor
Merged Ross from lp:~rwmcfa1/+junk/drizzle-freebsd |
106 |
client_drizzleslap_LDADD= ${CLIENT_LDADD} |
992.1.18
by Monty Taylor
Moved client build into root Makefile. |
107 |
|
1103.4.1
by Robert Klahn
make client/drizzletest.cc, new client/errname.cc compile in a reasonable amount of time and memory |
108 |
client_drizzletest_SOURCES= client/drizzletest.cc client/errname.cc |
992.1.18
by Monty Taylor
Moved client build into root Makefile. |
109 |
client_drizzletest_LDADD= ${CLIENT_LDADD} ${LIBPCRE} |
110 |
||
992.1.21
by Monty Taylor
First pass at replacing plugin.m4. |
111 |
EXTRA_LTLIBRARIES= |
112 |
pkgplugin_LTLIBRARIES= |
|
1192.4.1
by Robert Collins
Merged buildsystem change from lifeless. |
113 |
include config/pandora-plugin.am
|
992.1.21
by Monty Taylor
First pass at replacing plugin.m4. |
114 |
|
1022.2.28
by Monty Taylor
Build/dist fixes. Added my_print_defaults back for now - test_run needs it. But now it's a noinst. Moving forward, it either needs to be renamed and installed properly, or it needs to have its functionality wrapped up into something else. |
115 |
extra_my_print_defaults_SOURCES= extra/my_print_defaults.cc |
116 |
extra_my_print_defaults_LDADD= \ |
|
1241.9.68
by Monty Taylor
And fixed OSx. |
117 |
drizzled/internal/libinternal.la \
|
118 |
gnulib/libgnu.la \
|
|
1022.2.28
by Monty Taylor
Build/dist fixes. Added my_print_defaults back for now - test_run needs it. But now it's a noinst. Moving forward, it either needs to be renamed and installed properly, or it needs to have its functionality wrapped up into something else. |
119 |
$(LIBINTL) |
120 |
||
121 |
EXTRA_DIST+= ${man_MANS} |
|
77.1.106
by Monty Taylor
Another batch of distclean fixes. |
122 |
|
1192.6.2
by Robert Collins
Merged in lifeless' fix for parallel lint and only linting changed files. |
123 |
.PHONY: \ |
124 |
indent \
|
|
125 |
test
|
|
126 |
||
1
by brian
clean slate |
127 |
|
128 |
# Target 'test' will run the regression test suite using the built server.
|
|
129 |
#
|
|
130 |
# If you are running in a shared environment, users can avoid clashing
|
|
131 |
# port numbers by setting individual small numbers 1-100 to the
|
|
168
by Brian Aker
Rename of test (better tab completion!) |
132 |
# environment variable MTR_BUILD_THREAD. The script "test-run"
|
1
by brian
clean slate |
133 |
# will then calculate the various port numbers it needs from this,
|
134 |
# making sure each user use different ports.
|
|
135 |
||
53.2.5
by Monty Taylor
Add Jay's test optoins at the target of make test. |
136 |
test: test-drizzle |
137 |
||
264.3.1
by Jay Pipes
* Added Doxyfile configuration for doxygen builds |
138 |
doxygen: |
139 |
doxygen Doxyfile |
|
656.1.11
by Monty Taylor
Added indent rule and uncrustify config. |
140 |
|
141 |
indent: |
|
142 |
for f in `find ${top_srcdir} -type f | grep -v innobase |\ |
|
143 |
${EGREP} '\.(cc|c|h)$$' ` ; do \ |
|
144 |
uncrustify -f $$f -c ${top_srcdir}/config/uncrustify.cfg \ |
|
145 |
-o indentoutput.tmp && mv indentoutput.tmp "$$f" ;\ |
|
146 |
done
|
|
722.1.4
by Monty Taylor
Removed all the setting of DEFS everywhere. Use configmake.h to get the values |
147 |
|
148 |
drizzled/configmake.h: ${top_srcdir}/Makefile.in |
|
149 |
@echo "Making $@" |
|
150 |
@rm -f $@-t $@ |
|
151 |
@{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ |
|
152 |
echo '#define PREFIX "$(prefix)"'; \ |
|
153 |
echo '#define EXEC_PREFIX "$(exec_prefix)"'; \ |
|
154 |
echo '#define BINDIR "$(bindir)"'; \ |
|
155 |
echo '#define SBINDIR "$(sbindir)"'; \ |
|
156 |
echo '#define LIBEXECDIR "$(libexecdir)"'; \ |
|
157 |
echo '#define DATAROOTDIR "$(datarootdir)"'; \ |
|
158 |
echo '#define DATADIR "$(datadir)"'; \ |
|
159 |
echo '#define SYSCONFDIR "$(sysconfdir)"'; \ |
|
160 |
echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \ |
|
161 |
echo '#define LOCALSTATEDIR "$(localstatedir)"'; \ |
|
162 |
echo '#define INCLUDEDIR "$(includedir)"'; \ |
|
163 |
echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \ |
|
164 |
echo '#define DOCDIR "$(docdir)"'; \ |
|
165 |
echo '#define INFODIR "$(infodir)"'; \ |
|
166 |
echo '#define HTMLDIR "$(htmldir)"'; \ |
|
167 |
echo '#define DVIDIR "$(dvidir)"'; \ |
|
168 |
echo '#define PDFDIR "$(pdfdir)"'; \ |
|
169 |
echo '#define PSDIR "$(psdir)"'; \ |
|
170 |
echo '#define LIBDIR "$(libdir)"'; \ |
|
171 |
echo '#define LISPDIR "$(lispdir)"'; \ |
|
172 |
echo '#define LOCALEDIR "$(localedir)"'; \ |
|
173 |
echo '#define MANDIR "$(mandir)"'; \ |
|
174 |
echo '#define MANEXT "$(manext)"'; \ |
|
175 |
echo '#define PKGDATADIR "$(pkgdatadir)"'; \ |
|
176 |
echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \ |
|
177 |
echo '#define PKGLIBDIR "$(pkglibdir)"'; \ |
|
178 |
echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \ |
|
179 |
echo '#define PKGPLUGINDIR "$(pkgplugindir)"'; \ |
|
1192.3.6
by Monty Taylor
pandora-build v0.67 - Support configure-time bzr version checking. |
180 |
echo '#undef VERSION'; \ |
181 |
echo '#define VERSION "${PANDORA_RELEASE_VERSION}"'; \ |
|
722.1.4
by Monty Taylor
Removed all the setting of DEFS everywhere. Use configmake.h to get the values |
182 |
} | sed '/""/d' > $@-t |
183 |
@if diff $@-t $@ >/dev/null 2>&1 ; then \ |
|
184 |
rm @-t ; \ |
|
185 |
else \
|
|
186 |
mv $@-t $@ ; \
|
|
187 |
fi
|
|
188 |
||
1126.12.1
by Lee Bieber
add clean-local target to remove lcov .gcno files. Also remove if HAVE_LCOV section from Makefile.am and lcov checks from configure.ac as they are not used nor needed |
189 |
clean-local: |
1138.1.1
by Monty Taylor
Fix for the distcheck build issue. |
190 |
find . -name '*.gcno' | xargs rm -f |
1126.12.1
by Lee Bieber
add clean-local target to remove lcov .gcno files. Also remove if HAVE_LCOV section from Makefile.am and lcov checks from configure.ac as they are not used nor needed |
191 |
|
1192.6.2
by Robert Collins
Merged in lifeless' fix for parallel lint and only linting changed files. |
192 |
include config/lint-source.am
|
1192.3.54
by Robert Collins
Merged from Robert: Eliminate separate Makefile.am for drizzled/hash and drizzled/message. |
193 |
|
1192.3.55
by Robert Collins
Merged from Robert: changed subdir make files to be included makefiles. |
194 |
include drizzled/include.am
|
1241.9.64
by Monty Taylor
Moved remaining non-public portions of mysys and mystrings to drizzled/internal. |
195 |
include drizzled/internal/include.am
|
1192.3.54
by Robert Collins
Merged from Robert: Eliminate separate Makefile.am for drizzled/hash and drizzled/message. |
196 |
include drizzled/hash/include.am
|
1192.3.58
by Monty Taylor
Merged up with build. |
197 |
include drizzled/util/include.am
|
1192.3.54
by Robert Collins
Merged from Robert: Eliminate separate Makefile.am for drizzled/hash and drizzled/message. |
198 |
include drizzled/message/include.am
|
1192.3.55
by Robert Collins
Merged from Robert: changed subdir make files to be included makefiles. |
199 |
include support-files/include.am
|
200 |
include tests/include.am
|