2003-06-23 15:50:43 -04:00
|
|
|
<?xml version="1.0" ?>
|
2004-02-01 07:19:07 -05:00
|
|
|
<!-- $Id$ -->
|
2004-02-01 17:41:33 -05:00
|
|
|
|
2003-06-23 15:50:43 -04:00
|
|
|
<makefile>
|
|
|
|
|
|
|
|
<if cond="FORMAT=='autoconf'">
|
|
|
|
<option name="wxUSE_REGEX"/>
|
2004-09-26 04:46:55 -04:00
|
|
|
<set var="LIB_REGEX">
|
|
|
|
<if cond="wxUSE_REGEX=='builtin'">
|
|
|
|
wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
|
|
|
|
</if>
|
|
|
|
</set>
|
2003-06-23 15:50:43 -04:00
|
|
|
</if>
|
|
|
|
<if cond="FORMAT!='autoconf'">
|
2004-04-03 11:22:20 -05:00
|
|
|
<set var="wxUSE_REGEX">
|
|
|
|
<!-- NB: regex lib doesn't compile on WinCE -->
|
|
|
|
<if cond="FORMAT=='msevc4prj'">no</if>
|
|
|
|
<if cond="FORMAT!='msevc4prj'">builtin</if>
|
|
|
|
</set>
|
2004-09-26 04:46:55 -04:00
|
|
|
<set var="LIB_REGEX">
|
|
|
|
<if cond="wxUSE_REGEX=='builtin'">
|
2004-10-08 07:20:24 -04:00
|
|
|
wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(HOST_SUFFIX)
|
2004-09-26 04:46:55 -04:00
|
|
|
</if>
|
|
|
|
</set>
|
2003-06-23 15:50:43 -04:00
|
|
|
</if>
|
2003-06-27 09:25:11 -04:00
|
|
|
<set var="INC_REGEX">
|
2003-07-01 08:53:02 -04:00
|
|
|
<if cond="wxUSE_REGEX=='builtin'">$(TOP_SRCDIR)src/regex</if>
|
2003-06-27 09:25:11 -04:00
|
|
|
</set>
|
2003-06-23 15:50:43 -04:00
|
|
|
|
2004-02-01 17:41:33 -05:00
|
|
|
<lib id="wxregex" template="msvc_setup_h,3rdparty_lib"
|
2003-06-27 09:25:11 -04:00
|
|
|
cond="wxUSE_REGEX=='builtin' and BUILDING_LIB=='1'">
|
2004-09-26 04:46:55 -04:00
|
|
|
<libname cond="FORMAT=='autoconf'">
|
|
|
|
$(id)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
|
|
|
|
</libname>
|
|
|
|
<libname cond="FORMAT!='autoconf'">
|
2004-10-08 07:20:24 -04:00
|
|
|
$(id)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(HOST_SUFFIX)
|
2004-09-26 04:46:55 -04:00
|
|
|
</libname>
|
2003-12-18 05:42:09 -05:00
|
|
|
<include cond="FORMAT!='autoconf'">$(TOP_SRCDIR)include</include>
|
|
|
|
<include cond="FORMAT!='autoconf'">$(SETUPHDIR)</include>
|
2004-08-14 16:22:23 -04:00
|
|
|
<define>__WX$(TOOLKIT)__</define>
|
2003-12-30 18:19:40 -05:00
|
|
|
<define>$(UNICODE_DEFINE)</define>
|
2003-06-23 15:50:43 -04:00
|
|
|
<dirname>$(LIBDIRNAME)</dirname>
|
2004-02-19 12:28:56 -05:00
|
|
|
<cflags-borland>-w-8008 -w-8012 -w-8057 -w-8064 -w-8066 -w-8070</cflags-borland>
|
2004-07-16 14:06:34 -04:00
|
|
|
<cflags-dmars>-w12</cflags-dmars>
|
2003-06-23 15:50:43 -04:00
|
|
|
<sources>
|
|
|
|
src/regex/regcomp.c
|
|
|
|
src/regex/regexec.c
|
|
|
|
src/regex/regerror.c
|
|
|
|
src/regex/regfree.c
|
|
|
|
</sources>
|
|
|
|
</lib>
|
|
|
|
|
|
|
|
</makefile>
|