~drizzle-trunk/drizzle/development

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
16
MYSQLDATAdir =		$(localstatedir)
17
MYSQLSHAREdir =		$(pkgdatadir)
18
MYSQLBASEdir=		$(prefix)
28.1.2 by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2
19
264.1.3 by Monty Taylor
Removed libmysyslt.la, made mysys a noinst_ and made everything use it. It's
20
noinst_LTLIBRARIES =	libmysys.la
28.1.3 by Monty Taylor
Fixed patch application so that the silly thing compiles. :)
21
236.1.38 by Monty Taylor
Fixed header install problem. The now install to the right places.
22
mysysincludedir = ${includedir}/mysys
481.2.1 by Monty Taylor
Split iocache definitions into their own header.
23
dist_mysysinclude_HEADERS = 	iocache.h \
24
                                my_alloc.h \
236.1.38 by Monty Taylor
Fixed header install problem. The now install to the right places.
25
				my_getopt.h \
26
				my_list.h \
27
				my_sys.h \
28
				my_pthread.h \
29
				typelib.h
212.5.13 by Monty Taylor
Moved my_sys/my_pthread/my_nosys and mysys_err to mysys.
30
212.5.3 by Monty Taylor
Moved base64.h to mysys.
31
noinst_HEADERS =	mysys_priv.h \
212.5.28 by Monty Taylor
Moved my_bit and my_list
32
			my_bit.h \
212.5.18 by Monty Taylor
Moved m_ctype, m_string and my_bitmap. Removed t_ctype.
33
			my_bitmap.h \
212.5.38 by Monty Taylor
Moved my_dir (and removed references to a lot of places)
34
			my_dir.h \
212.5.3 by Monty Taylor
Moved base64.h to mysys.
35
			my_static.h \
212.5.13 by Monty Taylor
Moved my_sys/my_pthread/my_nosys and mysys_err to mysys.
36
			my_nosys.h \
37
			mysys_err.h \
212.5.15 by Monty Taylor
Moved my_tree.
38
			my_tree.h \
212.5.17 by Monty Taylor
Moved queues and hash.
39
			queues.h \
520.8.3 by Monty Taylor
Moved hash back to mysys.
40
			hash.h \
212.5.6 by Monty Taylor
Moved sha1.h and sha2.h to mysys.
41
			sha1.h \
212.5.7 by Monty Taylor
Move thr_*h to mysys.
42
			thr_alarm.h \
383.1.17 by Brian Aker
Cleanup of time code (moved into mysys)
43
			my_time.h \
44
			drizzle_time.h \
212.5.7 by Monty Taylor
Move thr_*h to mysys.
45
			thr_lock.h \
481.2.2 by Monty Taylor
Split out aio_result.h into its own header.
46
			base64.h \
47
			aio_result.h
212.5.3 by Monty Taylor
Moved base64.h to mysys.
48
236.1.56 by Monty Taylor
Made build of thr_mutex.c conditional on --with-fast-mutexes, since that's
49
if BUILD_FAST_MUTEX
575.3.1 by Monty Taylor
Made mysys and mystrings c++. Fixed the resulting bugs the compiler found.
50
thr_mutex_source=thr_mutex.cc
236.1.56 by Monty Taylor
Made build of thr_mutex.c conditional on --with-fast-mutexes, since that's
51
endif
236.1.59 by Monty Taylor
Turn thr_rwlock.c into a conditionally built source file.
52
if BUILD_THR_RWLOCK
575.3.1 by Monty Taylor
Made mysys and mystrings c++. Fixed the resulting bugs the compiler found.
53
thr_rwlock_source=thr_rwlock.cc
236.1.59 by Monty Taylor
Turn thr_rwlock.c into a conditionally built source file.
54
endif
236.1.56 by Monty Taylor
Made build of thr_mutex.c conditional on --with-fast-mutexes, since that's
55
575.4.6 by Monty Taylor
Removed my_getwd.
56
libmysys_la_SOURCES = my_init.cc mf_getdate.cc \
575.3.1 by Monty Taylor
Made mysys and mystrings c++. Fixed the resulting bugs the compiler found.
57
			mf_path.cc mf_loadpath.cc my_file.cc \
58
			my_open.cc my_create.cc my_dup.cc my_seek.cc my_read.cc \
59
			my_write.cc \
60
			mf_iocache.cc mf_iocache2.cc mf_cache.cc mf_tempfile.cc \
61
			mf_tempdir.cc \
62
			my_malloc.cc my_realloc.cc my_once.cc mulalloc.cc \
63
			my_alloc.cc \
64
			my_fopen.cc my_fstream.cc my_getsystime.cc \
65
			my_error.cc errors.cc my_filename.cc my_messnc.cc \
66
			mf_format.cc mf_same.cc mf_dirname.cc mf_fn_ext.cc \
67
			my_symlink.cc my_symlink2.cc \
68
			mf_pack.cc mf_unixpath.cc mf_arr_appstr.cc \
69
			mf_wcomp.cc my_gethwaddr.cc \
70
			mf_qsort.cc mf_qsort2.cc mf_sort.cc \
71
			ptr_cmp.cc mf_radix.cc queues.cc \
72
			tree.cc list.cc array.cc typelib.cc \
73
			my_copy.cc my_lib.cc hash.cc \
74
			my_delete.cc my_rename.cc my_redel.cc \
75
			my_quick.cc my_static.cc \
76
			my_time.cc \
77
			my_sync.cc my_getopt.cc my_mkdir.cc \
78
			default_modify.cc default.cc \
79
                        checksum.cc \
80
			my_sleep.cc \
81
			charset.cc charset-def.cc my_bitmap.cc my_bit.cc \
82
			sha1.cc \
83
			my_access.cc base64.cc \
84
			thr_alarm.cc thr_lock.cc my_thr_init.cc \
236.1.59 by Monty Taylor
Turn thr_rwlock.c into a conditionally built source file.
85
                        ${thr_mutex_source} ${thr_rwlock_source}
264.1.3 by Monty Taylor
Removed libmysyslt.la, made mysys a noinst_ and made everything use it. It's
86
1 by brian
clean slate
87
DEFS =			-DDEFAULT_BASEDIR=\"$(prefix)\" \
88
			-DDATADIR="\"$(MYSQLDATAdir)\"" \
89
			-DDEFAULT_CHARSET_HOME="\"$(MYSQLBASEdir)\"" \
90
			-DSHAREDIR="\"$(MYSQLSHAREdir)\"" \
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
91
			-DDEFAULT_HOME_ENV=DRIZZLE_HOME \
92
			-DDEFAULT_GROUP_SUFFIX_ENV=DRIZZLE_GROUP_SUFFIX \
1 by brian
clean slate
93
			-DDEFAULT_SYSCONFDIR="\"$(sysconfdir)\"" \
94
                        @DEFS@
95