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 editrpal.obj reseditr.obj dlghndlr.obj reswrite.obj winprop.obj
30 all: wxprop dialoged.exe
34 nmake -f makefile.nt FINAL=$(FINAL)
39 nmake -f makefile.nt clean
42 $(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(OBJECTS) $(PROPLIB) $(PROGRAM).res
46 $(DUMMYOBJ) $(OBJECTS) $(PROGRAM).res
50 dialoged.obj: winprop.h reseditr.h editrpal.h dialoged.$(SRCSUFF) $(DUMMYOBJ)
52 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
55 winprop.obj: winprop.h reseditr.h editrpal.h winprop.$(SRCSUFF) $(DUMMYOBJ)
57 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
60 editrpal.obj: winprop.h reseditr.h editrpal.h editrpal.$(SRCSUFF) $(DUMMYOBJ)
62 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
65 reswrite.obj: winprop.h reseditr.h editrpal.h reswrite.$(SRCSUFF) $(DUMMYOBJ)
67 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
70 reseditr.obj: winprop.h reseditr.h editrpal.h reseditr.$(SRCSUFF) $(DUMMYOBJ)
72 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
75 dlghndlr.obj: winprop.h reseditr.h editrpal.h dlghndlr.$(SRCSUFF) $(DUMMYOBJ)
77 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
80 $(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
81 $(rc) -r /i$(WXDIR)\include -fo$@ $(PROGRAM).rc
85 nmake -f makefile.nt FINAL=$(FINAL)
90 nmake -f makefile.nt clean
101 cleanutils: clean clean_wxprop
103 DOCSOURCES=$(LOCALDOCDIR)\dialoged.tex $(LOCALDOCDIR)\body.tex\
104 $(LOCALDOCDIR)\bugs.tex $(LOCALDOCDIR)\changes.tex\
105 $(LOCALDOCDIR)\classes.tex $(LOCALDOCDIR)\tech.tex
107 html: $(DOCDIR)\html\dialoged\dlged.htm
108 hlp: $(DOCDIR)\winhelp\dialoged.hlp
109 pdfrtf: $(DOCDIR)\pdf\dialoged.rtf
110 ps: $(DOCDIR)\ps\dialoged.ps
112 $(DOCDIR)\winhelp\dialoged.hlp: $(LOCALDOCDIR)\dialoged.rtf $(LOCALDOCDIR)\dialoged.hpj
116 move dialoged.hlp $(DOCDIR)\winhelp\dialoged.hlp
117 move dialoged.cnt $(DOCDIR)\winhelp\dialoged.cnt
120 $(LOCALDOCDIR)\dialoged.rtf: $(DOCSOURCES)
122 -start /w tex2rtf $(LOCALDOCDIR)\dialoged.tex $(LOCALDOCDIR)\dialoged.rtf -twice -winhelp
125 $(DOCDIR)\pdf\dialoged.rtf: $(DOCSOURCES)
127 -copy *.bmp *.wmf $(DOCDIR)\pdf
128 -start /w tex2rtf $(LOCALDOCDIR)\dialoged.tex $(DOCDIR)\pdf\dialoged.rtf -twice -rtf
131 $(DOCDIR)\html\dialoged\dlged.htm: $(DOCSOURCES)
133 -mkdir $(DOCDIR)\html\dialoged
134 -start /w tex2rtf $(LOCALDOCDIR)\dialoged.tex $(DOCDIR)\html\dialoged\dlged.htm -twice -html
135 -erase $(DOCDIR)\html\dialoged\*.con
136 -erase $(DOCDIR)\html\dialoged\*.ref
139 $(LOCALDOCDIR)\dialoged.dvi: $(DOCSOURCES)
149 $(WXDIR)\docs\ps\dialoged.ps: $(LOCALDOCDIR)\dialoged.dvi
151 -dvips32 -o dialoged.ps dialoged
152 move dialoged.ps $(WXDIR)\docs\ps\dialoged.ps