6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile : Builds wxProperty classes library (MS VC++).
11 # Use FINAL=1 argument to nmake to build final version with no debugging
14 # Set WXDIR for your system
16 THISDIR = $(WXDIR)\utils\dialoged\src
18 LOCALDOCDIR=$(WXDIR)\utils\dialoged\docs
20 !include $(WXDIR)\src\ntwxwin.mak
24 OBJECTS = dialoged.obj reseditr.obj dlghndlr.obj reswrite.obj\
25 winprop.obj edtree.obj edlist.obj symbtabl.obj winstyle.obj
31 nmake -f makefile.nt FINAL=$(FINAL)
36 nmake -f makefile.nt clean
39 $(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(OBJECTS) $(PROGRAM).res
43 $(DUMMYOBJ) $(OBJECTS) $(PROGRAM).res
47 dialoged.obj: winprop.h reseditr.h dialoged.$(SRCSUFF) $(DUMMYOBJ)
49 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
52 winprop.obj: winprop.h reseditr.h winprop.$(SRCSUFF) $(DUMMYOBJ)
54 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
57 reswrite.obj: winprop.h reseditr.h reswrite.$(SRCSUFF) $(DUMMYOBJ)
59 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
62 reseditr.obj: winprop.h reseditr.h reseditr.$(SRCSUFF) $(DUMMYOBJ)
64 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
67 edtree.obj: winprop.h reseditr.h edtree.h edtree.$(SRCSUFF) $(DUMMYOBJ)
69 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
72 edlist.obj: winprop.h reseditr.h edlist.h edlist.$(SRCSUFF) $(DUMMYOBJ)
74 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
77 dlghndlr.obj: winprop.h reseditr.h dlghndlr.$(SRCSUFF) $(DUMMYOBJ)
79 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
82 symbtabl.obj: symbtabl.h symbtabl.$(SRCSUFF) $(DUMMYOBJ)
84 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
87 winstyle.obj: winstyle.h winstyle.$(SRCSUFF) $(DUMMYOBJ)
89 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
92 $(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
93 $(rc) -r /i$(WXDIR)\include -fo$@ $(PROGRAM).rc
105 DOCSOURCES=$(LOCALDOCDIR)\dialoged.tex $(LOCALDOCDIR)\body.tex\
106 $(LOCALDOCDIR)\bugs.tex $(LOCALDOCDIR)\changes.tex\
107 $(LOCALDOCDIR)\classes.tex $(LOCALDOCDIR)\tech.tex
109 html: $(DOCDIR)\html\dialoged\dlged.htm
110 hlp: $(DOCDIR)\winhelp\dialoged.hlp
111 pdfrtf: $(DOCDIR)\pdf\dialoged.rtf
112 ps: $(DOCDIR)\ps\dialoged.ps
114 $(DOCDIR)\winhelp\dialoged.hlp: $(LOCALDOCDIR)\dialoged.rtf $(LOCALDOCDIR)\dialoged.hpj
118 move dialoged.hlp $(DOCDIR)\winhelp\dialoged.hlp
119 move dialoged.cnt $(DOCDIR)\winhelp\dialoged.cnt
122 $(LOCALDOCDIR)\dialoged.rtf: $(DOCSOURCES)
124 -start /w tex2rtf $(LOCALDOCDIR)\dialoged.tex $(LOCALDOCDIR)\dialoged.rtf -twice -winhelp
127 $(DOCDIR)\pdf\dialoged.rtf: $(DOCSOURCES)
129 -copy *.bmp *.wmf $(DOCDIR)\pdf
130 -start /w tex2rtf $(LOCALDOCDIR)\dialoged.tex $(DOCDIR)\pdf\dialoged.rtf -twice -rtf
133 $(DOCDIR)\html\dialoged\dlged.htm: $(DOCSOURCES)
135 -mkdir $(DOCDIR)\html\dialoged
136 -start /w tex2rtf $(LOCALDOCDIR)\dialoged.tex $(DOCDIR)\html\dialoged\dlged.htm -twice -html
137 -erase $(DOCDIR)\html\dialoged\*.con
138 -erase $(DOCDIR)\html\dialoged\*.ref
141 $(LOCALDOCDIR)\dialoged.dvi: $(DOCSOURCES)
151 $(WXDIR)\docs\ps\dialoged.ps: $(LOCALDOCDIR)\dialoged.dvi
153 -dvips32 -o dialoged.ps dialoged
154 move dialoged.ps $(WXDIR)\docs\ps\dialoged.ps