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
24 LIBS=$(WXLIB) oldnames libw llibcew commdlg shell ddeml
25 INC=/I$(WXDIR)\include\base /I$(WXDIR)\include\msw /I$(PROPINC)
31 # Default is to output RTF for WinHelp
36 # Set this to nothing if using MS C++ 7
40 CPPFLAGS=/AL /W3 /Zi $(ZOPTION) /G2sw /Od /DDEBUG=$(DEBUG) /YuWX_PREC.H $(INC) /Dwx_msw /Fp$(WXDIR)\src\msw\wx.pch
41 LINKFLAGS=/NOD /CO /SEG:512 /ONERROR:NOEXE
43 CPPFLAGS=/AL /W3 /G2sw /Ox /YuWX_PREC.H $(INC) /DDEBUG=$(DEBUG) /Dwx_msw /Fp$(WXDIR)\src\msw\wx.pch
44 LINKFLAGS=/NOD /SEG:512 /ONERROR:NOEXE
47 OBJECTS = dialoged.obj wx_resed.obj wx_rdlg.obj wx_reswr.obj wx_repal.obj wx_rprop.obj
49 all: prop dialoged.exe
58 nmake -f makefile.dos clean
62 dialoged.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) $(OBJECTS) $(PROPLIB) dialoged.def dialoged.res
64 $(WXDIR)\src\msw\dummy.obj $(OBJECTS),
71 rc -30 -K dialoged.res
73 dialoged.obj: dialoged.h $(PROPINC)\wx_prop.h wx_resed.h wx_rprop.h dialoged.$(SRCSUFF)
75 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
78 wx_resed.obj: wx_resed.h $(PROPINC)\wx_prop.h wx_resed.$(SRCSUFF)
80 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
83 wx_rdlg.obj: wx_resed.h $(PROPINC)\wx_prop.h wx_rdlg.$(SRCSUFF)
85 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
88 wx_reswr.obj: wx_resed.h wx_reswr.$(SRCSUFF)
90 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
93 wx_rprop.obj: wx_resed.h $(PROPINC)\wx_prop.h wx_rprop.$(SRCSUFF)
95 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
98 wx_repal.obj: wx_resed.h $(PROPINC)\wx_prop.h wx_repal.h wx_repal.$(SRCSUFF)
100 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
103 dialoged.res : dialoged.rc $(WXDIR)\include\msw\wx.rc
104 rc -r /dFAFA_LIB /i$(WXDIR)\contrib\fafa /i$(WXDIR)\include\msw dialoged
108 nmake -f makefile.dos FINAL="$(FINAL)" OPT="$(OPT)"
113 nmake -f makefile.dos FINAL="$(FINAL)" OPT="$(OPT)"
118 nmake -f makefile.dos FINAL="$(FINAL)" OPT="$(OPT)"
123 hlp: $(DOCDIR)/dialoged.hlp
124 hlp32: $(DOCDIR)/hlp32/dialoged.hlp
125 rtf: $(DOCDIR)/dialoged.rtf
127 $(DOCDIR)/dialoged.hlp: $(DOCDIR)/dialoged.rtf $(DOCDIR)/dialoged.hpj
133 $(DOCDIR)/hlp32/dialoged.hlp: $(DOCDIR)/hlp32/dialoged.rtf $(DOCDIR)/hlp32/dialoged.hpj
136 -wx /W hcw /c /e clockwrk.hpj
139 $(DOCDIR)/dialoged.rtf: $(DOCDIR)/body.tex $(DOCDIR)/classes.tex $(DOCDIR)/tech.tex $(DOCDIR)/dialoged.tex
141 -wx /W tex2rtf $(DOCDIR)/dialoged.tex $(DOCDIR)/dialoged.rtf -twice $(RTFSTYLE)
144 $(DOCDIR)/hlp32/dialoged.rtf: $(DOCDIR)/body.tex $(DOCDIR)/classes.tex $(DOCDIR)/body.tex $(DOCDIR)/dialoged.tex
146 -wx /W tex2rtf $(DOCDIR)/dialoged.tex $(DOCDIR)/hlp32/dialoged.rtf -twice $(RTFSTYLE) -macros $(DOCDIR)/t2rtf32.ini
151 -wx /W tex2rtf $(DOCDIR)/dialoged.tex $(DOCDIR)/dialoged.rtf -twice -rtf
156 nmake -f makefile.dos clean
161 nmake -f makefile.dos FINAL=$(FINAL) OPT=$(OPT)
169 cleanutils: cleanprop
178 -erase *.obj *.exe *.res *.map *.rws