]> git.saurik.com Git - wxWidgets.git/blame - contrib/src/fl/makefile.vc
Fixed problem in InsertItems of always adding ownerdraw data even when
[wxWidgets.git] / contrib / src / fl / makefile.vc
CommitLineData
8e08b761
JS
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
11WXDIR = ..\..\..
12LIB_NAME = fl
13OBJ_EXT = obj
14
15!include files.lst
16
17!if "$(FINAL)" == "1"
18LIBTARGET=$(WXDIR)\lib\$(LIB_NAME).lib
19!else
20LIBTARGET=$(WXDIR)\lib\$(LIB_NAME)d.lib
21!endif
22
23OBJECTS = $(FL_OBJECTS)
24
25!include $(WXWIN)\src\makelib.vc
26
6e8515a3
JS
27DOCSOURCEDIR=$(WXDIR)\contrib\docs\latex\fl
28DOCDIR=$(WXDIR)\docs
29THISDIR = $(WXDIR)\contrib\src\fl
30DOCSOURCES=$(DOCSOURCEDIR)\fl.tex \
31 $(DOCSOURCEDIR)\classes.tex $(DOCSOURCEDIR)\topics.tex
32
33html: $(DOCDIR)\html\fl\fl.htm
34htmlhelp: $(DOCDIR)\htmlhelp\fl.chm
35htb: $(DOCDIR)\htb\fl.htb
36hlp: $(DOCDIR)\winhelp\fl.hlp
37pdfrtf: $(DOCDIR)\pdf\fl.rtf
38ps: $(DOCDIR)\ps\fl.ps
39
40touchmanual:
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