Makefile.am
上传用户:tsgydb
上传日期:2007-04-14
资源大小:10674k
文件大小:4k
- # Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
- #
- # This program is free software; you can redistribute it and/or modify
- # it under the terms of the GNU General Public License as published by
- # the Free Software Foundation; either version 2 of the License, or
- # (at your option) any later version.
- #
- # This program is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- # GNU General Public License for more details.
- #
- # You should have received a copy of the GNU General Public License
- # along with this program; if not, write to the Free Software
- # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- # This file is public domain and comes with NO WARRANTY of any kind
- INCLUDES = @MT_INCLUDES@ -I$(srcdir)/../include -I../include
- pkglib_LIBRARIES = libmystrings.a
- # Exact one of ASSEMBLER_X
- if ASSEMBLER_x86
- ASRCS = strings-x86.s longlong2str-x86.s
- CSRCS = bfill.c bmove.c bmove512.c bchange.c strxnmov.c int2str.c str2int.c r_strinstr.c atof.c bcmp.c strtol.c strtoul.c strtoll.c strtoull.c 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 llstr.c ctype.c strnlen.c
- else
- if ASSEMBLER_sparc
- # These file MUST all be on the same line!! Otherwise automake
- # generats a very broken makefile
- 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 strxmov-sparc.s
- CSRCS = strcont.c strfill.c strcend.c is_prefix.c longlong2str.c bfill.c bmove.c bmove512.c bchange.c strxnmov.c int2str.c str2int.c r_strinstr.c atof.c bcmp.c strtol.c strtoul.c strtoll.c strtoull.c llstr.c ctype.c strnlen.c
- else
- #no assembler
- ASRCS =
- # These file MUST all be on the same line!! Otherwise automake
- # generats a very broken makefile
- 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 bfill.c bmove.c bmove512.c bchange.c strxnmov.c int2str.c str2int.c r_strinstr.c atof.c bcmp.c strtol.c strtoul.c strtoll.c strtoull.c llstr.c ctype.c strnlen.c
- endif
- endif
- libmystrings_a_SOURCES = @CHARSET_SRCS@ $(ASRCS) $(CSRCS)
- noinst_PROGRAMS = conf_to_src
- # Default charset definitions
- EXTRA_DIST = ctype-big5.c ctype-czech.c ctype-euc_kr.c
- ctype-gb2312.c ctype-gbk.c ctype-sjis.c
- ctype-tis620.c ctype-ujis.c
- ctype_autoconf.c
- strto.c strings-x86.s longlong2str-x86.s
- 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 strnlen.c
- 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 strxmov-sparc.s
- OMIT_DEPENDENCIES = pthread.h stdio.h __stdio.h stdlib.h __stdlib.h math.h
- __math.h time.h __time.h unistd.h __unistd.h types.h
- xtypes.h ac-types.h posix.h string.h __string.h
- errno.h socket.h inet.h dirent.h netdb.h
- cleanup.h cond.h debug_out.h fd.h kernel.h mutex.h
- prio_queue.h pthread_attr.h pthread_once.h queue.h
- sleep.h specific.h version.h pwd.h timers.h uio.h
- cdefs.h machdep.h signal.h __signal.h util.h
- libmystrings_a_LIBADD= @CHARSET_OBJS@
- ctype.o: ctype_extra_sources.c
- ctype_extra_sources.c: conf_to_src
- ./conf_to_src $(top_srcdir) @CHARSETS_NEED_SOURCE@ >
- $(srcdir)/ctype_extra_sources.c
- conf_to_src_SOURCES = conf_to_src.c
- conf_to_src_LDADD=
- # This is because the dependency tracking misses @FOO@ vars in sources.
- strtoull.o: @CHARSET_OBJS@
- clean-local:
- rm -f ctype_extra_sources.c
- if ASSEMBLER
- # On Linux gcc can compile the assembly files
- %.o : %.s
- $(AS) -o $@ $<
- endif
- # Don't update the files from bitkeeper
- %::SCCS/s.%