]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/regex.bkl
Cleaned up low level OS X sources.
[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 <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>
13 </if>
14 <if cond="FORMAT!='autoconf'">
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>
20 <set var="LIB_REGEX">
21 <if cond="wxUSE_REGEX=='builtin'">
22 wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(HOST_SUFFIX)
23 </if>
24 </set>
25 </if>
26 <set var="INC_REGEX">
27 <if cond="wxUSE_REGEX=='builtin'">$(TOP_SRCDIR)src/regex</if>
28 </set>
29
30 <lib id="wxregex" template="msvc_setup_h,3rdparty_lib"
31 cond="wxUSE_REGEX=='builtin' and BUILDING_LIB=='1'">
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)$(HOST_SUFFIX)
37 </libname>
38 <include cond="FORMAT!='autoconf'">$(TOP_SRCDIR)include</include>
39 <include cond="FORMAT!='autoconf'">$(SETUPHDIR)</include>
40 <define>__WX$(TOOLKIT)__</define>
41 <define>$(WXUNIV_DEFINE)</define>
42 <define>$(UNICODE_DEFINE)</define>
43 <dirname>$(LIBDIRNAME)</dirname>
44 <cflags-borland>-w-8008 -w-8012 -w-8057 -w-8064 -w-8066 -w-8070</cflags-borland>
45 <cflags-dmars>-w12</cflags-dmars>
46 <sources>
47 src/regex/regcomp.c
48 src/regex/regexec.c
49 src/regex/regerror.c
50 src/regex/regfree.c
51 </sources>
52 </lib>
53
54 </makefile>