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