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.20
by Monty Taylor
Replaced INCLUDES with AM_CPPFLAGS. |
19 |
AM_CPPFLAGS = -I$(top_builddir)/include \ |
1
by brian
clean slate |
20 |
-I$(top_srcdir)/include -I$(srcdir) |
28.1.2
by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2 |
21 |
|
22 |
pkglib_LTLIBRARIES = libmysys.la |
|
23 |
libmysys_la_LDFLAGS = -static |
|
28.1.3
by Monty Taylor
Fixed patch application so that the silly thing compiles. :) |
24 |
libmysys_la_SOURCES = |
25 |
# This can't be listed here as $(top_builddir)/mysys/libmysyslt.la
|
|
26 |
# # or it breaks make's dependency track for -j builds
|
|
27 |
libmysys_la_LIBADD = libmysyslt.la |
|
28 |
# Force C++ linking - dummy.cxx doesn't have to exist with EXTRA in the name
|
|
28.1.2
by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2 |
29 |
nodist_EXTRA_libmysys_la_SOURCES = dummy.cxx |
30 |
||
28.1.3
by Monty Taylor
Fixed patch application so that the silly thing compiles. :) |
31 |
# Trick to get things compiled like they are shared, but linked directly in.
|
32 |
noinst_LTLIBRARIES = libmysyslt.la |
|
33 |
||
77.1.7
by Monty Taylor
Heap builds clean. |
34 |
noinst_HEADERS = mysys_priv.h my_static.h my_handler_errors.h |
28.1.3
by Monty Taylor
Fixed patch application so that the silly thing compiles. :) |
35 |
libmysyslt_la_SOURCES = my_init.c my_getwd.c mf_getdate.c \ |
1
by brian
clean slate |
36 |
mf_path.c mf_loadpath.c my_file.c \
|
37 |
my_open.c my_create.c my_dup.c my_seek.c my_read.c \
|
|
36
by Brian Aker
Moved pread over to just supporting myisam (someone can refactor from here |
38 |
my_write.c my_getpagesize.c \
|
1
by brian
clean slate |
39 |
mf_iocache.c mf_iocache2.c mf_cache.c mf_tempfile.c \
|
77.1.7
by Monty Taylor
Heap builds clean. |
40 |
mf_tempdir.c my_handler.c \
|
1
by brian
clean slate |
41 |
my_malloc.c my_realloc.c my_once.c mulalloc.c \
|
42 |
my_alloc.c my_new.cc \
|
|
43 |
my_fopen.c my_fstream.c my_getsystime.c \
|
|
44 |
my_error.c errors.c my_div.c my_messnc.c \
|
|
45 |
mf_format.c mf_same.c mf_dirname.c mf_fn_ext.c \
|
|
46 |
my_symlink.c my_symlink2.c \
|
|
47 |
mf_pack.c mf_unixpath.c mf_strip.c mf_arr_appstr.c \
|
|
48 |
mf_wcomp.c mf_wfile.c my_gethwaddr.c \
|
|
49 |
mf_qsort.c mf_qsort2.c mf_sort.c \
|
|
50 |
ptr_cmp.c mf_radix.c queues.c my_getncpus.c \
|
|
51 |
tree.c trie.c list.c hash.c array.c string.c typelib.c \
|
|
52 |
my_copy.c my_append.c my_lib.c \
|
|
53 |
my_delete.c my_rename.c my_redel.c \
|
|
30
by Brian Aker
Large file and ftruncate() support |
54 |
my_clock.c \
|
1
by brian
clean slate |
55 |
my_quick.c my_lockmem.c my_static.c \
|
56 |
my_sync.c my_getopt.c my_mkdir.c \
|
|
57 |
default_modify.c default.c \
|
|
58 |
my_compress.c checksum.c \
|
|
59 |
my_sleep.c \
|
|
139.1.1
by Stewart Smith
Move MD5() into a UDF |
60 |
charset.c charset-def.c my_bitmap.c my_bit.c \
|
1
by brian
clean slate |
61 |
sha1.c \
|
62 |
my_memmem.c \
|
|
28.1.3
by Monty Taylor
Fixed patch application so that the silly thing compiles. :) |
63 |
my_access.c base64.c \
|
64 |
thr_alarm.c thr_lock.c my_thr_init.c \
|
|
65 |
thr_mutex.c thr_rwlock.c |
|
1
by brian
clean slate |
66 |
DEFS = -DDEFAULT_BASEDIR=\"$(prefix)\" \ |
67 |
-DDATADIR="\"$(MYSQLDATAdir)\"" \ |
|
68 |
-DDEFAULT_CHARSET_HOME="\"$(MYSQLBASEdir)\"" \ |
|
69 |
-DSHAREDIR="\"$(MYSQLSHAREdir)\"" \ |
|
70 |
-DDEFAULT_HOME_ENV=MYSQL_HOME \ |
|
71 |
-DDEFAULT_GROUP_SUFFIX_ENV=MYSQL_GROUP_SUFFIX \ |
|
72 |
-DDEFAULT_SYSCONFDIR="\"$(sysconfdir)\"" \ |
|
73 |
@DEFS@ |
|
74 |