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
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 $(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
92 $(rc) -r /i$(WXDIR)\include -fo$@ $(PROGRAM).rc
96 nmake -f makefile.nt FINAL=$(FINAL)
101 nmake -f makefile.nt clean
112 cleanutils: clean clean_wxprop
114 DOCSOURCES=$(LOCALDOCDIR)\dialoged.tex $(LOCALDOCDIR)\body.tex\
115 $(LOCALDOCDIR)\bugs.tex $(LOCALDOCDIR)\changes.tex\
116 $(LOCALDOCDIR)\classes.tex $(LOCALDOCDIR)\tech.tex
118 html: $(DOCDIR)\html\dialoged\dlged.htm
119 hlp: $(DOCDIR)\winhelp\dialoged.hlp
120 pdfrtf: $(DOCDIR)\pdf\dialoged.rtf
121 ps: $(DOCDIR)\ps\dialoged.ps
123 $(DOCDIR)\winhelp\dialoged.hlp: $(LOCALDOCDIR)\dialoged.rtf $(LOCALDOCDIR)\dialoged.hpj
127 move dialoged.hlp $(DOCDIR)\winhelp\dialoged.hlp
128 move dialoged.cnt $(DOCDIR)\winhelp\dialoged.cnt
131 $(LOCALDOCDIR)\dialoged.rtf: $(DOCSOURCES)
133 -start /w tex2rtf $(LOCALDOCDIR)\dialoged.tex $(LOCALDOCDIR)\dialoged.rtf -twice -winhelp
136 $(DOCDIR)\pdf\dialoged.rtf: $(DOCSOURCES)
138 -copy *.bmp *.wmf $(DOCDIR)\pdf
139 -start /w tex2rtf $(LOCALDOCDIR)\dialoged.tex $(DOCDIR)\pdf\dialoged.rtf -twice -rtf
142 $(DOCDIR)\html\dialoged\dlged.htm: $(DOCSOURCES)
144 -mkdir $(DOCDIR)\html\dialoged
145 -start /w tex2rtf $(LOCALDOCDIR)\dialoged.tex $(DOCDIR)\html\dialoged\dlged.htm -twice -html
146 -erase $(DOCDIR)\html\dialoged\*.con
147 -erase $(DOCDIR)\html\dialoged\*.ref
150 $(LOCALDOCDIR)\dialoged.dvi: $(DOCSOURCES)
160 $(WXDIR)\docs\ps\dialoged.ps: $(LOCALDOCDIR)\dialoged.dvi
162 -dvips32 -o dialoged.ps dialoged
163 move dialoged.ps $(WXDIR)\docs\ps\dialoged.ps