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
33 $(PROGRAM): $(PROGRAM).exe
37 nmake -f makefile.nt FINAL=$(FINAL)
42 nmake -f makefile.nt clean
45 $(LIBTARGET): $(OBJECTS)
53 $(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(PROGOBJECTS) $(LIBTARGET) $(PROGRAM).res
57 $(DUMMYOBJ) $(PROGOBJECTS) $(PROGRAM).res
61 prop.obj: prop.h prop.$(SRCSUFF) $(DUMMYOBJ)
63 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
66 proplist.obj: prop.h proplist.$(SRCSUFF) $(DUMMYOBJ)
68 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
71 propform.obj: propform.h propform.$(SRCSUFF) $(DUMMYOBJ)
73 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
76 $(PROGRAM).obj: $(PROGRAM).h $(PROGRAM).$(SRCSUFF) $(DUMMYOBJ)
78 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
81 $(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
82 $(rc) -r /i$(WXDIR)\include -fo$@ $(PROGRAM).rc
94 DOCSOURCES=$(LOCALDOCDIR)\prop.tex $(LOCALDOCDIR)\classes.tex $(LOCALDOCDIR)\body.tex $(LOCALDOCDIR)\changes.tex
96 html: $(DOCDIR)\html\wxprop\prop.htm
97 hlp: $(DOCDIR)\winhelp\wxprop.hlp
98 pdfrtf: $(DOCDIR)\pdf\wxprop.rtf
99 ps: $(WXDIR)\docs\ps\wxprop.ps
101 $(DOCDIR)\winhelp\wxprop.hlp: $(LOCALDOCDIR)\wxprop.rtf $(LOCALDOCDIR)\wxprop.hpj
105 move wxprop.hlp $(DOCDIR)\winhelp\wxprop.hlp
106 move wxprop.cnt $(DOCDIR)\winhelp\wxprop.cnt
109 $(LOCALDOCDIR)\wxprop.rtf: $(DOCSOURCES)
111 -start /w tex2rtf $(LOCALDOCDIR)\prop.tex $(LOCALDOCDIR)\wxprop.rtf -twice -winhelp
114 $(DOCDIR)\pdf\wxprop.rtf: $(DOCSOURCES)
116 -copy *.bmp *.wmf $(DOCDIR)\pdf
117 -start /w tex2rtf $(LOCALDOCDIR)\prop.tex $(DOCDIR)\pdf\wxprop.rtf -twice -rtf
120 $(DOCDIR)\html\wxprop\prop.htm: $(DOCSOURCES)
122 -mkdir $(DOCDIR)\html\wxprop
123 -start /w tex2rtf $(LOCALDOCDIR)\prop.tex $(DOCDIR)\html\wxprop\prop.htm -twice -html
124 -erase $(DOCDIR)\html\wxprop\*.con
125 -erase $(DOCDIR)\html\wxprop\*.ref
128 $(LOCALDOCDIR)\prop.dvi: $(DOCSOURCES)
138 $(WXDIR)\docs\ps\wxprop.ps: $(LOCALDOCDIR)\prop.dvi
140 -dvips32 -o wxprop.ps prop
141 move wxprop.ps $(WXDIR)\docs\ps\wxprop.ps