]> git.saurik.com Git - wxWidgets.git/blob - utils/tex2rtf/src/makengui.nt
Turn off the expando-matic rubber band thing for mac
[wxWidgets.git] / utils / tex2rtf / src / makengui.nt
1 # From: Juan Altmayer Pizzorno[SMTP:juan@vms.gmd.de]
2 # Sent: 31 May 1996 10:11
3 # To: J.Smart@ed.ac.uk
4 # Subject: Changes to Tex2RTF
5 #
6 # Hello,
7 #
8 # Recently I've been looking for a way to create and maintain documentation on
9 # multiple platforms out of a single source -- specifically, something that
10 # prints nicely and can be converted to WinHelp and HTML. I liked the approach
11 # of Tex2RTF, so I set off to give it a try... I found out it would crash
12 # when submitted to a certain LaTeX file I created. I wanted to find out why,
13 # so I went on and worked on compiling on my PC: Windows NT 4.0 beta, Visual
14 # C++ 4.1a. Since all I was interested on was the conversion utility, I tried
15 # to make it work without a GUI. It didn't compile immediately, but after a
16 # few small changes it now works like a charm. Unfortunately it doesn't crash
17 # anymore, so I can't tell why it used to... Anyway, I wanted to contribute
18 # the changes back: I'm appending two files to this message, the first a
19 # description of the changes, and the second a quick-and-dirty makefile that
20 # doesn't require wxWindows to run. Please do write to me if you have any
21 # questions or anything.
22 #
23 # Last but not least, it's great that you took the time and wrote Tex2RTF!!
24 #
25 # Quick-and-dirty makefile for building Tex2RTF without the wx
26 # libraries on a Windows NT machine. If you want to use it for
27 # "real", please update the dependancies between object and include
28 # files. Created for Windows NT 4.0 and Visual C++ 4.1.
29 #
30 # Juan Altmayer Pizzorno, May 1996
31 #
32
33 syslibs=kernel32.lib advapi32.lib
34
35 cxxflags=/nologo /MD /W0 /O2 /Zi /D "WIN32" /D "_WIN32" /D "_DEBUG" /c
36 linkflags=$(syslibs) /out:$@ /nologo /debug
37
38 !if "$(PROCESSOR_ARCHITECTURE)" == "x86"
39 cxxflags=$(cxxflags) /G5 # optimize for pentium
40 !endif
41
42 cxx=cl
43 link=link
44 remove=del
45 cxxflags=$(cxxflags) /I wxwin /D wx_msw /D WINVER=0x0400 /D WIN95=0
46 cxxflags=$(cxxflags) /D "NO_GUI"
47
48 objects=tex2any.obj texutils.obj tex2rtf.obj rtfutils.obj table.obj readshg.obj xlputils.obj htmlutil.obj
49 objects=$(objects) wb_hash.obj wb_list.obj wb_obj.obj wb_utils.obj
50
51 all : tex2rtf.exe
52
53 clean :
54 -$(remove) *.obj
55
56 cleanall : clean
57 -$(remove) *.exe *.pdb *.ilk
58
59 tex2rtf.exe : $(objects)
60 $(link) $(linkflags) $(objects)
61
62 tex2any.obj : tex2any.cpp tex2any.h
63 $(cxx) $(cxxflags) tex2any.cpp
64
65 texutils.obj : texutils.cpp tex2any.h
66 $(cxx) $(cxxflags) texutils.cpp
67
68 tex2rtf.obj : tex2rtf.cpp bmputils.h tex2rtf.h tex2any.h
69 $(cxx) $(cxxflags) tex2rtf.cpp
70
71 rtfutils.obj : rtfutils.cpp tex2rtf.h bmputils.h tex2any.h readshg.h table.h
72 $(cxx) $(cxxflags) rtfutils.cpp
73
74 table.obj : table.cpp table.h
75 $(cxx) $(cxxflags) table.cpp
76
77 readshg.obj : readshg.cpp readshg.h
78 $(cxx) $(cxxflags) readshg.cpp
79
80 xlputils.obj : xlputils.cpp tex2rtf.h rtfutils.h tex2any.h
81 $(cxx) $(cxxflags) xlputils.cpp
82
83 htmlutil.obj : htmlutil.cpp tex2rtf.h tex2any.h table.h
84 $(cxx) $(cxxflags) htmlutil.cpp
85
86 wb_hash.obj : wxwin\wb_hash.cpp
87 $(cxx) $(cxxflags) wxwin\wb_hash.cpp
88
89 wb_list.obj : wxwin\wb_list.cpp
90 $(cxx) $(cxxflags) wxwin\wb_list.cpp
91
92 wb_obj.obj : wxwin\wb_obj.cpp
93 $(cxx) $(cxxflags) wxwin\wb_obj.cpp
94
95 wb_utils.obj : wxwin\wb_utils.cpp
96 $(cxx) $(cxxflags) wxwin\wb_utils.cpp
97
98