]> git.saurik.com Git - wxWidgets.git/blob - contrib/src/xml/makefile.vc
test for bug with new wu-ftpd
[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 $(D)\xh_toolb.obj \
41 $(D)\xh_bmpbt.obj $(D)\xh_cald.obj $(D)\xh_listc.obj $(D)\xh_scrol.obj \
42 $(D)\xh_stbox.obj $(D)\xh_tree.obj $(D)\xh_stlin.obj $(D)\xh_bmp.obj \
43 $(D)\xh_unkwn.obj
44
45 !include $(WXDIR)\src\makelib.vc
46
47 DOCSOURCES=$(LOCALDOCDIR)\xml.tex \
48 $(LOCALDOCDIR)\bugs.tex $(LOCALDOCDIR)\changes.tex\
49 $(LOCALDOCDIR)\classes.tex $(LOCALDOCDIR)\intro.tex\
50 $(LOCALDOCDIR)\topics.tex $(LOCALDOCDIR)\sample.tex
51
52 html: $(DOCDIR)\html\xml\xml.htm
53 htmlhelp: $(DOCDIR)\htmlhelp\xml.chm
54 htb: $(DOCDIR)\htb\xml.htb
55 hlp: $(DOCDIR)\winhelp\xml.hlp
56 pdfrtf: $(DOCDIR)\pdf\xml.rtf
57 ps: $(DOCDIR)\ps\xml.ps
58
59 touchmanual:
60 touch $(LOCALDOCDIR)\xml.tex
61
62
63 $(DOCDIR)\winhelp\xml.hlp: $(LOCALDOCDIR)\xml.rtf $(LOCALDOCDIR)\xml.hpj
64 cd $(LOCALDOCDIR)
65 -erase xml.ph
66 hc xml
67 move xml.hlp $(DOCDIR)\winhelp\xml.hlp
68 move xml.cnt $(DOCDIR)\winhelp\xml.cnt
69 cd $(THISDIR)
70
71 $(LOCALDOCDIR)\xml.rtf: $(DOCSOURCES)
72 cd $(LOCALDOCDIR)
73 -start $(WAITFLAG) tex2rtf $(LOCALDOCDIR)\xml.tex $(LOCALDOCDIR)\xml.rtf -twice -winhelp
74 cd $(THISDIR)
75
76 $(DOCDIR)\pdf\xml.rtf: $(DOCSOURCES)
77 cd $(LOCALDOCDIR)
78 -copy *.bmp $(DOCDIR)\pdf
79 -start $(WAITFLAG) tex2rtf $(LOCALDOCDIR)\xml.tex $(DOCDIR)\pdf\xml.rtf -twice -rtf
80 cd $(THISDIR)
81
82 $(DOCDIR)\html\xml\xml.htm: $(DOCSOURCES)
83 cd $(LOCALDOCDIR)
84 -mkdir $(DOCDIR)\html\xml
85 copy *.gif $(DOCDIR)\html\xml
86 -start $(WAITFLAG) tex2rtf $(LOCALDOCDIR)\xml.tex $(DOCDIR)\html\xml\xml.htm -twice -html
87 -erase $(DOCDIR)\html\xml\*.con
88 -erase *.con
89 -erase $(DOCDIR)\html\xml\*.ref
90 cd $(THISDIR)
91
92 $(DOCDIR)\htmlhelp\xml.chm: $(DOCDIR)\html\xml\xml.htm $(DOCDIR)\html\xml\xml.hhp
93 cd $(DOCDIR)\html\xml
94 -hhc xml.hhp
95 move xml.chm $(DOCDIR)\htmlhelp\xml.chm
96 cd $(THISDIR)
97
98 # An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk
99 # files, renamed to htb.
100 # This can then be used with e.g. helpview.
101 # Optionally, a cached version of the .hhp file can be generated with hhp2cached.
102 $(DOCDIR)\htb\xml.htb: $(DOCDIR)\html\xml\xml.htm
103 cd $(DOCDIR)\html\xml
104 -erase xml.zip xml.htb
105 zip xml.zip *.htm *.gif *.hhp *.hhc *.hhk
106 -mkdir $(DOCDIR)\htb
107 move xml.zip $(DOCDIR)\htb\xml.htb
108 cd $(THISDIR)
109
110 $(LOCALDOCDIR)\xml.dvi: $(DOCSOURCES)
111 cd $(LOCALDOCDIR)
112 -latex xml
113 -latex xml
114 -makeindx xml
115 -bibtex xml
116 -latex xml
117 -latex xml
118 cd $(THISDIR)
119
120 $(WXDIR)\docs\ps\xml.ps: $(LOCALDOCDIR)\xml.dvi
121 cd $(LOCALDOCDIR)
122 -dvips32 -o xml.ps xml
123 move xml.ps $(WXDIR)\docs\ps\xml.ps
124 cd $(THISDIR)
125