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
17 PROPDIR = $(WXDIR)\utils\wxprop
18 PROPLIB=$(PROPDIR)\lib\wxprop.lib
19 EXTRALIBS=$(PROPDIR)\lib\wxprop.lib
20 EXTRAINC=/I$(PROPDIR)\src
22 LOCALDOCDIR=$(WXDIR)\utils\dialoged\docs
24 !include $(WXDIR)\src\ntwxwin.mak
28 OBJECTS = dialoged.obj reseditr.obj dlghndlr.obj reswrite.obj\
29 winprop.obj edtree.obj edlist.obj symbtabl.obj winstyle.obj
31 all: wxprop dialoged.exe
35 nmake -f makefile.nt FINAL=$(FINAL)
40 nmake -f makefile.nt clean
43 $(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(OBJECTS) $(PROPLIB) $(PROGRAM).res
47 $(DUMMYOBJ) $(OBJECTS) $(PROGRAM).res
51 dialoged.obj: winprop.h reseditr.h dialoged.$(SRCSUFF) $(DUMMYOBJ)
53 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
56 winprop.obj: winprop.h reseditr.h winprop.$(SRCSUFF) $(DUMMYOBJ)
58 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
61 reswrite.obj: winprop.h reseditr.h reswrite.$(SRCSUFF) $(DUMMYOBJ)
63 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
66 reseditr.obj: winprop.h reseditr.h reseditr.$(SRCSUFF) $(DUMMYOBJ)
68 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
71 edtree.obj: winprop.h reseditr.h edtree.h edtree.$(SRCSUFF) $(DUMMYOBJ)
73 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
76 edlist.obj: winprop.h reseditr.h edlist.h edlist.$(SRCSUFF) $(DUMMYOBJ)
78 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
81 dlghndlr.obj: winprop.h reseditr.h dlghndlr.$(SRCSUFF) $(DUMMYOBJ)
83 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
86 symbtabl.obj: symbtabl.h symbtabl.$(SRCSUFF) $(DUMMYOBJ)
88 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
91 winstyle.obj: winstyle.h winstyle.$(SRCSUFF) $(DUMMYOBJ)
93 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
96 $(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
97 $(rc) -r /i$(WXDIR)\include -fo$@ $(PROGRAM).rc
101 nmake -f makefile.nt FINAL=$(FINAL)
106 nmake -f makefile.nt clean
117 cleanutils: clean clean_wxprop
119 DOCSOURCES=$(LOCALDOCDIR)\dialoged.tex $(LOCALDOCDIR)\body.tex\
120 $(LOCALDOCDIR)\bugs.tex $(LOCALDOCDIR)\changes.tex\
121 $(LOCALDOCDIR)\classes.tex $(LOCALDOCDIR)\tech.tex
123 html: $(DOCDIR)\html\dialoged\dlged.htm
124 hlp: $(DOCDIR)\winhelp\dialoged.hlp
125 pdfrtf: $(DOCDIR)\pdf\dialoged.rtf
126 ps: $(DOCDIR)\ps\dialoged.ps
128 $(DOCDIR)\winhelp\dialoged.hlp: $(LOCALDOCDIR)\dialoged.rtf $(LOCALDOCDIR)\dialoged.hpj
132 move dialoged.hlp $(DOCDIR)\winhelp\dialoged.hlp
133 move dialoged.cnt $(DOCDIR)\winhelp\dialoged.cnt
136 $(LOCALDOCDIR)\dialoged.rtf: $(DOCSOURCES)
138 -start /w tex2rtf $(LOCALDOCDIR)\dialoged.tex $(LOCALDOCDIR)\dialoged.rtf -twice -winhelp
141 $(DOCDIR)\pdf\dialoged.rtf: $(DOCSOURCES)
143 -copy *.bmp *.wmf $(DOCDIR)\pdf
144 -start /w tex2rtf $(LOCALDOCDIR)\dialoged.tex $(DOCDIR)\pdf\dialoged.rtf -twice -rtf
147 $(DOCDIR)\html\dialoged\dlged.htm: $(DOCSOURCES)
149 -mkdir $(DOCDIR)\html\dialoged
150 -start /w tex2rtf $(LOCALDOCDIR)\dialoged.tex $(DOCDIR)\html\dialoged\dlged.htm -twice -html
151 -erase $(DOCDIR)\html\dialoged\*.con
152 -erase $(DOCDIR)\html\dialoged\*.ref
155 $(LOCALDOCDIR)\dialoged.dvi: $(DOCSOURCES)
165 $(WXDIR)\docs\ps\dialoged.ps: $(LOCALDOCDIR)\dialoged.dvi
167 -dvips32 -o dialoged.ps dialoged
168 move dialoged.ps $(WXDIR)\docs\ps\dialoged.ps