]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/regex.bkl
c156b40b6301c7980d65a8eb5ff85ed802b5a6ff
[wxWidgets.git] / build / bakefiles / regex.bkl
1 <?xml version="1.0" ?>
2 <!-- $Id$ -->
3
4 <makefile>
5
6 <if cond="FORMAT=='autoconf'">
7 <option name="wxUSE_REGEX"/>
8 </if>
9 <if cond="FORMAT!='autoconf'">
10 <set var="wxUSE_REGEX">
11 <!-- NB: regex lib doesn't compile on WinCE -->
12 <if cond="FORMAT=='msevc4prj'">no</if>
13 <if cond="FORMAT!='msevc4prj'">builtin</if>
14 </set>
15 </if>
16 <set var="LIB_REGEX">
17 <if cond="wxUSE_REGEX=='builtin'">wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)</if>
18 </set>
19 <set var="INC_REGEX">
20 <if cond="wxUSE_REGEX=='builtin'">$(TOP_SRCDIR)src/regex</if>
21 </set>
22
23 <lib id="wxregex" template="msvc_setup_h,3rdparty_lib"
24 cond="wxUSE_REGEX=='builtin' and BUILDING_LIB=='1'">
25 <libname>$(id)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)</libname>
26 <include cond="FORMAT!='autoconf'">$(TOP_SRCDIR)include</include>
27 <include cond="FORMAT!='autoconf'">$(SETUPHDIR)</include>
28 <define>__WX$(TOOLKIT)__</define>
29 <define>$(UNICODE_DEFINE)</define>
30 <dirname>$(LIBDIRNAME)</dirname>
31 <cflags-borland>-w-8008 -w-8012 -w-8057 -w-8064 -w-8066 -w-8070</cflags-borland>
32 <cflags-dmars>-w12</cflags-dmars>
33 <sources>
34 src/regex/regcomp.c
35 src/regex/regexec.c
36 src/regex/regerror.c
37 src/regex/regfree.c
38 </sources>
39 </lib>
40
41 </makefile>