]>
Commit | Line | Data |
---|---|---|
1 | # Symantec C++ makefile for the msw objects | |
2 | # called from src\makefile.sc | |
3 | ||
4 | # configuration section (see src\makefile.sc) ########################### | |
5 | ||
6 | WXDIR = $(WXWIN) | |
7 | ||
8 | include ..\makesc.env | |
9 | ||
10 | DEBUG=0 | |
11 | ||
12 | LIBTARGET = $(LIBDIR)\wx.lib | |
13 | ||
14 | OPTIONS= | |
15 | ||
16 | # end of configuration section ########################################## | |
17 | ||
18 | GENDIR=$(WXDIR)\src\generic | |
19 | COMMDIR=$(WXDIR)\src\common | |
20 | XPMDIR=$(WXDIR)\src\xpm | |
21 | OLEDIR=ole | |
22 | MSWDIR=$(WXDIR)\src\msw | |
23 | ||
24 | GENERICOBJS= \ | |
25 | $(GENDIR)\choicdgg.obj \ | |
26 | $(GENDIR)\gridg.obj \ | |
27 | $(GENDIR)\laywin.obj \ | |
28 | $(GENDIR)\panelg.obj \ | |
29 | $(GENDIR)\prop.obj \ | |
30 | $(GENDIR)\propform.obj \ | |
31 | $(GENDIR)\proplist.obj \ | |
32 | $(GENDIR)\sashwin.obj \ | |
33 | $(GENDIR)\scrolwin.obj \ | |
34 | $(GENDIR)\splitter.obj \ | |
35 | $(GENDIR)\statusbr.obj \ | |
36 | $(GENDIR)\tabg.obj \ | |
37 | $(GENDIR)\textdlgg.obj | |
38 | ||
39 | # $(GENDIR)\imaglist.obj \ | |
40 | # $(GENDIR)\treectrl.obj \ | |
41 | # $(GENDIR)\listctrl.obj \ | |
42 | # $(GENDIR)\notebook.obj \ | |
43 | ||
44 | # These are generic things that don't need to be compiled on MSW, | |
45 | # but sometimes it's useful to do so for testing purposes. | |
46 | NONESSENTIALOBJS= \ | |
47 | $(GENDIR)\printps.obj \ | |
48 | $(GENDIR)\prntdlgg.obj \ | |
49 | $(GENDIR)\msgdlgg.obj \ | |
50 | $(GENDIR)\helpxlp.obj \ | |
51 | $(GENDIR)\colrdlgg.obj \ | |
52 | $(GENDIR)\fontdlgg.obj | |
53 | ||
54 | COMMONOBJS = \ | |
55 | $(COMMDIR)\cmndata.obj \ | |
56 | $(COMMDIR)\config.obj \ | |
57 | $(COMMDIR)\docview.obj \ | |
58 | $(COMMDIR)\docmdi.obj \ | |
59 | $(COMMDIR)\dynarray.obj \ | |
60 | $(COMMDIR)\dynlib.obj \ | |
61 | $(COMMDIR)\event.obj \ | |
62 | $(COMMDIR)\file.obj \ | |
63 | $(COMMDIR)\filefn.obj \ | |
64 | $(COMMDIR)\fileconf.obj \ | |
65 | $(COMMDIR)\framecmn.obj \ | |
66 | $(COMMDIR)\gdicmn.obj \ | |
67 | $(COMMDIR)\image.obj \ | |
68 | $(COMMDIR)\intl.obj \ | |
69 | $(COMMDIR)\ipcbase.obj \ | |
70 | $(COMMDIR)\helpbase.obj \ | |
71 | $(COMMDIR)\layout.obj \ | |
72 | $(COMMDIR)\log.obj \ | |
73 | $(COMMDIR)\memory.obj \ | |
74 | $(COMMDIR)\mimetype.obj \ | |
75 | $(COMMDIR)\module.obj \ | |
76 | $(COMMDIR)\object.obj \ | |
77 | $(COMMDIR)\prntbase.obj \ | |
78 | $(COMMDIR)\resource.obj \ | |
79 | $(COMMDIR)\resourc2.obj \ | |
80 | $(COMMDIR)\tbarbase.obj \ | |
81 | $(COMMDIR)\tbarsmpl.obj \ | |
82 | $(COMMDIR)\textfile.obj \ | |
83 | $(COMMDIR)\timercmn.obj \ | |
84 | $(COMMDIR)\utilscmn.obj \ | |
85 | $(COMMDIR)\validate.obj \ | |
86 | $(COMMDIR)\valgen.obj \ | |
87 | $(COMMDIR)\valtext.obj \ | |
88 | $(COMMDIR)\date.obj \ | |
89 | $(COMMDIR)\hash.obj \ | |
90 | $(COMMDIR)\list.obj \ | |
91 | $(COMMDIR)\paper.obj \ | |
92 | $(COMMDIR)\string.obj \ | |
93 | $(COMMDIR)\time.obj \ | |
94 | $(COMMDIR)\tokenzr.obj \ | |
95 | $(COMMDIR)\wxexpr.obj \ | |
96 | $(COMMDIR)\y_tab.obj \ | |
97 | $(COMMDIR)\extended.obj \ | |
98 | $(COMMDIR)\process.obj \ | |
99 | $(COMMDIR)\wfstream.obj \ | |
100 | $(COMMDIR)\mstream.obj \ | |
101 | $(COMMDIR)\zstream.obj \ | |
102 | $(COMMDIR)\stream.obj \ | |
103 | $(COMMDIR)\datstrm.obj \ | |
104 | $(COMMDIR)\objstrm.obj \ | |
105 | $(COMMDIR)\variant.obj \ | |
106 | $(COMMDIR)\wincmn.obj \ | |
107 | $(COMMDIR)\wxchar.obj | |
108 | ||
109 | # Don't compile for WIN16 | |
110 | # $(COMMDIR)\socket.obj \ | |
111 | # $(COMMDIR)\sckaddr.obj \ | |
112 | # $(COMMDIR)\sckfile.obj \ | |
113 | # $(COMMDIR)\sckipc.obj \ | |
114 | # $(COMMDIR)\sckstrm.obj \ | |
115 | # $(COMMDIR)\url.obj \ | |
116 | # $(COMMDIR)\http.obj \ | |
117 | # $(COMMDIR)\protocol.obj \ | |
118 | ||
119 | # Don't compile | |
120 | # $(COMMDIR)\db.obj \ | |
121 | # $(COMMDIR)\dbtable.obj \ | |
122 | # $(COMMDIR)\odbc.obj \ | |
123 | ||
124 | MSWOBJS = \ | |
125 | $(MSWDIR)\accel.obj \ | |
126 | $(MSWDIR)\app.obj \ | |
127 | $(MSWDIR)\bitmap.obj \ | |
128 | $(MSWDIR)\bmpbuttn.obj \ | |
129 | $(MSWDIR)\brush.obj \ | |
130 | $(MSWDIR)\button.obj \ | |
131 | $(MSWDIR)\checkbox.obj \ | |
132 | $(MSWDIR)\checklst.obj \ | |
133 | $(MSWDIR)\caret.obj \ | |
134 | $(MSWDIR)\choice.obj \ | |
135 | $(MSWDIR)\clipbrd.obj \ | |
136 | $(MSWDIR)\colordlg.obj \ | |
137 | $(MSWDIR)\colour.obj \ | |
138 | $(MSWDIR)\combobox.obj \ | |
139 | $(MSWDIR)\control.obj \ | |
140 | $(MSWDIR)\curico.obj \ | |
141 | $(MSWDIR)\cursor.obj \ | |
142 | $(MSWDIR)\data.obj \ | |
143 | $(MSWDIR)\dc.obj \ | |
144 | $(MSWDIR)\dcmemory.obj \ | |
145 | $(MSWDIR)\dcclient.obj \ | |
146 | $(MSWDIR)\dcprint.obj \ | |
147 | $(MSWDIR)\dcscreen.obj \ | |
148 | $(MSWDIR)\dde.obj \ | |
149 | $(MSWDIR)\dialog.obj \ | |
150 | $(MSWDIR)\dib.obj \ | |
151 | $(MSWDIR)\dibutils.obj \ | |
152 | $(MSWDIR)\dirdlg.obj \ | |
153 | $(MSWDIR)\filedlg.obj \ | |
154 | $(MSWDIR)\font.obj \ | |
155 | $(MSWDIR)\fontdlg.obj \ | |
156 | $(MSWDIR)\frame.obj \ | |
157 | $(MSWDIR)\gauge95.obj \ | |
158 | $(MSWDIR)\gaugemsw.obj \ | |
159 | $(MSWDIR)\gdiobj.obj \ | |
160 | $(MSWDIR)\helpwin.obj \ | |
161 | $(MSWDIR)\icon.obj \ | |
162 | $(MSWDIR)\iniconf.obj \ | |
163 | $(MSWDIR)\listbox.obj \ | |
164 | $(MSWDIR)\main.obj \ | |
165 | $(MSWDIR)\mdi.obj \ | |
166 | $(MSWDIR)\menu.obj \ | |
167 | $(MSWDIR)\menuitem.obj \ | |
168 | $(MSWDIR)\metafile.obj \ | |
169 | $(MSWDIR)\minifram.obj \ | |
170 | $(MSWDIR)\msgdlg.obj \ | |
171 | $(MSWDIR)\nativdlg.obj \ | |
172 | $(MSWDIR)\ownerdrw.obj \ | |
173 | $(MSWDIR)\palette.obj \ | |
174 | $(MSWDIR)\pen.obj \ | |
175 | $(MSWDIR)\penwin.obj \ | |
176 | $(MSWDIR)\printdlg.obj \ | |
177 | $(MSWDIR)\printwin.obj \ | |
178 | $(MSWDIR)\radiobox.obj \ | |
179 | $(MSWDIR)\radiobut.obj \ | |
180 | $(MSWDIR)\region.obj \ | |
181 | $(MSWDIR)\registry.obj \ | |
182 | $(MSWDIR)\regconf.obj \ | |
183 | $(MSWDIR)\scrolbar.obj \ | |
184 | $(MSWDIR)\settings.obj \ | |
185 | $(MSWDIR)\slidrmsw.obj \ | |
186 | $(MSWDIR)\slider95.obj \ | |
187 | $(MSWDIR)\spinbutt.obj \ | |
188 | $(MSWDIR)\statbmp.obj \ | |
189 | $(MSWDIR)\statbox.obj \ | |
190 | $(MSWDIR)\statbr95.obj \ | |
191 | $(MSWDIR)\stattext.obj \ | |
192 | $(MSWDIR)\tabctrl.obj \ | |
193 | $(MSWDIR)\taskbar.obj \ | |
194 | $(MSWDIR)\tbar95.obj \ | |
195 | $(MSWDIR)\tbarmsw.obj \ | |
196 | $(MSWDIR)\textctrl.obj \ | |
197 | $(MSWDIR)\thread.obj \ | |
198 | $(MSWDIR)\timer.obj \ | |
199 | $(MSWDIR)\tooltip.obj \ | |
200 | $(MSWDIR)\utils.obj \ | |
201 | $(MSWDIR)\utilsexc.obj \ | |
202 | $(MSWDIR)\wave.obj \ | |
203 | $(MSWDIR)\window.obj \ | |
204 | $(MSWDIR)\xpmhand.obj | |
205 | ||
206 | # Need Win95 support for these | |
207 | # $(MSWDIR)\notebook.obj \ | |
208 | # $(MSWDIR)\listctrl.obj \ | |
209 | # $(MSWDIR)\imaglist.obj \ | |
210 | # $(MSWDIR)\treectrl.obj \ | |
211 | # $(OLEDIR)\droptgt.obj \ | |
212 | # $(OLEDIR)\dropsrc.obj \ | |
213 | # $(OLEDIR)\dataobj.obj \ | |
214 | # $(OLEDIR)\oleutils.obj \ | |
215 | # $(OLEDIR)\uuid.obj \ | |
216 | # $(OLEDIR)\automtn.obj | |
217 | ||
218 | # Doesn't compile with SC++ 6 | |
219 | # $(MSWDIR)\joystick.obj \ | |
220 | # $(MSWDIR)\pnghand.obj \ | |
221 | ||
222 | XPMOBJECTS = $(XPMDIR)\crbuffri.obj\ | |
223 | $(XPMDIR)\crdatfri.obj\ | |
224 | $(XPMDIR)\create.obj $(XPMDIR)\crifrbuf.obj\ | |
225 | $(XPMDIR)\crifrdat.obj\ | |
226 | $(XPMDIR)\data.obj\ | |
227 | $(XPMDIR)\hashtab.obj $(XPMDIR)\misc.obj\ | |
228 | $(XPMDIR)\parse.obj $(XPMDIR)\rdftodat.obj\ | |
229 | $(XPMDIR)\rdftoi.obj\ | |
230 | $(XPMDIR)\rgb.obj $(XPMDIR)\scan.obj\ | |
231 | $(XPMDIR)\simx.obj $(XPMDIR)\wrffrdat.obj\ | |
232 | $(XPMDIR)\wrffrp.obj $(XPMDIR)\wrffri.obj | |
233 | ||
234 | # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc. | |
235 | OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) # $(XPMOBJECTS) | |
236 | ||
237 | all: $(LIBTARGET) | |
238 | ||
239 | $(LIBTARGET): $(OBJECTS) | |
240 | -del $(LIBTARGET) | |
241 | *lib /PAGESIZE:512 $(LIBTARGET) y $(OBJECTS), nul; | |
242 | ||
243 | clean: | |
244 | -del *.obj | |
245 | -del $(LIBTARGET) | |
246 | ||
247 | $(COMMDIR)\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c | |
248 | ||
249 | $(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c | |
250 | copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c | |
251 | ||
252 | $(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c | |
253 | copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c | |
254 | ||
255 | #$(COMMDIR)\cmndata.obj: $(COMMDIR)\cmndata.cpp | |
256 | # *$(CC) -c $(CFLAGS) -I$(INCLUDE) $(OPTIONS) $(COMMDIR)\cmndata.cpp -o$(COMMDIR)\cmndata.obj | |
257 |