]> git.saurik.com Git - wxWidgets.git/blob - contrib/src/xml/makefile.vc
added binz handler to standard handlers initialized always
[wxWidgets.git] / contrib / src / xml / makefile.vc
1
2 # File: makefile.vc
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 wxXML classes 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 wxXMLDIR = $(WXDIR)\contrib\src\xml
17 wxXMLINC = $(WXDIR)\contrib\include\wx\xml
18 THISDIR = $(WXDIR)\contrib\src\xml
19 DOCDIR=$(WXDIR)\contrib\docs
20 LOCALDOCDIR=$(WXDIR)\contrib\docs\latex\xml
21
22 # Set this to where your libxml is
23 EXTRAFLAGS=-Id:\libxml\libxml2-2.1.1
24
25 # Unfortunately we need this _before_ we include makelib.vc
26 !if "$(FINAL)" == "1"
27 D=Release
28 !else
29 D=Debug
30 LIBEXT=d
31 !endif
32
33 LIBTARGET=$(WXDIR)\lib\wxxml$(LIBEXT).lib
34 EXTRATARGETS=$(D)
35
36 OBJECTS=$(D)\xml.obj $(D)\xmlbin.obj $(D)\xmlbinz.obj $(D)\xmlpars.obj $(D)\xmlres.obj $(D)\xmlrsall.obj \
37 $(D)\xh_bttn.obj $(D)\xh_chckb.obj $(D)\xh_chckl.obj $(D)\xh_choic.obj $(D)\xh_combo.obj $(D)\xh_dlg.obj \
38 $(D)\xh_gauge.obj $(D)\xh_html.obj $(D)\xh_menu.obj $(D)\xh_notbk.obj $(D)\xh_panel.obj $(D)\xh_radbt.obj \
39 $(D)\xh_radbx.obj $(D)\xh_sizer.obj $(D)\xh_slidr.obj $(D)\xh_spin.obj $(D)\xh_stbmp.obj $(D)\xh_sttxt.obj \
40 $(D)\xh_text.obj $(D)\xh_listb.obj
41
42 !include $(WXDIR)\src\makelib.vc
43
44 DOCSOURCES=$(LOCALDOCDIR)\xml.tex \
45 $(LOCALDOCDIR)\bugs.tex $(LOCALDOCDIR)\changes.tex\
46 $(LOCALDOCDIR)\classes.tex $(LOCALDOCDIR)\intro.tex\
47 $(LOCALDOCDIR)\topics.tex $(LOCALDOCDIR)\sample.tex
48
49 html: $(DOCDIR)\html\xml\xml.htm
50 htmlhelp: $(DOCDIR)\htmlhelp\xml.chm
51 htb: $(DOCDIR)\htb\xml.htb
52 hlp: $(DOCDIR)\winhelp\xml.hlp
53 pdfrtf: $(DOCDIR)\pdf\xml.rtf
54 ps: $(DOCDIR)\ps\xml.ps
55
56 touchmanual:
57 touch $(LOCALDOCDIR)\xml.tex
58
59
60 $(DOCDIR)\winhelp\xml.hlp: $(LOCALDOCDIR)\xml.rtf $(LOCALDOCDIR)\xml.hpj
61 cd $(LOCALDOCDIR)
62 -erase xml.ph
63 hc xml
64 move xml.hlp $(DOCDIR)\winhelp\xml.hlp
65 move xml.cnt $(DOCDIR)\winhelp\xml.cnt
66 cd $(THISDIR)
67
68 $(LOCALDOCDIR)\xml.rtf: $(DOCSOURCES)
69 cd $(LOCALDOCDIR)
70 -start $(WAITFLAG) tex2rtf $(LOCALDOCDIR)\xml.tex $(LOCALDOCDIR)\xml.rtf -twice -winhelp
71 cd $(THISDIR)
72
73 $(DOCDIR)\pdf\xml.rtf: $(DOCSOURCES)
74 cd $(LOCALDOCDIR)
75 -copy *.bmp $(DOCDIR)\pdf
76 -start $(WAITFLAG) tex2rtf $(LOCALDOCDIR)\xml.tex $(DOCDIR)\pdf\xml.rtf -twice -rtf
77 cd $(THISDIR)
78
79 $(DOCDIR)\html\xml\xml.htm: $(DOCSOURCES)
80 cd $(LOCALDOCDIR)
81 -mkdir $(DOCDIR)\html\xml
82 copy *.gif $(DOCDIR)\html\xml
83 -start $(WAITFLAG) tex2rtf $(LOCALDOCDIR)\xml.tex $(DOCDIR)\html\xml\xml.htm -twice -html
84 -erase $(DOCDIR)\html\xml\*.con
85 -erase *.con
86 -erase $(DOCDIR)\html\xml\*.ref
87 cd $(THISDIR)
88
89 $(DOCDIR)\htmlhelp\xml.chm: $(DOCDIR)\html\xml\xml.htm $(DOCDIR)\html\xml\xml.hhp
90 cd $(DOCDIR)\html\xml
91 -hhc xml.hhp
92 move xml.chm $(DOCDIR)\htmlhelp\xml.chm
93 cd $(THISDIR)
94
95 # An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk
96 # files, renamed to htb.
97 # This can then be used with e.g. helpview.
98 # Optionally, a cached version of the .hhp file can be generated with hhp2cached.
99 $(DOCDIR)\htb\xml.htb: $(DOCDIR)\html\xml\xml.htm
100 cd $(DOCDIR)\html\xml
101 -erase /Y xml.zip xml.htb
102 zip32 xml.zip *.htm *.gif *.hhp *.hhc *.hhk
103 -mkdir $(DOCDIR)\htb
104 move xml.zip $(DOCDIR)\htb\xml.htb
105 cd $(THISDIR)
106
107 $(LOCALDOCDIR)\xml.dvi: $(DOCSOURCES)
108 cd $(LOCALDOCDIR)
109 -latex xml
110 -latex xml
111 -makeindx xml
112 -bibtex xml
113 -latex xml
114 -latex xml
115 cd $(THISDIR)
116
117 $(WXDIR)\docs\ps\xml.ps: $(LOCALDOCDIR)\xml.dvi
118 cd $(LOCALDOCDIR)
119 -dvips32 -o xml.ps xml
120 move xml.ps $(WXDIR)\docs\ps\xml.ps
121 cd $(THISDIR)
122