]> git.saurik.com Git - wxWidgets.git/blob - utils/wxrc/wxrc.bkl
Added wx.lib.hyperlink from Andrea Gavana. It is a control like
[wxWidgets.git] / utils / wxrc / wxrc.bkl
1 <?xml version="1.0" ?>
2 <makefile>
3
4 <include file="../../build/bakefiles/common_samples.bkl"/>
5
6 <exe id="wxrc" cond="USE_XRC=='1'"
7 template="wx_util_console" template_append="wx_append_base">
8 <sources>wxrc.cpp</sources>
9 <wx-lib>xml</wx-lib>
10 <wx-lib>base</wx-lib>
11 <install-to>$(BINDIR)</install-to>
12 </exe>
13
14 <if cond="FORMAT=='autoconf'">
15
16 <!-- Install wxrc as $prefix/bin/wxrc-$version with a wxrc symlink
17 pointing to it, so that users can use wxrc from different
18 versions. -->
19
20 <set var="versioned_name">wxrc-$(WX_RELEASE)</set>
21 <modify-target target="install_wxrc">
22 <command>
23 mv -f $(DESTDIR)$(BINDIR)/wxrc$(EXEEXT) $(DESTDIR)$(BINDIR)/$(versioned_name)
24 (cd $(DESTDIR)$(BINDIR) &amp;&amp; $(LN_S) $(versioned_name) wxrc$(EXEEXT))
25 </command>
26 </modify-target>
27 </if>
28
29 </makefile>