From c7346341eb9d16c94e90d435524decd13f0ca714 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 10 Aug 2003 19:14:03 +0000 Subject: [PATCH] added tex2rtf bakefile git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- build/bakefiles/Makefile | 61 +++++++++++++++++++++++++++++++- build/bakefiles/regenMakefile.py | 9 +++++ utils/tex2rtf/src/tex2rtf.bkl | 35 ++++++++++++++++++ 3 files changed, 104 insertions(+), 1 deletion(-) create mode 100644 utils/tex2rtf/src/tex2rtf.bkl diff --git a/build/bakefiles/Makefile b/build/bakefiles/Makefile index d39aabc8cd..741ec1293f 100644 --- a/build/bakefiles/Makefile +++ b/build/bakefiles/Makefile @@ -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 $@ diff --git a/build/bakefiles/regenMakefile.py b/build/bakefiles/regenMakefile.py index 007c4d32e4..5ecc47351a 100755 --- a/build/bakefiles/regenMakefile.py +++ b/build/bakefiles/regenMakefile.py @@ -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 diff --git a/utils/tex2rtf/src/tex2rtf.bkl b/utils/tex2rtf/src/tex2rtf.bkl new file mode 100644 index 0000000000..dcd88b28ff --- /dev/null +++ b/utils/tex2rtf/src/tex2rtf.bkl @@ -0,0 +1,35 @@ + + + + + + + + + tex2rtf.cpp + tex2any.cpp + texutils.cpp + rtfutils.cpp + xlputils.cpp + htmlutil.cpp + readshg.cpp + table.cpp + + + + NO_GUI + $(TEX2RTF_SRC) + base + $(BINDIR) + + + + $(TEX2RTF_SRC) + html + core + base + $(BINDIR) + + + -- 2.45.2