6 # Copyright: (c) 1995, AIAI, University of Edinburgh
10 # Makefile : Builds docview 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\dialoged\src
19 WXLIB = $(WXDIR)\lib\wx.lib
21 DOCDIR = $(WXDIR)\utils\dialoged\docs
23 PROPDIR = $(WXDIR)\utils\wxprop
24 PROPINC = $(PROPDIR)\src
25 PROPLIB = $(PROPDIR)\lib\wxprop.lib
27 TREEDIR = $(WXDIR)\utils\wxtree
28 TREEINC = $(TREEDIR)\src
29 TREELIB = $(TREEDIR)\lib\wxtree.lib
31 DIBDIR = $(WXDIR)\utils\dib
32 DIBLIB = $(DIBDIR)\dib.lib
35 RCDIR = $(WXDIR)\utils\rcparser
36 RCLIB = $(RCDIR)\lib\rcparser.lib
39 LIBS=$(WXLIB) $(PROPLIB) oldnames libw llibcew commdlg shell ddeml
40 INC=/I$(WXDIR)\include\base /I$(WXDIR)\include\msw /I$(PROPINC)
46 # Default is to output RTF for WinHelp
51 # Set this to nothing if using MS C++ 7
55 CPPFLAGS=/AL /W3 /Zi $(ZOPTION) /G2sw /Od /DDEBUG=$(DEBUG) /YuWX_PREC.H $(INC) /Dwx_msw /Fp$(WXDIR)\src\msw\wx.pch
56 LINKFLAGS=/NOD /CO /SEG:512 /ONERROR:NOEXE
58 CPPFLAGS=/AL /W3 /G2sw /Ox /YuWX_PREC.H $(INC) /DDEBUG=$(DEBUG) /Dwx_msw /Fp$(WXDIR)\src\msw\wx.pch
59 LINKFLAGS=/NOD /SEG:512 /ONERROR:NOEXE
62 OBJECTS = dialoged.obj wx_resed.obj wx_rdlg.obj wx_reswr.obj wx_repal.obj wx_rprop.obj
64 all: prop dialoged.exe
73 nmake -f makefile.dos clean
77 dialoged.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) $(OBJECTS) $(PROPLIB) dialoged.def dialoged.res
79 $(WXDIR)\src\msw\dummy.obj $(OBJECTS),
86 rc -30 -K dialoged.res
88 dialoged.obj: dialoged.h $(PROPINC)\wx_prop.h wx_resed.h wx_rprop.h dialoged.$(SRCSUFF)
90 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
93 wx_resed.obj: wx_resed.h $(PROPINC)\wx_prop.h wx_resed.$(SRCSUFF)
95 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
98 wx_rdlg.obj: wx_resed.h $(PROPINC)\wx_prop.h wx_rdlg.$(SRCSUFF)
100 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
103 wx_reswr.obj: wx_resed.h wx_reswr.$(SRCSUFF)
105 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
108 wx_rprop.obj: wx_resed.h $(PROPINC)\wx_prop.h wx_rprop.$(SRCSUFF)
110 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
113 wx_repal.obj: wx_resed.h $(PROPINC)\wx_prop.h wx_repal.h wx_repal.$(SRCSUFF)
115 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
118 dialoged.res : dialoged.rc $(WXDIR)\include\msw\wx.rc
119 rc -r /dFAFA_LIB /i$(WXDIR)\contrib\fafa /i$(WXDIR)\include\msw dialoged
123 nmake -f makefile.dos FINAL="$(FINAL)" OPT="$(OPT)"
128 nmake -f makefile.dos FINAL="$(FINAL)" OPT="$(OPT)"
133 nmake -f makefile.dos FINAL="$(FINAL)" OPT="$(OPT)"
138 hlp: $(DOCDIR)/dialoged.hlp
139 hlp32: $(DOCDIR)/hlp32/dialoged.hlp
140 rtf: $(DOCDIR)/dialoged.rtf
142 $(DOCDIR)/dialoged.hlp: $(DOCDIR)/dialoged.rtf $(DOCDIR)/dialoged.hpj
148 $(DOCDIR)/hlp32/dialoged.hlp: $(DOCDIR)/hlp32/dialoged.rtf $(DOCDIR)/hlp32/dialoged.hpj
151 -wx /W hcw /c /e clockwrk.hpj
154 $(DOCDIR)/dialoged.rtf: $(DOCDIR)/body.tex $(DOCDIR)/classes.tex $(DOCDIR)/tech.tex $(DOCDIR)/dialoged.tex
156 -wx /W tex2rtf $(DOCDIR)/dialoged.tex $(DOCDIR)/dialoged.rtf -twice $(RTFSTYLE)
159 $(DOCDIR)/hlp32/dialoged.rtf: $(DOCDIR)/body.tex $(DOCDIR)/classes.tex $(DOCDIR)/body.tex $(DOCDIR)/dialoged.tex
161 -wx /W tex2rtf $(DOCDIR)/dialoged.tex $(DOCDIR)/hlp32/dialoged.rtf -twice $(RTFSTYLE) -macros $(DOCDIR)/t2rtf32.ini
166 -wx /W tex2rtf $(DOCDIR)/dialoged.tex $(DOCDIR)/dialoged.rtf -twice -rtf
171 nmake -f makefile.dos clean
176 nmake -f makefile.dos FINAL=$(FINAL) OPT=$(OPT)
184 cleanutils: cleanprop
193 -erase *.obj *.exe *.res *.map *.rws