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.2
by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2 |
17 |
pkglib_LTLIBRARIES = libmystrings.la |
18 |
libmystrings_la_LDFLAGS = -static |
|
19 |
libmystrings_la_SOURCES = |
|
20 |
||
21 |
# Force C++ linking - dummy.cxx doesn't have to exist with EXTRA in the name
|
|
22 |
nodist_EXTRA_libmystrings_la_SOURCES = dummy.cxx |
|
23 |
# This can't be listed here as $(top_builddir)/strings/libmystingslt.la
|
|
24 |
# 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. |
25 |
libmystrings_la_LIBADD = libmystringslt.la |
28.1.2
by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2 |
26 |
|
28.1.23
by Monty Taylor
Deleted files from strings that are not used. |
27 |
noinst_LTLIBRARIES = libmystringslt.la |
1
by brian
clean slate |
28 |
|
29 |
# Exact one of ASSEMBLER_X
|
|
30 |
if ASSEMBLER_x86
|
|
31 |
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. |
32 |
CSRCS = longlong2str_asm.c |
1
by brian
clean slate |
33 |
else
|
34 |
if ASSEMBLER_sparc32
|
|
35 |
# These file MUST all be on the same line!! Otherwise automake
|
|
36 |
# generats a very broken makefile
|
|
236.1.50
by Monty Taylor
Added automake conditional compilation of distributed system replacement functions. |
37 |
ASRCS = bmove_upp-sparc.s strappend-sparc.s strend-sparc.s strmake-sparc.s strnmov-sparc.s |
28.1.17
by Monty Taylor
Moved test programs in strings to strings/tests, like mysys. |
38 |
CSRCS = strcont.c strfill.c strcend.c is_prefix.c longlong2str.c strxmov.c my_strtoll10.c |
1
by brian
clean slate |
39 |
else
|
40 |
#no assembler
|
|
41 |
ASRCS = |
|
42 |
# These file MUST all be on the same line!! Otherwise automake
|
|
43 |
# generats a very broken makefile
|
|
236.1.50
by Monty Taylor
Added automake conditional compilation of distributed system replacement functions. |
44 |
CSRCS = strxmov.c bmove_upp.c strappend.c strcont.c strend.c strfill.c strcend.c is_prefix.c strmake.c strnmov.c longlong2str.c my_strtoll10.c |
28.1.17
by Monty Taylor
Moved test programs in strings to strings/tests, like mysys. |
45 |
endif
|
46 |
endif
|
|
47 |
||
236.1.38
by Monty Taylor
Fixed header install problem. The now install to the right places. |
48 |
mystringsincludedir = ${includedir}/mystrings |
49 |
dist_mystringsinclude_HEADERS = decimal.h \ |
|
50 |
m_ctype.h \
|
|
51 |
m_string.h \
|
|
52 |
my_xml.h |
|
212.5.18
by Monty Taylor
Moved m_ctype, m_string and my_bitmap. Removed t_ctype. |
53 |
|
54 |
noinst_HEADERS = my_uctype.h |
|
55 |
||
236.1.62
by Monty Taylor
Put in automake build tests... |
56 |
|
57 |
if BUILD_ARMSCII8
|
|
58 |
build_armscii8= |
|
59 |
endif
|
|
60 |
if BUILD_BIG5
|
|
61 |
build_big5=ctype-big5.c |
|
62 |
endif
|
|
63 |
if BUILD_CP1250
|
|
64 |
build_cp1250=ctype-win1250ch.c |
|
65 |
endif
|
|
66 |
if BUILD_CP32
|
|
67 |
build_cp932=ctype-cp932.c |
|
68 |
endif
|
|
69 |
if BUILD_EUCJPMS
|
|
70 |
build_eucjpms=ctype-eucjpms.c |
|
71 |
endif
|
|
72 |
if BUILD_EUCKR
|
|
73 |
build_euckr=ctype-euc_kr.c |
|
74 |
endif
|
|
75 |
if BUILD_GB2312
|
|
76 |
build_gb2312=ctype-gb2312.c |
|
77 |
endif
|
|
78 |
if BUILD_GBK
|
|
79 |
build_gbk=ctype-gbk.c |
|
80 |
endif
|
|
81 |
if BUILD_LATIN2
|
|
82 |
build_latin2=ctype-czech.c |
|
83 |
endif
|
|
84 |
if BUILD_SJIS
|
|
85 |
build_sjis=ctype-sjis.c |
|
86 |
endif
|
|
87 |
if BUILD_TIS620
|
|
88 |
build_tis620=ctype-tis620.c |
|
89 |
endif
|
|
90 |
if BUILD_UCS2
|
|
91 |
build_ucs2= |
|
92 |
endif
|
|
93 |
if BUILD_UJIS
|
|
94 |
build_ujis=ctype-ujis.c |
|
95 |
endif
|
|
96 |
||
28.1.17
by Monty Taylor
Moved test programs in strings to strings/tests, like mysys. |
97 |
# C files common to all three cases are included directly below, so that
|
98 |
# ASRCS and CSRCS can be smaller
|
|
236.1.50
by Monty Taylor
Added automake conditional compilation of distributed system replacement functions. |
99 |
# LIBOBJS contains strstr strtoll strtoull strmov IFF the don't exist on
|
100 |
# the target system. This helps prevent empty object file problems.
|
|
101 |
libmystringslt_la_LIBADD = $(LIBOBJS) |
|
212.6.3
by Mats Kindahl
Removing deprecated functions from code and replacing them with C99 equivalents: |
102 |
libmystringslt_la_SOURCES = $(ASRCS) $(CSRCS) bmove512.c \ |
28.1.17
by Monty Taylor
Moved test programs in strings to strings/tests, like mysys. |
103 |
bchange.c strxnmov.c int2str.c str2int.c \
|
236.1.50
by Monty Taylor
Added automake conditional compilation of distributed system replacement functions. |
104 |
llstr.c strnlen.c \
|
28.1.17
by Monty Taylor
Moved test programs in strings to strings/tests, like mysys. |
105 |
ctype.c ctype-simple.c ctype-mb.c \
|
236.1.62
by Monty Taylor
Put in automake build tests... |
106 |
${build_big5} ${build_cp932} ${build_latin2} \ |
107 |
${build_eucjpms} ${build_euckr} \ |
|
108 |
${build_gb2312} \ |
|
109 |
${build_gbk} ${build_sjis} ${build_tis620} \ |
|
110 |
${build_ujis} ctype-utf8.c ctype-ucs2.c \ |
|
111 |
ctype-uca.c ${build_cp1250} ctype-bin.c \ |
|
77.1.18
by Monty Taylor
Removed my_vsnprintf and my_snprintf. |
112 |
ctype-latin1.c xml.c \
|
28.1.17
by Monty Taylor
Moved test programs in strings to strings/tests, like mysys. |
113 |
decimal.c ctype-extra.c str_alloc.c \
|
114 |
dtoa.c my_strchr.c |
|
115 |
||
1
by brian
clean slate |
116 |
# Default charset definitions
|
28.1.2
by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2 |
117 |
EXTRA_DIST = ctype-big5.c ctype-cp932.c ctype-czech.c ctype-eucjpms.c \ |
118 |
ctype-euc_kr.c ctype-win1250ch.c \
|
|
119 |
ctype-gb2312.c ctype-gbk.c ctype-sjis.c ctype-utf8.c \
|
|
120 |
ctype-ucs2.c ctype-uca.c ctype-tis620.c ctype-ujis.c \
|
|
121 |
xml.c decimal.c strto.c strings-x86.s \
|
|
122 |
longlong2str.c longlong2str-x86.s longlong2str_asm.c \
|
|
123 |
my_strtoll10.c my_strtoll10-x86.s \
|
|
124 |
strxmov.c bmove_upp.c strappend.c strcont.c strend.c \
|
|
236.1.50
by Monty Taylor
Added automake conditional compilation of distributed system replacement functions. |
125 |
strfill.c strcend.c is_prefix.c \
|
126 |
strmake.c strnmov.c strnlen.c \
|
|
28.1.2
by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2 |
127 |
bmove_upp-sparc.s strappend-sparc.s strend-sparc.s \
|
236.1.50
by Monty Taylor
Added automake conditional compilation of distributed system replacement functions. |
128 |
strmake-sparc.s \
|
129 |
strnmov-sparc.s strxmov-sparc.s \
|
|
28.1.2
by Monty Taylor
First stab at back porting libtool convenience lib patch from telco-6.2 |
130 |
t_ctype.h my_strchr.c |
1
by brian
clean slate |
131 |
|
25
by Brian Aker
Clean up of configure.in |
132 |
FLAGS=$(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) |
1
by brian
clean slate |
133 |