~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mystrings/Makefile.am

  • Committer: Monty Taylor
  • Date: 2008-10-16 06:32:30 UTC
  • mto: (511.1.5 codestyle)
  • mto: This revision was merged to the branch mainline in revision 521.
  • Revision ID: monty@inaugust.com-20081016063230-4brxsra0qsmsg84q
Added -Wunused-macros.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
# along with this program; if not, write to the Free Software
14
14
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
15
15
 
16
 
# This file is public domain and comes with NO WARRANTY of any kind
17
 
AM_CPPFLAGS =           -I$(top_builddir)/include -I$(top_srcdir)/include
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
26
 
libmystrings_la_LIBADD = libmystringslt.la
27
 
 
28
 
noinst_LTLIBRARIES =    libmystringslt.la
29
 
 
30
 
# Exact one of ASSEMBLER_X
31
 
if ASSEMBLER_x86
32
 
ASRCS           = strings-x86.s longlong2str-x86.s my_strtoll10-x86.s
33
 
CSRCS           = longlong2str_asm.c 
34
 
else
35
 
if ASSEMBLER_sparc32
36
 
# These file MUST all be on the same line!! Otherwise automake
37
 
# generats a very broken makefile
38
 
ASRCS           = bmove_upp-sparc.s strappend-sparc.s strend-sparc.s strinstr-sparc.s strmake-sparc.s strmov-sparc.s strnmov-sparc.s strstr-sparc.s
39
 
CSRCS   = strcont.c strfill.c strcend.c is_prefix.c longlong2str.c strxmov.c my_strtoll10.c 
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
45
 
CSRCS   = strxmov.c bmove_upp.c strappend.c strcont.c strend.c strfill.c strcend.c is_prefix.c strstr.c strinstr.c strmake.c strnmov.c strmov.c longlong2str.c my_strtoll10.c
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 \
 
16
noinst_LTLIBRARIES =    libmystrings.la
 
17
 
 
18
 
 
19
mystringsincludedir = ${includedir}/mystrings
 
20
dist_mystringsinclude_HEADERS =         decimal.h \
 
21
                                        m_ctype.h \
 
22
                                        m_string.h
 
23
 
 
24
noinst_HEADERS =        my_uctype.h \
 
25
                        t_ctype.h
 
26
 
 
27
 
 
28
# IFF the don't exist on
 
29
# the target system. This helps prevent empty object file problems.
 
30
libmystrings_la_LIBADD = $(LTLIBOBJS)
 
31
libmystrings_la_SOURCES =       strxmov.c bmove_upp.c \
 
32
                                strfill.c is_prefix.c \
 
33
                                strmake.c longlong2str.c \
 
34
                                my_strtoll10.c \
52
35
                                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 \
60
 
                                ctype-latin1.c my_vsnprintf.c xml.c \
61
 
                                decimal.c ctype-extra.c str_alloc.c \
62
 
                                dtoa.c my_strchr.c
63
 
 
64
 
# Default charset definitions
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 \
73
 
                strfill.c strcend.c is_prefix.c strstr.c strinstr.c \
74
 
                strmake.c strnmov.c strmov.c strnlen.c \
75
 
                bmove_upp-sparc.s strappend-sparc.s strend-sparc.s \
76
 
                strinstr-sparc.s strmake-sparc.s strmov-sparc.s \
77
 
                strnmov-sparc.s strstr-sparc.s strxmov-sparc.s \
78
 
                t_ctype.h my_strchr.c
79
 
 
80
 
FLAGS=$(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
 
36
                                llstr.c \
 
37
                                stpcpy.c \
 
38
                                stpncpy.c \
 
39
                                ctype.c ctype-simple.c ctype-mb.c \
 
40
                                ctype-utf8.c \
 
41
                                ctype-uca.c ctype-bin.c \
 
42
                                decimal.c ctype-extra.c str_alloc.c \
 
43
                                dtoa.c 
81
44