6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile : Builds wxProperty class library (MS VC++).
11 # Use FINAL=1 argument to nmake to build final version with no debugging
14 # Set WXDIR for your system
16 PROPDIR = $(WXDIR)\utils\wxprop
17 THISDIR = $(WXDIR)\utils\wxprop\src
18 EXTRALIBS=$(PROPDIR)\lib\wxprop.lib
20 LOCALDOCDIR=$(WXDIR)\utils\wxprop\docs
22 !include $(WXDIR)\src\ntwxwin.mak
26 OBJECTS = prop.obj proplist.obj propform.obj
27 PROGOBJECTS = $(PROGRAM).obj
28 LIBTARGET=$(PROPDIR)\lib\wxprop.lib
32 $(PROGRAM): $(PROGRAM).exe
36 nmake -f makefile.nt FINAL=$(FINAL)
41 nmake -f makefile.nt clean
44 $(LIBTARGET): $(OBJECTS)
52 $(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(PROGOBJECTS) $(LIBTARGET) $(PROGRAM).res
56 $(DUMMYOBJ) $(PROGOBJECTS) $(PROGRAM).res
60 prop.obj: prop.h prop.$(SRCSUFF) $(DUMMYOBJ)
62 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
65 proplist.obj: prop.h proplist.$(SRCSUFF) $(DUMMYOBJ)
67 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
70 propform.obj: propform.h propform.$(SRCSUFF) $(DUMMYOBJ)
72 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
75 $(PROGRAM).obj: $(PROGRAM).h $(PROGRAM).$(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
93 DOCSOURCES=$(LOCALDOCDIR)\prop.tex $(LOCALDOCDIR)\classes.tex $(LOCALDOCDIR)\body.tex $(LOCALDOCDIR)\changes.tex
95 html: $(DOCDIR)\html\wxprop\prop.htm
96 hlp: $(DOCDIR)\winhelp\wxprop.hlp
97 pdfrtf: $(DOCDIR)\pdf\wxprop.rtf
98 ps: $(WXDIR)\docs\ps\wxprop.ps
100 $(DOCDIR)\winhelp\wxprop.hlp: $(LOCALDOCDIR)\wxprop.rtf $(LOCALDOCDIR)\wxprop.hpj
104 move wxprop.hlp $(DOCDIR)\winhelp\wxprop.hlp
105 move wxprop.cnt $(DOCDIR)\winhelp\wxprop.cnt
108 $(LOCALDOCDIR)\wxprop.rtf: $(DOCSOURCES)
110 -start /w tex2rtf $(LOCALDOCDIR)\prop.tex $(LOCALDOCDIR)\wxprop.rtf -twice -winhelp
113 $(DOCDIR)\pdf\wxprop.rtf: $(DOCSOURCES)
115 -copy *.bmp *.wmf $(DOCDIR)\pdf
116 -start /w tex2rtf $(LOCALDOCDIR)\prop.tex $(DOCDIR)\pdf\wxprop.rtf -twice -rtf
119 $(DOCDIR)\html\wxprop\prop.htm: $(DOCSOURCES)
121 -mkdir $(DOCDIR)\html\wxprop
122 -start /w tex2rtf $(LOCALDOCDIR)\prop.tex $(DOCDIR)\html\wxprop\prop.htm -twice -html
123 -erase $(DOCDIR)\html\wxprop\*.con
124 -erase $(DOCDIR)\html\wxprop\*.ref
127 $(LOCALDOCDIR)\prop.dvi: $(DOCSOURCES)
137 $(WXDIR)\docs\ps\wxprop.ps: $(LOCALDOCDIR)\prop.dvi
139 -dvips32 -o wxprop.ps prop
140 move wxprop.ps $(WXDIR)\docs\ps\wxprop.ps