]>
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 | <set var="LIB_REGEX"> | |
9 | <if cond="wxUSE_REGEX=='builtin'"> | |
10 | wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
11 | </if> | |
12 | </set> | |
13 | </if> | |
14 | <if cond="FORMAT!='autoconf'"> | |
15 | <set var="wxUSE_REGEX"> | |
16 | <!-- NB: regex lib doesn't compile on WinCE --> | |
17 | <if cond="FORMAT=='msevc4prj'">no</if> | |
18 | <if cond="FORMAT!='msevc4prj'">builtin</if> | |
19 | </set> | |
20 | <set var="LIB_REGEX"> | |
21 | <if cond="wxUSE_REGEX=='builtin'"> | |
22 | wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
23 | </if> | |
24 | </set> | |
25 | </if> | |
26 | <set var="INC_REGEX"> | |
27 | <if cond="wxUSE_REGEX=='builtin'">$(TOP_SRCDIR)src/regex</if> | |
28 | </set> | |
29 | ||
30 | <lib id="wxregex" template="msvc_setup_h,3rdparty_lib" | |
31 | cond="wxUSE_REGEX=='builtin' and BUILDING_LIB=='1'"> | |
32 | <libname cond="FORMAT=='autoconf'"> | |
33 | $(id)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
34 | </libname> | |
35 | <libname cond="FORMAT!='autoconf'"> | |
36 | $(id)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
37 | </libname> | |
38 | <include cond="FORMAT!='autoconf'">$(TOP_SRCDIR)include</include> | |
39 | <include cond="FORMAT!='autoconf'">$(SETUPHDIR)</include> | |
40 | <define>__WX$(TOOLKIT)__</define> | |
41 | <define>$(UNICODE_DEFINE)</define> | |
42 | <dirname>$(LIBDIRNAME)</dirname> | |
43 | <cflags-borland>-w-8008 -w-8012 -w-8057 -w-8064 -w-8066 -w-8070</cflags-borland> | |
44 | <cflags-dmars>-w12</cflags-dmars> | |
45 | <sources> | |
46 | src/regex/regcomp.c | |
47 | src/regex/regexec.c | |
48 | src/regex/regerror.c | |
49 | src/regex/regfree.c | |
50 | </sources> | |
51 | </lib> | |
52 | ||
53 | </makefile> |