2003-07-20 18:15:32 -04:00
|
|
|
<?xml version="1.0" ?>
|
|
|
|
<makefile>
|
|
|
|
|
2004-09-21 06:18:38 -04:00
|
|
|
<include file="../../build/bakefiles/common_samples.bkl"/>
|
2003-07-20 18:15:32 -04:00
|
|
|
|
2004-09-30 18:15:39 -04:00
|
|
|
<exe id="wxrc" cond="USE_XRC=='1'"
|
2004-10-02 08:34:29 -04:00
|
|
|
template="wx_util_console" template_append="wx_append_base">
|
2003-07-20 18:15:32 -04:00
|
|
|
<sources>wxrc.cpp</sources>
|
|
|
|
<wx-lib>xml</wx-lib>
|
|
|
|
<wx-lib>base</wx-lib>
|
2003-08-14 12:39:20 -04:00
|
|
|
<install-to>$(BINDIR)</install-to>
|
2003-07-20 18:15:32 -04:00
|
|
|
</exe>
|
|
|
|
|
2004-09-30 18:15:39 -04:00
|
|
|
<if cond="FORMAT=='autoconf'">
|
2019-01-30 11:28:08 -05:00
|
|
|
|
2004-09-30 18:15:39 -04:00
|
|
|
<!-- Install wxrc as $prefix/bin/wxrc-$version with a wxrc symlink
|
|
|
|
pointing to it, so that users can use wxrc from different
|
|
|
|
versions. -->
|
2019-01-30 11:28:08 -05:00
|
|
|
|
2004-09-30 18:15:39 -04:00
|
|
|
<set var="versioned_name">wxrc-$(WX_RELEASE)</set>
|
|
|
|
<modify-target target="install_wxrc">
|
|
|
|
<command>
|
2019-01-30 11:28:08 -05:00
|
|
|
rm -f $(DESTDIR)$(BINDIR)/wxrc$(EXEEXT) $(DESTDIR)$(BINDIR)/$(versioned_name)
|
|
|
|
$(INSTALL_PROGRAM) wxrc$(EXEEXT) $(DESTDIR)$(BINDIR)
|
2004-09-30 18:15:39 -04:00
|
|
|
mv -f $(DESTDIR)$(BINDIR)/wxrc$(EXEEXT) $(DESTDIR)$(BINDIR)/$(versioned_name)
|
|
|
|
(cd $(DESTDIR)$(BINDIR) && $(LN_S) $(versioned_name) wxrc$(EXEEXT))
|
|
|
|
</command>
|
|
|
|
</modify-target>
|
|
|
|
</if>
|
|
|
|
|
2003-07-20 18:15:32 -04:00
|
|
|
</makefile>
|