3 # Author: Hans Van Leemputten
6 # Copyright: (c) wxWorkshop team, 2001
8 # Makefile for wxWindows FrameLayout library (Microsoft VC++)
9 # Use FINAL=1 argument to nmake to build final version with no debug info.
18 LIBTARGET=$(WXDIR)\lib\$(LIB_NAME).lib
20 LIBTARGET=$(WXDIR)\lib\$(LIB_NAME)d.lib
23 OBJECTS = $(FL_OBJECTS)
25 !include $(WXWIN)\src\makelib.vc
27 DOCSOURCEDIR=$(WXDIR)\contrib\docs\latex\fl
29 THISDIR = $(WXDIR)\contrib\src\fl
30 DOCSOURCES=$(DOCSOURCEDIR)\fl.tex \
31 $(DOCSOURCEDIR)\classes.tex $(DOCSOURCEDIR)\topics.tex
33 alldocs: mkdirs html htmlhelp htb hlp pdfrtf
34 html: $(DOCDIR)\html\fl\fl.htm
35 htmlhelp: $(DOCDIR)\htmlhelp\fl.chm
36 htb: $(DOCDIR)\htb\fl.htb
37 hlp: $(DOCDIR)\winhelp\fl.hlp
38 pdfrtf: $(DOCDIR)\pdf\fl.rtf
39 ps: $(DOCDIR)\ps\fl.ps
42 touch $(DOCSOURCEDIR)\fl.tex
44 $(DOCDIR)\winhelp\fl.hlp: $(DOCSOURCEDIR)\fl.rtf $(DOCSOURCEDIR)\fl.hpj
48 move fl.hlp $(DOCDIR)\winhelp\fl.hlp
49 move fl.cnt $(DOCDIR)\winhelp\fl.cnt
52 $(DOCSOURCEDIR)\fl.rtf: $(DOCSOURCES)
54 -start $(WAITFLAG) tex2rtf $(DOCSOURCEDIR)\fl.tex $(DOCSOURCEDIR)\fl.rtf -twice -winhelp
57 $(DOCDIR)\pdf\fl.rtf: $(DOCSOURCES)
59 -copy *.bmp $(DOCDIR)\pdf
60 -start $(WAITFLAG) tex2rtf $(DOCSOURCEDIR)\fl.tex $(DOCDIR)\pdf\fl.rtf -twice -rtf
63 $(DOCDIR)\html\fl\fl.htm: $(DOCSOURCES)
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
70 -erase $(DOCDIR)\html\fl\*.ref
73 $(DOCDIR)\htmlhelp\fl.chm: $(DOCDIR)\html\fl\fl.htm $(DOCDIR)\html\fl\fl.hhp
76 -erase $(DOCDIR)\htmlhelp\fl.chm
77 move fl.chm $(DOCDIR)\htmlhelp\fl.chm
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
87 zip fl.zip *.htm *.gif *.hhp *.hhc *.hhk
89 -erase $(DOCDIR)\htb\fl.htb
90 -erase $(DOCDIR)\htb\fl.htb
91 move fl.zip $(DOCDIR)\htb\fl.htb
94 $(DOCSOURCEDIR)\fl.dvi: $(DOCSOURCES)
104 $(WXDIR)\docs\ps\fl.ps: $(DOCSOURCEDIR)\fl.dvi
107 move fl.ps $(WXDIR)\docs\ps\fl.ps