mySQL 5.0.11 sources for tomato
[tomato.git] / release / src / router / mysql / regex / Makefile.am
blobc59d98b971000e272bebd6cfe4e7fff09532f63c
1 # Copyright (C) 2000-2003, 2005-2006 MySQL AB
2
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Library General Public
5 # License as published by the Free Software Foundation; version 2
6 # of the License.
7
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 # Library General Public License for more details.
12
13 # You should have received a copy of the GNU Library General Public
14 # License along with this library; if not, write to the Free
15 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
16 # MA  02110-1301, USA
18 INCLUDES =              -I$(top_builddir)/include -I$(top_srcdir)/include
19 noinst_LIBRARIES =      libregex.a
20 LDADD=                  libregex.a $(top_builddir)/strings/libmystrings.a
21 noinst_HEADERS =        cclass.h cname.h regex2.h utils.h engine.c my_regex.h
22 libregex_a_SOURCES =    regerror.c regcomp.c regexec.c regfree.c reginit.c
23 noinst_PROGRAMS =       re
24 re_SOURCES =            split.c debug.c main.c
25 re_LDFLAGS= @NOINST_LDFLAGS@
26 EXTRA_DIST =            tests CHANGES COPYRIGHT WHATSNEW regexp.c \
27                         debug.ih engine.ih main.ih regcomp.ih regerror.ih \
28                         regex.3 regex.7 CMakeLists.txt
30 test: re tests
31         ./re < tests
32         ./re -el < tests
33         ./re -er < tests
35 # Don't update the files from bitkeeper
36 %::SCCS/s.%