~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
			mysys_err.h \
212.5.15 by Monty Taylor
Moved my_tree.
37
			my_tree.h \
212.5.17 by Monty Taylor
Moved queues and hash.
38
			queues.h \
520.8.3 by Monty Taylor
Moved hash back to mysys.
39
			hash.h \
212.5.6 by Monty Taylor
Moved sha1.h and sha2.h to mysys.
40
			sha1.h \
212.5.7 by Monty Taylor
Move thr_*h to mysys.
41
			thr_alarm.h \
383.1.17 by Brian Aker
Cleanup of time code (moved into mysys)
42
			my_time.h \
43
			drizzle_time.h \
212.5.7 by Monty Taylor
Move thr_*h to mysys.
44
			thr_lock.h \
481.2.2 by Monty Taylor
Split out aio_result.h into its own header.
45
			base64.h \
46
			aio_result.h
212.5.3 by Monty Taylor
Moved base64.h to mysys.
47
236.1.56 by Monty Taylor
Made build of thr_mutex.c conditional on --with-fast-mutexes, since that's
48
if BUILD_FAST_MUTEX
575.3.1 by Monty Taylor
Made mysys and mystrings c++. Fixed the resulting bugs the compiler found.
49
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
50
endif
51
575.4.6 by Monty Taylor
Removed my_getwd.
52
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.
53
			mf_path.cc mf_loadpath.cc my_file.cc \
656.1.39 by Monty Taylor
Removed my_seek, my_tell, my_fwrite, my_fseek.
54
			my_open.cc my_create.cc my_dup.cc my_read.cc \
575.3.1 by Monty Taylor
Made mysys and mystrings c++. Fixed the resulting bugs the compiler found.
55
			my_write.cc \
56
			mf_iocache.cc mf_iocache2.cc mf_cache.cc mf_tempfile.cc \
656.1.26 by Monty Taylor
Finally removed all of the my_malloc stuff.
57
			mulalloc.cc \
575.3.1 by Monty Taylor
Made mysys and mystrings c++. Fixed the resulting bugs the compiler found.
58
			my_alloc.cc \
656.1.39 by Monty Taylor
Removed my_seek, my_tell, my_fwrite, my_fseek.
59
			my_fopen.cc my_getsystime.cc \
575.3.1 by Monty Taylor
Made mysys and mystrings c++. Fixed the resulting bugs the compiler found.
60
			my_error.cc errors.cc my_filename.cc my_messnc.cc \
61
			mf_format.cc mf_same.cc mf_dirname.cc mf_fn_ext.cc \
62
			my_symlink.cc my_symlink2.cc \
63
			mf_pack.cc mf_unixpath.cc mf_arr_appstr.cc \
657 by Brian Aker
Random cleanup, removed dead mysys call for hw address creation.
64
			mf_wcomp.cc \
575.3.1 by Monty Taylor
Made mysys and mystrings c++. Fixed the resulting bugs the compiler found.
65
			mf_qsort.cc mf_qsort2.cc mf_sort.cc \
66
			ptr_cmp.cc mf_radix.cc queues.cc \
67
			tree.cc list.cc array.cc typelib.cc \
68
			my_copy.cc my_lib.cc hash.cc \
69
			my_delete.cc my_rename.cc my_redel.cc \
656.3.2 by Monty Taylor
Removed my_nosys and my_quick. /me shudders.
70
			my_static.cc \
575.3.1 by Monty Taylor
Made mysys and mystrings c++. Fixed the resulting bugs the compiler found.
71
			my_time.cc \
72
			my_sync.cc my_getopt.cc my_mkdir.cc \
73
			default_modify.cc default.cc \
74
                        checksum.cc \
75
			my_sleep.cc \
76
			charset.cc charset-def.cc my_bitmap.cc my_bit.cc \
77
			sha1.cc \
78
			my_access.cc base64.cc \
79
			thr_alarm.cc thr_lock.cc my_thr_init.cc \
660 by Brian Aker
Remove dead thr_rwlock file.
80
                        ${thr_mutex_source}
264.1.3 by Monty Taylor
Removed libmysyslt.la, made mysys a noinst_ and made everything use it. It's
81
1 by brian
clean slate
82
DEFS =			-DDEFAULT_BASEDIR=\"$(prefix)\" \
83
			-DDATADIR="\"$(MYSQLDATAdir)\"" \
84
			-DDEFAULT_CHARSET_HOME="\"$(MYSQLBASEdir)\"" \
85
			-DSHAREDIR="\"$(MYSQLSHAREdir)\"" \
319.1.1 by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_
86
			-DDEFAULT_HOME_ENV=DRIZZLE_HOME \
87
			-DDEFAULT_GROUP_SUFFIX_ENV=DRIZZLE_GROUP_SUFFIX \
1 by brian
clean slate
88
			-DDEFAULT_SYSCONFDIR="\"$(sysconfdir)\"" \
89
                        @DEFS@
90