]>
Commit | Line | Data |
---|---|---|
ddf98968 | 1 | <?xml version="1.0" ?> |
1ec597c0 | 2 | <!-- $Id$ --> |
cb9548d9 | 3 | |
ddf98968 VS |
4 | <makefile> |
5 | ||
6 | <if cond="FORMAT=='autoconf'"> | |
7 | <option name="wxUSE_REGEX"/> | |
8 | </if> | |
9 | <if cond="FORMAT!='autoconf'"> | |
d628323f VS |
10 | <set var="wxUSE_REGEX"> |
11 | <!-- NB: regex lib doesn't compile on WinCE --> | |
12 | <if cond="FORMAT=='msevc4prj'">no</if> | |
13 | <if cond="FORMAT!='msevc4prj'">builtin</if> | |
14 | </set> | |
ddf98968 VS |
15 | </if> |
16 | <set var="LIB_REGEX"> | |
ceec2216 | 17 | <if cond="wxUSE_REGEX=='builtin'">wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)</if> |
ddf98968 | 18 | </set> |
332cc656 | 19 | <set var="INC_REGEX"> |
580ac8cb | 20 | <if cond="wxUSE_REGEX=='builtin'">$(TOP_SRCDIR)src/regex</if> |
332cc656 | 21 | </set> |
ddf98968 | 22 | |
cb9548d9 | 23 | <lib id="wxregex" template="msvc_setup_h,3rdparty_lib" |
332cc656 | 24 | cond="wxUSE_REGEX=='builtin' and BUILDING_LIB=='1'"> |
ceec2216 | 25 | <libname>$(id)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)</libname> |
5eb35120 VS |
26 | <include cond="FORMAT!='autoconf'">$(TOP_SRCDIR)include</include> |
27 | <include cond="FORMAT!='autoconf'">$(SETUPHDIR)</include> | |
a92d711e | 28 | <define>__WX$(TOOLKIT)__</define> |
1c29c1fe | 29 | <define>$(UNICODE_DEFINE)</define> |
ddf98968 | 30 | <dirname>$(LIBDIRNAME)</dirname> |
e3f9e20c | 31 | <cflags-borland>-w-8008 -w-8012 -w-8057 -w-8064 -w-8066 -w-8070</cflags-borland> |
12f003ed | 32 | <cflags-dmars>-w12</cflags-dmars> |
ddf98968 VS |
33 | <sources> |
34 | src/regex/regcomp.c | |
35 | src/regex/regexec.c | |
36 | src/regex/regerror.c | |
37 | src/regex/regfree.c | |
38 | </sources> | |
39 | </lib> | |
40 | ||
41 | </makefile> |