]>
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"> | |
e3f9e20c | 17 | <if cond="wxUSE_REGEX=='builtin'">wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(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'"> |
e3f9e20c | 25 | <libname>$(id)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(HOST_SUFFIX)</libname> |
5eb35120 VS |
26 | <include cond="FORMAT!='autoconf'">$(TOP_SRCDIR)include</include> |
27 | <include cond="FORMAT!='autoconf'">$(SETUPHDIR)</include> | |
1c29c1fe | 28 | <define>$(UNICODE_DEFINE)</define> |
ddf98968 | 29 | <dirname>$(LIBDIRNAME)</dirname> |
e3f9e20c | 30 | <cflags-borland>-w-8008 -w-8012 -w-8057 -w-8064 -w-8066 -w-8070</cflags-borland> |
ddf98968 VS |
31 | <sources> |
32 | src/regex/regcomp.c | |
33 | src/regex/regexec.c | |
34 | src/regex/regerror.c | |
35 | src/regex/regfree.c | |
36 | </sources> | |
37 | </lib> | |
38 | ||
39 | </makefile> |