added tex2rtf bakefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -139,7 +139,9 @@ AUTOCONF_ALL = \
|
||||
../../samples/widgets/Makefile.in \
|
||||
../../samples/wizard/Makefile.in \
|
||||
../../samples/wxtest/Makefile.in \
|
||||
../../utils/HelpGen/Makefile.in
|
||||
../../utils/HelpGen/Makefile.in \
|
||||
../../utils/Makefile.in \
|
||||
../../utils/tex2rtf/src/Makefile.in
|
||||
BORLAND_ALL = \
|
||||
../../contrib/build/animate/makefile.bcc \
|
||||
../../contrib/build/deprecated/makefile.bcc \
|
||||
@@ -266,6 +268,8 @@ BORLAND_ALL = \
|
||||
../../samples/wizard/makefile.bcc \
|
||||
../../samples/wxtest/makefile.bcc \
|
||||
../../utils/HelpGen/makefile.bcc \
|
||||
../../utils/makefile.bcc \
|
||||
../../utils/tex2rtf/src/makefile.bcc \
|
||||
../msw/makefile.bcc
|
||||
MINGW_ALL = \
|
||||
../../contrib/build/animate/makefile.gcc \
|
||||
@@ -393,6 +397,8 @@ MINGW_ALL = \
|
||||
../../samples/wizard/makefile.gcc \
|
||||
../../samples/wxtest/makefile.gcc \
|
||||
../../utils/HelpGen/makefile.gcc \
|
||||
../../utils/makefile.gcc \
|
||||
../../utils/tex2rtf/src/makefile.gcc \
|
||||
../msw/makefile.gcc
|
||||
MSVC_ALL = \
|
||||
../../contrib/build/animate/makefile.vc \
|
||||
@@ -520,6 +526,8 @@ MSVC_ALL = \
|
||||
../../samples/wizard/makefile.vc \
|
||||
../../samples/wxtest/makefile.vc \
|
||||
../../utils/HelpGen/makefile.vc \
|
||||
../../utils/makefile.vc \
|
||||
../../utils/tex2rtf/src/makefile.vc \
|
||||
../msw/makefile.vc
|
||||
MSVC6PRJ_ALL = \
|
||||
../../contrib/build/animate/animate.dsw \
|
||||
@@ -642,6 +650,7 @@ MSVC6PRJ_ALL = \
|
||||
../../samples/wizard/wizard.dsw \
|
||||
../../samples/wxtest/wxtest.dsw \
|
||||
../../utils/HelpGen/helpgen.dsw \
|
||||
../../utils/tex2rtf/src/tex2rtf.dsw \
|
||||
../msw/wx.dsw
|
||||
WATCOM_ALL = \
|
||||
../../contrib/build/animate/makefile.wat \
|
||||
@@ -769,6 +778,8 @@ WATCOM_ALL = \
|
||||
../../samples/wizard/makefile.wat \
|
||||
../../samples/wxtest/makefile.wat \
|
||||
../../utils/HelpGen/makefile.wat \
|
||||
../../utils/makefile.wat \
|
||||
../../utils/tex2rtf/src/makefile.wat \
|
||||
../msw/makefile.wat
|
||||
|
||||
all: $(COMPAT_TARGETS) autoconf borland mingw msvc msvc6prj watcom
|
||||
@@ -908,6 +919,8 @@ clean:
|
||||
rm -f ../../samples/wizard/Makefile.in
|
||||
rm -f ../../samples/wxtest/Makefile.in
|
||||
rm -f ../../utils/HelpGen/Makefile.in
|
||||
rm -f ../../utils/Makefile.in
|
||||
rm -f ../../utils/tex2rtf/src/Makefile.in
|
||||
rm -f ../../contrib/build/animate/makefile.bcc
|
||||
rm -f ../../contrib/build/deprecated/makefile.bcc
|
||||
rm -f ../../contrib/build/fl/makefile.bcc
|
||||
@@ -1033,6 +1046,8 @@ clean:
|
||||
rm -f ../../samples/wizard/makefile.bcc
|
||||
rm -f ../../samples/wxtest/makefile.bcc
|
||||
rm -f ../../utils/HelpGen/makefile.bcc
|
||||
rm -f ../../utils/makefile.bcc
|
||||
rm -f ../../utils/tex2rtf/src/makefile.bcc
|
||||
rm -f ../msw/makefile.bcc
|
||||
rm -f ../../contrib/build/animate/makefile.gcc
|
||||
rm -f ../../contrib/build/deprecated/makefile.gcc
|
||||
@@ -1159,6 +1174,8 @@ clean:
|
||||
rm -f ../../samples/wizard/makefile.gcc
|
||||
rm -f ../../samples/wxtest/makefile.gcc
|
||||
rm -f ../../utils/HelpGen/makefile.gcc
|
||||
rm -f ../../utils/makefile.gcc
|
||||
rm -f ../../utils/tex2rtf/src/makefile.gcc
|
||||
rm -f ../msw/makefile.gcc
|
||||
rm -f ../../contrib/build/animate/makefile.vc
|
||||
rm -f ../../contrib/build/deprecated/makefile.vc
|
||||
@@ -1285,6 +1302,8 @@ clean:
|
||||
rm -f ../../samples/wizard/makefile.vc
|
||||
rm -f ../../samples/wxtest/makefile.vc
|
||||
rm -f ../../utils/HelpGen/makefile.vc
|
||||
rm -f ../../utils/makefile.vc
|
||||
rm -f ../../utils/tex2rtf/src/makefile.vc
|
||||
rm -f ../msw/makefile.vc
|
||||
rm -f ../../contrib/build/animate/animate.dsw
|
||||
rm -f ../../contrib/build/deprecated/deprecated.dsw
|
||||
@@ -1406,6 +1425,7 @@ clean:
|
||||
rm -f ../../samples/wizard/wizard.dsw
|
||||
rm -f ../../samples/wxtest/wxtest.dsw
|
||||
rm -f ../../utils/HelpGen/helpgen.dsw
|
||||
rm -f ../../utils/tex2rtf/src/tex2rtf.dsw
|
||||
rm -f ../msw/wx.dsw
|
||||
rm -f ../../contrib/build/animate/makefile.wat
|
||||
rm -f ../../contrib/build/deprecated/makefile.wat
|
||||
@@ -1532,6 +1552,8 @@ clean:
|
||||
rm -f ../../samples/wizard/makefile.wat
|
||||
rm -f ../../samples/wxtest/makefile.wat
|
||||
rm -f ../../utils/HelpGen/makefile.wat
|
||||
rm -f ../../utils/makefile.wat
|
||||
rm -f ../../utils/tex2rtf/src/makefile.wat
|
||||
rm -f ../msw/makefile.wat
|
||||
|
||||
|
||||
@@ -4041,6 +4063,43 @@ Makefile: regenMakefile.py
|
||||
touch $@
|
||||
|
||||
|
||||
../../utils/tex2rtf/src/Makefile.in: $(SDEPS) ../../utils/tex2rtf/src/tex2rtf.bkl
|
||||
$(BAKEFILE) -fautoconf -o$@ -DWXTOPDIR=../../../ -DAUTOCONF_MACROS_FILE=../../autoconf_inc.m4 ../../utils/tex2rtf/src/tex2rtf.bkl
|
||||
touch $@
|
||||
../../utils/tex2rtf/src/makefile.bcc: $(SDEPS) ../../utils/tex2rtf/src/tex2rtf.bkl
|
||||
$(BAKEFILE) -fborland -o$@ -DWXTOPDIR=../../../ -DOPTIONS_FILE=../../../build/msw/config.bcc -DWRITE_OPTIONS_FILE=0 ../../utils/tex2rtf/src/tex2rtf.bkl
|
||||
touch $@
|
||||
../../utils/tex2rtf/src/makefile.vc: $(SDEPS) ../../utils/tex2rtf/src/tex2rtf.bkl
|
||||
$(BAKEFILE) -fmsvc -o$@ -DWXTOPDIR=../../../ -DOPTIONS_FILE=../../../build/msw/config.vc -DWRITE_OPTIONS_FILE=0 ../../utils/tex2rtf/src/tex2rtf.bkl
|
||||
touch $@
|
||||
../../utils/tex2rtf/src/makefile.gcc: $(SDEPS) ../../utils/tex2rtf/src/tex2rtf.bkl
|
||||
$(BAKEFILE) -fmingw -o$@ -DWXTOPDIR=../../../ -DOPTIONS_FILE=../../../build/msw/config.gcc -DWRITE_OPTIONS_FILE=0 ../../utils/tex2rtf/src/tex2rtf.bkl
|
||||
touch $@
|
||||
../../utils/tex2rtf/src/makefile.wat: $(SDEPS) ../../utils/tex2rtf/src/tex2rtf.bkl
|
||||
$(BAKEFILE) -fwatcom -o$@ -DWXTOPDIR=../../../ -DOPTIONS_FILE=../../../build/msw/config.wat -DWRITE_OPTIONS_FILE=0 ../../utils/tex2rtf/src/tex2rtf.bkl
|
||||
touch $@
|
||||
../../utils/tex2rtf/src/tex2rtf.dsw: $(SDEPS) ../../utils/tex2rtf/src/tex2rtf.bkl
|
||||
$(BAKEFILE) -fmsvc6prj -o$@ -DWXTOPDIR=../../../ $(DSWFLAGS) ../../utils/tex2rtf/src/tex2rtf.bkl
|
||||
touch $@
|
||||
|
||||
|
||||
../../utils/Makefile.in: ../../utils/utils.bkl
|
||||
$(BAKEFILE) -fautoconf -o$@ -DAUTOCONF_MACROS_FILE=../../autoconf_inc.m4 ../../utils/utils.bkl
|
||||
touch $@
|
||||
../../utils/makefile.bcc: ../../utils/utils.bkl
|
||||
$(BAKEFILE) -fborland -o$@ -DOPTIONS_FILE=../build/msw/config.bcc -DWRITE_OPTIONS_FILE=0 ../../utils/utils.bkl
|
||||
touch $@
|
||||
../../utils/makefile.vc: ../../utils/utils.bkl
|
||||
$(BAKEFILE) -fmsvc -o$@ -DOPTIONS_FILE=../build/msw/config.vc -DWRITE_OPTIONS_FILE=0 ../../utils/utils.bkl
|
||||
touch $@
|
||||
../../utils/makefile.gcc: ../../utils/utils.bkl
|
||||
$(BAKEFILE) -fmingw -o$@ -DOPTIONS_FILE=../build/msw/config.gcc -DWRITE_OPTIONS_FILE=0 ../../utils/utils.bkl
|
||||
touch $@
|
||||
../../utils/makefile.wat: ../../utils/utils.bkl
|
||||
$(BAKEFILE) -fwatcom -o$@ -DOPTIONS_FILE=../build/msw/config.wat -DWRITE_OPTIONS_FILE=0 ../../utils/utils.bkl
|
||||
touch $@
|
||||
|
||||
|
||||
../../Makefile.in: $(MDEPS) wx.bkl
|
||||
$(BAKEFILE) -fautoconf -o$@ wx.bkl
|
||||
touch $@
|
||||
|
@@ -17,6 +17,7 @@ DONT_GENERATE = [
|
||||
'../../samples/html/html_samples.dsw',
|
||||
'../../samples/opengl/opengl_samples.dsw',
|
||||
'../../samples/mobile/mobile_samples.dsw',
|
||||
'../../utils/utils.dsw',
|
||||
]
|
||||
|
||||
file = open('Makefile', 'wt')
|
||||
@@ -119,6 +120,14 @@ addMakefile('../../demos/demos.bkl', {'all':'../../demos'},
|
||||
'mingw':'-DOPTIONS_FILE=../build/msw/config.gcc -DWRITE_OPTIONS_FILE=0',
|
||||
'watcom':'-DOPTIONS_FILE=../build/msw/config.wat -DWRITE_OPTIONS_FILE=0',
|
||||
})
|
||||
addMakefile('../../utils/utils.bkl', {'all':'../../utils'},
|
||||
args={
|
||||
'autoconf':'-DAUTOCONF_MACROS_FILE=../../autoconf_inc.m4',
|
||||
'borland':'-DOPTIONS_FILE=../build/msw/config.bcc -DWRITE_OPTIONS_FILE=0',
|
||||
'msvc':'-DOPTIONS_FILE=../build/msw/config.vc -DWRITE_OPTIONS_FILE=0',
|
||||
'mingw':'-DOPTIONS_FILE=../build/msw/config.gcc -DWRITE_OPTIONS_FILE=0',
|
||||
'watcom':'-DOPTIONS_FILE=../build/msw/config.wat -DWRITE_OPTIONS_FILE=0',
|
||||
})
|
||||
|
||||
|
||||
CONTRIB_DIR = 1
|
||||
|
35
utils/tex2rtf/src/tex2rtf.bkl
Normal file
35
utils/tex2rtf/src/tex2rtf.bkl
Normal file
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!-- $Id$ -->
|
||||
|
||||
<makefile>
|
||||
|
||||
<include file="../../../build/bakefiles/common_samples.bkl"/>
|
||||
|
||||
<set var="TEX2RTF_SRC">
|
||||
tex2rtf.cpp
|
||||
tex2any.cpp
|
||||
texutils.cpp
|
||||
rtfutils.cpp
|
||||
xlputils.cpp
|
||||
htmlutil.cpp
|
||||
readshg.cpp
|
||||
table.cpp
|
||||
</set>
|
||||
|
||||
<exe id="tex2rtf" template="wx_util_console"
|
||||
template_append="wx_append_base">
|
||||
<define>NO_GUI</define>
|
||||
<sources>$(TEX2RTF_SRC)</sources>
|
||||
<wx-lib>base</wx-lib>
|
||||
<install-to>$(BINDIR)</install-to>
|
||||
</exe>
|
||||
|
||||
<exe id="tex2rtf_gui" template="wx_util" template_append="wx_append">
|
||||
<sources>$(TEX2RTF_SRC)</sources>
|
||||
<wx-lib>html</wx-lib>
|
||||
<wx-lib>core</wx-lib>
|
||||
<wx-lib>base</wx-lib>
|
||||
<install-to>$(BINDIR)</install-to>
|
||||
</exe>
|
||||
|
||||
</makefile>
|
Reference in New Issue
Block a user