]>
Commit | Line | Data |
---|---|---|
1 | <?xml version="1.0" ?> | |
2 | <!-- $Id$ --> | |
3 | ||
4 | <makefile> | |
5 | ||
6 | <if cond="FORMAT=='autoconf'"> | |
7 | <option name="wxUSE_REGEX"/> | |
8 | </if> | |
9 | <if cond="FORMAT!='autoconf'"> | |
10 | <set var="wxUSE_REGEX">builtin</set> | |
11 | </if> | |
12 | <set var="LIB_REGEX"> | |
13 | <if cond="wxUSE_REGEX=='builtin'">wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(HOST_SUFFIX)</if> | |
14 | </set> | |
15 | <set var="INC_REGEX"> | |
16 | <if cond="wxUSE_REGEX=='builtin'">$(TOP_SRCDIR)src/regex</if> | |
17 | </set> | |
18 | ||
19 | <lib id="wxregex" template="msvc_setup_h,3rdparty_lib" | |
20 | cond="wxUSE_REGEX=='builtin' and BUILDING_LIB=='1'"> | |
21 | <libname>$(id)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(HOST_SUFFIX)</libname> | |
22 | <include cond="FORMAT!='autoconf'">$(TOP_SRCDIR)include</include> | |
23 | <include cond="FORMAT!='autoconf'">$(SETUPHDIR)</include> | |
24 | <define>$(UNICODE_DEFINE)</define> | |
25 | <dirname>$(LIBDIRNAME)</dirname> | |
26 | <cflags-borland>-w-8008 -w-8012 -w-8057 -w-8064 -w-8066 -w-8070</cflags-borland> | |
27 | <sources> | |
28 | src/regex/regcomp.c | |
29 | src/regex/regexec.c | |
30 | src/regex/regerror.c | |
31 | src/regex/regfree.c | |
32 | </sources> | |
33 | </lib> | |
34 | ||
35 | </makefile> |