~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
# This file is public domain and comes with NO WARRANTY of any kind
28.1.20 by Monty Taylor
Replaced INCLUDES with AM_CPPFLAGS.
17
AM_CPPFLAGS =		-I$(top_builddir)/include -I$(top_srcdir)/include
28.1.2 by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2
18
pkglib_LTLIBRARIES =	libmystrings.la
19
libmystrings_la_LDFLAGS = -static
20
libmystrings_la_SOURCES = 
21
22
# Force C++ linking - dummy.cxx doesn't have to exist with EXTRA in the name
23
nodist_EXTRA_libmystrings_la_SOURCES = dummy.cxx
24
# This can't be listed here as $(top_builddir)/strings/libmystingslt.la
25
# or it breaks make's dependency track for -j builds
28.1.17 by Monty Taylor
Moved test programs in strings to strings/tests, like mysys.
26
libmystrings_la_LIBADD = libmystringslt.la
28.1.2 by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2
27
28.1.23 by Monty Taylor
Deleted files from strings that are not used.
28
noinst_LTLIBRARIES =	libmystringslt.la
1 by brian
clean slate
29
30
# Exact one of ASSEMBLER_X
31
if ASSEMBLER_x86
32
ASRCS		= strings-x86.s longlong2str-x86.s my_strtoll10-x86.s
28.1.17 by Monty Taylor
Moved test programs in strings to strings/tests, like mysys.
33
CSRCS		= longlong2str_asm.c 
1 by brian
clean slate
34
else
35
if ASSEMBLER_sparc32
36
# These file MUST all be on the same line!! Otherwise automake
37
# generats a very broken makefile
77.1.91 by Monty Taylor
Removed strinstr. It was only used twice in once place in mf_pack... and there
38
ASRCS		= bmove_upp-sparc.s strappend-sparc.s strend-sparc.s strmake-sparc.s strmov-sparc.s strnmov-sparc.s strstr-sparc.s
28.1.17 by Monty Taylor
Moved test programs in strings to strings/tests, like mysys.
39
CSRCS 	= strcont.c strfill.c strcend.c is_prefix.c longlong2str.c strxmov.c my_strtoll10.c 
1 by brian
clean slate
40
else
41
#no assembler
42
ASRCS		=
43
# These file MUST all be on the same line!! Otherwise automake
44
# generats a very broken makefile
77.1.91 by Monty Taylor
Removed strinstr. It was only used twice in once place in mf_pack... and there
45
CSRCS 	= strxmov.c bmove_upp.c strappend.c strcont.c strend.c strfill.c strcend.c is_prefix.c strstr.c strmake.c strnmov.c strmov.c longlong2str.c my_strtoll10.c
28.1.17 by Monty Taylor
Moved test programs in strings to strings/tests, like mysys.
46
endif
47
endif
48
49
# C files common to all three cases are included directly below, so that
50
# ASRCS and CSRCS can be smaller
51
libmystringslt_la_SOURCES = 	$(ASRCS) $(CSRCS) bmove.c bmove512.c \
52
				bchange.c strxnmov.c int2str.c str2int.c \
53
				bcmp.c strtoll.c strtoull.c llstr.c strnlen.c \
54
				ctype.c ctype-simple.c ctype-mb.c \
55
				ctype-big5.c ctype-cp932.c ctype-czech.c \
56
				ctype-eucjpms.c ctype-euc_kr.c ctype-gb2312.c \
57
				ctype-gbk.c ctype-sjis.c ctype-tis620.c \
58
				ctype-ujis.c ctype-utf8.c ctype-ucs2.c \
59
				ctype-uca.c ctype-win1250ch.c ctype-bin.c \
77.1.18 by Monty Taylor
Removed my_vsnprintf and my_snprintf.
60
				ctype-latin1.c xml.c \
28.1.17 by Monty Taylor
Moved test programs in strings to strings/tests, like mysys.
61
				decimal.c ctype-extra.c str_alloc.c \
62
				dtoa.c my_strchr.c
63
1 by brian
clean slate
64
# Default charset definitions
28.1.2 by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2
65
EXTRA_DIST = 	ctype-big5.c ctype-cp932.c ctype-czech.c ctype-eucjpms.c \
66
	       	ctype-euc_kr.c ctype-win1250ch.c \
67
		ctype-gb2312.c ctype-gbk.c ctype-sjis.c ctype-utf8.c \
68
		ctype-ucs2.c ctype-uca.c ctype-tis620.c ctype-ujis.c \
69
		xml.c decimal.c strto.c strings-x86.s \
70
		longlong2str.c longlong2str-x86.s longlong2str_asm.c \
71
		my_strtoll10.c my_strtoll10-x86.s \
72
		strxmov.c bmove_upp.c strappend.c strcont.c strend.c \
77.1.91 by Monty Taylor
Removed strinstr. It was only used twice in once place in mf_pack... and there
73
		strfill.c strcend.c is_prefix.c strstr.c \
28.1.2 by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2
74
		strmake.c strnmov.c strmov.c strnlen.c \
75
		bmove_upp-sparc.s strappend-sparc.s strend-sparc.s \
77.1.91 by Monty Taylor
Removed strinstr. It was only used twice in once place in mf_pack... and there
76
		strmake-sparc.s strmov-sparc.s \
28.1.2 by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2
77
		strnmov-sparc.s strstr-sparc.s strxmov-sparc.s \
78
		t_ctype.h my_strchr.c
1 by brian
clean slate
79
25 by Brian Aker
Clean up of configure.in
80
FLAGS=$(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
1 by brian
clean slate
81