2003-06-23 19:50:43 +00:00
|
|
|
<?xml version="1.0" ?>
|
2004-02-01 12:19:07 +00:00
|
|
|
<!-- $Id$ -->
|
2004-02-01 22:41:33 +00:00
|
|
|
|
2003-06-23 19:50:43 +00:00
|
|
|
<makefile>
|
|
|
|
|
|
|
|
<if cond="FORMAT=='autoconf'">
|
|
|
|
<option name="wxUSE_REGEX"/>
|
|
|
|
</if>
|
|
|
|
<if cond="FORMAT!='autoconf'">
|
2004-04-03 16:22:20 +00: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 19:50:43 +00:00
|
|
|
</if>
|
|
|
|
<set var="LIB_REGEX">
|
2004-02-19 17:28:56 +00:00
|
|
|
<if cond="wxUSE_REGEX=='builtin'">wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(HOST_SUFFIX)</if>
|
2003-06-23 19:50:43 +00:00
|
|
|
</set>
|
2003-06-27 13:25:11 +00:00
|
|
|
<set var="INC_REGEX">
|
2003-07-01 12:53:02 +00:00
|
|
|
<if cond="wxUSE_REGEX=='builtin'">$(TOP_SRCDIR)src/regex</if>
|
2003-06-27 13:25:11 +00:00
|
|
|
</set>
|
2003-06-23 19:50:43 +00:00
|
|
|
|
2004-02-01 22:41:33 +00:00
|
|
|
<lib id="wxregex" template="msvc_setup_h,3rdparty_lib"
|
2003-06-27 13:25:11 +00:00
|
|
|
cond="wxUSE_REGEX=='builtin' and BUILDING_LIB=='1'">
|
2004-02-19 17:28:56 +00:00
|
|
|
<libname>$(id)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(HOST_SUFFIX)</libname>
|
2003-12-18 10:42:09 +00:00
|
|
|
<include cond="FORMAT!='autoconf'">$(TOP_SRCDIR)include</include>
|
|
|
|
<include cond="FORMAT!='autoconf'">$(SETUPHDIR)</include>
|
2003-12-30 23:19:40 +00:00
|
|
|
<define>$(UNICODE_DEFINE)</define>
|
2003-06-23 19:50:43 +00:00
|
|
|
<dirname>$(LIBDIRNAME)</dirname>
|
2004-02-19 17:28:56 +00:00
|
|
|
<cflags-borland>-w-8008 -w-8012 -w-8057 -w-8064 -w-8066 -w-8070</cflags-borland>
|
2004-07-16 18:06:34 +00:00
|
|
|
<cflags-dmars>-w12</cflags-dmars>
|
2003-06-23 19:50:43 +00:00
|
|
|
<sources>
|
|
|
|
src/regex/regcomp.c
|
|
|
|
src/regex/regexec.c
|
|
|
|
src/regex/regerror.c
|
|
|
|
src/regex/regfree.c
|
|
|
|
</sources>
|
|
|
|
</lib>
|
|
|
|
|
|
|
|
</makefile>
|