~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
23
dist_mysysinclude_HEADERS = 	my_alloc.h \
24
				my_getopt.h \
25
				my_list.h \
26
				my_sys.h \
27
				my_pthread.h \
28
				typelib.h
212.5.13 by Monty Taylor
Moved my_sys/my_pthread/my_nosys and mysys_err to mysys.
29
212.5.3 by Monty Taylor
Moved base64.h to mysys.
30
noinst_HEADERS =	mysys_priv.h \
212.5.28 by Monty Taylor
Moved my_bit and my_list
31
			my_bit.h \
212.5.18 by Monty Taylor
Moved m_ctype, m_string and my_bitmap. Removed t_ctype.
32
			my_bitmap.h \
212.5.38 by Monty Taylor
Moved my_dir (and removed references to a lot of places)
33
			my_dir.h \
212.5.3 by Monty Taylor
Moved base64.h to mysys.
34
			my_static.h \
212.5.27 by Monty Taylor
Moved my_handler to mysys.
35
			my_handler.h \
212.5.3 by Monty Taylor
Moved base64.h to mysys.
36
			my_handler_errors.h \
212.5.13 by Monty Taylor
Moved my_sys/my_pthread/my_nosys and mysys_err to mysys.
37
			my_nosys.h \
38
			mysys_err.h \
212.5.15 by Monty Taylor
Moved my_tree.
39
			my_tree.h \
212.5.17 by Monty Taylor
Moved queues and hash.
40
			queues.h \
41
			hash.h \
212.5.6 by Monty Taylor
Moved sha1.h and sha2.h to mysys.
42
			sha1.h \
212.5.7 by Monty Taylor
Move thr_*h to mysys.
43
			thr_alarm.h \
383.1.17 by Brian Aker
Cleanup of time code (moved into mysys)
44
			my_time.h \
45
			drizzle_time.h \
212.5.7 by Monty Taylor
Move thr_*h to mysys.
46
			thr_lock.h \
212.5.3 by Monty Taylor
Moved base64.h to mysys.
47
			base64.h
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
50
thr_mutex_source=thr_mutex.c
51
endif
236.1.59 by Monty Taylor
Turn thr_rwlock.c into a conditionally built source file.
52
if BUILD_THR_RWLOCK
53
thr_rwlock_source=thr_rwlock.c
54
endif
236.1.56 by Monty Taylor
Made build of thr_mutex.c conditional on --with-fast-mutexes, since that's
55
264.1.3 by Monty Taylor
Removed libmysyslt.la, made mysys a noinst_ and made everything use it. It's
56
libmysys_la_SOURCES = my_init.c my_getwd.c mf_getdate.c \
1 by brian
clean slate
57
			mf_path.c mf_loadpath.c my_file.c \
58
			my_open.c my_create.c my_dup.c my_seek.c my_read.c \
236.1.53 by Monty Taylor
Made getpagesize an automake compat LIBOBJ.
59
			my_write.c \
1 by brian
clean slate
60
			mf_iocache.c mf_iocache2.c mf_cache.c mf_tempfile.c \
77.1.7 by Monty Taylor
Heap builds clean.
61
			mf_tempdir.c my_handler.c \
1 by brian
clean slate
62
			my_malloc.c my_realloc.c my_once.c mulalloc.c \
236.1.52 by Monty Taylor
Removed my_new - I am not supporting C++ compilers without new and delete.
63
			my_alloc.c \
1 by brian
clean slate
64
			my_fopen.c my_fstream.c my_getsystime.c \
266.6.13 by Andy Lester
renamed my_div.c to my_filename.c to match the function within
65
			my_error.c errors.c my_filename.c my_messnc.c \
1 by brian
clean slate
66
			mf_format.c mf_same.c mf_dirname.c mf_fn_ext.c \
67
			my_symlink.c my_symlink2.c \
266.6.11 by Andy Lester
Removed strip_sp(), both C and C++ versions
68
			mf_pack.c mf_unixpath.c mf_arr_appstr.c \
266.6.15 by Andy Lester
Removed mf_wfile.c and the unused wildcard functions within
69
			mf_wcomp.c my_gethwaddr.c \
1 by brian
clean slate
70
			mf_qsort.c mf_qsort2.c mf_sort.c \
266.6.14 by Andy Lester
Removed functions my_clock, my_getncpus and my_memmem
71
			ptr_cmp.c mf_radix.c queues.c \
373.1.8 by Monty Taylor
Removed DYNAMIC_STRING.
72
			tree.c list.c hash.c array.c typelib.c \
266.6.12 by Andy Lester
removed my_append()
73
			my_copy.c my_lib.c \
1 by brian
clean slate
74
			my_delete.c my_rename.c my_redel.c \
236.1.55 by Monty Taylor
Removed my_lockmem... we never actually use it.
75
			my_quick.c my_static.c \
383.1.17 by Brian Aker
Cleanup of time code (moved into mysys)
76
			my_time.c \
1 by brian
clean slate
77
			my_sync.c my_getopt.c my_mkdir.c \
78
			default_modify.c default.c \
383.1.37 by Monty Taylor
Removed some mysys from net_serv.c.
79
                        checksum.c \
1 by brian
clean slate
80
			my_sleep.c \
139.1.1 by Stewart Smith
Move MD5() into a UDF
81
			charset.c charset-def.c my_bitmap.c my_bit.c \
1 by brian
clean slate
82
			sha1.c \
28.1.3 by Monty Taylor
Fixed patch application so that the silly thing compiles. :)
83
			my_access.c base64.c \
84
			thr_alarm.c thr_lock.c my_thr_init.c \
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