]> git.saurik.com Git - wxWidgets.git/blob - contrib/src/fl/makefile.vc
Removed Refresh from OnSize as it's not needed anymore
[wxWidgets.git] / contrib / src / fl / makefile.vc
1 #
2 # File: makefile.vc
3 # Author: Hans Van Leemputten
4 # Created: 2001
5 # Updated:
6 # Copyright: (c) wxWorkshop team, 2001
7 #
8 # Makefile for wxWindows FrameLayout library (Microsoft VC++)
9 # Use FINAL=1 argument to nmake to build final version with no debug info.
10
11 WXDIR = ..\..\..
12 LIB_NAME = fl
13 OBJ_EXT = obj
14
15 !include files.lst
16
17 !if "$(FINAL)" == "1"
18 LIBTARGET=$(WXDIR)\lib\$(LIB_NAME).lib
19 !else
20 LIBTARGET=$(WXDIR)\lib\$(LIB_NAME)d.lib
21 !endif
22
23 OBJECTS = $(FL_OBJECTS)
24
25 !include $(WXWIN)\src\makelib.vc
26
27 DOCSOURCEDIR=$(WXDIR)\contrib\docs\latex\fl
28 DOCDIR=$(WXDIR)\docs
29 THISDIR = $(WXDIR)\contrib\src\fl
30 DOCSOURCES=$(DOCSOURCEDIR)\fl.tex \
31 $(DOCSOURCEDIR)\classes.tex $(DOCSOURCEDIR)\topics.tex
32
33 html: $(DOCDIR)\html\fl\fl.htm
34 htmlhelp: $(DOCDIR)\htmlhelp\fl.chm
35 htb: $(DOCDIR)\htb\fl.htb
36 hlp: $(DOCDIR)\winhelp\fl.hlp
37 pdfrtf: $(DOCDIR)\pdf\fl.rtf
38 ps: $(DOCDIR)\ps\fl.ps
39
40 touchmanual:
41 touch $(DOCSOURCEDIR)\fl.tex
42
43 $(DOCDIR)\winhelp\fl.hlp: $(DOCSOURCEDIR)\fl.rtf $(DOCSOURCEDIR)\fl.hpj
44 cd $(DOCSOURCEDIR)
45 -erase fl.ph
46 hc fl
47 move fl.hlp $(DOCDIR)\winhelp\fl.hlp
48 move fl.cnt $(DOCDIR)\winhelp\fl.cnt
49 cd $(THISDIR)
50
51 $(DOCSOURCEDIR)\fl.rtf: $(DOCSOURCES)
52 cd $(DOCSOURCEDIR)
53 -start $(WAITFLAG) tex2rtf $(DOCSOURCEDIR)\fl.tex $(DOCSOURCEDIR)\fl.rtf -twice -winhelp
54 cd $(THISDIR)
55
56 $(DOCDIR)\pdf\fl.rtf: $(DOCSOURCES)
57 cd $(DOCSOURCEDIR)
58 -copy *.bmp $(DOCDIR)\pdf
59 -start $(WAITFLAG) tex2rtf $(DOCSOURCEDIR)\fl.tex $(DOCDIR)\pdf\fl.rtf -twice -rtf
60 cd $(THISDIR)
61
62 $(DOCDIR)\html\fl\fl.htm: $(DOCSOURCES)
63 cd $(DOCSOURCEDIR)
64 -mkdir $(DOCDIR)\html\fl
65 copy *.gif $(DOCDIR)\html\fl
66 -start $(WAITFLAG) tex2rtf $(DOCSOURCEDIR)\fl.tex $(DOCDIR)\html\fl\fl.htm -twice -html
67 -erase $(DOCDIR)\html\fl\*.con
68 -erase *.con
69 -erase $(DOCDIR)\html\fl\*.ref
70 cd $(THISDIR)
71
72 $(DOCDIR)\htmlhelp\fl.chm: $(DOCDIR)\html\fl\fl.htm $(DOCDIR)\html\fl\fl.hhp
73 cd $(DOCDIR)\html\fl
74 -hhc fl.hhp
75 -erase $(DOCDIR)\htmlhelp\fl.chm
76 move fl.chm $(DOCDIR)\htmlhelp\fl.chm
77 cd $(THISDIR)
78
79 # An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk
80 # files, renamed to htb.
81 # This can then be used with e.g. helpview.
82 # Optionally, a cached version of the .hhp file can be generated with hhp2cached.
83 $(DOCDIR)\htb\fl.htb: $(DOCDIR)\html\fl\fl.htm
84 cd $(DOCDIR)\html\fl
85 -erase fl.zip fl.htb
86 zip fl.zip *.htm *.gif *.hhp *.hhc *.hhk
87 -mkdir $(DOCDIR)\htb
88 -erase $(DOCDIR)\htb\fl.htb
89 -erase $(DOCDIR)\htb\fl.htb
90 move fl.zip $(DOCDIR)\htb\fl.htb
91 cd $(THISDIR)
92
93 $(DOCSOURCEDIR)\fl.dvi: $(DOCSOURCES)
94 cd $(DOCSOURCEDIR)
95 -latex fl
96 -latex fl
97 -makeindx fl
98 -bibtex fl
99 -latex fl
100 -latex fl
101 cd $(THISDIR)
102
103 $(WXDIR)\docs\ps\fl.ps: $(DOCSOURCEDIR)\fl.dvi
104 cd $(DOCSOURCEDIR)
105 -dvips32 -o fl.ps fl
106 move fl.ps $(WXDIR)\docs\ps\fl.ps
107 cd $(THISDIR)
108