]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # File: makefile.dos | |
3 | # Author: Julian Smart | |
4 | # Created: 1997 | |
5 | # Updated: | |
6 | # Copyright: (c) 1997, Julian Smart | |
7 | # | |
8 | # "%W% %G%" | |
9 | # | |
10 | # Makefile : Builds wxWindows library wx.lib for VC++ (16-bit) | |
11 | # Arguments: | |
12 | # | |
13 | # FINAL=1 argument to nmake to build version with no debugging info. | |
14 | # | |
15 | !include <..\makemsc.env> | |
16 | ||
17 | LIBTARGET=$(WXLIB) | |
18 | DUMMYOBJ=dummy.obj | |
19 | ||
20 | # Please set these according to the settings in wx_setup.h, so we can include | |
21 | # the appropriate libraries in wx.lib | |
22 | ||
23 | # This one overrides the others, to be consistent with the settings in wx_setup.h | |
24 | MINIMAL_WXWINDOWS_SETUP=0 | |
25 | ||
26 | USE_CTL3D=1 | |
27 | USE_XPM_IN_MSW=0 | |
28 | ||
29 | !if "$(MINIMAL_WXWINDOWS_SETUP)" == "1" | |
30 | USE_CTL3D=0 | |
31 | USE_IMAGE_LOADING_IN_MSW=0 | |
32 | USE_XPM_IN_MSW=0 | |
33 | USE_GNU_WXSTRING=0 | |
34 | !endif | |
35 | ||
36 | PERIPH_LIBS= | |
37 | PERIPH_TARGET= | |
38 | PERIPH_CLEAN_TARGET= | |
39 | ||
40 | # !if "$(USE_CTL3D)" == "1" | |
41 | # PERIPH_LIBS=d:\msdev\lib\ctl3d32.lib $(PERIPH_LIBS) | |
42 | # !endif | |
43 | ||
44 | !if "$(USE_XPM_IN_MSW)" == "1" | |
45 | PERIPH_LIBS=$(WXDIR)\contrib\wxxpm\xpm.lib $(PERIPH_LIBS) | |
46 | PERIPH_TARGET=xpm $(PERIPH_TARGET) | |
47 | PERIPH_CLEAN_TARGET=clean_xpm $(PERIPH_CLEAN_TARGET) | |
48 | !endif | |
49 | ||
50 | GENDIR=..\generic | |
51 | COMMDIR=..\common | |
52 | OLEDIR=.\ole | |
53 | MSWDIR=. | |
54 | ||
55 | DOCDIR = $(WXDIR)\docs | |
56 | ||
57 | GENERICOBJS= \ | |
58 | $(GENDIR)\choicdgg.obj \ | |
59 | $(GENDIR)\colrdlgg.obj \ | |
60 | $(GENDIR)\fontdlgg.obj \ | |
61 | $(GENDIR)\gridg.obj \ | |
62 | $(GENDIR)\helpxlp.obj \ | |
63 | $(GENDIR)\msgdlgg.obj \ | |
64 | $(GENDIR)\panelg.obj \ | |
65 | $(GENDIR)\printps.obj \ | |
66 | $(GENDIR)\prntdlgg.obj \ | |
67 | $(GENDIR)\scrolwin.obj \ | |
68 | $(GENDIR)\splitter.obj \ | |
69 | $(GENDIR)\statusbr.obj \ | |
70 | $(GENDIR)\tabg.obj \ | |
71 | $(GENDIR)\textdlgg.obj | |
72 | ||
73 | COMMONOBJS = \ | |
74 | $(COMMDIR)\config.obj \ | |
75 | $(COMMDIR)\cmndata.obj \ | |
76 | $(COMMDIR)\docview.obj \ | |
77 | $(COMMDIR)\docmdi.obj \ | |
78 | $(COMMDIR)\dynarray.obj \ | |
79 | $(COMMDIR)\event.obj \ | |
80 | $(COMMDIR)\file.obj \ | |
81 | $(COMMDIR)\filefn.obj \ | |
82 | $(COMMDIR)\framecmn.obj \ | |
83 | $(COMMDIR)\gdicmn.obj \ | |
84 | $(COMMDIR)\intl.obj \ | |
85 | $(COMMDIR)\helpbase.obj \ | |
86 | $(COMMDIR)\ipcbase.obj \ | |
87 | $(COMMDIR)\layout.obj \ | |
88 | $(COMMDIR)\log.obj \ | |
89 | $(COMMDIR)\memory.obj \ | |
90 | $(COMMDIR)\module.obj \ | |
91 | $(COMMDIR)\object.obj \ | |
92 | $(COMMDIR)\odbc.obj \ | |
93 | $(COMMDIR)\postscrp.obj \ | |
94 | $(COMMDIR)\process.obj \ | |
95 | $(COMMDIR)\prntbase.obj \ | |
96 | $(COMMDIR)\resource.obj \ | |
97 | $(COMMDIR)\tbarbase.obj \ | |
98 | $(COMMDIR)\tbarsmpl.obj \ | |
99 | $(COMMDIR)\textfile.obj \ | |
100 | $(COMMDIR)\timercmn.obj \ | |
101 | $(COMMDIR)\utilscmn.obj \ | |
102 | $(COMMDIR)\validate.obj \ | |
103 | $(COMMDIR)\valtext.obj \ | |
104 | $(COMMDIR)\date.obj \ | |
105 | $(COMMDIR)\wxexpr.obj \ | |
106 | $(COMMDIR)\hash.obj \ | |
107 | $(COMMDIR)\list.obj \ | |
108 | $(COMMDIR)\string.obj \ | |
109 | $(COMMDIR)\time.obj \ | |
110 | $(COMMDIR)\y_tab.obj \ | |
111 | $(COMMDIR)\stream.obj \ | |
112 | $(COMMDIR)\fstream.obj \ | |
113 | $(COMMDIR)\mstream.obj \ | |
114 | $(COMMDIR)\zstream.obj \ | |
115 | $(COMMDIR)\datstrm.obj \ | |
116 | $(COMMDIR)\extended.obj \ | |
117 | $(COMMDIR)\wincmn.obj | |
118 | ||
119 | # $(COMMDIR)\fileconf.obj # Doens't compile (nested classes) | |
120 | ||
121 | MSWOBJS = \ | |
122 | $(MSWDIR)\accel.obj \ | |
123 | $(MSWDIR)\app.obj \ | |
124 | $(MSWDIR)\bitmap.obj \ | |
125 | $(MSWDIR)\bmpbuttn.obj \ | |
126 | $(MSWDIR)\brush.obj \ | |
127 | $(MSWDIR)\button.obj \ | |
128 | $(MSWDIR)\checkbox.obj \ | |
129 | $(MSWDIR)\checklst.obj \ | |
130 | $(MSWDIR)\choice.obj \ | |
131 | $(MSWDIR)\clipbrd.obj \ | |
132 | $(MSWDIR)\colordlg.obj \ | |
133 | $(MSWDIR)\colour.obj \ | |
134 | $(MSWDIR)\combobox.obj \ | |
135 | $(MSWDIR)\control.obj \ | |
136 | $(MSWDIR)\curico.obj \ | |
137 | $(MSWDIR)\cursor.obj \ | |
138 | $(MSWDIR)\data.obj \ | |
139 | $(MSWDIR)\dc.obj \ | |
140 | $(MSWDIR)\dcmemory.obj \ | |
141 | $(MSWDIR)\dcclient.obj \ | |
142 | $(MSWDIR)\dcprint.obj \ | |
143 | $(MSWDIR)\dcscreen.obj \ | |
144 | $(MSWDIR)\dde.obj \ | |
145 | $(MSWDIR)\dialog.obj \ | |
146 | $(MSWDIR)\dib.obj \ | |
147 | $(MSWDIR)\dirdlg.obj \ | |
148 | $(MSWDIR)\filedlg.obj \ | |
149 | $(MSWDIR)\font.obj \ | |
150 | $(MSWDIR)\fontdlg.obj \ | |
151 | $(MSWDIR)\frame.obj \ | |
152 | $(MSWDIR)\gaugemsw.obj \ | |
153 | $(MSWDIR)\gdiobj.obj \ | |
154 | $(MSWDIR)\helpwin.obj \ | |
155 | $(MSWDIR)\icon.obj \ | |
156 | $(MSWDIR)\imaglist.obj \ | |
157 | $(MSWDIR)\joystick.obj \ | |
158 | $(MSWDIR)\listbox.obj \ | |
159 | $(MSWDIR)\listctrl.obj \ | |
160 | $(MSWDIR)\main.obj \ | |
161 | $(MSWDIR)\mdi.obj \ | |
162 | $(MSWDIR)\menu.obj\ | |
163 | $(MSWDIR)\menuitem.obj \ | |
164 | $(MSWDIR)\metafile.obj \ | |
165 | $(MSWDIR)\minifram.obj \ | |
166 | $(MSWDIR)\msgdlg.obj \ | |
167 | $(MSWDIR)\nativdlg.obj \ | |
168 | $(MSWDIR)\ownerdrw.obj \ | |
169 | $(MSWDIR)\palette.obj \ | |
170 | $(MSWDIR)\pen.obj \ | |
171 | $(MSWDIR)\penwin.obj \ | |
172 | $(MSWDIR)\printdlg.obj \ | |
173 | $(MSWDIR)\printwin.obj \ | |
174 | $(MSWDIR)\radiobox.obj \ | |
175 | $(MSWDIR)\radiobut.obj \ | |
176 | $(MSWDIR)\region.obj \ | |
177 | $(MSWDIR)\scrolbar.obj \ | |
178 | $(MSWDIR)\settings.obj \ | |
179 | $(MSWDIR)\slidrmsw.obj \ | |
180 | $(MSWDIR)\spinbutt.obj \ | |
181 | $(MSWDIR)\statbmp.obj \ | |
182 | $(MSWDIR)\statbox.obj \ | |
183 | $(MSWDIR)\stattext.obj \ | |
184 | $(MSWDIR)\tbarmsw.obj \ | |
185 | $(MSWDIR)\textctrl.obj \ | |
186 | $(MSWDIR)\timer.obj \ | |
187 | $(MSWDIR)\treectrl.obj \ | |
188 | $(MSWDIR)\utils.obj \ | |
189 | $(MSWDIR)\utilsexc.obj \ | |
190 | $(MSWDIR)\wave.obj \ | |
191 | $(MSWDIR)\window.obj \ | |
192 | $(OLEDIR)\droptgt.obj \ | |
193 | $(OLEDIR)\dropsrc.obj \ | |
194 | $(OLEDIR)\dataobj.obj \ | |
195 | $(OLEDIR)\oleutils.obj \ | |
196 | $(OLEDIR)\uuid.obj | |
197 | ||
198 | # $(MSWDIR)\registry.obj \ | |
199 | ||
200 | OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) | |
201 | ||
202 | # Normal, static library | |
203 | all: $(DUMMYOBJ) $(WXDIR)\lib\wx1.lib $(WXDIR)\lib\wx2.lib $(WXDIR)\lib\wx3.lib | |
204 | ||
205 | ||
206 | #$(WXDIR)\lib\wx.lib: dummy.obj $(OBJECTS) $(PERIPH_LIBS) | |
207 | # -erase $(LIBTARGET) | |
208 | # lib /PAGESIZE:128 @<< | |
209 | #$(LIBTARGET) | |
210 | #y | |
211 | #$(OBJECTS) $(PERIPH_LIBS) | |
212 | #nul | |
213 | #; | |
214 | #<< | |
215 | ||
216 | $(WXDIR)\lib\wx1.lib: $(COMMONOBJS) $(PERIPH_LIBS) | |
217 | -erase $(WXDIR)\lib\wx1.lib | |
218 | lib /PAGESIZE:128 @<< | |
219 | $(WXDIR)\lib\wx1.lib | |
220 | y | |
221 | $(COMMONOBJS) $(PERIPH_LIBS) | |
222 | nul | |
223 | ; | |
224 | << | |
225 | ||
226 | $(WXDIR)\lib\wx2.lib: $(GENERICOBJS) | |
227 | -erase $(WXDIR)\lib\wx2.lib | |
228 | lib /PAGESIZE:128 @<< | |
229 | $(WXDIR)\lib\wx2.lib | |
230 | y | |
231 | $(GENERICOBJS) | |
232 | nul | |
233 | ; | |
234 | << | |
235 | ||
236 | $(WXDIR)\lib\wx3.lib: $(MSWOBJS) | |
237 | -erase $(WXDIR)\lib\wx3.lib | |
238 | lib /PAGESIZE:128 @<< | |
239 | $(WXDIR)\lib\wx3.lib | |
240 | y | |
241 | $(MSWOBJS) | |
242 | nul | |
243 | ; | |
244 | << | |
245 | ||
246 | ######################################################## | |
247 | # Windows-specific objects | |
248 | ||
249 | dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h | |
250 | cl @<< | |
251 | cl $(CPPFLAGS) /YcWX/WXPREC.H $(DEBUG_FLAGS) /c /Tp $*.$(SRCSUFF) | |
252 | << | |
253 | ||
254 | #dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h | |
255 | # cl $(CPPFLAGS) /YcWX/WXPREC.H $(DEBUG_FLAGS) /c /Tp $*.$(SRCSUFF) | |
256 | ||
257 | dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h | |
258 | cl @<< | |
259 | $(CPPFLAGS) /YcWX/WXPREC.H /c /Tp $*.$(SRCSUFF) | |
260 | << | |
261 | ||
262 | $(MSWDIR)/accel.obj: $*.$(SRCSUFF) | |
263 | cl @<< | |
264 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
265 | << | |
266 | ||
267 | $(MSWDIR)/app.obj: $*.$(SRCSUFF) | |
268 | cl @<< | |
269 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
270 | << | |
271 | ||
272 | $(MSWDIR)/bitmap.obj: $*.$(SRCSUFF) | |
273 | cl @<< | |
274 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
275 | << | |
276 | ||
277 | $(MSWDIR)/bmpbuttn.obj: $*.$(SRCSUFF) | |
278 | cl @<< | |
279 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
280 | << | |
281 | ||
282 | $(MSWDIR)/brush.obj: $*.$(SRCSUFF) | |
283 | cl @<< | |
284 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
285 | << | |
286 | ||
287 | $(MSWDIR)/button.obj: $*.$(SRCSUFF) | |
288 | cl @<< | |
289 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
290 | << | |
291 | ||
292 | $(MSWDIR)/choice.obj: $*.$(SRCSUFF) | |
293 | cl @<< | |
294 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
295 | << | |
296 | ||
297 | $(MSWDIR)/checkbox.obj: $*.$(SRCSUFF) | |
298 | cl @<< | |
299 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
300 | << | |
301 | ||
302 | $(MSWDIR)/checklst.obj: $*.$(SRCSUFF) | |
303 | cl @<< | |
304 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
305 | << | |
306 | ||
307 | $(MSWDIR)/clipbrd.obj: $*.$(SRCSUFF) | |
308 | cl @<< | |
309 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
310 | << | |
311 | ||
312 | $(MSWDIR)/colordlg.obj: $*.$(SRCSUFF) | |
313 | cl @<< | |
314 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
315 | << | |
316 | ||
317 | $(MSWDIR)/colour.obj: $*.$(SRCSUFF) | |
318 | cl @<< | |
319 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
320 | << | |
321 | ||
322 | $(MSWDIR)/combobox.obj: $*.$(SRCSUFF) | |
323 | cl @<< | |
324 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
325 | << | |
326 | ||
327 | $(MSWDIR)/control.obj: $*.$(SRCSUFF) | |
328 | cl @<< | |
329 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
330 | << | |
331 | ||
332 | $(MSWDIR)/curico.obj: $*.$(SRCSUFF) | |
333 | cl @<< | |
334 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
335 | << | |
336 | ||
337 | $(MSWDIR)/cursor.obj: $*.$(SRCSUFF) | |
338 | cl @<< | |
339 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
340 | << | |
341 | ||
342 | $(MSWDIR)/data.obj: $*.$(SRCSUFF) | |
343 | cl @<< | |
344 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
345 | << | |
346 | ||
347 | $(MSWDIR)/dc.obj: $*.$(SRCSUFF) | |
348 | cl @<< | |
349 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
350 | << | |
351 | ||
352 | $(MSWDIR)/dde.obj: $*.$(SRCSUFF) | |
353 | cl @<< | |
354 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
355 | << | |
356 | ||
357 | $(MSWDIR)/dcmemory.obj: $*.$(SRCSUFF) | |
358 | cl @<< | |
359 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
360 | << | |
361 | ||
362 | $(MSWDIR)/dcclient.obj: $*.$(SRCSUFF) | |
363 | cl @<< | |
364 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
365 | << | |
366 | ||
367 | $(MSWDIR)/dcprint.obj: $*.$(SRCSUFF) | |
368 | cl @<< | |
369 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
370 | << | |
371 | ||
372 | $(MSWDIR)/dcscreen.obj: $*.$(SRCSUFF) | |
373 | cl @<< | |
374 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
375 | << | |
376 | ||
377 | $(MSWDIR)/dialog.obj: $*.$(SRCSUFF) | |
378 | cl @<< | |
379 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
380 | << | |
381 | ||
382 | $(MSWDIR)/dib.obj: $*.$(SRCSUFF) | |
383 | cl @<< | |
384 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
385 | << | |
386 | ||
387 | $(MSWDIR)/dirdlg.obj: $*.$(SRCSUFF) | |
388 | cl @<< | |
389 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
390 | << | |
391 | ||
392 | $(MSWDIR)/filedlg.obj: $*.$(SRCSUFF) | |
393 | cl @<< | |
394 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
395 | << | |
396 | ||
397 | $(MSWDIR)/font.obj: $*.$(SRCSUFF) | |
398 | cl @<< | |
399 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
400 | << | |
401 | ||
402 | $(MSWDIR)/fontdlg.obj: $*.$(SRCSUFF) | |
403 | cl @<< | |
404 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
405 | << | |
406 | ||
407 | $(MSWDIR)/frame.obj: $*.$(SRCSUFF) | |
408 | cl @<< | |
409 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
410 | << | |
411 | ||
412 | $(MSWDIR)/gaugemsw.obj: $*.$(SRCSUFF) | |
413 | cl @<< | |
414 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
415 | << | |
416 | ||
417 | $(MSWDIR)/gdiobj.obj: $*.$(SRCSUFF) | |
418 | cl @<< | |
419 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
420 | << | |
421 | ||
422 | $(MSWDIR)/helpwin.obj: $*.$(SRCSUFF) | |
423 | cl @<< | |
424 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
425 | << | |
426 | ||
427 | $(MSWDIR)/icon.obj: $*.$(SRCSUFF) | |
428 | cl @<< | |
429 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
430 | << | |
431 | ||
432 | $(MSWDIR)/imaglist.obj: $*.$(SRCSUFF) | |
433 | cl @<< | |
434 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
435 | << | |
436 | ||
437 | $(MSWDIR)/joystick.obj: $*.$(SRCSUFF) | |
438 | cl @<< | |
439 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
440 | << | |
441 | ||
442 | $(MSWDIR)/listbox.obj: $*.$(SRCSUFF) | |
443 | cl @<< | |
444 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
445 | << | |
446 | ||
447 | $(MSWDIR)/listctrl.obj: $*.$(SRCSUFF) | |
448 | cl @<< | |
449 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
450 | << | |
451 | ||
452 | $(MSWDIR)/main.obj: $*.$(SRCSUFF) | |
453 | cl @<< | |
454 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
455 | << | |
456 | ||
457 | $(MSWDIR)/mdi.obj: $*.$(SRCSUFF) | |
458 | cl @<< | |
459 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
460 | << | |
461 | ||
462 | $(MSWDIR)/menu.obj: $*.$(SRCSUFF) | |
463 | cl @<< | |
464 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
465 | << | |
466 | ||
467 | $(MSWDIR)/menuitem.obj: $*.$(SRCSUFF) | |
468 | cl @<< | |
469 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
470 | << | |
471 | ||
472 | $(MSWDIR)/metafile.obj: $*.$(SRCSUFF) | |
473 | cl @<< | |
474 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
475 | << | |
476 | ||
477 | $(MSWDIR)/minifram.obj: $*.$(SRCSUFF) | |
478 | cl @<< | |
479 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
480 | << | |
481 | ||
482 | $(MSWDIR)/msgdlg.obj: $*.$(SRCSUFF) | |
483 | cl @<< | |
484 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
485 | << | |
486 | ||
487 | $(MSWDIR)/nativdlg.obj: $*.$(SRCSUFF) | |
488 | cl @<< | |
489 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
490 | << | |
491 | ||
492 | $(MSWDIR)/ownerdrw.obj: $*.$(SRCSUFF) | |
493 | cl @<< | |
494 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
495 | << | |
496 | ||
497 | $(MSWDIR)/palette.obj: $*.$(SRCSUFF) | |
498 | cl @<< | |
499 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
500 | << | |
501 | ||
502 | $(MSWDIR)/pen.obj: $*.$(SRCSUFF) | |
503 | cl @<< | |
504 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
505 | << | |
506 | ||
507 | $(MSWDIR)/penwin.obj: $*.$(SRCSUFF) | |
508 | cl @<< | |
509 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
510 | << | |
511 | ||
512 | $(MSWDIR)/printdlg.obj: $*.$(SRCSUFF) | |
513 | cl @<< | |
514 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
515 | << | |
516 | ||
517 | $(MSWDIR)/printwin.obj: $*.$(SRCSUFF) | |
518 | cl @<< | |
519 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
520 | << | |
521 | ||
522 | $(MSWDIR)/radiobox.obj: $*.$(SRCSUFF) | |
523 | cl @<< | |
524 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
525 | << | |
526 | ||
527 | $(MSWDIR)/radiobut.obj: $*.$(SRCSUFF) | |
528 | cl @<< | |
529 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
530 | << | |
531 | ||
532 | $(MSWDIR)/region.obj: $*.$(SRCSUFF) | |
533 | cl @<< | |
534 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
535 | << | |
536 | ||
537 | $(MSWDIR)/registry.obj: $*.$(SRCSUFF) | |
538 | cl @<< | |
539 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
540 | << | |
541 | ||
542 | $(MSWDIR)/scrolbar.obj: $*.$(SRCSUFF) | |
543 | cl @<< | |
544 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
545 | << | |
546 | ||
547 | $(MSWDIR)/settings.obj: $*.$(SRCSUFF) | |
548 | cl @<< | |
549 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
550 | << | |
551 | ||
552 | $(MSWDIR)/slidrmsw.obj: $*.$(SRCSUFF) | |
553 | cl @<< | |
554 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
555 | << | |
556 | ||
557 | $(MSWDIR)/spinbutt.obj: $*.$(SRCSUFF) | |
558 | cl @<< | |
559 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
560 | << | |
561 | ||
562 | $(MSWDIR)/statbmp.obj: $*.$(SRCSUFF) | |
563 | cl @<< | |
564 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
565 | << | |
566 | ||
567 | $(MSWDIR)/statbox.obj: $*.$(SRCSUFF) | |
568 | cl @<< | |
569 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
570 | << | |
571 | ||
572 | $(MSWDIR)/stattext.obj: $*.$(SRCSUFF) | |
573 | cl @<< | |
574 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
575 | << | |
576 | ||
577 | $(MSWDIR)/tbarmsw.obj: $*.$(SRCSUFF) | |
578 | cl @<< | |
579 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
580 | << | |
581 | ||
582 | $(MSWDIR)/textctrl.obj: $*.$(SRCSUFF) | |
583 | cl @<< | |
584 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
585 | << | |
586 | ||
587 | $(MSWDIR)/timer.obj: $*.$(SRCSUFF) | |
588 | cl @<< | |
589 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
590 | << | |
591 | ||
592 | $(MSWDIR)/treectrl.obj: $*.$(SRCSUFF) | |
593 | cl @<< | |
594 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
595 | << | |
596 | ||
597 | $(MSWDIR)/utils.obj: $*.$(SRCSUFF) | |
598 | cl @<< | |
599 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
600 | << | |
601 | ||
602 | $(MSWDIR)/utilsexc.obj: $*.$(SRCSUFF) | |
603 | cl @<< | |
604 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
605 | << | |
606 | ||
607 | $(MSWDIR)/wave.obj: $*.$(SRCSUFF) | |
608 | cl @<< | |
609 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
610 | << | |
611 | ||
612 | $(MSWDIR)/window.obj: $*.$(SRCSUFF) | |
613 | cl @<< | |
614 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
615 | << | |
616 | ||
617 | $(OLEDIR)/droptgt.obj: $*.$(SRCSUFF) | |
618 | cl @<< | |
619 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
620 | << | |
621 | ||
622 | $(OLEDIR)/dropsrc.obj: $*.$(SRCSUFF) | |
623 | cl @<< | |
624 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
625 | << | |
626 | ||
627 | $(OLEDIR)/dataobj.obj: $*.$(SRCSUFF) | |
628 | cl @<< | |
629 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
630 | << | |
631 | ||
632 | $(OLEDIR)/oleutils.obj: $*.$(SRCSUFF) | |
633 | cl @<< | |
634 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
635 | << | |
636 | ||
637 | $(OLEDIR)/uuid.obj: $*.$(SRCSUFF) | |
638 | cl @<< | |
639 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
640 | << | |
641 | ||
642 | ######################################################## | |
643 | # Common objects (always compiled) | |
644 | ||
645 | $(COMMDIR)/config.obj: $*.$(SRCSUFF) | |
646 | cl @<< | |
647 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
648 | << | |
649 | ||
650 | $(COMMDIR)/cmndata.obj: $*.$(SRCSUFF) | |
651 | cl @<< | |
652 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
653 | << | |
654 | ||
655 | $(COMMDIR)/docview.obj: $*.$(SRCSUFF) | |
656 | cl @<< | |
657 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
658 | << | |
659 | ||
660 | $(COMMDIR)/docmdi.obj: $*.$(SRCSUFF) | |
661 | cl @<< | |
662 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
663 | << | |
664 | ||
665 | $(COMMDIR)/dynarray.obj: $*.$(SRCSUFF) | |
666 | cl @<< | |
667 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
668 | << | |
669 | ||
670 | $(COMMDIR)/event.obj: $*.$(SRCSUFF) | |
671 | cl @<< | |
672 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
673 | << | |
674 | ||
675 | $(COMMDIR)/file.obj: $*.$(SRCSUFF) | |
676 | cl @<< | |
677 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
678 | << | |
679 | ||
680 | $(COMMDIR)/fileconf.obj: $*.$(SRCSUFF) | |
681 | cl @<< | |
682 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
683 | << | |
684 | ||
685 | $(COMMDIR)/filefn.obj: $*.$(SRCSUFF) | |
686 | cl @<< | |
687 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
688 | << | |
689 | ||
690 | $(COMMDIR)/framecmn.obj: $*.$(SRCSUFF) | |
691 | cl @<< | |
692 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
693 | << | |
694 | ||
695 | $(COMMDIR)/gdicmn.obj: $*.$(SRCSUFF) | |
696 | cl @<< | |
697 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
698 | << | |
699 | ||
700 | $(COMMDIR)/helpbase.obj: $*.$(SRCSUFF) | |
701 | cl @<< | |
702 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
703 | << | |
704 | ||
705 | $(COMMDIR)/intl.obj: $*.$(SRCSUFF) | |
706 | cl @<< | |
707 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
708 | << | |
709 | ||
710 | $(COMMDIR)/ipcbase.obj: $*.$(SRCSUFF) | |
711 | cl @<< | |
712 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
713 | << | |
714 | ||
715 | $(COMMDIR)/layout.obj: $*.$(SRCSUFF) | |
716 | cl @<< | |
717 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
718 | << | |
719 | ||
720 | $(COMMDIR)/log.obj: $*.$(SRCSUFF) | |
721 | cl @<< | |
722 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
723 | << | |
724 | ||
725 | $(COMMDIR)/memory.obj: $*.$(SRCSUFF) | |
726 | cl @<< | |
727 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
728 | << | |
729 | ||
730 | $(COMMDIR)/module.obj: $*.$(SRCSUFF) | |
731 | cl @<< | |
732 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
733 | << | |
734 | ||
735 | $(COMMDIR)/object.obj: $*.$(SRCSUFF) | |
736 | cl @<< | |
737 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
738 | << | |
739 | ||
740 | $(COMMDIR)/odbc.obj: $*.$(SRCSUFF) | |
741 | cl @<< | |
742 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
743 | << | |
744 | ||
745 | $(COMMDIR)/postscrp.obj: $*.$(SRCSUFF) | |
746 | cl @<< | |
747 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
748 | << | |
749 | ||
750 | $(COMMDIR)/process.obj: $*.$(SRCSUFF) | |
751 | cl @<< | |
752 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
753 | << | |
754 | ||
755 | $(COMMDIR)/prntbase.obj: $*.$(SRCSUFF) | |
756 | cl @<< | |
757 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
758 | << | |
759 | ||
760 | $(COMMDIR)/resource.obj: $*.$(SRCSUFF) | |
761 | cl @<< | |
762 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
763 | << | |
764 | ||
765 | $(COMMDIR)/tbarbase.obj: $*.$(SRCSUFF) | |
766 | cl @<< | |
767 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
768 | << | |
769 | ||
770 | $(COMMDIR)/tbarsmpl.obj: $*.$(SRCSUFF) | |
771 | cl @<< | |
772 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
773 | << | |
774 | ||
775 | $(COMMDIR)/textfile.obj: $*.$(SRCSUFF) | |
776 | cl @<< | |
777 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
778 | << | |
779 | ||
780 | $(COMMDIR)/timercmn.obj: $*.$(SRCSUFF) | |
781 | cl @<< | |
782 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
783 | << | |
784 | ||
785 | $(COMMDIR)/utilscmn.obj: $*.$(SRCSUFF) | |
786 | cl @<< | |
787 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
788 | << | |
789 | ||
790 | $(COMMDIR)/validate.obj: $*.$(SRCSUFF) | |
791 | cl @<< | |
792 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
793 | << | |
794 | ||
795 | $(COMMDIR)/valtext.obj: $*.$(SRCSUFF) | |
796 | cl @<< | |
797 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
798 | << | |
799 | ||
800 | $(COMMDIR)/date.obj: $*.$(SRCSUFF) | |
801 | cl @<< | |
802 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
803 | << | |
804 | ||
805 | $(COMMDIR)/wxexpr.obj: $*.$(SRCSUFF) | |
806 | cl @<< | |
807 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
808 | << | |
809 | ||
810 | $(COMMDIR)/hash.obj: $*.$(SRCSUFF) | |
811 | cl @<< | |
812 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
813 | << | |
814 | ||
815 | $(COMMDIR)/list.obj: $*.$(SRCSUFF) | |
816 | cl @<< | |
817 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
818 | << | |
819 | ||
820 | $(COMMDIR)/string.obj: $*.$(SRCSUFF) | |
821 | cl @<< | |
822 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
823 | << | |
824 | ||
825 | $(COMMDIR)/matrix.obj: $*.$(SRCSUFF) | |
826 | cl @<< | |
827 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
828 | << | |
829 | ||
830 | $(COMMDIR)/wxstrgnu/wxstrgnu.obj: $*.$(SRCSUFF) | |
831 | cl @<< | |
832 | $(CPPFLAGS2) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
833 | << | |
834 | ||
835 | $(COMMDIR)/wxstrgnu/wxregex.obj: $*.$(SRCSUFF) | |
836 | cl @<< | |
837 | $(CPPFLAGS2) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
838 | << | |
839 | ||
840 | $(COMMDIR)/time.obj: $*.$(SRCSUFF) | |
841 | cl @<< | |
842 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
843 | << | |
844 | ||
845 | $(COMMDIR)/stream.obj: $*.$(SRCSUFF) | |
846 | cl @<< | |
847 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
848 | << | |
849 | ||
850 | $(COMMDIR)/fstream.obj: $*.$(SRCSUFF) | |
851 | cl @<< | |
852 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
853 | << | |
854 | ||
855 | $(COMMDIR)/mstream.obj: $*.$(SRCSUFF) | |
856 | cl @<< | |
857 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
858 | << | |
859 | ||
860 | $(COMMDIR)/zstream.obj: $*.$(SRCSUFF) | |
861 | cl @<< | |
862 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
863 | << | |
864 | ||
865 | $(COMMDIR)/datstrm.obj: $*.$(SRCSUFF) | |
866 | cl @<< | |
867 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
868 | << | |
869 | ||
870 | $(COMMDIR)/extended.obj: $*.c | |
871 | cl @<< | |
872 | $(CPPFLAGS2) /Fo$@ /c /Tp $*.c | |
873 | << | |
874 | ||
875 | $(COMMDIR)/wincmn.obj: $*.$(SRCSUFF) | |
876 | cl @<< | |
877 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
878 | << | |
879 | ||
880 | $(COMMDIR)/y_tab.obj: $*.c $(COMMDIR)/lex_yy.c | |
881 | cl @<< | |
882 | $(CPPFLAGS2) -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ /I ..\common /c $*.c | |
883 | << | |
884 | ||
885 | $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c | |
886 | copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c | |
887 | ||
888 | $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c | |
889 | copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c | |
890 | ||
891 | ######################################################## | |
892 | # Generic objects (not always compiled, depending on | |
893 | # whether platforms have native implementations) | |
894 | ||
895 | $(GENDIR)/choicdgg.obj: $*.$(SRCSUFF) | |
896 | cl @<< | |
897 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
898 | << | |
899 | ||
900 | $(GENDIR)/colrdlgg.obj: $*.$(SRCSUFF) | |
901 | cl @<< | |
902 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
903 | << | |
904 | ||
905 | $(GENDIR)/fontdlgg.obj: $*.$(SRCSUFF) | |
906 | cl @<< | |
907 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
908 | << | |
909 | ||
910 | $(GENDIR)/gridg.obj: $*.$(SRCSUFF) | |
911 | cl @<< | |
912 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
913 | << | |
914 | ||
915 | $(GENDIR)/helpxlp.obj: $*.$(SRCSUFF) | |
916 | cl @<< | |
917 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
918 | << | |
919 | ||
920 | $(GENDIR)/msgdlgg.obj: $*.$(SRCSUFF) | |
921 | cl @<< | |
922 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
923 | << | |
924 | ||
925 | $(GENDIR)/panelg.obj: $*.$(SRCSUFF) | |
926 | cl @<< | |
927 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
928 | << | |
929 | ||
930 | $(GENDIR)/printps.obj: $*.$(SRCSUFF) | |
931 | cl @<< | |
932 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
933 | << | |
934 | ||
935 | $(GENDIR)/prntdlgg.obj: $*.$(SRCSUFF) | |
936 | cl @<< | |
937 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
938 | << | |
939 | ||
940 | $(GENDIR)/scrolwin.obj: $*.$(SRCSUFF) | |
941 | cl @<< | |
942 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
943 | << | |
944 | ||
945 | $(GENDIR)/splitter.obj: $*.$(SRCSUFF) | |
946 | cl @<< | |
947 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
948 | << | |
949 | ||
950 | $(GENDIR)/statusbr.obj: $*.$(SRCSUFF) | |
951 | cl @<< | |
952 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
953 | << | |
954 | ||
955 | $(GENDIR)/tabg.obj: $*.$(SRCSUFF) | |
956 | cl @<< | |
957 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
958 | << | |
959 | ||
960 | $(GENDIR)/textdlgg.obj: $*.$(SRCSUFF) | |
961 | cl @<< | |
962 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
963 | << | |
964 | ||
965 | $(OBJECTS): $(WXDIR)/include/wx/setup.h | |
966 | ||
967 | # Peripheral components | |
968 | ||
969 | xpm: | |
970 | cd $(WXDIR)\contrib\wxxpm | |
971 | nmake -f makefile.dos FINAL=$(FINAL) | |
972 | cd $(WXDIR)\src\msw | |
973 | ||
974 | clean_xpm: | |
975 | cd $(WXDIR)\contrib\wxxpm | |
976 | nmake -f makefile.dos clean | |
977 | cd $(WXDIR)\src\msw | |
978 | ||
979 | clean: $(PERIPH_CLEAN_TARGET) | |
980 | -erase *.obj | |
981 | -erase ..\lib\*.lib | |
982 | -erase *.pdb | |
983 | -erase *.sbr | |
984 | -erase *.pch | |
985 | cd $(WXDIR)\src\generic | |
986 | -erase *.pdb | |
987 | -erase *.sbr | |
988 | -erase *.obj | |
989 | cd $(WXDIR)\src\common | |
990 | -erase *.pdb | |
991 | -erase *.sbr | |
992 | -erase *.obj | |
993 | cd $(WXDIR)\src\msw\ole | |
994 | -erase *.pdb | |
995 | -erase *.sbr | |
996 | -erase *.obj | |
997 | cd $(WXDIR)\src\msw | |
998 | ||
999 | cleanall: clean | |
1000 | ||
1001 | # Making documents | |
1002 | docs: hlp | |
1003 | hlp: wxhlp faqhlp refhlp | |
1004 | wxhlp: $(DOCDIR)/winhelp/wx.hlp | |
1005 | faqhlp: $(DOCDIR)/winhelp/faq.hlp | |
1006 | refhlp: $(DOCDIR)/winhelp/techref.hlp | |
1007 | rtf: $(DOCDIR)/winhelp/wx.rtf | |
1008 | faqrtf: $(DOCDIR)/winhelp/faq.rtf | |
1009 | html: wxhtml faqhtml | |
1010 | wxhtml: $(DOCDIR)\html\wx\wx.htm | |
1011 | faqhtml: $(DOCDIR)\html\faq\faq.htm | |
1012 | ps: faqps wxps referencps | |
1013 | wxps: $(WXDIR)\docs\ps\wx.ps | |
1014 | faqps: $(WXDIR)\docs\ps\faq.ps | |
1015 | referencps: $(WXDIR)\docs\ps\referenc.ps | |
1016 | ||
1017 | alldocs: allhlp allhtml allps | |
1018 | ||
1019 | allhlp: wxhlp faqhlp | |
1020 | nmake -f makefile.dos hlp | |
1021 | cd $(WXDIR)\utils\wxprop\src | |
1022 | nmake -f makefile.dos hlp | |
1023 | cd $(WXDIR)\utils\dialoged\src | |
1024 | nmake -f makefile.dos hlp | |
1025 | cd $(THISDIR) | |
1026 | ||
1027 | # cd $(WXDIR)\utils\wxhelp\src | |
1028 | # nmake -f makefile.dos hlp | |
1029 | # cd $(WXDIR)\utils\wxhelp2\src | |
1030 | # nmake -f makefile.dos hlp | |
1031 | # cd $(WXDIR)\utils\prologio\src | |
1032 | # nmake -f makefile.dos hlp | |
1033 | # cd $(WXDIR)\utils\tex2rtf\src | |
1034 | # nmake -f makefile.dos hlp | |
1035 | # cd $(WXDIR)\utils\wxgraph\src | |
1036 | # nmake -f makefile.dos hlp | |
1037 | # cd $(WXDIR)\utils\wxchart\src | |
1038 | # nmake -f makefile.dos hlp | |
1039 | # cd $(WXDIR)\utils\wxtree\src | |
1040 | # nmake -f makefile.dos hlp | |
1041 | # cd $(WXDIR)\utils\wxbuild\src | |
1042 | # nmake -f makefile.dos hlp | |
1043 | # cd $(WXDIR)\utils\wxgrid\src | |
1044 | # nmake -f makefile.dos hlp | |
1045 | # cd $(WXDIR)\utils\wxtab\src | |
1046 | # nmake -f makefile.dos hlp | |
1047 | ||
1048 | # cd $(WXDIR)\utils\wxclips\src | |
1049 | # nmake -f makefile.dos hlp | |
1050 | # cd $(WXDIR)\utils\clips2c\src | |
1051 | # nmake -f makefile.dos hlp | |
1052 | ||
1053 | allhtml: wxhtml faqhtml | |
1054 | nmake -f makefile.dos html | |
1055 | cd $(WXDIR)\utils\wxprop\src | |
1056 | cd $(THISDIR) | |
1057 | ||
1058 | # nmake -f makefile.dos html | |
1059 | # cd $(WXDIR)\utils\dialoged\src | |
1060 | # nmake -f makefile.dos html | |
1061 | # cd $(WXDIR)\utils\hytext\src | |
1062 | # nmake -f makefile.dos html | |
1063 | # cd $(WXDIR)\utils\wxhelp\src | |
1064 | # nmake -f makefile.dos html | |
1065 | # cd $(WXDIR)\utils\wxhelp2\src | |
1066 | # nmake -f makefile.dos html | |
1067 | # cd $(WXDIR)\utils\prologio\src | |
1068 | # nmake -f makefile.dos html | |
1069 | # cd $(WXDIR)\utils\tex2rtf\src | |
1070 | # nmake -f makefile.dos html | |
1071 | # cd $(WXDIR)\utils\wxgraph\src | |
1072 | # nmake -f makefile.dos html | |
1073 | # cd $(WXDIR)\utils\wxchart\src | |
1074 | # nmake -f makefile.dos html | |
1075 | # cd $(WXDIR)\utils\wxtree\src | |
1076 | # nmake -f makefile.dos html | |
1077 | # cd $(WXDIR)\utils\wxtab\src | |
1078 | # nmake -f makefile.dos html | |
1079 | ||
1080 | # cd $(WXDIR)\utils\wxclips\src | |
1081 | # nmake -f makefile.dos html | |
1082 | # cd $(WXDIR)\utils\clips2c\src | |
1083 | # nmake -f makefile.dos html | |
1084 | ||
1085 | allps: wxps faqps | |
1086 | nmake -f makefile.dos ps | |
1087 | cd $(WXDIR)\utils\wxhelp\src | |
1088 | nmake -f makefile.dos ps | |
1089 | cd $(WXDIR)\utils\wxhelp2\src | |
1090 | nmake -f makefile.dos ps | |
1091 | cd $(WXDIR)\utils\tex2rtf\src | |
1092 | nmake -f makefile.dos ps | |
1093 | cd $(WXDIR)\utils\wxgraph\src | |
1094 | nmake -f makefile.dos ps | |
1095 | cd $(WXDIR)\utils\wxchart\src | |
1096 | nmake -f makefile.dos ps | |
1097 | cd $(WXDIR)\utils\wxtree\src | |
1098 | nmake -f makefile.dos ps | |
1099 | cd $(WXDIR)\utils\wxprop\src | |
1100 | nmake -f makefile.dos ps | |
1101 | cd $(WXDIR)\utils\dialoged\src | |
1102 | nmake -f makefile.dos ps | |
1103 | cd $(THISDIR) | |
1104 | ||
1105 | # cd $(WXDIR)\utils\wxtab\src | |
1106 | # nmake -f makefile.dos ps | |
1107 | # cd $(WXDIR)\utils\prologio\src | |
1108 | # nmake -f makefile.dos ps | |
1109 | # cd $(WXDIR)\utils\wxclips\src | |
1110 | # nmake -f makefile.dos ps | |
1111 | # cd $(WXDIR)\utils\clips2c\src | |
1112 | # nmake -f makefile.dos ps | |
1113 | ||
1114 | $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj | |
1115 | cd $(DOCDIR)/latex/wx | |
1116 | -erase wx.ph | |
1117 | hc wx | |
1118 | move wx.hlp $(DOCDIR)\winhelp\wx.hlp | |
1119 | move wx.cnt $(DOCDIR)\winhelp\wx.cnt | |
1120 | cd $(THISDIR) | |
1121 | ||
1122 | $(DOCDIR)/winhelp/faq.hlp: $(DOCDIR)/latex/faq/faq.rtf $(DOCDIR)/latex/faq/faq.hpj | |
1123 | cd $(DOCDIR)/latex/faq | |
1124 | -erase faq.ph | |
1125 | hc faq | |
1126 | move faq.hlp $(DOCDIR)\winhelp\faq.hlp | |
1127 | move faq.cnt $(DOCDIR)\winhelp\faq.cnt | |
1128 | cd $(THISDIR) | |
1129 | ||
1130 | $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj | |
1131 | cd $(DOCDIR)/latex/techref | |
1132 | -erase techref.ph | |
1133 | hc techref | |
1134 | move techref.hlp $(DOCDIR)\winhelp\techref.hlp | |
1135 | move techref.cnt $(DOCDIR)\winhelp\techref.cnt | |
1136 | cd $(THISDIR) | |
1137 | ||
1138 | $(DOCDIR)/latex/wx/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex | |
1139 | cd $(DOCDIR)\latex\wx | |
1140 | -start /w tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp | |
1141 | cd $(THISDIR) | |
1142 | ||
1143 | $(DOCDIR)/latex/faq/faq.rtf: $(DOCDIR)/latex/faq/faq.tex | |
1144 | cd $(DOCDIR)\latex\faq | |
1145 | -start /w tex2rtf $(DOCDIR)/latex/faq/faq.tex $(DOCDIR)/latex/faq/faq.rtf -twice -winhelp | |
1146 | cd $(THISDIR) | |
1147 | ||
1148 | $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex | |
1149 | cd $(DOCDIR)\latex\techref | |
1150 | -start /w tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp | |
1151 | cd $(THISDIR) | |
1152 | ||
1153 | $(DOCDIR)\html\wx\wx.htm: $(DOCDIR)\latex\wx\classes.tex $(DOCDIR)\latex\wx\body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)\latex\wx\manual.tex | |
1154 | cd $(DOCDIR)\latex\wx | |
1155 | -mkdir $(DOCDIR)\html\wx | |
1156 | -start /w tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html -macros $(DOCDIR)\tex2rtf.ini | |
1157 | -erase $(DOCDIR)\html\wx\*.con | |
1158 | -erase $(DOCDIR)\html\wx\*.ref | |
1159 | -erase $(DOCDIR)\latex\wx\*.con | |
1160 | -erase $(DOCDIR)\latex\wx\*.ref | |
1161 | cd $(THISDIR) | |
1162 | ||
1163 | $(DOCDIR)\html\faq\faq.htm: $(DOCDIR)\latex\faq\faq.tex | |
1164 | cd $(DOCDIR)\latex\faq | |
1165 | -mkdir $(DOCDIR)\html\faq | |
1166 | -start /w tex2rtf $(DOCDIR)\latex\faq\faq.tex $(DOCDIR)\html\faq\faq.htm -twice -html -macros $(DOCDIR)\tex2rtf.ini | |
1167 | -erase $(DOCDIR)\html\faq\*.con | |
1168 | -erase $(DOCDIR)\html\faq\*.ref | |
1169 | -erase $(DOCDIR)\latex\faq\*.con | |
1170 | -erase $(DOCDIR)\latexfaq\*.ref | |
1171 | cd $(THISDIR) | |
1172 | ||
1173 | $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex | |
1174 | cd $(WXDIR)\docs\latex\wx | |
1175 | -latex manual | |
1176 | -latex manual | |
1177 | -makeindx manual | |
1178 | -bibtex manual | |
1179 | -latex manual | |
1180 | -latex manual | |
1181 | cd $(THISDIR) | |
1182 | ||
1183 | $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi | |
1184 | cd $(WXDIR)\docs\latex\wx | |
1185 | -dvips32 -o wx.ps manual | |
1186 | move wx.ps $(WXDIR)\docs\ps\wx.ps | |
1187 | cd $(THISDIR) | |
1188 | ||
1189 | $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex | |
1190 | cd $(WXDIR)\docs\latex\wx | |
1191 | -latex referenc | |
1192 | -latex referenc | |
1193 | -makeindx referenc | |
1194 | -bibtex referenc | |
1195 | -latex referenc | |
1196 | -latex referenc | |
1197 | cd $(THISDIR) | |
1198 | ||
1199 | $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi | |
1200 | cd $(WXDIR)\docs\latex\wx | |
1201 | -dvips32 -o referenc.ps referenc | |
1202 | move referenc.ps $(WXDIR)\docs\ps\referenc.ps | |
1203 | cd $(THISDIR) | |
1204 | ||
1205 | $(WXDIR)\docs\latex\faq\faq.dvi: $(DOCDIR)/latex/faq/faq.tex | |
1206 | cd $(WXDIR)\docs\latex\faq | |
1207 | -latex faq | |
1208 | -latex faq | |
1209 | -makeindx faq | |
1210 | -latex faq | |
1211 | -latex faq | |
1212 | cd $(THISDIR) | |
1213 | ||
1214 | $(WXDIR)\docs\ps\faq.ps: $(WXDIR)\docs\latex\faq\faq.dvi | |
1215 | cd $(WXDIR)\docs\latex\faq | |
1216 | -dvips32 -o faq.ps faq | |
1217 | move faq.ps $(WXDIR)\docs\ps\faq.ps | |
1218 | cd $(THISDIR) | |
1219 | ||
1220 |