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