]> git.saurik.com Git - wxWidgets.git/blame - build/bakefiles/regex.bkl
Added script to bake everthing (OK, so it's trivial...)
[wxWidgets.git] / build / bakefiles / regex.bkl
CommitLineData
ddf98968 1<?xml version="1.0" ?>
1ec597c0 2<!-- $Id$ -->
cb9548d9 3
ddf98968
VS
4<makefile>
5
6 <if cond="FORMAT=='autoconf'">
7 <option name="wxUSE_REGEX"/>
a1bf307a
RL
8 <set var="LIB_REGEX">
9 <if cond="wxUSE_REGEX=='builtin'">
10 wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
11 </if>
12 </set>
ddf98968
VS
13 </if>
14 <if cond="FORMAT!='autoconf'">
d628323f
VS
15 <set var="wxUSE_REGEX">
16 <!-- NB: regex lib doesn't compile on WinCE -->
17 <if cond="FORMAT=='msevc4prj'">no</if>
18 <if cond="FORMAT!='msevc4prj'">builtin</if>
19 </set>
a1bf307a
RL
20 <set var="LIB_REGEX">
21 <if cond="wxUSE_REGEX=='builtin'">
22 wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)$(HOST_SUFFIX)
23 </if>
24 </set>
ddf98968 25 </if>
332cc656 26 <set var="INC_REGEX">
580ac8cb 27 <if cond="wxUSE_REGEX=='builtin'">$(TOP_SRCDIR)src/regex</if>
332cc656 28 </set>
ddf98968 29
cb9548d9 30 <lib id="wxregex" template="msvc_setup_h,3rdparty_lib"
332cc656 31 cond="wxUSE_REGEX=='builtin' and BUILDING_LIB=='1'">
a1bf307a
RL
32 <libname cond="FORMAT=='autoconf'">
33 $(id)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
34 </libname>
35 <libname cond="FORMAT!='autoconf'">
36 $(id)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT)$(HOST_SUFFIX)
37 </libname>
5eb35120
VS
38 <include cond="FORMAT!='autoconf'">$(TOP_SRCDIR)include</include>
39 <include cond="FORMAT!='autoconf'">$(SETUPHDIR)</include>
a92d711e 40 <define>__WX$(TOOLKIT)__</define>
1c29c1fe 41 <define>$(UNICODE_DEFINE)</define>
ddf98968 42 <dirname>$(LIBDIRNAME)</dirname>
e3f9e20c 43 <cflags-borland>-w-8008 -w-8012 -w-8057 -w-8064 -w-8066 -w-8070</cflags-borland>
12f003ed 44 <cflags-dmars>-w12</cflags-dmars>
ddf98968
VS
45 <sources>
46 src/regex/regcomp.c
47 src/regex/regexec.c
48 src/regex/regerror.c
49 src/regex/regfree.c
50 </sources>
51 </lib>
52
53</makefile>