home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wxos2233.zip / wxOS2-2_3_3.zip / wxWindows-2.3.3 / utils / tex2rtf / src / makengui.nt < prev    next >
Text File  |  1999-01-02  |  3KB  |  99 lines

  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 convertion 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. # Last but not least, it's great that you took the time and wrote Tex2RTF!!
  23. #
  24. # Quick-and-dirty makefile for building Tex2RTF without the wx
  25. # libraries on a Windows NT machine.  If you want to use it for
  26. # "real", please update the dependancies between object and include
  27. # files.  Created for Windows NT 4.0 and Visual C++ 4.1.
  28. #
  29. # Juan Altmayer Pizzorno, May 1996
  30. #
  31.  
  32. syslibs=kernel32.lib advapi32.lib
  33.  
  34. cxxflags=/nologo /MD /W0 /O2 /Zi /D "WIN32" /D "_WIN32" /D "_DEBUG" /c
  35. linkflags=$(syslibs) /out:$@ /nologo /debug
  36.  
  37. !if "$(PROCESSOR_ARCHITECTURE)" == "x86"
  38. cxxflags=$(cxxflags) /G5 # optimize for pentium
  39. !endif
  40.  
  41. cxx=cl
  42. link=link
  43. remove=del
  44. cxxflags=$(cxxflags) /I wxwin /D wx_msw /D WINVER=0x0400 /D WIN95=0
  45. cxxflags=$(cxxflags) /D "NO_GUI" 
  46.  
  47. objects=tex2any.obj texutils.obj tex2rtf.obj rtfutils.obj table.obj readshg.obj xlputils.obj htmlutil.obj
  48. objects=$(objects) wb_hash.obj wb_list.obj wb_obj.obj wb_utils.obj
  49.  
  50. all : tex2rtf.exe
  51.  
  52. clean :
  53.     -$(remove) *.obj
  54.  
  55. cleanall : clean
  56.     -$(remove) *.exe *.pdb *.ilk
  57.  
  58. tex2rtf.exe : $(objects)
  59.     $(link) $(linkflags) $(objects)
  60.  
  61. tex2any.obj : tex2any.cpp tex2any.h
  62.     $(cxx) $(cxxflags) tex2any.cpp
  63.  
  64. texutils.obj : texutils.cpp tex2any.h
  65.     $(cxx) $(cxxflags) texutils.cpp
  66.  
  67. tex2rtf.obj : tex2rtf.cpp bmputils.h tex2rtf.h tex2any.h
  68.     $(cxx) $(cxxflags) tex2rtf.cpp
  69.  
  70. rtfutils.obj : rtfutils.cpp tex2rtf.h bmputils.h tex2any.h readshg.h table.h
  71.     $(cxx) $(cxxflags) rtfutils.cpp
  72.  
  73. table.obj : table.cpp table.h
  74.     $(cxx) $(cxxflags) table.cpp
  75.  
  76. readshg.obj : readshg.cpp readshg.h
  77.     $(cxx) $(cxxflags) readshg.cpp
  78.  
  79. xlputils.obj : xlputils.cpp tex2rtf.h rtfutils.h tex2any.h
  80.     $(cxx) $(cxxflags) xlputils.cpp
  81.  
  82. htmlutil.obj : htmlutil.cpp tex2rtf.h tex2any.h table.h
  83.     $(cxx) $(cxxflags) htmlutil.cpp
  84.  
  85. wb_hash.obj : wxwin\wb_hash.cpp
  86.     $(cxx) $(cxxflags) wxwin\wb_hash.cpp
  87.  
  88. wb_list.obj : wxwin\wb_list.cpp
  89.     $(cxx) $(cxxflags) wxwin\wb_list.cpp
  90.  
  91. wb_obj.obj : wxwin\wb_obj.cpp
  92.     $(cxx) $(cxxflags) wxwin\wb_obj.cpp
  93.  
  94. wb_utils.obj : wxwin\wb_utils.cpp
  95.     $(cxx) $(cxxflags) wxwin\wb_utils.cpp
  96.  
  97.  
  98.