]> git.saurik.com Git - wxWidgets.git/blame - utils/wxrc/wxrc.bkl
Make it possible to create just one clock, for testing
[wxWidgets.git] / utils / wxrc / wxrc.bkl
CommitLineData
cecc483e
VS
1<?xml version="1.0" ?>
2<makefile>
3
79813cca 4 <include file="../../build/bakefiles/common_samples.bkl"/>
cecc483e 5
25f7985e 6 <exe id="wxrc" cond="USE_XRC=='1'"
d2ec8d84 7 template="wx_util_console" template_append="wx_append_base">
cecc483e
VS
8 <sources>wxrc.cpp</sources>
9 <wx-lib>xml</wx-lib>
10 <wx-lib>base</wx-lib>
16fd9642 11 <install-to>$(BINDIR)</install-to>
cecc483e
VS
12 </exe>
13
25f7985e
VS
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>
e912d1d4
RD
23 rm -f $(DESTDIR)$(BINDIR)/wxrc$(EXEEXT) $(DESTDIR)$(BINDIR)/$(versioned_name)
24 $(INSTALL_PROGRAM) wxrc$(EXEEXT) $(DESTDIR)$(BINDIR)
25f7985e
VS
25 mv -f $(DESTDIR)$(BINDIR)/wxrc$(EXEEXT) $(DESTDIR)$(BINDIR)/$(versioned_name)
26 (cd $(DESTDIR)$(BINDIR) &amp;&amp; $(LN_S) $(versioned_name) wxrc$(EXEEXT))
27 </command>
28 </modify-target>
29 </if>
30
cecc483e 31</makefile>