Baked files with Bakefile 0.1.2 (Mac OS 10.3 Python 2.3)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# =========================================================================
|
||||
# This makefile was generated by
|
||||
# Bakefile 0.1.1 (http://bakefile.sourceforge.net)
|
||||
# Bakefile 0.1.2 (http://bakefile.sourceforge.net)
|
||||
# Do not modify, all changes will be overwritten!
|
||||
# =========================================================================
|
||||
|
||||
@@ -10,30 +10,30 @@
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
INSTALL = @INSTALL@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CXX = @CXX@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
EXEEXT = @EXEEXT@
|
||||
EXTRALIBS = @EXTRALIBS@
|
||||
EXTRALIBS_GUI = @EXTRALIBS_GUI@
|
||||
EXTRALIBS_HTML = @EXTRALIBS_HTML@
|
||||
HOST_SUFFIX = @HOST_SUFFIX@
|
||||
INSTALL_DIR = @INSTALL_DIR@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LDFLAGS_GUI = @LDFLAGS_GUI@
|
||||
NM = @NM@
|
||||
RESCOMP = @RESCOMP@
|
||||
SETFILE = @SETFILE@
|
||||
STRIP = @STRIP@
|
||||
TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
|
||||
NM = @NM@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_DIR = @INSTALL_DIR@
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
top_builddir = @top_builddir@
|
||||
bindir = @bindir@
|
||||
LDFLAGS_GUI = @LDFLAGS_GUI@
|
||||
CXX = @CXX@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
TOOLKIT = @TOOLKIT@
|
||||
TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
|
||||
TOOLKIT_VERSION = @TOOLKIT_VERSION@
|
||||
bindir = @bindir@
|
||||
srcdir = @srcdir@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
|
||||
EXTRALIBS = @EXTRALIBS@
|
||||
EXTRALIBS_HTML = @EXTRALIBS_HTML@
|
||||
EXTRALIBS_GUI = @EXTRALIBS_GUI@
|
||||
HOST_SUFFIX = @HOST_SUFFIX@
|
||||
|
||||
### Variables: ###
|
||||
|
||||
@@ -41,6 +41,15 @@ DESTDIR =
|
||||
LIBDIRNAME = $(top_builddir)lib
|
||||
TEX2RTF_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \
|
||||
$(__DLLFLAG_p) -DNO_GUI $(CPPFLAGS) $(CXXFLAGS)
|
||||
TEX2RTF_OBJECTS = \
|
||||
tex2rtf_tex2rtf.o \
|
||||
tex2rtf_tex2any.o \
|
||||
tex2rtf_texutils.o \
|
||||
tex2rtf_rtfutils.o \
|
||||
tex2rtf_xlputils.o \
|
||||
tex2rtf_htmlutil.o \
|
||||
tex2rtf_readshg.o \
|
||||
tex2rtf_table.o
|
||||
TEX2RTF_GUI_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \
|
||||
$(__DLLFLAG_p) -I$(srcdir)/../../../samples $(CPPFLAGS) $(CXXFLAGS)
|
||||
TEX2RTF_GUI_OBJECTS = \
|
||||
@@ -54,15 +63,6 @@ TEX2RTF_GUI_OBJECTS = \
|
||||
tex2rtf_gui_htmlutil.o \
|
||||
tex2rtf_gui_readshg.o \
|
||||
tex2rtf_gui_table.o
|
||||
TEX2RTF_OBJECTS = \
|
||||
tex2rtf_tex2rtf.o \
|
||||
tex2rtf_tex2any.o \
|
||||
tex2rtf_texutils.o \
|
||||
tex2rtf_rtfutils.o \
|
||||
tex2rtf_xlputils.o \
|
||||
tex2rtf_htmlutil.o \
|
||||
tex2rtf_readshg.o \
|
||||
tex2rtf_table.o
|
||||
|
||||
### Conditionally set variables: ###
|
||||
|
||||
@@ -75,52 +75,16 @@ TEX2RTF_OBJECTS = \
|
||||
@COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
|
||||
@COND_UNICODE_1@WXUNICODEFLAG = u
|
||||
@COND_WXUNIV_1@WXUNIVNAME = univ
|
||||
@COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
|
||||
@COND_SHARED_1@__DLLFLAG_p_4 = -d WXUSINGDLL
|
||||
@COND_SHARED_1@__DLLFLAG_p_5 = --define WXUSINGDLL
|
||||
@COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
|
||||
@COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
|
||||
@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
|
||||
@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
|
||||
@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX)
|
||||
@COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
|
||||
@COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX)
|
||||
@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
|
||||
@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
|
||||
@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
|
||||
@COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \
|
||||
@COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXDEBUGFLAG)$(HOST_SUFFIX)
|
||||
@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
|
||||
@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
|
||||
@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
|
||||
@COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
|
||||
@COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)
|
||||
COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
|
||||
__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_4) -i $(srcdir) $(__DLLFLAG_p_4) -i \
|
||||
$(srcdir)/../../../samples -o tex2rtf_gui$(EXEEXT) Carbon.r \
|
||||
$(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.r sample.r
|
||||
@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
|
||||
@COND_MONOLITHIC_0@__WXLIB_BASE_p = \
|
||||
@COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
|
||||
COND_MONOLITHIC_0___WXLIB_CORE_p = \
|
||||
-lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5$(HOST_SUFFIX)
|
||||
@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
|
||||
COND_MONOLITHIC_0___WXLIB_HTML_p = \
|
||||
-lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html-2.5$(HOST_SUFFIX)
|
||||
@COND_MONOLITHIC_0@__WXLIB_HTML_p = $(COND_MONOLITHIC_0___WXLIB_HTML_p)
|
||||
COND_MONOLITHIC_1___WXLIB_MONO_p = \
|
||||
-lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
|
||||
@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
|
||||
@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
|
||||
@COND_WXUNIV_1@__WXUNIV_DEFINE_p_4 = -d __WXUNIVERSAL__
|
||||
@COND_WXUNIV_1@__WXUNIV_DEFINE_p_5 = --define __WXUNIVERSAL__
|
||||
@COND_USE_GUI_1@__install_tex2rtf_gui___depname = install_tex2rtf_gui
|
||||
@COND_PLATFORM_MAC_1@__tex2rtf___mac_setfilecmd = \
|
||||
@COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL tex2rtf$(EXEEXT)
|
||||
@COND_USE_GUI_1@__tex2rtf_gui___depname = tex2rtf_gui$(EXEEXT)
|
||||
@COND_PLATFORM_MAC_1@__tex2rtf_gui___mac_rezcmd = $(__MACOSX_RESOURCES_p_1)
|
||||
@COND_PLATFORM_MAC_1@__tex2rtf_gui___mac_setfilecmd = \
|
||||
@COND_PLATFORM_MAC_1@ $(SETFILE) -a C tex2rtf_gui$(EXEEXT)
|
||||
@COND_PLATFORM_MAC_1@__tex2rtf_gui___mac_rezcmd = $(__MACOSX_RESOURCES_p_1)
|
||||
@COND_WXUNIV_1@__WXUNIV_DEFINE_p_4 = -d __WXUNIVERSAL__
|
||||
@COND_WXUNIV_1@__WXUNIV_DEFINE_p_5 = --define __WXUNIVERSAL__
|
||||
@COND_SHARED_1@__DLLFLAG_p_4 = -d WXUSINGDLL
|
||||
@COND_SHARED_1@__DLLFLAG_p_5 = --define WXUSINGDLL
|
||||
COND_PLATFORM_OS2_1___tex2rtf_gui___os2_emxbindcmd = $(NM) \
|
||||
tex2rtf_gui$(EXEEXT) | if grep -q pmwin.763 ; then emxbind -ep \
|
||||
tex2rtf_gui$(EXEEXT) ; fi
|
||||
@@ -128,11 +92,55 @@ COND_PLATFORM_OS2_1___tex2rtf_gui___os2_emxbindcmd = $(NM) \
|
||||
@COND_PLATFORM_WIN32_1@__tex2rtf_gui___win32rc = tex2rtf_gui_sample_rc.o
|
||||
@COND_PLATFORM_OS2_1@__tex2rtf_gui_os2_lib_res = \
|
||||
@COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res
|
||||
COND_MONOLITHIC_0___WXLIB_HTML_p = \
|
||||
-lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html-2.5$(HOST_SUFFIX)
|
||||
@COND_MONOLITHIC_0@__WXLIB_HTML_p = $(COND_MONOLITHIC_0___WXLIB_HTML_p)
|
||||
COND_MONOLITHIC_0___WXLIB_CORE_p = \
|
||||
-lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5$(HOST_SUFFIX)
|
||||
@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
|
||||
@COND_USE_GUI_1@__install_tex2rtf_gui___depname = install_tex2rtf_gui
|
||||
COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
|
||||
__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_4) -i $(srcdir) $(__DLLFLAG_p_4) -i \
|
||||
$(srcdir)/../../../samples -o tex2rtf_gui$(EXEEXT) Carbon.r \
|
||||
$(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.r sample.r
|
||||
@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
|
||||
@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
|
||||
@COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
|
||||
@COND_MONOLITHIC_0@__WXLIB_BASE_p = \
|
||||
@COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
|
||||
COND_MONOLITHIC_1___WXLIB_MONO_p = \
|
||||
-lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
|
||||
@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
|
||||
@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
|
||||
@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
|
||||
@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
|
||||
@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
|
||||
@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
|
||||
@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX)
|
||||
@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
|
||||
@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
|
||||
@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
|
||||
@COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
|
||||
@COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)
|
||||
@COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
|
||||
@COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX)
|
||||
@COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \
|
||||
@COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXDEBUGFLAG)$(HOST_SUFFIX)
|
||||
@COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
|
||||
@COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
|
||||
|
||||
### Targets: ###
|
||||
|
||||
all: tex2rtf$(EXEEXT) $(__tex2rtf_gui___depname)
|
||||
|
||||
install: all install_tex2rtf $(__install_tex2rtf_gui___depname)
|
||||
|
||||
uninstall:
|
||||
|
||||
install-strip: install
|
||||
$(STRIP) $(DESTDIR)$(bindir)/tex2rtf$(EXEEXT)
|
||||
$(STRIP) $(DESTDIR)$(bindir)/tex2rtf_gui$(EXEEXT)
|
||||
|
||||
clean:
|
||||
rm -rf ./.deps ./.pch
|
||||
rm -f ./*.o
|
||||
@@ -142,57 +150,39 @@ clean:
|
||||
distclean: clean
|
||||
rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
|
||||
|
||||
install: all install_tex2rtf $(__install_tex2rtf_gui___depname)
|
||||
|
||||
install-strip: install
|
||||
$(STRIP) $(DESTDIR)$(bindir)/tex2rtf$(EXEEXT)
|
||||
$(STRIP) $(DESTDIR)$(bindir)/tex2rtf_gui$(EXEEXT)
|
||||
|
||||
install_tex2rtf:
|
||||
$(INSTALL_DIR) $(DESTDIR)$(bindir)
|
||||
$(INSTALL_PROGRAM) tex2rtf$(EXEEXT) $(DESTDIR)$(bindir)
|
||||
|
||||
@COND_USE_GUI_1@install_tex2rtf_gui:
|
||||
@COND_USE_GUI_1@ $(INSTALL_DIR) $(DESTDIR)$(bindir)
|
||||
@COND_USE_GUI_1@ $(INSTALL_PROGRAM) tex2rtf_gui$(EXEEXT) $(DESTDIR)$(bindir)
|
||||
|
||||
tex2rtf$(EXEEXT): $(TEX2RTF_OBJECTS)
|
||||
$(CXX) -o $@ $(TEX2RTF_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS)
|
||||
|
||||
$(__tex2rtf___mac_setfilecmd)
|
||||
|
||||
install_tex2rtf:
|
||||
$(INSTALL_DIR) $(DESTDIR)$(bindir)
|
||||
$(INSTALL_PROGRAM) tex2rtf$(EXEEXT) $(DESTDIR)$(bindir)
|
||||
|
||||
@COND_USE_GUI_1@tex2rtf_gui$(EXEEXT): $(TEX2RTF_GUI_OBJECTS) $(__tex2rtf_gui___win32rc)
|
||||
@COND_USE_GUI_1@ $(CXX) -o $@ $(TEX2RTF_GUI_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(__WXLIB_HTML_p) $(EXTRALIBS_HTML) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS) $(EXTRALIBS_GUI)
|
||||
@COND_USE_GUI_1@ $(__tex2rtf_gui___mac_rezcmd)
|
||||
@COND_USE_GUI_1@ $(__tex2rtf_gui___mac_setfilecmd)
|
||||
@COND_USE_GUI_1@ $(__tex2rtf_gui___os2_emxbindcmd)
|
||||
|
||||
tex2rtf_gui_htmlutil.o: $(srcdir)/htmlutil.cpp
|
||||
$(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
@COND_USE_GUI_1@install_tex2rtf_gui:
|
||||
@COND_USE_GUI_1@ $(INSTALL_DIR) $(DESTDIR)$(bindir)
|
||||
@COND_USE_GUI_1@ $(INSTALL_PROGRAM) tex2rtf_gui$(EXEEXT) $(DESTDIR)$(bindir)
|
||||
|
||||
tex2rtf_gui_readshg.o: $(srcdir)/readshg.cpp
|
||||
$(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
tex2rtf_tex2rtf.o: $(srcdir)/tex2rtf.cpp
|
||||
$(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
tex2rtf_gui_rtfutils.o: $(srcdir)/rtfutils.cpp
|
||||
$(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
tex2rtf_tex2any.o: $(srcdir)/tex2any.cpp
|
||||
$(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
tex2rtf_gui_sample_rc.o: $(srcdir)/../../../samples/sample.rc
|
||||
$(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_5) --include-dir $(srcdir) $(__DLLFLAG_p_5) --include-dir $(srcdir)/../../../samples
|
||||
tex2rtf_texutils.o: $(srcdir)/texutils.cpp
|
||||
$(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
tex2rtf_gui_table.o: $(srcdir)/table.cpp
|
||||
$(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
tex2rtf_rtfutils.o: $(srcdir)/rtfutils.cpp
|
||||
$(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
tex2rtf_gui_tex2any.o: $(srcdir)/tex2any.cpp
|
||||
$(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
tex2rtf_gui_tex2rtf.o: $(srcdir)/tex2rtf.cpp
|
||||
$(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
tex2rtf_gui_texutils.o: $(srcdir)/texutils.cpp
|
||||
$(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
tex2rtf_gui_xlputils.o: $(srcdir)/xlputils.cpp
|
||||
$(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
tex2rtf_xlputils.o: $(srcdir)/xlputils.cpp
|
||||
$(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
tex2rtf_htmlutil.o: $(srcdir)/htmlutil.cpp
|
||||
$(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
|
||||
@@ -200,28 +190,38 @@ tex2rtf_htmlutil.o: $(srcdir)/htmlutil.cpp
|
||||
tex2rtf_readshg.o: $(srcdir)/readshg.cpp
|
||||
$(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
tex2rtf_rtfutils.o: $(srcdir)/rtfutils.cpp
|
||||
$(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
tex2rtf_table.o: $(srcdir)/table.cpp
|
||||
$(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
tex2rtf_tex2any.o: $(srcdir)/tex2any.cpp
|
||||
$(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
|
||||
tex2rtf_gui_sample_rc.o: $(srcdir)/../../../samples/sample.rc
|
||||
$(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_5) --include-dir $(srcdir) $(__DLLFLAG_p_5) --include-dir $(srcdir)/../../../samples
|
||||
|
||||
tex2rtf_tex2rtf.o: $(srcdir)/tex2rtf.cpp
|
||||
$(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
|
||||
tex2rtf_gui_tex2rtf.o: $(srcdir)/tex2rtf.cpp
|
||||
$(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
tex2rtf_texutils.o: $(srcdir)/texutils.cpp
|
||||
$(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
|
||||
tex2rtf_gui_tex2any.o: $(srcdir)/tex2any.cpp
|
||||
$(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
tex2rtf_xlputils.o: $(srcdir)/xlputils.cpp
|
||||
$(CXXC) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
|
||||
tex2rtf_gui_texutils.o: $(srcdir)/texutils.cpp
|
||||
$(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
uninstall:
|
||||
tex2rtf_gui_rtfutils.o: $(srcdir)/rtfutils.cpp
|
||||
$(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
tex2rtf_gui_xlputils.o: $(srcdir)/xlputils.cpp
|
||||
$(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
tex2rtf_gui_htmlutil.o: $(srcdir)/htmlutil.cpp
|
||||
$(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
tex2rtf_gui_readshg.o: $(srcdir)/readshg.cpp
|
||||
$(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
tex2rtf_gui_table.o: $(srcdir)/table.cpp
|
||||
$(CXXC) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
|
||||
# Include dependency info, if present:
|
||||
@IF_GNU_MAKE@-include .deps/*.d
|
||||
|
||||
.PHONY: all clean distclean install install_tex2rtf install_tex2rtf_gui uninstall
|
||||
.PHONY: all install uninstall clean distclean install_tex2rtf install_tex2rtf_gui
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# =========================================================================
|
||||
# This makefile was generated by
|
||||
# Bakefile 0.1.1 (http://bakefile.sourceforge.net)
|
||||
# Bakefile 0.1.2 (http://bakefile.sourceforge.net)
|
||||
# Do not modify, all changes will be overwritten!
|
||||
# =========================================================================
|
||||
|
||||
@@ -25,11 +25,20 @@ OBJS = \
|
||||
bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
|
||||
SETUPHDIR = \
|
||||
$(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
|
||||
TEX2RTF_CXXFLAGS = $(__RUNTIME_LIBS_0) -I$(BCCDIR)\include $(__DEBUGINFO) \
|
||||
TEX2RTF_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
|
||||
$(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
|
||||
$(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
|
||||
-DNO_GUI $(CPPFLAGS) $(CXXFLAGS)
|
||||
TEX2RTF_GUI_CXXFLAGS = $(__RUNTIME_LIBS_0) -I$(BCCDIR)\include $(__DEBUGINFO) \
|
||||
TEX2RTF_OBJECTS = \
|
||||
$(OBJS)\tex2rtf_tex2rtf.obj \
|
||||
$(OBJS)\tex2rtf_tex2any.obj \
|
||||
$(OBJS)\tex2rtf_texutils.obj \
|
||||
$(OBJS)\tex2rtf_rtfutils.obj \
|
||||
$(OBJS)\tex2rtf_xlputils.obj \
|
||||
$(OBJS)\tex2rtf_htmlutil.obj \
|
||||
$(OBJS)\tex2rtf_readshg.obj \
|
||||
$(OBJS)\tex2rtf_table.obj
|
||||
TEX2RTF_GUI_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
|
||||
$(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
|
||||
$(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -I. $(__DLLFLAG_p) \
|
||||
-I.\..\..\..\samples $(CPPFLAGS) $(CXXFLAGS)
|
||||
@@ -42,24 +51,9 @@ TEX2RTF_GUI_OBJECTS = \
|
||||
$(OBJS)\tex2rtf_gui_htmlutil.obj \
|
||||
$(OBJS)\tex2rtf_gui_readshg.obj \
|
||||
$(OBJS)\tex2rtf_gui_table.obj
|
||||
TEX2RTF_OBJECTS = \
|
||||
$(OBJS)\tex2rtf_tex2rtf.obj \
|
||||
$(OBJS)\tex2rtf_tex2any.obj \
|
||||
$(OBJS)\tex2rtf_texutils.obj \
|
||||
$(OBJS)\tex2rtf_rtfutils.obj \
|
||||
$(OBJS)\tex2rtf_xlputils.obj \
|
||||
$(OBJS)\tex2rtf_htmlutil.obj \
|
||||
$(OBJS)\tex2rtf_readshg.obj \
|
||||
$(OBJS)\tex2rtf_table.obj
|
||||
|
||||
### Conditionally set variables: ###
|
||||
|
||||
!if "$(SHARED)" == "0"
|
||||
LIBDIRNAME = .\..\..\..\lib\bcc_lib$(CFG)
|
||||
!endif
|
||||
!if "$(SHARED)" == "1"
|
||||
LIBDIRNAME = .\..\..\..\lib\bcc_dll$(CFG)
|
||||
!endif
|
||||
!if "$(USE_GUI)" == "0"
|
||||
PORTNAME = base
|
||||
!endif
|
||||
@@ -72,15 +66,99 @@ WXDEBUGFLAG = d
|
||||
!if "$(DEBUG_FLAG)" == "1"
|
||||
WXDEBUGFLAG = d
|
||||
!endif
|
||||
!if "$(SHARED)" == "1"
|
||||
WXDLLFLAG = dll
|
||||
!endif
|
||||
!if "$(UNICODE)" == "1"
|
||||
WXUNICODEFLAG = u
|
||||
!endif
|
||||
!if "$(WXUNIV)" == "1"
|
||||
WXUNIVNAME = univ
|
||||
!endif
|
||||
!if "$(SHARED)" == "1"
|
||||
WXDLLFLAG = dll
|
||||
!endif
|
||||
!if "$(USE_GUI)" == "1"
|
||||
__tex2rtf_gui___depname = $(OBJS)\tex2rtf_gui.exe
|
||||
!endif
|
||||
!if "$(WXUNIV)" == "1"
|
||||
__WXUNIV_DEFINE_p_3 = -d__WXUNIVERSAL__
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
|
||||
__DEBUG_DEFINE_p_3 = -d__WXDEBUG__
|
||||
!endif
|
||||
!if "$(DEBUG_FLAG)" == "1"
|
||||
__DEBUG_DEFINE_p_3 = -d__WXDEBUG__
|
||||
!endif
|
||||
!if "$(UNICODE)" == "1"
|
||||
__UNICODE_DEFINE_p_3 = -d_UNICODE
|
||||
!endif
|
||||
!if "$(SHARED)" == "1"
|
||||
__DLLFLAG_p_3 = -dWXUSINGDLL
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "0"
|
||||
__WXLIB_HTML_p = \
|
||||
wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "0"
|
||||
__WXLIB_CORE_p = \
|
||||
wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug"
|
||||
__OPTIMIZEFLAG = -Od
|
||||
!endif
|
||||
!if "$(BUILD)" == "release"
|
||||
__OPTIMIZEFLAG = -O2
|
||||
!endif
|
||||
!if "$(RUNTIME_LIBS)" == "dynamic"
|
||||
__RUNTIME_LIBS = -tWR
|
||||
!endif
|
||||
!if "$(RUNTIME_LIBS)" == "static"
|
||||
__RUNTIME_LIBS =
|
||||
!endif
|
||||
!if "$(RUNTIME_LIBS)" == "dynamic"
|
||||
__RUNTIME_LIBS_0 = i
|
||||
!endif
|
||||
!if "$(RUNTIME_LIBS)" == "static"
|
||||
__RUNTIME_LIBS_0 =
|
||||
!endif
|
||||
!if "$(WXUNIV)" == "1"
|
||||
__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
|
||||
__DEBUG_DEFINE_p = -D__WXDEBUG__
|
||||
!endif
|
||||
!if "$(DEBUG_FLAG)" == "1"
|
||||
__DEBUG_DEFINE_p = -D__WXDEBUG__
|
||||
!endif
|
||||
!if "$(UNICODE)" == "1"
|
||||
__UNICODE_DEFINE_p = -D_UNICODE
|
||||
!endif
|
||||
!if "$(SHARED)" == "0"
|
||||
LIBDIRNAME = .\..\..\..\lib\bcc_lib$(CFG)
|
||||
!endif
|
||||
!if "$(SHARED)" == "1"
|
||||
LIBDIRNAME = .\..\..\..\lib\bcc_dll$(CFG)
|
||||
!endif
|
||||
!if "$(SHARED)" == "1"
|
||||
__DLLFLAG_p = -DWXUSINGDLL
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "0"
|
||||
__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "1"
|
||||
__WXLIB_MONO_p = \
|
||||
wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
!if "$(USE_GUI)" == "1"
|
||||
__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
!if "$(USE_GUI)" == "1"
|
||||
__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
!if "$(USE_GUI)" == "1"
|
||||
__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
!if "$(MSLU)" == "1"
|
||||
__UNICOWS_LIB_p = unicows.lib
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
|
||||
__DEBUGINFO = -v
|
||||
!endif
|
||||
@@ -93,84 +171,6 @@ __DEBUGINFO = -v-
|
||||
!if "$(DEBUG_INFO)" == "1"
|
||||
__DEBUGINFO = -v
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
|
||||
__DEBUG_DEFINE_p = -D__WXDEBUG__
|
||||
!endif
|
||||
!if "$(DEBUG_FLAG)" == "1"
|
||||
__DEBUG_DEFINE_p = -D__WXDEBUG__
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
|
||||
__DEBUG_DEFINE_p_3 = -d__WXDEBUG__
|
||||
!endif
|
||||
!if "$(DEBUG_FLAG)" == "1"
|
||||
__DEBUG_DEFINE_p_3 = -d__WXDEBUG__
|
||||
!endif
|
||||
!if "$(SHARED)" == "1"
|
||||
__DLLFLAG_p = -DWXUSINGDLL
|
||||
!endif
|
||||
!if "$(SHARED)" == "1"
|
||||
__DLLFLAG_p_3 = -dWXUSINGDLL
|
||||
!endif
|
||||
!if "$(USE_GUI)" == "1"
|
||||
__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
!if "$(USE_GUI)" == "1"
|
||||
__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
!if "$(USE_GUI)" == "1"
|
||||
__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug"
|
||||
__OPTIMIZEFLAG = -Od
|
||||
!endif
|
||||
!if "$(BUILD)" == "release"
|
||||
__OPTIMIZEFLAG = -O2
|
||||
!endif
|
||||
!if "$(RUNTIME_LIBS)" == "dynamic"
|
||||
__RUNTIME_LIBS = i
|
||||
!endif
|
||||
!if "$(RUNTIME_LIBS)" == "static"
|
||||
__RUNTIME_LIBS =
|
||||
!endif
|
||||
!if "$(RUNTIME_LIBS)" == "dynamic"
|
||||
__RUNTIME_LIBS_0 = -tWR
|
||||
!endif
|
||||
!if "$(RUNTIME_LIBS)" == "static"
|
||||
__RUNTIME_LIBS_0 =
|
||||
!endif
|
||||
!if "$(UNICODE)" == "1"
|
||||
__UNICODE_DEFINE_p = -D_UNICODE
|
||||
!endif
|
||||
!if "$(UNICODE)" == "1"
|
||||
__UNICODE_DEFINE_p_3 = -d_UNICODE
|
||||
!endif
|
||||
!if "$(MSLU)" == "1"
|
||||
__UNICOWS_LIB_p = unicows.lib
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "0"
|
||||
__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "0"
|
||||
__WXLIB_CORE_p = \
|
||||
wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "0"
|
||||
__WXLIB_HTML_p = \
|
||||
wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "1"
|
||||
__WXLIB_MONO_p = \
|
||||
wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
!if "$(WXUNIV)" == "1"
|
||||
__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
|
||||
!endif
|
||||
!if "$(WXUNIV)" == "1"
|
||||
__WXUNIV_DEFINE_p_3 = -d__WXUNIVERSAL__
|
||||
!endif
|
||||
!if "$(USE_GUI)" == "1"
|
||||
__tex2rtf_gui___depname = $(OBJS)\tex2rtf_gui.exe
|
||||
!endif
|
||||
|
||||
|
||||
all: $(OBJS)
|
||||
@@ -181,57 +181,6 @@ $(OBJS):
|
||||
|
||||
all: $(OBJS)\tex2rtf.exe $(__tex2rtf_gui___depname)
|
||||
|
||||
$(OBJS)\tex2rtf_gui_htmlutil.obj: .\htmlutil.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_readshg.obj: .\readshg.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_rtfutils.obj: .\rtfutils.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_sample.res: .\..\..\..\samples\sample.rc
|
||||
brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_3) $(__DEBUG_DEFINE_p_3) $(__UNICODE_DEFINE_p_3) -i.\..\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_3) -i.\..\..\..\samples $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_table.obj: .\table.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_tex2any.obj: .\tex2any.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_tex2rtf.obj: .\tex2rtf.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_texutils.obj: .\texutils.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_xlputils.obj: .\xlputils.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_htmlutil.obj: .\htmlutil.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_readshg.obj: .\readshg.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_rtfutils.obj: .\rtfutils.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_table.obj: .\table.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_tex2any.obj: .\tex2any.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_tex2rtf.obj: .\tex2rtf.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_texutils.obj: .\texutils.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_xlputils.obj: .\xlputils.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
|
||||
|
||||
clean:
|
||||
-if exist $(OBJS)\*.obj del $(OBJS)\*.obj
|
||||
-if exist $(OBJS)\*.res del $(OBJS)\*.res
|
||||
@@ -250,12 +199,63 @@ clean:
|
||||
|
||||
$(OBJS)\tex2rtf.exe: $(TEX2RTF_OBJECTS)
|
||||
ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap @&&|
|
||||
c0x32.obj $(TEX2RTF_OBJECTS),$@,, $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32mt$(__RUNTIME_LIBS).lib,,
|
||||
c0x32.obj $(TEX2RTF_OBJECTS),$@,, $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32mt$(__RUNTIME_LIBS_0).lib,,
|
||||
|
|
||||
|
||||
!if "$(USE_GUI)" == "1"
|
||||
$(OBJS)\tex2rtf_gui.exe: $(TEX2RTF_GUI_OBJECTS) $(OBJS)\tex2rtf_gui_sample.res
|
||||
ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
|
||||
c0w32.obj $(TEX2RTF_GUI_OBJECTS),$@,, $(__WXLIB_HTML_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32mt$(__RUNTIME_LIBS).lib,, $(OBJS)\tex2rtf_gui_sample.res
|
||||
c0w32.obj $(TEX2RTF_GUI_OBJECTS),$@,, $(__WXLIB_HTML_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32mt$(__RUNTIME_LIBS_0).lib,, $(OBJS)\tex2rtf_gui_sample.res
|
||||
|
|
||||
!endif
|
||||
|
||||
$(OBJS)\tex2rtf_tex2rtf.obj: .\tex2rtf.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_tex2any.obj: .\tex2any.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_texutils.obj: .\texutils.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_rtfutils.obj: .\rtfutils.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_xlputils.obj: .\xlputils.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_htmlutil.obj: .\htmlutil.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_readshg.obj: .\readshg.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_table.obj: .\table.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEX2RTF_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_sample.res: .\..\..\..\samples\sample.rc
|
||||
brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_3) $(__DEBUG_DEFINE_p_3) $(__UNICODE_DEFINE_p_3) -i.\..\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_3) -i.\..\..\..\samples $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_tex2rtf.obj: .\tex2rtf.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_tex2any.obj: .\tex2any.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_texutils.obj: .\texutils.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_rtfutils.obj: .\rtfutils.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_xlputils.obj: .\xlputils.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_htmlutil.obj: .\htmlutil.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_readshg.obj: .\readshg.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_table.obj: .\table.cpp
|
||||
$(CXX) -q -c -P -o$@ $(TEX2RTF_GUI_CXXFLAGS) $**
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# =========================================================================
|
||||
# This makefile was generated by
|
||||
# Bakefile 0.1.1 (http://bakefile.sourceforge.net)
|
||||
# Bakefile 0.1.2 (http://bakefile.sourceforge.net)
|
||||
# Do not modify, all changes will be overwritten!
|
||||
# =========================================================================
|
||||
|
||||
@@ -19,12 +19,21 @@ SETUPHDIR = \
|
||||
TEX2RTF_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H \
|
||||
-D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
|
||||
-I.\..\..\..\include -I$(SETUPHDIR) -Wall -I. $(__DLLFLAG_p) -DNO_GUI \
|
||||
$(__EXCEPTIONSFLAG_0) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
|
||||
$(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
|
||||
TEX2RTF_OBJECTS = \
|
||||
$(OBJS)\tex2rtf_tex2rtf.o \
|
||||
$(OBJS)\tex2rtf_tex2any.o \
|
||||
$(OBJS)\tex2rtf_texutils.o \
|
||||
$(OBJS)\tex2rtf_rtfutils.o \
|
||||
$(OBJS)\tex2rtf_xlputils.o \
|
||||
$(OBJS)\tex2rtf_htmlutil.o \
|
||||
$(OBJS)\tex2rtf_readshg.o \
|
||||
$(OBJS)\tex2rtf_table.o
|
||||
TEX2RTF_GUI_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
|
||||
-DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
|
||||
$(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -Wall -I. \
|
||||
$(__DLLFLAG_p) -I.\..\..\..\samples $(__EXCEPTIONSFLAG_0) \
|
||||
$(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
|
||||
$(__DLLFLAG_p) -I.\..\..\..\samples $(__EXCEPTIONSFLAG) \
|
||||
$(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
|
||||
TEX2RTF_GUI_OBJECTS = \
|
||||
$(OBJS)\tex2rtf_gui_sample_rc.o \
|
||||
$(OBJS)\tex2rtf_gui_tex2rtf.o \
|
||||
@@ -35,27 +44,12 @@ TEX2RTF_GUI_OBJECTS = \
|
||||
$(OBJS)\tex2rtf_gui_htmlutil.o \
|
||||
$(OBJS)\tex2rtf_gui_readshg.o \
|
||||
$(OBJS)\tex2rtf_gui_table.o
|
||||
TEX2RTF_OBJECTS = \
|
||||
$(OBJS)\tex2rtf_tex2rtf.o \
|
||||
$(OBJS)\tex2rtf_tex2any.o \
|
||||
$(OBJS)\tex2rtf_texutils.o \
|
||||
$(OBJS)\tex2rtf_rtfutils.o \
|
||||
$(OBJS)\tex2rtf_xlputils.o \
|
||||
$(OBJS)\tex2rtf_htmlutil.o \
|
||||
$(OBJS)\tex2rtf_readshg.o \
|
||||
$(OBJS)\tex2rtf_table.o
|
||||
|
||||
### Conditionally set variables: ###
|
||||
|
||||
ifeq ($(GCC_VERSION),2.95)
|
||||
GCCFLAGS = -fvtable-thunks
|
||||
endif
|
||||
ifeq ($(SHARED),0)
|
||||
LIBDIRNAME = .\..\..\..\lib\gcc_lib$(CFG)
|
||||
endif
|
||||
ifeq ($(SHARED),1)
|
||||
LIBDIRNAME = .\..\..\..\lib\gcc_dll$(CFG)
|
||||
endif
|
||||
ifeq ($(USE_GUI),0)
|
||||
PORTNAME = base
|
||||
endif
|
||||
@@ -70,15 +64,103 @@ endif
|
||||
ifeq ($(DEBUG_FLAG),1)
|
||||
WXDEBUGFLAG = d
|
||||
endif
|
||||
ifeq ($(SHARED),1)
|
||||
WXDLLFLAG = dll
|
||||
endif
|
||||
ifeq ($(UNICODE),1)
|
||||
WXUNICODEFLAG = u
|
||||
endif
|
||||
ifeq ($(WXUNIV),1)
|
||||
WXUNIVNAME = univ
|
||||
endif
|
||||
ifeq ($(SHARED),1)
|
||||
WXDLLFLAG = dll
|
||||
endif
|
||||
ifeq ($(USE_GUI),1)
|
||||
__tex2rtf_gui___depname = $(OBJS)\tex2rtf_gui.exe
|
||||
endif
|
||||
ifeq ($(WXUNIV),1)
|
||||
__WXUNIV_DEFINE_p_3 = --define __WXUNIVERSAL__
|
||||
endif
|
||||
ifeq ($(BUILD),debug)
|
||||
ifeq ($(DEBUG_FLAG),default)
|
||||
__DEBUG_DEFINE_p_3 = --define __WXDEBUG__
|
||||
endif
|
||||
endif
|
||||
ifeq ($(DEBUG_FLAG),1)
|
||||
__DEBUG_DEFINE_p_3 = --define __WXDEBUG__
|
||||
endif
|
||||
ifeq ($(UNICODE),1)
|
||||
__UNICODE_DEFINE_p_3 = --define _UNICODE
|
||||
endif
|
||||
ifeq ($(SHARED),1)
|
||||
__DLLFLAG_p_3 = --define WXUSINGDLL
|
||||
endif
|
||||
ifeq ($(MONOLITHIC),0)
|
||||
__WXLIB_HTML_p = \
|
||||
-lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html
|
||||
endif
|
||||
ifeq ($(MONOLITHIC),0)
|
||||
__WXLIB_CORE_p = \
|
||||
-lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
|
||||
endif
|
||||
ifeq ($(BUILD),debug)
|
||||
__OPTIMIZEFLAG = -O0
|
||||
endif
|
||||
ifeq ($(BUILD),release)
|
||||
__OPTIMIZEFLAG = -O2
|
||||
endif
|
||||
ifeq ($(USE_EXCEPTIONS),0)
|
||||
__EXCEPTIONSFLAG = -fno-rtti
|
||||
endif
|
||||
ifeq ($(USE_EXCEPTIONS),1)
|
||||
__EXCEPTIONSFLAG =
|
||||
endif
|
||||
ifeq ($(USE_EXCEPTIONS),0)
|
||||
__EXCEPTIONSFLAG_0 = -fno-exceptions
|
||||
endif
|
||||
ifeq ($(USE_EXCEPTIONS),1)
|
||||
__EXCEPTIONSFLAG_0 =
|
||||
endif
|
||||
ifeq ($(WXUNIV),1)
|
||||
__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
|
||||
endif
|
||||
ifeq ($(BUILD),debug)
|
||||
ifeq ($(DEBUG_FLAG),default)
|
||||
__DEBUG_DEFINE_p = -D__WXDEBUG__
|
||||
endif
|
||||
endif
|
||||
ifeq ($(DEBUG_FLAG),1)
|
||||
__DEBUG_DEFINE_p = -D__WXDEBUG__
|
||||
endif
|
||||
ifeq ($(UNICODE),1)
|
||||
__UNICODE_DEFINE_p = -D_UNICODE
|
||||
endif
|
||||
ifeq ($(SHARED),0)
|
||||
LIBDIRNAME = .\..\..\..\lib\gcc_lib$(CFG)
|
||||
endif
|
||||
ifeq ($(SHARED),1)
|
||||
LIBDIRNAME = .\..\..\..\lib\gcc_dll$(CFG)
|
||||
endif
|
||||
ifeq ($(SHARED),1)
|
||||
__DLLFLAG_p = -DWXUSINGDLL
|
||||
endif
|
||||
ifeq ($(MONOLITHIC),0)
|
||||
__WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
|
||||
endif
|
||||
ifeq ($(MONOLITHIC),1)
|
||||
__WXLIB_MONO_p = \
|
||||
-lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
|
||||
endif
|
||||
ifeq ($(USE_GUI),1)
|
||||
__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
|
||||
endif
|
||||
ifeq ($(USE_GUI),1)
|
||||
__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
|
||||
endif
|
||||
ifeq ($(USE_GUI),1)
|
||||
__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
|
||||
endif
|
||||
ifeq ($(MSLU),1)
|
||||
__UNICOWS_LIB_p = -lunicows
|
||||
endif
|
||||
ifeq ($(BUILD),debug)
|
||||
ifeq ($(DEBUG_INFO),default)
|
||||
__DEBUGINFO = -g
|
||||
@@ -95,88 +177,6 @@ endif
|
||||
ifeq ($(DEBUG_INFO),1)
|
||||
__DEBUGINFO = -g
|
||||
endif
|
||||
ifeq ($(BUILD),debug)
|
||||
ifeq ($(DEBUG_FLAG),default)
|
||||
__DEBUG_DEFINE_p = -D__WXDEBUG__
|
||||
endif
|
||||
endif
|
||||
ifeq ($(DEBUG_FLAG),1)
|
||||
__DEBUG_DEFINE_p = -D__WXDEBUG__
|
||||
endif
|
||||
ifeq ($(BUILD),debug)
|
||||
ifeq ($(DEBUG_FLAG),default)
|
||||
__DEBUG_DEFINE_p_3 = --define __WXDEBUG__
|
||||
endif
|
||||
endif
|
||||
ifeq ($(DEBUG_FLAG),1)
|
||||
__DEBUG_DEFINE_p_3 = --define __WXDEBUG__
|
||||
endif
|
||||
ifeq ($(SHARED),1)
|
||||
__DLLFLAG_p = -DWXUSINGDLL
|
||||
endif
|
||||
ifeq ($(SHARED),1)
|
||||
__DLLFLAG_p_3 = --define WXUSINGDLL
|
||||
endif
|
||||
ifeq ($(USE_EXCEPTIONS),0)
|
||||
__EXCEPTIONSFLAG = -fno-exceptions
|
||||
endif
|
||||
ifeq ($(USE_EXCEPTIONS),1)
|
||||
__EXCEPTIONSFLAG =
|
||||
endif
|
||||
ifeq ($(USE_EXCEPTIONS),0)
|
||||
__EXCEPTIONSFLAG_0 = -fno-rtti
|
||||
endif
|
||||
ifeq ($(USE_EXCEPTIONS),1)
|
||||
__EXCEPTIONSFLAG_0 =
|
||||
endif
|
||||
ifeq ($(USE_GUI),1)
|
||||
__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
|
||||
endif
|
||||
ifeq ($(USE_GUI),1)
|
||||
__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
|
||||
endif
|
||||
ifeq ($(USE_GUI),1)
|
||||
__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
|
||||
endif
|
||||
ifeq ($(BUILD),debug)
|
||||
__OPTIMIZEFLAG = -O0
|
||||
endif
|
||||
ifeq ($(BUILD),release)
|
||||
__OPTIMIZEFLAG = -O2
|
||||
endif
|
||||
ifeq ($(UNICODE),1)
|
||||
__UNICODE_DEFINE_p = -D_UNICODE
|
||||
endif
|
||||
ifeq ($(UNICODE),1)
|
||||
__UNICODE_DEFINE_p_3 = --define _UNICODE
|
||||
endif
|
||||
ifeq ($(MSLU),1)
|
||||
__UNICOWS_LIB_p = -lunicows
|
||||
endif
|
||||
ifeq ($(MONOLITHIC),0)
|
||||
__WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
|
||||
endif
|
||||
ifeq ($(MONOLITHIC),0)
|
||||
__WXLIB_CORE_p = \
|
||||
-lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
|
||||
endif
|
||||
ifeq ($(MONOLITHIC),0)
|
||||
__WXLIB_HTML_p = \
|
||||
-lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html
|
||||
endif
|
||||
ifeq ($(MONOLITHIC),1)
|
||||
__WXLIB_MONO_p = \
|
||||
-lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
|
||||
endif
|
||||
ifeq ($(WXUNIV),1)
|
||||
__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
|
||||
endif
|
||||
ifeq ($(WXUNIV),1)
|
||||
__WXUNIV_DEFINE_p_3 = --define __WXUNIVERSAL__
|
||||
endif
|
||||
ifeq ($(USE_GUI),1)
|
||||
__tex2rtf_gui___depname = $(OBJS)\tex2rtf_gui.exe
|
||||
endif
|
||||
|
||||
|
||||
all: $(OBJS)
|
||||
@@ -187,57 +187,6 @@ $(OBJS):
|
||||
|
||||
all: $(OBJS)\tex2rtf.exe $(__tex2rtf_gui___depname)
|
||||
|
||||
$(OBJS)\tex2rtf_gui_htmlutil.o: ./htmlutil.cpp
|
||||
$(CXX) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_gui_readshg.o: ./readshg.cpp
|
||||
$(CXX) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_gui_rtfutils.o: ./rtfutils.cpp
|
||||
$(CXX) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_gui_sample_rc.o: ./../../../samples/sample.rc
|
||||
windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_3) $(__DEBUG_DEFINE_p_3) $(__UNICODE_DEFINE_p_3) --include-dir ./../../../include --include-dir $(SETUPHDIR) --include-dir . $(__DLLFLAG_p_3) --include-dir ./../../../samples
|
||||
|
||||
$(OBJS)\tex2rtf_gui_table.o: ./table.cpp
|
||||
$(CXX) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_gui_tex2any.o: ./tex2any.cpp
|
||||
$(CXX) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_gui_tex2rtf.o: ./tex2rtf.cpp
|
||||
$(CXX) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_gui_texutils.o: ./texutils.cpp
|
||||
$(CXX) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_gui_xlputils.o: ./xlputils.cpp
|
||||
$(CXX) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_htmlutil.o: ./htmlutil.cpp
|
||||
$(CXX) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_readshg.o: ./readshg.cpp
|
||||
$(CXX) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_rtfutils.o: ./rtfutils.cpp
|
||||
$(CXX) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_table.o: ./table.cpp
|
||||
$(CXX) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_tex2any.o: ./tex2any.cpp
|
||||
$(CXX) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_tex2rtf.o: ./tex2rtf.cpp
|
||||
$(CXX) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_texutils.o: ./texutils.cpp
|
||||
$(CXX) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_xlputils.o: ./xlputils.cpp
|
||||
$(CXX) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
clean:
|
||||
-if exist $(OBJS)\*.o del $(OBJS)\*.o
|
||||
-if exist $(OBJS)\tex2rtf.exe del $(OBJS)\tex2rtf.exe
|
||||
@@ -251,4 +200,55 @@ $(OBJS)\tex2rtf_gui.exe: $(TEX2RTF_GUI_OBJECTS) $(OBJS)\tex2rtf_gui_sample_rc.o
|
||||
$(CXX) -o $@ $(TEX2RTF_GUI_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows $(__WXLIB_HTML_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lodbc32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32
|
||||
endif
|
||||
|
||||
$(OBJS)\tex2rtf_tex2rtf.o: ./tex2rtf.cpp
|
||||
$(CXX) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_tex2any.o: ./tex2any.cpp
|
||||
$(CXX) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_texutils.o: ./texutils.cpp
|
||||
$(CXX) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_rtfutils.o: ./rtfutils.cpp
|
||||
$(CXX) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_xlputils.o: ./xlputils.cpp
|
||||
$(CXX) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_htmlutil.o: ./htmlutil.cpp
|
||||
$(CXX) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_readshg.o: ./readshg.cpp
|
||||
$(CXX) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_table.o: ./table.cpp
|
||||
$(CXX) -c -o $@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_gui_sample_rc.o: ./../../../samples/sample.rc
|
||||
windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_3) $(__DEBUG_DEFINE_p_3) $(__UNICODE_DEFINE_p_3) --include-dir ./../../../include --include-dir $(SETUPHDIR) --include-dir . $(__DLLFLAG_p_3) --include-dir ./../../../samples
|
||||
|
||||
$(OBJS)\tex2rtf_gui_tex2rtf.o: ./tex2rtf.cpp
|
||||
$(CXX) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_gui_tex2any.o: ./tex2any.cpp
|
||||
$(CXX) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_gui_texutils.o: ./texutils.cpp
|
||||
$(CXX) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_gui_rtfutils.o: ./rtfutils.cpp
|
||||
$(CXX) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_gui_xlputils.o: ./xlputils.cpp
|
||||
$(CXX) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_gui_htmlutil.o: ./htmlutil.cpp
|
||||
$(CXX) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_gui_readshg.o: ./readshg.cpp
|
||||
$(CXX) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_gui_table.o: ./table.cpp
|
||||
$(CXX) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
.PHONY: all clean
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# =========================================================================
|
||||
# This makefile was generated by
|
||||
# Bakefile 0.1.1 (http://bakefile.sourceforge.net)
|
||||
# Bakefile 0.1.2 (http://bakefile.sourceforge.net)
|
||||
# Do not modify, all changes will be overwritten!
|
||||
# =========================================================================
|
||||
|
||||
@@ -17,17 +17,26 @@ OBJS = \
|
||||
SETUPHDIR = \
|
||||
$(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
|
||||
TEX2RTF_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_3) /DWIN32 \
|
||||
$(__DEBUGINFO_2) /Fd$(OBJS)\tex2rtf.pdb $(____DEBUGRUNTIME_2_p) \
|
||||
$(__DEBUGINFO) /Fd$(OBJS)\tex2rtf.pdb $(____DEBUGRUNTIME_2_p) \
|
||||
$(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
|
||||
$(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\..\include \
|
||||
/I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_CONSOLE /DNO_GUI \
|
||||
$(__EXCEPTIONSFLAG_0) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
|
||||
/I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_CONSOLE /DNO_GUI $(__EXCEPTIONSFLAG) \
|
||||
$(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
|
||||
TEX2RTF_OBJECTS = \
|
||||
$(OBJS)\tex2rtf_tex2rtf.obj \
|
||||
$(OBJS)\tex2rtf_tex2any.obj \
|
||||
$(OBJS)\tex2rtf_texutils.obj \
|
||||
$(OBJS)\tex2rtf_rtfutils.obj \
|
||||
$(OBJS)\tex2rtf_xlputils.obj \
|
||||
$(OBJS)\tex2rtf_htmlutil.obj \
|
||||
$(OBJS)\tex2rtf_readshg.obj \
|
||||
$(OBJS)\tex2rtf_table.obj
|
||||
TEX2RTF_GUI_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_16) /DWIN32 \
|
||||
$(__DEBUGINFO_2) /Fd$(OBJS)\tex2rtf_gui.pdb $(____DEBUGRUNTIME_15_p) \
|
||||
$(__DEBUGINFO) /Fd$(OBJS)\tex2rtf_gui.pdb $(____DEBUGRUNTIME_15_p) \
|
||||
$(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
|
||||
$(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\..\include \
|
||||
/I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\..\samples \
|
||||
$(__EXCEPTIONSFLAG_0) $(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
|
||||
$(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_0) $(CPPFLAGS) $(CXXFLAGS)
|
||||
TEX2RTF_GUI_OBJECTS = \
|
||||
$(OBJS)\tex2rtf_gui_sample.res \
|
||||
$(OBJS)\tex2rtf_gui_tex2rtf.obj \
|
||||
@@ -38,24 +47,9 @@ TEX2RTF_GUI_OBJECTS = \
|
||||
$(OBJS)\tex2rtf_gui_htmlutil.obj \
|
||||
$(OBJS)\tex2rtf_gui_readshg.obj \
|
||||
$(OBJS)\tex2rtf_gui_table.obj
|
||||
TEX2RTF_OBJECTS = \
|
||||
$(OBJS)\tex2rtf_tex2rtf.obj \
|
||||
$(OBJS)\tex2rtf_tex2any.obj \
|
||||
$(OBJS)\tex2rtf_texutils.obj \
|
||||
$(OBJS)\tex2rtf_rtfutils.obj \
|
||||
$(OBJS)\tex2rtf_xlputils.obj \
|
||||
$(OBJS)\tex2rtf_htmlutil.obj \
|
||||
$(OBJS)\tex2rtf_readshg.obj \
|
||||
$(OBJS)\tex2rtf_table.obj
|
||||
|
||||
### Conditionally set variables: ###
|
||||
|
||||
!if "$(SHARED)" == "0"
|
||||
LIBDIRNAME = .\..\..\..\lib\vc_lib$(CFG)
|
||||
!endif
|
||||
!if "$(SHARED)" == "1"
|
||||
LIBDIRNAME = .\..\..\..\lib\vc_dll$(CFG)
|
||||
!endif
|
||||
!if "$(USE_GUI)" == "0"
|
||||
PORTNAME = base
|
||||
!endif
|
||||
@@ -68,59 +62,23 @@ WXDEBUGFLAG = d
|
||||
!if "$(DEBUG_FLAG)" == "1"
|
||||
WXDEBUGFLAG = d
|
||||
!endif
|
||||
!if "$(SHARED)" == "1"
|
||||
WXDLLFLAG = dll
|
||||
!endif
|
||||
!if "$(UNICODE)" == "1"
|
||||
WXUNICODEFLAG = u
|
||||
!endif
|
||||
!if "$(WXUNIV)" == "1"
|
||||
WXUNIVNAME = univ
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
|
||||
__DEBUGINFO = d
|
||||
!endif
|
||||
!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
|
||||
__DEBUGINFO =
|
||||
!endif
|
||||
!if "$(DEBUG_INFO)" == "0"
|
||||
__DEBUGINFO =
|
||||
!endif
|
||||
!if "$(DEBUG_INFO)" == "1"
|
||||
__DEBUGINFO = d
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
|
||||
__DEBUGINFO_1 = /DEBUG
|
||||
!endif
|
||||
!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
|
||||
__DEBUGINFO_1 =
|
||||
!endif
|
||||
!if "$(DEBUG_INFO)" == "0"
|
||||
__DEBUGINFO_1 =
|
||||
!endif
|
||||
!if "$(DEBUG_INFO)" == "1"
|
||||
__DEBUGINFO_1 = /DEBUG
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
|
||||
__DEBUGINFO_2 = /Zi
|
||||
!endif
|
||||
!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
|
||||
__DEBUGINFO_2 =
|
||||
!endif
|
||||
!if "$(DEBUG_INFO)" == "0"
|
||||
__DEBUGINFO_2 =
|
||||
!endif
|
||||
!if "$(DEBUG_INFO)" == "1"
|
||||
__DEBUGINFO_2 = /Zi
|
||||
!if "$(SHARED)" == "1"
|
||||
WXDLLFLAG = dll
|
||||
!endif
|
||||
!if "$(DEBUG_RUNTIME_LIBS)" == "0"
|
||||
__DEBUGRUNTIME_16 =
|
||||
____DEBUGRUNTIME_2_p =
|
||||
!endif
|
||||
!if "$(DEBUG_RUNTIME_LIBS)" == "1"
|
||||
__DEBUGRUNTIME_16 = d
|
||||
____DEBUGRUNTIME_2_p = /D_DEBUG
|
||||
!endif
|
||||
!if "$(DEBUG_RUNTIME_LIBS)" == "default"
|
||||
__DEBUGRUNTIME_16 = $(__DEBUGINFO)
|
||||
____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
|
||||
!endif
|
||||
!if "$(DEBUG_RUNTIME_LIBS)" == "0"
|
||||
__DEBUGRUNTIME_3 =
|
||||
@@ -129,124 +87,10 @@ __DEBUGRUNTIME_3 =
|
||||
__DEBUGRUNTIME_3 = d
|
||||
!endif
|
||||
!if "$(DEBUG_RUNTIME_LIBS)" == "default"
|
||||
__DEBUGRUNTIME_3 = $(__DEBUGINFO)
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
|
||||
__DEBUG_DEFINE_p = /D__WXDEBUG__
|
||||
!endif
|
||||
!if "$(DEBUG_FLAG)" == "1"
|
||||
__DEBUG_DEFINE_p = /D__WXDEBUG__
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
|
||||
__DEBUG_DEFINE_p_3 = /d __WXDEBUG__
|
||||
!endif
|
||||
!if "$(DEBUG_FLAG)" == "1"
|
||||
__DEBUG_DEFINE_p_3 = /d __WXDEBUG__
|
||||
!endif
|
||||
!if "$(SHARED)" == "1"
|
||||
__DLLFLAG_p = /DWXUSINGDLL
|
||||
!endif
|
||||
!if "$(SHARED)" == "1"
|
||||
__DLLFLAG_p_3 = /d WXUSINGDLL
|
||||
!endif
|
||||
!if "$(USE_EXCEPTIONS)" == "0"
|
||||
__EXCEPTIONSFLAG =
|
||||
!endif
|
||||
!if "$(USE_EXCEPTIONS)" == "1"
|
||||
__EXCEPTIONSFLAG = /GX
|
||||
!endif
|
||||
!if "$(USE_EXCEPTIONS)" == "0"
|
||||
__EXCEPTIONSFLAG_0 =
|
||||
!endif
|
||||
!if "$(USE_EXCEPTIONS)" == "1"
|
||||
__EXCEPTIONSFLAG_0 = /GR
|
||||
__DEBUGRUNTIME_3 = $(__DEBUGINFO_2)
|
||||
!endif
|
||||
!if "$(USE_GUI)" == "1"
|
||||
__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
!if "$(USE_GUI)" == "1"
|
||||
__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
!if "$(USE_GUI)" == "1"
|
||||
__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
|
||||
__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
|
||||
!endif
|
||||
!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
|
||||
__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
|
||||
__NO_VC_CRTDBG_p_3 = /d __NO_VC_CRTDBG__
|
||||
!endif
|
||||
!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
|
||||
__NO_VC_CRTDBG_p_3 = /d __NO_VC_CRTDBG__
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug"
|
||||
__OPTIMIZEFLAG = /Od
|
||||
!endif
|
||||
!if "$(BUILD)" == "release"
|
||||
__OPTIMIZEFLAG = /O2
|
||||
!endif
|
||||
!if "$(RUNTIME_LIBS)" == "dynamic"
|
||||
__RUNTIME_LIBS = D
|
||||
!endif
|
||||
!if "$(RUNTIME_LIBS)" == "static"
|
||||
__RUNTIME_LIBS = T
|
||||
!endif
|
||||
!if "$(UNICODE)" == "1"
|
||||
__UNICODE_DEFINE_p = /D_UNICODE
|
||||
!endif
|
||||
!if "$(UNICODE)" == "1"
|
||||
__UNICODE_DEFINE_p_3 = /d _UNICODE
|
||||
!endif
|
||||
!if "$(MSLU)" == "1"
|
||||
__UNICOWS_LIB_p = unicows.lib
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "0"
|
||||
__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "0"
|
||||
__WXLIB_CORE_p = \
|
||||
wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "0"
|
||||
__WXLIB_HTML_p = \
|
||||
wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "1"
|
||||
__WXLIB_MONO_p = \
|
||||
wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
!if "$(WXUNIV)" == "1"
|
||||
__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
|
||||
!endif
|
||||
!if "$(WXUNIV)" == "1"
|
||||
__WXUNIV_DEFINE_p_3 = /d __WXUNIVERSAL__
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
|
||||
____DEBUGINFO = /D_DEBUG
|
||||
!endif
|
||||
!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
|
||||
____DEBUGINFO =
|
||||
!endif
|
||||
!if "$(DEBUG_INFO)" == "0"
|
||||
____DEBUGINFO =
|
||||
!endif
|
||||
!if "$(DEBUG_INFO)" == "1"
|
||||
____DEBUGINFO = /D_DEBUG
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
|
||||
____DEBUGINFO_15_p_1 = /d _DEBUG
|
||||
!endif
|
||||
!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
|
||||
____DEBUGINFO_15_p_1 =
|
||||
!endif
|
||||
!if "$(DEBUG_INFO)" == "0"
|
||||
____DEBUGINFO_15_p_1 =
|
||||
!endif
|
||||
!if "$(DEBUG_INFO)" == "1"
|
||||
____DEBUGINFO_15_p_1 = /d _DEBUG
|
||||
__tex2rtf_gui___depname = $(OBJS)\tex2rtf_gui.exe
|
||||
!endif
|
||||
!if "$(DEBUG_RUNTIME_LIBS)" == "0"
|
||||
____DEBUGRUNTIME_15_p =
|
||||
@@ -266,17 +110,173 @@ ____DEBUGRUNTIME_15_p_1 = /d _DEBUG
|
||||
!if "$(DEBUG_RUNTIME_LIBS)" == "default"
|
||||
____DEBUGRUNTIME_15_p_1 = $(____DEBUGINFO_15_p_1)
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
|
||||
____DEBUGINFO_15_p_1 = /d _DEBUG
|
||||
!endif
|
||||
!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
|
||||
____DEBUGINFO_15_p_1 =
|
||||
!endif
|
||||
!if "$(DEBUG_INFO)" == "0"
|
||||
____DEBUGINFO_15_p_1 =
|
||||
!endif
|
||||
!if "$(DEBUG_INFO)" == "1"
|
||||
____DEBUGINFO_15_p_1 = /d _DEBUG
|
||||
!endif
|
||||
!if "$(DEBUG_RUNTIME_LIBS)" == "0"
|
||||
____DEBUGRUNTIME_2_p =
|
||||
__DEBUGRUNTIME_16 =
|
||||
!endif
|
||||
!if "$(DEBUG_RUNTIME_LIBS)" == "1"
|
||||
____DEBUGRUNTIME_2_p = /D_DEBUG
|
||||
__DEBUGRUNTIME_16 = d
|
||||
!endif
|
||||
!if "$(DEBUG_RUNTIME_LIBS)" == "default"
|
||||
____DEBUGRUNTIME_2_p = $(____DEBUGINFO)
|
||||
__DEBUGRUNTIME_16 = $(__DEBUGINFO_2)
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
|
||||
__NO_VC_CRTDBG_p_3 = /d __NO_VC_CRTDBG__
|
||||
!endif
|
||||
!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
|
||||
__NO_VC_CRTDBG_p_3 = /d __NO_VC_CRTDBG__
|
||||
!endif
|
||||
!if "$(WXUNIV)" == "1"
|
||||
__WXUNIV_DEFINE_p_3 = /d __WXUNIVERSAL__
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
|
||||
__DEBUG_DEFINE_p_3 = /d __WXDEBUG__
|
||||
!endif
|
||||
!if "$(DEBUG_FLAG)" == "1"
|
||||
__DEBUG_DEFINE_p_3 = /d __WXDEBUG__
|
||||
!endif
|
||||
!if "$(UNICODE)" == "1"
|
||||
__UNICODE_DEFINE_p_3 = /d _UNICODE
|
||||
!endif
|
||||
!if "$(SHARED)" == "1"
|
||||
__DLLFLAG_p_3 = /d WXUSINGDLL
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "0"
|
||||
__WXLIB_HTML_p = \
|
||||
wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "0"
|
||||
__WXLIB_CORE_p = \
|
||||
wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
|
||||
__DEBUGINFO = /Zi
|
||||
!endif
|
||||
!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
|
||||
__DEBUGINFO =
|
||||
!endif
|
||||
!if "$(DEBUG_INFO)" == "0"
|
||||
__DEBUGINFO =
|
||||
!endif
|
||||
!if "$(DEBUG_INFO)" == "1"
|
||||
__DEBUGINFO = /Zi
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
|
||||
__DEBUGINFO_1 = /DEBUG
|
||||
!endif
|
||||
!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
|
||||
__DEBUGINFO_1 =
|
||||
!endif
|
||||
!if "$(DEBUG_INFO)" == "0"
|
||||
__DEBUGINFO_1 =
|
||||
!endif
|
||||
!if "$(DEBUG_INFO)" == "1"
|
||||
__DEBUGINFO_1 = /DEBUG
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
|
||||
____DEBUGINFO = /D_DEBUG
|
||||
!endif
|
||||
!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
|
||||
____DEBUGINFO =
|
||||
!endif
|
||||
!if "$(DEBUG_INFO)" == "0"
|
||||
____DEBUGINFO =
|
||||
!endif
|
||||
!if "$(DEBUG_INFO)" == "1"
|
||||
____DEBUGINFO = /D_DEBUG
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
|
||||
__DEBUGINFO_2 = d
|
||||
!endif
|
||||
!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
|
||||
__DEBUGINFO_2 =
|
||||
!endif
|
||||
!if "$(DEBUG_INFO)" == "0"
|
||||
__DEBUGINFO_2 =
|
||||
!endif
|
||||
!if "$(DEBUG_INFO)" == "1"
|
||||
__DEBUGINFO_2 = d
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug"
|
||||
__OPTIMIZEFLAG = /Od
|
||||
!endif
|
||||
!if "$(BUILD)" == "release"
|
||||
__OPTIMIZEFLAG = /O2
|
||||
!endif
|
||||
!if "$(RUNTIME_LIBS)" == "dynamic"
|
||||
__RUNTIME_LIBS = D
|
||||
!endif
|
||||
!if "$(RUNTIME_LIBS)" == "static"
|
||||
__RUNTIME_LIBS = T
|
||||
!endif
|
||||
!if "$(USE_EXCEPTIONS)" == "0"
|
||||
__EXCEPTIONSFLAG =
|
||||
!endif
|
||||
!if "$(USE_EXCEPTIONS)" == "1"
|
||||
__EXCEPTIONSFLAG = /GR
|
||||
!endif
|
||||
!if "$(USE_EXCEPTIONS)" == "0"
|
||||
__EXCEPTIONSFLAG_0 =
|
||||
!endif
|
||||
!if "$(USE_EXCEPTIONS)" == "1"
|
||||
__EXCEPTIONSFLAG_0 = /GX
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
|
||||
__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
|
||||
!endif
|
||||
!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
|
||||
__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
|
||||
!endif
|
||||
!if "$(WXUNIV)" == "1"
|
||||
__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
|
||||
__DEBUG_DEFINE_p = /D__WXDEBUG__
|
||||
!endif
|
||||
!if "$(DEBUG_FLAG)" == "1"
|
||||
__DEBUG_DEFINE_p = /D__WXDEBUG__
|
||||
!endif
|
||||
!if "$(UNICODE)" == "1"
|
||||
__UNICODE_DEFINE_p = /D_UNICODE
|
||||
!endif
|
||||
!if "$(SHARED)" == "0"
|
||||
LIBDIRNAME = .\..\..\..\lib\vc_lib$(CFG)
|
||||
!endif
|
||||
!if "$(SHARED)" == "1"
|
||||
LIBDIRNAME = .\..\..\..\lib\vc_dll$(CFG)
|
||||
!endif
|
||||
!if "$(SHARED)" == "1"
|
||||
__DLLFLAG_p = /DWXUSINGDLL
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "0"
|
||||
__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "1"
|
||||
__WXLIB_MONO_p = \
|
||||
wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
!if "$(USE_GUI)" == "1"
|
||||
__tex2rtf_gui___depname = $(OBJS)\tex2rtf_gui.exe
|
||||
__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
!if "$(USE_GUI)" == "1"
|
||||
__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
!if "$(USE_GUI)" == "1"
|
||||
__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
!if "$(MSLU)" == "1"
|
||||
__UNICOWS_LIB_p = unicows.lib
|
||||
!endif
|
||||
|
||||
|
||||
@@ -288,57 +288,6 @@ $(OBJS):
|
||||
|
||||
all: $(OBJS)\tex2rtf.exe $(__tex2rtf_gui___depname)
|
||||
|
||||
$(OBJS)\tex2rtf_gui_htmlutil.obj: .\htmlutil.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_readshg.obj: .\readshg.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_rtfutils.obj: .\rtfutils.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_sample.res: .\..\..\..\samples\sample.rc
|
||||
rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_15_p_1) $(__NO_VC_CRTDBG_p_3) /d __WXMSW__ $(__WXUNIV_DEFINE_p_3) $(__DEBUG_DEFINE_p_3) $(__UNICODE_DEFINE_p_3) /i .\..\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_3) /d _WINDOWS /i .\..\..\..\samples $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_table.obj: .\table.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_tex2any.obj: .\tex2any.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_tex2rtf.obj: .\tex2rtf.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_texutils.obj: .\texutils.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_xlputils.obj: .\xlputils.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_htmlutil.obj: .\htmlutil.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_readshg.obj: .\readshg.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_rtfutils.obj: .\rtfutils.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_table.obj: .\table.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_tex2any.obj: .\tex2any.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_tex2rtf.obj: .\tex2rtf.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_texutils.obj: .\texutils.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_xlputils.obj: .\xlputils.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
|
||||
|
||||
clean:
|
||||
-if exist $(OBJS)\*.obj del $(OBJS)\*.obj
|
||||
-if exist $(OBJS)\*.res del $(OBJS)\*.res
|
||||
@@ -360,3 +309,54 @@ $(OBJS)\tex2rtf_gui.exe: $(TEX2RTF_GUI_OBJECTS) $(OBJS)\tex2rtf_gui_sample.res
|
||||
$(TEX2RTF_GUI_OBJECTS) $(__WXLIB_HTML_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib
|
||||
<<
|
||||
!endif
|
||||
|
||||
$(OBJS)\tex2rtf_tex2rtf.obj: .\tex2rtf.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_tex2any.obj: .\tex2any.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_texutils.obj: .\texutils.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_rtfutils.obj: .\rtfutils.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_xlputils.obj: .\xlputils.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_htmlutil.obj: .\htmlutil.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_readshg.obj: .\readshg.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_table.obj: .\table.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_sample.res: .\..\..\..\samples\sample.rc
|
||||
rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_15_p_1) $(__NO_VC_CRTDBG_p_3) /d __WXMSW__ $(__WXUNIV_DEFINE_p_3) $(__DEBUG_DEFINE_p_3) $(__UNICODE_DEFINE_p_3) /i .\..\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_3) /d _WINDOWS /i .\..\..\..\samples $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_tex2rtf.obj: .\tex2rtf.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_tex2any.obj: .\tex2any.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_texutils.obj: .\texutils.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_rtfutils.obj: .\rtfutils.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_xlputils.obj: .\xlputils.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_htmlutil.obj: .\htmlutil.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_readshg.obj: .\readshg.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\tex2rtf_gui_table.obj: .\table.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(TEX2RTF_GUI_CXXFLAGS) $**
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# =========================================================================
|
||||
# This makefile was generated by
|
||||
# Bakefile 0.1.1 (http://bakefile.sourceforge.net)
|
||||
# Bakefile 0.1.2 (http://bakefile.sourceforge.net)
|
||||
# Do not modify, all changes will be overwritten!
|
||||
# =========================================================================
|
||||
|
||||
@@ -27,13 +27,6 @@ WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-
|
||||
|
||||
### Conditionally set variables: ###
|
||||
|
||||
LIBDIRNAME =
|
||||
!ifeq SHARED 0
|
||||
LIBDIRNAME = .\..\..\..\lib\wat_lib$(CFG)
|
||||
!endif
|
||||
!ifeq SHARED 1
|
||||
LIBDIRNAME = .\..\..\..\lib\wat_dll$(CFG)
|
||||
!endif
|
||||
PORTNAME =
|
||||
!ifeq USE_GUI 0
|
||||
PORTNAME = base
|
||||
@@ -50,10 +43,6 @@ WXDEBUGFLAG = d
|
||||
!ifeq DEBUG_FLAG 1
|
||||
WXDEBUGFLAG = d
|
||||
!endif
|
||||
WXDLLFLAG =
|
||||
!ifeq SHARED 1
|
||||
WXDLLFLAG = dll
|
||||
!endif
|
||||
WXUNICODEFLAG =
|
||||
!ifeq UNICODE 1
|
||||
WXUNICODEFLAG = u
|
||||
@@ -62,6 +51,24 @@ WXUNIVNAME =
|
||||
!ifeq WXUNIV 1
|
||||
WXUNIVNAME = univ
|
||||
!endif
|
||||
WXDLLFLAG =
|
||||
!ifeq SHARED 1
|
||||
WXDLLFLAG = dll
|
||||
!endif
|
||||
__tex2rtf_gui___depname =
|
||||
!ifeq USE_GUI 1
|
||||
__tex2rtf_gui___depname = $(OBJS)\tex2rtf_gui.exe
|
||||
!endif
|
||||
__WXLIB_HTML_p =
|
||||
!ifeq MONOLITHIC 0
|
||||
__WXLIB_HTML_p = &
|
||||
wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib
|
||||
!endif
|
||||
__WXLIB_CORE_p =
|
||||
!ifeq MONOLITHIC 0
|
||||
__WXLIB_CORE_p = &
|
||||
wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
|
||||
!endif
|
||||
__DEBUGINFO =
|
||||
!ifeq BUILD debug
|
||||
!ifeq DEBUG_INFO default
|
||||
@@ -96,38 +103,6 @@ __DEBUGINFO_1 =
|
||||
!ifeq DEBUG_INFO 1
|
||||
__DEBUGINFO_1 = debug all
|
||||
!endif
|
||||
__DEBUG_DEFINE_p =
|
||||
!ifeq BUILD debug
|
||||
!ifeq DEBUG_FLAG default
|
||||
__DEBUG_DEFINE_p = -d__WXDEBUG__
|
||||
!endif
|
||||
!endif
|
||||
!ifeq DEBUG_FLAG 1
|
||||
__DEBUG_DEFINE_p = -d__WXDEBUG__
|
||||
!endif
|
||||
__DLLFLAG_p =
|
||||
!ifeq SHARED 1
|
||||
__DLLFLAG_p = -dWXUSINGDLL
|
||||
!endif
|
||||
__EXCEPTIONSFLAG =
|
||||
!ifeq USE_EXCEPTIONS 0
|
||||
__EXCEPTIONSFLAG =
|
||||
!endif
|
||||
!ifeq USE_EXCEPTIONS 1
|
||||
__EXCEPTIONSFLAG = -xs
|
||||
!endif
|
||||
__LIB_JPEG_p =
|
||||
!ifeq USE_GUI 1
|
||||
__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
__LIB_PNG_p =
|
||||
!ifeq USE_GUI 1
|
||||
__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
__LIB_TIFF_p =
|
||||
!ifeq USE_GUI 1
|
||||
__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
__OPTIMIZEFLAG =
|
||||
!ifeq BUILD debug
|
||||
__OPTIMIZEFLAG = -od
|
||||
@@ -142,36 +117,61 @@ __RUNTIME_LIBS = -br
|
||||
!ifeq RUNTIME_LIBS static
|
||||
__RUNTIME_LIBS =
|
||||
!endif
|
||||
__UNICODE_DEFINE_p =
|
||||
!ifeq UNICODE 1
|
||||
__UNICODE_DEFINE_p = -d_UNICODE
|
||||
__EXCEPTIONSFLAG =
|
||||
!ifeq USE_EXCEPTIONS 0
|
||||
__EXCEPTIONSFLAG =
|
||||
!endif
|
||||
!ifeq USE_EXCEPTIONS 1
|
||||
__EXCEPTIONSFLAG = -xs
|
||||
!endif
|
||||
LIBDIRNAME =
|
||||
!ifeq SHARED 0
|
||||
LIBDIRNAME = .\..\..\..\lib\wat_lib$(CFG)
|
||||
!endif
|
||||
!ifeq SHARED 1
|
||||
LIBDIRNAME = .\..\..\..\lib\wat_dll$(CFG)
|
||||
!endif
|
||||
__WXLIB_BASE_p =
|
||||
!ifeq MONOLITHIC 0
|
||||
__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
__WXLIB_CORE_p =
|
||||
!ifeq MONOLITHIC 0
|
||||
__WXLIB_CORE_p = &
|
||||
wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
|
||||
!endif
|
||||
__WXLIB_HTML_p =
|
||||
!ifeq MONOLITHIC 0
|
||||
__WXLIB_HTML_p = &
|
||||
wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib
|
||||
!endif
|
||||
__WXLIB_MONO_p =
|
||||
!ifeq MONOLITHIC 1
|
||||
__WXLIB_MONO_p = &
|
||||
wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
__LIB_TIFF_p =
|
||||
!ifeq USE_GUI 1
|
||||
__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
__LIB_JPEG_p =
|
||||
!ifeq USE_GUI 1
|
||||
__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
__LIB_PNG_p =
|
||||
!ifeq USE_GUI 1
|
||||
__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
__WXUNIV_DEFINE_p =
|
||||
!ifeq WXUNIV 1
|
||||
__WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
|
||||
!endif
|
||||
__tex2rtf_gui___depname =
|
||||
!ifeq USE_GUI 1
|
||||
__tex2rtf_gui___depname = $(OBJS)\tex2rtf_gui.exe
|
||||
__DEBUG_DEFINE_p =
|
||||
!ifeq BUILD debug
|
||||
!ifeq DEBUG_FLAG default
|
||||
__DEBUG_DEFINE_p = -d__WXDEBUG__
|
||||
!endif
|
||||
!endif
|
||||
!ifeq DEBUG_FLAG 1
|
||||
__DEBUG_DEFINE_p = -d__WXDEBUG__
|
||||
!endif
|
||||
__UNICODE_DEFINE_p =
|
||||
!ifeq UNICODE 1
|
||||
__UNICODE_DEFINE_p = -d_UNICODE
|
||||
!endif
|
||||
__DLLFLAG_p =
|
||||
!ifeq SHARED 1
|
||||
__DLLFLAG_p = -dWXUSINGDLL
|
||||
!endif
|
||||
|
||||
### Variables: ###
|
||||
@@ -184,6 +184,15 @@ TEX2RTF_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) &
|
||||
-d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) &
|
||||
-i=.\..\..\..\include -i=$(SETUPHDIR) -i=. $(__DLLFLAG_p) -dNO_GUI &
|
||||
$(__EXCEPTIONSFLAG) $(CPPFLAGS) $(CXXFLAGS)
|
||||
TEX2RTF_OBJECTS = &
|
||||
$(OBJS)\tex2rtf_tex2rtf.obj &
|
||||
$(OBJS)\tex2rtf_tex2any.obj &
|
||||
$(OBJS)\tex2rtf_texutils.obj &
|
||||
$(OBJS)\tex2rtf_rtfutils.obj &
|
||||
$(OBJS)\tex2rtf_xlputils.obj &
|
||||
$(OBJS)\tex2rtf_htmlutil.obj &
|
||||
$(OBJS)\tex2rtf_readshg.obj &
|
||||
$(OBJS)\tex2rtf_table.obj
|
||||
TEX2RTF_GUI_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) &
|
||||
-d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) &
|
||||
-i=.\..\..\..\include -i=$(SETUPHDIR) -i=. $(__DLLFLAG_p) &
|
||||
@@ -197,15 +206,6 @@ TEX2RTF_GUI_OBJECTS = &
|
||||
$(OBJS)\tex2rtf_gui_htmlutil.obj &
|
||||
$(OBJS)\tex2rtf_gui_readshg.obj &
|
||||
$(OBJS)\tex2rtf_gui_table.obj
|
||||
TEX2RTF_OBJECTS = &
|
||||
$(OBJS)\tex2rtf_tex2rtf.obj &
|
||||
$(OBJS)\tex2rtf_tex2any.obj &
|
||||
$(OBJS)\tex2rtf_texutils.obj &
|
||||
$(OBJS)\tex2rtf_rtfutils.obj &
|
||||
$(OBJS)\tex2rtf_xlputils.obj &
|
||||
$(OBJS)\tex2rtf_htmlutil.obj &
|
||||
$(OBJS)\tex2rtf_readshg.obj &
|
||||
$(OBJS)\tex2rtf_table.obj
|
||||
|
||||
|
||||
all : $(OBJS)
|
||||
@@ -216,57 +216,6 @@ $(OBJS) :
|
||||
|
||||
all : .SYMBOLIC $(OBJS)\tex2rtf.exe $(__tex2rtf_gui___depname)
|
||||
|
||||
$(OBJS)\tex2rtf_gui_htmlutil.obj : .AUTODEPEND .\htmlutil.cpp
|
||||
$(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_gui_readshg.obj : .AUTODEPEND .\readshg.cpp
|
||||
$(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_gui_rtfutils.obj : .AUTODEPEND .\rtfutils.cpp
|
||||
$(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_gui_sample.res : .AUTODEPEND .\..\..\..\samples\sample.rc
|
||||
wrc -q -ad -bt=nt -r -fo=$^@ -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -i=.\..\..\..\include -i=$(SETUPHDIR) -i=. $(__DLLFLAG_p) -i=.\..\..\..\samples $<
|
||||
|
||||
$(OBJS)\tex2rtf_gui_table.obj : .AUTODEPEND .\table.cpp
|
||||
$(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_gui_tex2any.obj : .AUTODEPEND .\tex2any.cpp
|
||||
$(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_gui_tex2rtf.obj : .AUTODEPEND .\tex2rtf.cpp
|
||||
$(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_gui_texutils.obj : .AUTODEPEND .\texutils.cpp
|
||||
$(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_gui_xlputils.obj : .AUTODEPEND .\xlputils.cpp
|
||||
$(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_htmlutil.obj : .AUTODEPEND .\htmlutil.cpp
|
||||
$(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_readshg.obj : .AUTODEPEND .\readshg.cpp
|
||||
$(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_rtfutils.obj : .AUTODEPEND .\rtfutils.cpp
|
||||
$(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_table.obj : .AUTODEPEND .\table.cpp
|
||||
$(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_tex2any.obj : .AUTODEPEND .\tex2any.cpp
|
||||
$(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_tex2rtf.obj : .AUTODEPEND .\tex2rtf.cpp
|
||||
$(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_texutils.obj : .AUTODEPEND .\texutils.cpp
|
||||
$(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_xlputils.obj : .AUTODEPEND .\xlputils.cpp
|
||||
$(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
clean : .SYMBOLIC
|
||||
-if exist $(OBJS)\*.obj del $(OBJS)\*.obj
|
||||
-if exist $(OBJS)\*.res del $(OBJS)\*.res
|
||||
@@ -298,3 +247,54 @@ $(OBJS)\tex2rtf_gui.exe : $(TEX2RTF_GUI_OBJECTS) $(OBJS)\tex2rtf_gui_sample.res
|
||||
@%append $(OBJS)\tex2rtf_gui.lbc option resource=$(OBJS)\tex2rtf_gui_sample.res
|
||||
wlink @$(OBJS)\tex2rtf_gui.lbc
|
||||
!endif
|
||||
|
||||
$(OBJS)\tex2rtf_tex2rtf.obj : .AUTODEPEND .\tex2rtf.cpp
|
||||
$(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_tex2any.obj : .AUTODEPEND .\tex2any.cpp
|
||||
$(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_texutils.obj : .AUTODEPEND .\texutils.cpp
|
||||
$(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_rtfutils.obj : .AUTODEPEND .\rtfutils.cpp
|
||||
$(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_xlputils.obj : .AUTODEPEND .\xlputils.cpp
|
||||
$(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_htmlutil.obj : .AUTODEPEND .\htmlutil.cpp
|
||||
$(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_readshg.obj : .AUTODEPEND .\readshg.cpp
|
||||
$(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_table.obj : .AUTODEPEND .\table.cpp
|
||||
$(CXX) -zq -fo=$^@ $(TEX2RTF_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_gui_sample.res : .AUTODEPEND .\..\..\..\samples\sample.rc
|
||||
wrc -q -ad -bt=nt -r -fo=$^@ -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -i=.\..\..\..\include -i=$(SETUPHDIR) -i=. $(__DLLFLAG_p) -i=.\..\..\..\samples $<
|
||||
|
||||
$(OBJS)\tex2rtf_gui_tex2rtf.obj : .AUTODEPEND .\tex2rtf.cpp
|
||||
$(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_gui_tex2any.obj : .AUTODEPEND .\tex2any.cpp
|
||||
$(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_gui_texutils.obj : .AUTODEPEND .\texutils.cpp
|
||||
$(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_gui_rtfutils.obj : .AUTODEPEND .\rtfutils.cpp
|
||||
$(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_gui_xlputils.obj : .AUTODEPEND .\xlputils.cpp
|
||||
$(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_gui_htmlutil.obj : .AUTODEPEND .\htmlutil.cpp
|
||||
$(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_gui_readshg.obj : .AUTODEPEND .\readshg.cpp
|
||||
$(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\tex2rtf_gui_table.obj : .AUTODEPEND .\table.cpp
|
||||
$(CXX) -zq -fo=$^@ $(TEX2RTF_GUI_CXXFLAGS) $<
|
||||
|
Reference in New Issue
Block a user