]> git.saurik.com Git - wxWidgets.git/blame - contrib/src/fl/makefile.vc
Fixed bug with SetValue on read-only combobox; don't call ::SetWindowText,
[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
e492150d 33alldocs: mkdirs html htmlhelp htb hlp pdfrtf
6e8515a3
JS
34html: $(DOCDIR)\html\fl\fl.htm
35htmlhelp: $(DOCDIR)\htmlhelp\fl.chm
36htb: $(DOCDIR)\htb\fl.htb
37hlp: $(DOCDIR)\winhelp\fl.hlp
38pdfrtf: $(DOCDIR)\pdf\fl.rtf
39ps: $(DOCDIR)\ps\fl.ps
40
41touchmanual:
42 touch $(DOCSOURCEDIR)\fl.tex
43
44$(DOCDIR)\winhelp\fl.hlp: $(DOCSOURCEDIR)\fl.rtf $(DOCSOURCEDIR)\fl.hpj
45 cd $(DOCSOURCEDIR)
46 -erase fl.ph
47 hc fl
48 move fl.hlp $(DOCDIR)\winhelp\fl.hlp
49 move fl.cnt $(DOCDIR)\winhelp\fl.cnt
50 cd $(THISDIR)
51
52$(DOCSOURCEDIR)\fl.rtf: $(DOCSOURCES)
53 cd $(DOCSOURCEDIR)
54 -start $(WAITFLAG) tex2rtf $(DOCSOURCEDIR)\fl.tex $(DOCSOURCEDIR)\fl.rtf -twice -winhelp
55 cd $(THISDIR)
56
57$(DOCDIR)\pdf\fl.rtf: $(DOCSOURCES)
58 cd $(DOCSOURCEDIR)
59 -copy *.bmp $(DOCDIR)\pdf
60 -start $(WAITFLAG) tex2rtf $(DOCSOURCEDIR)\fl.tex $(DOCDIR)\pdf\fl.rtf -twice -rtf
61 cd $(THISDIR)
62
63$(DOCDIR)\html\fl\fl.htm: $(DOCSOURCES)
64 cd $(DOCSOURCEDIR)
65 -mkdir $(DOCDIR)\html\fl
66 copy *.gif $(DOCDIR)\html\fl
67 -start $(WAITFLAG) tex2rtf $(DOCSOURCEDIR)\fl.tex $(DOCDIR)\html\fl\fl.htm -twice -html
68 -erase $(DOCDIR)\html\fl\*.con
69 -erase *.con
70 -erase $(DOCDIR)\html\fl\*.ref
71 cd $(THISDIR)
72
73$(DOCDIR)\htmlhelp\fl.chm: $(DOCDIR)\html\fl\fl.htm $(DOCDIR)\html\fl\fl.hhp
74 cd $(DOCDIR)\html\fl
75 -hhc fl.hhp
76 -erase $(DOCDIR)\htmlhelp\fl.chm
77 move fl.chm $(DOCDIR)\htmlhelp\fl.chm
78 cd $(THISDIR)
79
80# An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk
81# files, renamed to htb.
82# This can then be used with e.g. helpview.
83# Optionally, a cached version of the .hhp file can be generated with hhp2cached.
84$(DOCDIR)\htb\fl.htb: $(DOCDIR)\html\fl\fl.htm
85 cd $(DOCDIR)\html\fl
86 -erase fl.zip fl.htb
87 zip fl.zip *.htm *.gif *.hhp *.hhc *.hhk
88 -mkdir $(DOCDIR)\htb
89 -erase $(DOCDIR)\htb\fl.htb
90 -erase $(DOCDIR)\htb\fl.htb
91 move fl.zip $(DOCDIR)\htb\fl.htb
92 cd $(THISDIR)
93
94$(DOCSOURCEDIR)\fl.dvi: $(DOCSOURCES)
95 cd $(DOCSOURCEDIR)
96 -latex fl
97 -latex fl
98 -makeindx fl
99 -bibtex fl
100 -latex fl
101 -latex fl
102 cd $(THISDIR)
103
104$(WXDIR)\docs\ps\fl.ps: $(DOCSOURCEDIR)\fl.dvi
105 cd $(DOCSOURCEDIR)
106 -dvips32 -o fl.ps fl
107 move fl.ps $(WXDIR)\docs\ps\fl.ps
108 cd $(THISDIR)
109