]> git.saurik.com Git - wxWidgets.git/blame - contrib/src/animate/makefile.vc
Significantly changed how the Python interpreter lock and thread state
[wxWidgets.git] / contrib / src / animate / makefile.vc
CommitLineData
4638d697
JS
1
2# File: makefile.vc
3# Author: Julian Smart
4# Created: 2001
5# Updated:
6# Copyright: (c) 2001, Julian Smart
7#
8# "%W% %G%"
9#
10# Makefile : Builds Plot class library (MS VC++).
11# Use FINAL=1 argument to nmake to build final version with no debugging
12# info
13
14
15# Set WXDIR for your system
16WXDIR = $(WXWIN)
17GIZMOSDIR = $(WXDIR)\contrib\src\animate
18GIZMOSINC = $(WXDIR)\contrib\include\wx\animate
19THISDIR = $(WXDIR)\contrib\src\animate
20DOCDIR=$(WXDIR)\contrib\docs
21LOCALDOCDIR=$(WXDIR)\contrib\docs\latex\animate
22
23!include $(WXDIR)\src\makevc.env
24
25OBJECTS = $(D)\animate.obj
26
27LIBTARGET=$(WXDIR)\lib\anim$(LIBEXT).lib
28
29all: $(D) $(LIBTARGET)
30
31$(D) :
32 mkdir $(D)
33
34wx:
35 cd $(WXDIR)\src\msw
36 nmake -f makefile.vc FINAL=$(FINAL)
37 cd $(THISDIR)
38
39wxclean:
40 cd $(WXDIR)\src\msw
41 nmake -f makefile.vc clean
42 cd $(THISDIR)
43
44$(LIBTARGET): $(OBJECTS)
45 -erase $(LIBTARGET)
46 $(implib) @<<
47-out:$(LIBTARGET)
48-machine:$(CPU)
49$(OBJECTS)
50<<
51
52$(D)\animate.obj: animate.$(SRCSUFF)
53 cl @<<
54$(CPPFLAGS) /c /Fo$@ /Tp $(*B).$(SRCSUFF)
55<<
56
57clean:
58 -erase $(D)\*.obj
59 -erase *.sbr
60 -erase *.exe
61 -erase *.res
62 -erase *.map
63 -erase *.pdb
64 -erase $(LIBTARGET)
65
66DOCSOURCES=$(LOCALDOCDIR)\animate.tex \
67 $(LOCALDOCDIR)\bugs.tex $(LOCALDOCDIR)\changes.tex\
68 $(LOCALDOCDIR)\classes.tex $(LOCALDOCDIR)\intro.tex\
69 $(LOCALDOCDIR)\topics.tex $(LOCALDOCDIR)\sample.tex
70
71html: $(DOCDIR)\html\animate\animate.htm
72htmlhelp: $(DOCDIR)\htmlhelp\animate.chm
73htb: $(DOCDIR)\htb\animate.htb
74hlp: $(DOCDIR)\winhelp\animate.hlp
75pdfrtf: $(DOCDIR)\pdf\animate.rtf
76ps: $(DOCDIR)\ps\animate.ps
77
78touchmanual:
79 touch $(LOCALDOCDIR)\animate.tex
80
81
82$(DOCDIR)\winhelp\animate.hlp: $(LOCALDOCDIR)\animate.rtf $(LOCALDOCDIR)\animate.hpj
83 cd $(LOCALDOCDIR)
84 -erase animate.ph
85 hc animate
86 move animate.hlp $(DOCDIR)\winhelp\animate.hlp
87 move animate.cnt $(DOCDIR)\winhelp\animate.cnt
88 cd $(THISDIR)
89
90$(LOCALDOCDIR)\animate.rtf: $(DOCSOURCES)
91 cd $(LOCALDOCDIR)
92 -start $(WAITFLAG) tex2rtf $(LOCALDOCDIR)\animate.tex $(LOCALDOCDIR)\animate.rtf -twice -winhelp
93 cd $(THISDIR)
94
95$(DOCDIR)\pdf\animate.rtf: $(DOCSOURCES)
96 cd $(LOCALDOCDIR)
97 -copy *.bmp $(DOCDIR)\pdf
98 -start $(WAITFLAG) tex2rtf $(LOCALDOCDIR)\animate.tex $(DOCDIR)\pdf\animate.rtf -twice -rtf
99 cd $(THISDIR)
100
101$(DOCDIR)\html\animate\animate.htm: $(DOCSOURCES)
102 cd $(LOCALDOCDIR)
103 -mkdir $(DOCDIR)\html\animate
104 copy *.gif $(DOCDIR)\html\animate
105 -start $(WAITFLAG) tex2rtf $(LOCALDOCDIR)\animate.tex $(DOCDIR)\html\animate\animate.htm -twice -html
106 -erase $(DOCDIR)\html\animate\*.con
107 -erase *.con
108 -erase $(DOCDIR)\html\animate\*.ref
109 cd $(THISDIR)
110
111$(DOCDIR)\htmlhelp\animate.chm: $(DOCDIR)\html\animate\animate.htm $(DOCDIR)\html\animate\animate.hhp
112 cd $(DOCDIR)\html\animate
113 -hhc animate.hhp
114 move animate.chm $(DOCDIR)\htmlhelp\animate.chm
115 cd $(THISDIR)
116
117# An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk
118# files, renamed to htb.
119# This can then be used with e.g. helpview.
120# Optionally, a cached version of the .hhp file can be generated with hhp2cached.
121$(DOCDIR)\htb\animate.htb: $(DOCDIR)\html\animate\animate.htm
122 cd $(DOCDIR)\html\animate
123 -erase animate.zip animate.htb
124 zip animate.zip *.htm *.gif *.hhp *.hhc *.hhk
125 -mkdir $(DOCDIR)\htb
126 move animate.zip $(DOCDIR)\htb\animate.htb
127 cd $(THISDIR)
128
129$(LOCALDOCDIR)\animate.dvi: $(DOCSOURCES)
130 cd $(LOCALDOCDIR)
131 -latex animate
132 -latex animate
133 -makeindx animate
134 -bibtex animate
135 -latex animate
136 -latex animate
137 cd $(THISDIR)
138
139$(WXDIR)\docs\ps\animate.ps: $(LOCALDOCDIR)\animate.dvi
140 cd $(LOCALDOCDIR)
141 -dvips32 -o animate.ps animate
142 move animate.ps $(WXDIR)\docs\ps\animate.ps
143 cd $(THISDIR)
144