d2ec8d8488
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
30 lines
964 B
XML
30 lines
964 B
XML
<?xml version="1.0" ?>
|
|
<makefile>
|
|
|
|
<include file="../../build/bakefiles/common_samples.bkl"/>
|
|
|
|
<exe id="wxrc" cond="USE_XRC=='1'"
|
|
template="wx_util_console" template_append="wx_append_base">
|
|
<sources>wxrc.cpp</sources>
|
|
<wx-lib>xml</wx-lib>
|
|
<wx-lib>base</wx-lib>
|
|
<install-to>$(BINDIR)</install-to>
|
|
</exe>
|
|
|
|
<if cond="FORMAT=='autoconf'">
|
|
|
|
<!-- Install wxrc as $prefix/bin/wxrc-$version with a wxrc symlink
|
|
pointing to it, so that users can use wxrc from different
|
|
versions. -->
|
|
|
|
<set var="versioned_name">wxrc-$(WX_RELEASE)</set>
|
|
<modify-target target="install_wxrc">
|
|
<command>
|
|
mv -f $(DESTDIR)$(BINDIR)/wxrc$(EXEEXT) $(DESTDIR)$(BINDIR)/$(versioned_name)
|
|
(cd $(DESTDIR)$(BINDIR) && $(LN_S) $(versioned_name) wxrc$(EXEEXT))
|
|
</command>
|
|
</modify-target>
|
|
</if>
|
|
|
|
</makefile>
|