1
by brian
clean slate |
1 |
# Copyright (C) 2000-2006 MySQL AB
|
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
15 |
||
475
by Monty Taylor
Added m4 files for deficient systems. Changed include mechanism to not need |
16 |
ACLOCAL_AMFLAGS = -I m4 |
722.2.4
by Monty Taylor
Fixed some distcheck build issues. |
17 |
CONFIGURE_DEPENDENCIES = ${drizzle_plugin_files} |
475
by Monty Taylor
Added m4 files for deficient systems. Changed include mechanism to not need |
18 |
|
1
by brian
clean slate |
19 |
# 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. |
20 |
if BUILD_GETTEXT
|
21 |
po=po |
|
22 |
endif
|
|
1
by brian
clean slate |
23 |
|
575.2.2
by Monty Taylor
Moved vio stuff into libdrizzle. |
24 |
SUBDIRS = ${po} . \ |
212.5.4
by Monty Taylor
Renamed strings to mystrings, for include/lib naming consistency. |
25 |
mystrings \
|
187
by Brian Aker
Fixed tab issue |
26 |
mysys \
|
27 |
extra \
|
|
28 |
libdrizzle \
|
|
29 |
client \
|
|
670.1.8
by Monty Taylor
Fix the serialize build order problem (for now). |
30 |
drizzled/serialize \
|
187
by Brian Aker
Fixed tab issue |
31 |
storage \
|
32 |
plugin \
|
|
214
by Brian Aker
Rename of fields (fix issue with string and decimal .h clashing). |
33 |
drizzled \
|
187
by Brian Aker
Fixed tab issue |
34 |
tests \
|
35 |
support-files |
|
36 |
||
656.1.30
by Monty Taylor
Reverted gnulib changes. |
37 |
EXTRA_DIST = config/config.rpath |
722.1.4
by Monty Taylor
Removed all the setting of DEFS everywhere. Use configmake.h to get the values |
38 |
CLEANFILES = drizzled/configmake.h |
187
by Brian Aker
Fixed tab issue |
39 |
DISTCLEANFILES = ac_available_languages_fragment |
685.1.2
by Monty Taylor
Put depends on plug.in files into the make process. |
40 |
MAINTAINERCLEANFILES = autom4te.cache |
1
by brian
clean slate |
41 |
|
722.1.4
by Monty Taylor
Removed all the setting of DEFS everywhere. Use configmake.h to get the values |
42 |
BUILT_SOURCES = drizzled/configmake.h |
43 |
noinst_HEADERS = drizzled/configmake.h |
|
44 |
||
142.2.1
by Monty Taylor
Fixed Bug#248136 - We create the datadir now on install and chown it to |
45 |
# Create empty datadir
|
46 |
install-data-local: |
|
202.1.24
by Monty Taylor
Changed MKDIR_P to mkinstalldir |
47 |
$(mkinstalldirs) $(DESTDIR)$(localstatedir) |
187
by Brian Aker
Fixed tab issue |
48 |
@if test `id -u` = 0 ; then \ |
579.1.1
by Toru Maesaka
Added tests for groupaad and useradd |
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 \
|
|
202.1.24
by Monty Taylor
Changed MKDIR_P to mkinstalldir |
54 |
fi
|
142.2.1
by Monty Taylor
Fixed Bug#248136 - We create the datadir now on install and chown it to |
55 |
|
77.1.106
by Monty Taylor
Another batch of distclean fixes. |
56 |
|
187
by Brian Aker
Fixed tab issue |
57 |
.PHONY: test \ |
58 |
test-force \ |
|
59 |
test-full \ |
|
60 |
test-force-full \ |
|
61 |
test-force-mem \ |
|
62 |
test-pl \ |
|
63 |
test-force-pl \ |
|
64 |
test-full-pl \ |
|
65 |
test-force-full-pl \ |
|
66 |
test-force-pl-mem \ |
|
67 |
test-ps test-nr \ |
|
68 |
test-pr test-ns \ |
|
69 |
test-binlog-statement \ |
|
70 |
test-ext-funcs \ |
|
71 |
test-ext-rpl \ |
|
72 |
test-ext-jp \ |
|
73 |
test-ext-stress \ |
|
74 |
test-ext \ |
|
75 |
test-fast \ |
|
76 |
test-fast-cursor \ |
|
77 |
test-fast-view \ |
|
656.1.11
by Monty Taylor
Added indent rule and uncrustify config. |
78 |
test-full-qa \ |
79 |
indent
|
|
1
by brian
clean slate |
80 |
|
81 |
# Target 'test' will run the regression test suite using the built server.
|
|
82 |
#
|
|
83 |
# If you are running in a shared environment, users can avoid clashing
|
|
84 |
# port numbers by setting individual small numbers 1-100 to the
|
|
168
by Brian Aker
Rename of test (better tab completion!) |
85 |
# environment variable MTR_BUILD_THREAD. The script "test-run"
|
1
by brian
clean slate |
86 |
# will then calculate the various port numbers it needs from this,
|
87 |
# making sure each user use different ports.
|
|
88 |
||
89 |
test-nr: |
|
187
by Brian Aker
Fixed tab issue |
90 |
cd tests ; \ |
91 |
./test-run $(force) --mysqld=--binlog-format=row |
|
1
by brian
clean slate |
92 |
|
93 |
test-ns: |
|
187
by Brian Aker
Fixed tab issue |
94 |
cd tests ; \ |
95 |
./test-run $(force) $(mem) --mysqld=--binlog-format=mixed |
|
1
by brian
clean slate |
96 |
|
97 |
test-binlog-statement: |
|
187
by Brian Aker
Fixed tab issue |
98 |
cd tests ; \ |
99 |
./test-run $(force) --mysqld=--binlog-format=statement |
|
1
by brian
clean slate |
100 |
|
53.2.5
by Monty Taylor
Add Jay's test optoins at the target of make test. |
101 |
test: test-drizzle |
102 |
||
103 |
test-drizzle: |
|
187
by Brian Aker
Fixed tab issue |
104 |
cd tests ; \ |
236.1.22
by Monty Taylor
A couple of changes to move the actual test code to the tests dir and attempt |
105 |
$(MAKE) $(AM_MAKEFLAGS) test |
264.3.1
by Jay Pipes
* Added Doxyfile configuration for doxygen builds |
106 |
|
107 |
doxygen: |
|
108 |
doxygen Doxyfile |
|
656.1.11
by Monty Taylor
Added indent rule and uncrustify config. |
109 |
|
110 |
indent: |
|
111 |
for f in `find ${top_srcdir} -type f | grep -v innobase |\ |
|
112 |
${EGREP} '\.(cc|c|h)$$' ` ; do \ |
|
113 |
uncrustify -f $$f -c ${top_srcdir}/config/uncrustify.cfg \ |
|
114 |
-o indentoutput.tmp && mv indentoutput.tmp "$$f" ;\ |
|
115 |
done
|
|
722.1.4
by Monty Taylor
Removed all the setting of DEFS everywhere. Use configmake.h to get the values |
116 |
|
117 |
drizzled/configmake.h: ${top_srcdir}/Makefile.in |
|
118 |
@echo "Making $@" |
|
119 |
@rm -f $@-t $@ |
|
120 |
@{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ |
|
121 |
echo '#define PREFIX "$(prefix)"'; \ |
|
122 |
echo '#define EXEC_PREFIX "$(exec_prefix)"'; \ |
|
123 |
echo '#define BINDIR "$(bindir)"'; \ |
|
124 |
echo '#define SBINDIR "$(sbindir)"'; \ |
|
125 |
echo '#define LIBEXECDIR "$(libexecdir)"'; \ |
|
126 |
echo '#define DATAROOTDIR "$(datarootdir)"'; \ |
|
127 |
echo '#define DATADIR "$(datadir)"'; \ |
|
128 |
echo '#define SYSCONFDIR "$(sysconfdir)"'; \ |
|
129 |
echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \ |
|
130 |
echo '#define LOCALSTATEDIR "$(localstatedir)"'; \ |
|
131 |
echo '#define INCLUDEDIR "$(includedir)"'; \ |
|
132 |
echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \ |
|
133 |
echo '#define DOCDIR "$(docdir)"'; \ |
|
134 |
echo '#define INFODIR "$(infodir)"'; \ |
|
135 |
echo '#define HTMLDIR "$(htmldir)"'; \ |
|
136 |
echo '#define DVIDIR "$(dvidir)"'; \ |
|
137 |
echo '#define PDFDIR "$(pdfdir)"'; \ |
|
138 |
echo '#define PSDIR "$(psdir)"'; \ |
|
139 |
echo '#define LIBDIR "$(libdir)"'; \ |
|
140 |
echo '#define LISPDIR "$(lispdir)"'; \ |
|
141 |
echo '#define LOCALEDIR "$(localedir)"'; \ |
|
142 |
echo '#define MANDIR "$(mandir)"'; \ |
|
143 |
echo '#define MANEXT "$(manext)"'; \ |
|
144 |
echo '#define PKGDATADIR "$(pkgdatadir)"'; \ |
|
145 |
echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \ |
|
146 |
echo '#define PKGLIBDIR "$(pkglibdir)"'; \ |
|
147 |
echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \ |
|
148 |
echo '#define PKGPLUGINDIR "$(pkgplugindir)"'; \ |
|
149 |
} | sed '/""/d' > $@-t |
|
150 |
@if diff $@-t $@ >/dev/null 2>&1 ; then \ |
|
151 |
rm @-t ; \ |
|
152 |
else \
|
|
153 |
mv $@-t $@ ; \
|
|
154 |
fi
|
|
155 |