]> git.saurik.com Git - wxWidgets.git/blob - utils/dialoged/src/makefile.nt
Removed print.cpp, added tokenizr.tex
[wxWidgets.git] / utils / dialoged / src / makefile.nt
1 #
2 # File: makefile.nt
3 # Author: Julian Smart
4 # Created: 1993
5 # Updated:
6 # Copyright: (c) 1993, AIAI, University of Edinburgh
7 #
8 # "%W% %G%"
9 #
10 # Makefile : Builds wxProperty classes library (MS VC++).
11 # Use FINAL=1 argument to nmake to build final version with no debugging
12 # info
13
14 # Set WXDIR for your system
15 WXDIR = $(WXWIN)
16 THISDIR = $(WXDIR)\utils\dialoged\src
17 DOCDIR=$(WXDIR)\docs
18 LOCALDOCDIR=$(WXDIR)\utils\dialoged\docs
19
20 !include $(WXDIR)\src\ntwxwin.mak
21
22 PROGRAM=dialoged
23
24 OBJECTS = dialoged.obj reseditr.obj dlghndlr.obj reswrite.obj\
25 winprop.obj edtree.obj edlist.obj symbtabl.obj winstyle.obj
26
27 all: dialoged.exe
28
29 wx:
30 cd $(WXDIR)\src\msw
31 nmake -f makefile.nt FINAL=$(FINAL)
32 cd $(THISDIR)
33
34 wxclean:
35 cd $(WXDIR)\src\msw
36 nmake -f makefile.nt clean
37 cd $(THISDIR)
38
39 $(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(OBJECTS) $(PROGRAM).res
40 $(link) @<<
41 -out:$(PROGRAM).exe
42 $(LINKFLAGS)
43 $(DUMMYOBJ) $(OBJECTS) $(PROGRAM).res
44 $(LIBS)
45 <<
46
47 dialoged.obj: winprop.h reseditr.h dialoged.$(SRCSUFF) $(DUMMYOBJ)
48 $(cc) @<<
49 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
50 <<
51
52 winprop.obj: winprop.h reseditr.h winprop.$(SRCSUFF) $(DUMMYOBJ)
53 $(cc) @<<
54 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
55 <<
56
57 reswrite.obj: winprop.h reseditr.h reswrite.$(SRCSUFF) $(DUMMYOBJ)
58 $(cc) @<<
59 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
60 <<
61
62 reseditr.obj: winprop.h reseditr.h reseditr.$(SRCSUFF) $(DUMMYOBJ)
63 $(cc) @<<
64 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
65 <<
66
67 edtree.obj: winprop.h reseditr.h edtree.h edtree.$(SRCSUFF) $(DUMMYOBJ)
68 $(cc) @<<
69 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
70 <<
71
72 edlist.obj: winprop.h reseditr.h edlist.h edlist.$(SRCSUFF) $(DUMMYOBJ)
73 $(cc) @<<
74 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
75 <<
76
77 dlghndlr.obj: winprop.h reseditr.h dlghndlr.$(SRCSUFF) $(DUMMYOBJ)
78 $(cc) @<<
79 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
80 <<
81
82 symbtabl.obj: symbtabl.h symbtabl.$(SRCSUFF) $(DUMMYOBJ)
83 $(cc) @<<
84 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
85 <<
86
87 winstyle.obj: winstyle.h winstyle.$(SRCSUFF) $(DUMMYOBJ)
88 $(cc) @<<
89 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
90 <<
91
92 $(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
93 $(rc) -r /i$(WXDIR)\include -fo$@ $(PROGRAM).rc
94
95 clean:
96 -erase *.obj
97 -erase *.sbr
98 -erase *.exe
99 -erase *.res
100 -erase *.map
101 -erase *.pdb
102
103 cleanutils: clean
104
105 DOCSOURCES=$(LOCALDOCDIR)\dialoged.tex $(LOCALDOCDIR)\body.tex\
106 $(LOCALDOCDIR)\bugs.tex $(LOCALDOCDIR)\changes.tex\
107 $(LOCALDOCDIR)\classes.tex $(LOCALDOCDIR)\tech.tex
108
109 html: $(DOCDIR)\html\dialoged\dlged.htm
110 hlp: $(DOCDIR)\winhelp\dialoged.hlp
111 pdfrtf: $(DOCDIR)\pdf\dialoged.rtf
112 ps: $(DOCDIR)\ps\dialoged.ps
113
114 $(DOCDIR)\winhelp\dialoged.hlp: $(LOCALDOCDIR)\dialoged.rtf $(LOCALDOCDIR)\dialoged.hpj
115 cd $(LOCALDOCDIR)
116 -erase dialoged.ph
117 hc dialoged
118 move dialoged.hlp $(DOCDIR)\winhelp\dialoged.hlp
119 move dialoged.cnt $(DOCDIR)\winhelp\dialoged.cnt
120 cd $(THISDIR)
121
122 $(LOCALDOCDIR)\dialoged.rtf: $(DOCSOURCES)
123 cd $(LOCALDOCDIR)
124 -start /w tex2rtf $(LOCALDOCDIR)\dialoged.tex $(LOCALDOCDIR)\dialoged.rtf -twice -winhelp
125 cd $(THISDIR)
126
127 $(DOCDIR)\pdf\dialoged.rtf: $(DOCSOURCES)
128 cd $(LOCALDOCDIR)
129 -copy *.bmp *.wmf $(DOCDIR)\pdf
130 -start /w tex2rtf $(LOCALDOCDIR)\dialoged.tex $(DOCDIR)\pdf\dialoged.rtf -twice -rtf
131 cd $(THISDIR)
132
133 $(DOCDIR)\html\dialoged\dlged.htm: $(DOCSOURCES)
134 cd $(LOCALDOCDIR)
135 -mkdir $(DOCDIR)\html\dialoged
136 -start /w tex2rtf $(LOCALDOCDIR)\dialoged.tex $(DOCDIR)\html\dialoged\dlged.htm -twice -html
137 -erase $(DOCDIR)\html\dialoged\*.con
138 -erase $(DOCDIR)\html\dialoged\*.ref
139 cd $(THISDIR)
140
141 $(LOCALDOCDIR)\dialoged.dvi: $(DOCSOURCES)
142 cd $(LOCALDOCDIR)
143 -latex dialoged
144 -latex dialoged
145 -makeindx dialoged
146 -bibtex dialoged
147 -latex dialoged
148 -latex dialoged
149 cd $(THISDIR)
150
151 $(WXDIR)\docs\ps\dialoged.ps: $(LOCALDOCDIR)\dialoged.dvi
152 cd $(LOCALDOCDIR)
153 -dvips32 -o dialoged.ps dialoged
154 move dialoged.ps $(WXDIR)\docs\ps\dialoged.ps
155 cd $(THISDIR)
156
157