]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/regex.bkl
More details about the internal module name changes
[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)$(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)$(HOST_SUFFIX)</libname>
26 <include cond="FORMAT!='autoconf'">$(TOP_SRCDIR)include</include>
27 <include cond="FORMAT!='autoconf'">$(SETUPHDIR)</include>
28 <define>$(UNICODE_DEFINE)</define>
29 <dirname>$(LIBDIRNAME)</dirname>
30 <cflags-borland>-w-8008 -w-8012 -w-8057 -w-8064 -w-8066 -w-8070</cflags-borland>
31 <sources>
32 src/regex/regcomp.c
33 src/regex/regexec.c
34 src/regex/regerror.c
35 src/regex/regfree.c
36 </sources>
37 </lib>
38
39 </makefile>