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"/>
|
|
|
|
</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>
|
2003-06-23 15:50:43 -04:00
|
|
|
</if>
|
|
|
|
<set var="LIB_REGEX">
|
2004-02-19 12:28:56 -05:00
|
|
|
<if cond="wxUSE_REGEX=='builtin'">wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(HOST_SUFFIX)</if>
|
2003-06-23 15:50:43 -04:00
|
|
|
</set>
|
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-02-19 12:28:56 -05:00
|
|
|
<libname>$(id)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(HOST_SUFFIX)</libname>
|
2003-12-18 05:42:09 -05:00
|
|
|
<include cond="FORMAT!='autoconf'">$(TOP_SRCDIR)include</include>
|
|
|
|
<include cond="FORMAT!='autoconf'">$(SETUPHDIR)</include>
|
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>
|
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>
|