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 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
41 touch $(DOCSOURCEDIR)\fl.tex
43 $(DOCDIR)\winhelp\fl.hlp: $(DOCSOURCEDIR)\fl.rtf $(DOCSOURCEDIR)\fl.hpj
47 move fl.hlp $(DOCDIR)\winhelp\fl.hlp
48 move fl.cnt $(DOCDIR)\winhelp\fl.cnt
51 $(DOCSOURCEDIR)\fl.rtf: $(DOCSOURCES)
53 -start $(WAITFLAG) tex2rtf $(DOCSOURCEDIR)\fl.tex $(DOCSOURCEDIR)\fl.rtf -twice -winhelp
56 $(DOCDIR)\pdf\fl.rtf: $(DOCSOURCES)
58 -copy *.bmp $(DOCDIR)\pdf
59 -start $(WAITFLAG) tex2rtf $(DOCSOURCEDIR)\fl.tex $(DOCDIR)\pdf\fl.rtf -twice -rtf
62 $(DOCDIR)\html\fl\fl.htm: $(DOCSOURCES)
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
69 -erase $(DOCDIR)\html\fl\*.ref
72 $(DOCDIR)\htmlhelp\fl.chm: $(DOCDIR)\html\fl\fl.htm $(DOCDIR)\html\fl\fl.hhp
75 -erase $(DOCDIR)\htmlhelp\fl.chm
76 move fl.chm $(DOCDIR)\htmlhelp\fl.chm
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
86 zip fl.zip *.htm *.gif *.hhp *.hhc *.hhk
88 -erase $(DOCDIR)\htb\fl.htb
89 -erase $(DOCDIR)\htb\fl.htb
90 move fl.zip $(DOCDIR)\htb\fl.htb
93 $(DOCSOURCEDIR)\fl.dvi: $(DOCSOURCES)
103 $(WXDIR)\docs\ps\fl.ps: $(DOCSOURCEDIR)\fl.dvi
106 move fl.ps $(WXDIR)\docs\ps\fl.ps