6 # Copyright: (c) 1995, AIAI, University of Edinburgh
10 # Makefile : Builds wxPropertySheet library and example (DOS).
11 # Use FINAL=1 argument to nmake to build final version with no debugging
16 !include $(WXDIR)\src\makemsc.env
18 THISDIR = $(WXDIR)\utils\wxprop\src
19 WXLIB = $(WXDIR)\lib\wx.lib
21 PROPLIB = $(WXDIR)\utils\wxprop\lib\wxprop.lib
22 DOCDIR = $(WXDIR)\utils\wxprop\docs
24 LIBS=$(WXLIB) $(PROPLIB) oldnames libw llibcew commdlg shell ddeml
25 INC=/I$(WXDIR)\include\base /I$(WXDIR)\include\msw
27 # Default is to output RTF for WinHelp
32 OBJECTS = prop.obj proplist.obj propform.obj
33 TESTOBJECTS = test.obj
46 nmake -f makefile.dos clean
49 $(PROPLIB): $(OBJECTS)
59 test.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) $(PROPLIB) $(TESTOBJECTS) test.def test.res
61 $(WXDIR)\src\msw\dummy.obj $(TESTOBJECTS),
70 test.obj: test.h wx_prop.h test.$(SRCSUFF)
72 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
75 prop.obj: prop.h prop.$(SRCSUFF)
77 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
80 proplist.obj: prop.h proplist.h proplist.$(SRCSUFF)
82 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
85 propform.obj: prop.h propform.h propform.$(SRCSUFF)
87 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
90 test.res : test.rc $(WXDIR)\include\wx\msw\wx.rc
91 rc -r /i$(WXDIR)\include\wx test
95 hlp: $(DOCDIR)/prop.hlp
96 hlp32: $(DOCDIR)/hlp32/prop.hlp
97 rtf: $(DOCDIR)/prop.rtf
99 $(DOCDIR)/prop.hlp: $(DOCDIR)/prop.rtf $(DOCDIR)/prop.hpj
105 $(DOCDIR)/hlp32/prop.hlp: $(DOCDIR)/hlp32/prop.rtf $(DOCDIR)/hlp32/prop.hpj
108 start /w hcw /c /e clockwrk.hpj
111 $(DOCDIR)/prop.rtf: $(DOCDIR)/classes.tex $(DOCDIR)/body.tex $(DOCDIR)/prop.tex
113 -wx /W tex2rtf $(DOCDIR)/prop.tex $(DOCDIR)/prop.rtf -twice $(RTFSTYLE)
116 $(DOCDIR)/hlp32/prop.rtf: $(DOCDIR)/classes.tex $(DOCDIR)/body.tex $(DOCDIR)/prop.tex
118 -wx /W tex2rtf $(DOCDIR)/prop.tex $(DOCDIR)/hlp32/prop.rtf -twice -winhelp -macros $(DOCDIR)/t2rtf32.ini
123 -wx /W tex2rtf $(DOCDIR)/prop.tex $(DOCDIR)/prop.rtf -twice -rtf