6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile : Builds GLCanvas class library (MS VC++).
11 # Use FINAL=1 argument to nmake to build final version with no debugging
14 # Set WXDIR for your system
16 GLDIR = $(WXDIR)\utils\glcanvas
17 THISDIR = $(GLDIR)\win
18 EXTRALIBS=$(WXDIR)\lib\glcanvas.lib
20 LOCALDOCDIR=$(WXDIR)\utils\glcanvas\docs
22 LIBTARGET=$(WXDIR)\lib\glcanvas.lib
23 OBJECTS = glcanvas.obj
25 !include $(WXDIR)\src\makelib.vc
27 glcanvas.obj: glcanvas.h glcanvas.$(SRCSUFF) $(DUMMYOBJ)
29 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
32 DOCSOURCES=$(LOCALDOCDIR)\manual.tex $(LOCALDOCDIR)\classes.tex
34 html: $(DOCDIR)\html\glcanvas\glcanvas.htm
35 hlp: $(DOCDIR)\winhelp\glcanvas.hlp
36 ps: $(WXDIR)\docs\ps\glcanvas.ps
38 $(DOCDIR)\winhelp\glcanvas.hlp: $(LOCALDOCDIR)\glcanvas.rtf $(LOCALDOCDIR)\glcanvas.hpj
42 move glcanvas.hlp $(DOCDIR)\winhelp\glcanvas.hlp
43 move glcanvas.cnt $(DOCDIR)\winhelp\glcanvas.cnt
46 $(LOCALDOCDIR)\glcanvas.rtf: $(DOCSOURCES)
48 -start /w tex2rtf $(LOCALDOCDIR)\manual.tex $(LOCALDOCDIR)\glcanvas.rtf -twice -winhelp
51 $(DOCDIR)\html\glcanvas\glcanvas.htm: $(DOCSOURCES)
53 -mkdir $(DOCDIR)\html\glcanvas
54 -start /w tex2rtf $(LOCALDOCDIR)\manual.tex $(DOCDIR)\html\glcanvas\glcanvas.htm -twice -html
55 -erase $(DOCDIR)\html\glcanvas\*.con
56 -erase $(DOCDIR)\html\glcanvas\*.ref
59 $(LOCALDOCDIR)\manual.dvi: $(DOCSOURCES)
69 $(WXDIR)\docs\ps\glcanvas.ps: $(LOCALDOCDIR)\manual.dvi
71 -dvips32 -o glcanvas.ps manual
72 move glcanvas.ps $(WXDIR)\docs\ps\glcanvas.ps