]> git.saurik.com Git - wxWidgets.git/blob - utils/glcanvas/win/makefile.vc
Corrected link error for missing wxRegTipProvider::GetTip by giving it
[wxWidgets.git] / utils / glcanvas / win / makefile.vc
1 #
2 # File: makefile.nt
3 # Author: Julian Smart
4 # Created: 1993
5 # Updated:
6 # Copyright: (c) 1993, AIAI, University of Edinburgh
7 #
8 # "%W% %G%"
9 #
10 # Makefile : Builds GLCanvas class library (MS VC++).
11 # Use FINAL=1 argument to nmake to build final version with no debugging
12 # info
13
14 # Set WXDIR for your system
15 WXDIR = $(WXWIN)
16 GLDIR = $(WXDIR)\utils\glcanvas
17 THISDIR = $(GLDIR)\win
18 EXTRALIBS=$(WXDIR)\lib\glcanvas.lib
19 DOCDIR=$(WXDIR)\docs
20 LOCALDOCDIR=$(WXDIR)\utils\glcanvas\docs
21
22 LIBTARGET=$(WXDIR)\lib\glcanvas.lib
23 OBJECTS = glcanvas.obj
24
25 !include $(WXDIR)\src\makelib.vc
26
27 glcanvas.obj: glcanvas.h glcanvas.$(SRCSUFF) $(DUMMYOBJ)
28 $(cc) @<<
29 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
30 <<
31
32 DOCSOURCES=$(LOCALDOCDIR)\manual.tex $(LOCALDOCDIR)\classes.tex
33
34 html: $(DOCDIR)\html\glcanvas\glcanvas.htm
35 hlp: $(DOCDIR)\winhelp\glcanvas.hlp
36 ps: $(WXDIR)\docs\ps\glcanvas.ps
37
38 $(DOCDIR)\winhelp\glcanvas.hlp: $(LOCALDOCDIR)\glcanvas.rtf $(LOCALDOCDIR)\glcanvas.hpj
39 cd $(LOCALDOCDIR)
40 -erase glcanvas.ph
41 hc glcanvas
42 move glcanvas.hlp $(DOCDIR)\winhelp\glcanvas.hlp
43 move glcanvas.cnt $(DOCDIR)\winhelp\glcanvas.cnt
44 cd $(THISDIR)
45
46 $(LOCALDOCDIR)\glcanvas.rtf: $(DOCSOURCES)
47 cd $(LOCALDOCDIR)
48 -start /w tex2rtf $(LOCALDOCDIR)\manual.tex $(LOCALDOCDIR)\glcanvas.rtf -twice -winhelp
49 cd $(THISDIR)
50
51 $(DOCDIR)\html\glcanvas\glcanvas.htm: $(DOCSOURCES)
52 cd $(LOCALDOCDIR)
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
57 cd $(THISDIR)
58
59 $(LOCALDOCDIR)\manual.dvi: $(DOCSOURCES)
60 cd $(LOCALDOCDIR)
61 -latex manual
62 -latex manual
63 -makeindx manual
64 -bibtex manual
65 -latex manual
66 -latex manual
67 cd $(THISDIR)
68
69 $(WXDIR)\docs\ps\glcanvas.ps: $(LOCALDOCDIR)\manual.dvi
70 cd $(LOCALDOCDIR)
71 -dvips32 -o glcanvas.ps manual
72 move glcanvas.ps $(WXDIR)\docs\ps\glcanvas.ps
73 cd $(THISDIR)
74
75