]> git.saurik.com Git - wxWidgets.git/blame - build/bakefiles/regex.bkl
another AIX compilation fix: getservbyname_r() returns int, not servent* there
[wxWidgets.git] / build / bakefiles / regex.bkl
CommitLineData
ddf98968 1<?xml version="1.0" ?>
1ec597c0 2<!-- $Id$ -->
cb9548d9 3
ddf98968 4<makefile>
99713fe3 5
ddf98968
VS
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'">
9c2d002b 22 wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(HOST_SUFFIX)
a1bf307a
RL
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'">
9c2d002b 36 $(id)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(HOST_SUFFIX)
a1bf307a 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>
99713fe3 41 <define>$(WXUNIV_DEFINE)</define>
1c29c1fe 42 <define>$(UNICODE_DEFINE)</define>
ddf98968 43 <dirname>$(LIBDIRNAME)</dirname>
e3f9e20c 44 <cflags-borland>-w-8008 -w-8012 -w-8057 -w-8064 -w-8066 -w-8070</cflags-borland>
12f003ed 45 <cflags-dmars>-w12</cflags-dmars>
ddf98968
VS
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>