]> git.saurik.com Git - wxWidgets.git/blame - build/bakefiles/regex.bkl
use x.y.z version in unstable branch
[wxWidgets.git] / build / bakefiles / regex.bkl
CommitLineData
ddf98968 1<?xml version="1.0" ?>
1ec597c0 2<!-- $Id$ -->
ddf98968
VS
3<makefile>
4
2acf1768
RN
5 <set var="UNICODE_DEFINE">
6 <if cond="FORMAT!='autoconf' and UNICODE=='1'">_UNICODE</if>
7 </set>
8
9 <set var="UNICOWS_LIB">
10 <if cond="MSLU=='1'">unicows</if>
11 </set>
12
13 <define-tag name="msvc-headers" rules="dll,lib">
14 <if cond="FORMAT=='msvc6prj'">
15 <msvc-project-files>
16 $(addPrefixToList('include\', wxwin.headersOnly(value)))
17 </msvc-project-files>
18 </if>
19 </define-tag>
20
21 <define-tag name="msvc-copy-setup-h" rules="dll,lib">
22 <if cond="FORMAT=='msvc6prj'">
23 <msvc-headers>wx/msw/setup.h</msvc-headers>
24 <set var="__custom_build_files" append="1">
25 include\wx\msw\setup.h
26 </set>
27 <set var="__custom_build_include_wx_msw_setup_h">
28Creating $(SETUPHDIR)\wx\setup.h
29InputPath=..\include\wx\msw\setup.h
30
31"$(SETUPHDIR)\wx\setup.h" : $(DOLLAR)(SOURCE) "$(DOLLAR)(INTDIR)" "$(DOLLAR)(OUTDIR)"
32$(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
33 </set>
34 </if>
35 </define-tag>
36
ddf98968
VS
37 <if cond="FORMAT=='autoconf'">
38 <option name="wxUSE_REGEX"/>
39 </if>
40 <if cond="FORMAT!='autoconf'">
41 <set var="wxUSE_REGEX">builtin</set>
42 </if>
43 <set var="LIB_REGEX">
ea66c762 44 <if cond="wxUSE_REGEX=='builtin'">wxregex$(WXDEBUGFLAG)$(HOST_SUFFIX)</if>
ddf98968 45 </set>
332cc656 46 <set var="INC_REGEX">
580ac8cb 47 <if cond="wxUSE_REGEX=='builtin'">$(TOP_SRCDIR)src/regex</if>
332cc656 48 </set>
ddf98968 49
82cb0280 50 <lib id="wxregex" template="3rdparty_lib"
332cc656 51 cond="wxUSE_REGEX=='builtin' and BUILDING_LIB=='1'">
5eb35120
VS
52 <include cond="FORMAT!='autoconf'">$(TOP_SRCDIR)include</include>
53 <include cond="FORMAT!='autoconf'">$(SETUPHDIR)</include>
1c29c1fe 54 <define>$(UNICODE_DEFINE)</define>
ddf98968 55 <dirname>$(LIBDIRNAME)</dirname>
f101c18d 56 <cflags-borland>-w-8004 -w-8012 -w-8057 -w-8066</cflags-borland>
ddf98968
VS
57 <sources>
58 src/regex/regcomp.c
59 src/regex/regexec.c
60 src/regex/regerror.c
61 src/regex/regfree.c
62 </sources>
63 </lib>
64
65</makefile>