]> git.saurik.com Git - wxWidgets.git/blob - src/os2/makefile.va
OnEnter/OnDragOver API update (compiles, links, somewhat runs under wxGTK)
[wxWidgets.git] / src / os2 / makefile.va
1 #
2 # File: makefile.va
3 # Author: Dave Webster
4 # Created: 1999
5 # Updated:
6 # Copyright: (c) 1999, Dave Webster
7 #
8 # "%W% %G%"
9 #
10 # Makefile : Builds wxWindows library wx.lib for VisualAge C++
11 # Arguments:
12 #
13 # FINAL=1 argument to nmake to build version with no debugging info.
14 # dll builds a library (wxdll.lib) suitable for creating DLLs
15 #
16 !include <..\makeva.env>
17
18 THISDIR=$(WXWIN)\src\os2
19
20 !if "$(WXMAKINGDLL)" == "1"
21 LIBTARGET=$(WXDIR)\lib\$(WXLIBNAME).dll
22 DUMMYOBJ=$D\dummydll.obj
23 !else
24 LIBTARGET=$(WXLIB)
25 COMTEMPTGT1=$(WXDIR)\lib\wxcom1.lib
26 COMTEMPTGT2=$(WXDIR)\lib\wxcom2.lib
27 GENTEMPTGT=$(WXDIR)\lib\wxgen.lib
28 NONESTEMPTGT=$(WXDIR)\lib\wxnones.lib
29 OS2TEMPTGT1=$(WXDIR)\lib\wxos21.lib
30 OS2TEMPTGT2=$(WXDIR)\lib\wxos22.lib
31 DUMMYOBJ=$D\dummy.obj
32 !endif
33
34 # Please set these according to the settings in setup.h, so we can include
35 # the appropriate libraries in wx.lib
36
37 # This one overrides the others, to be consistent with the settings in wx_setup.h
38 MINIMAL_WXWINDOWS_SETUP=0
39
40 PERIPH_LIBS=
41 PERIPH_TARGET=
42 PERIPH_CLEAN_TARGET=
43
44 # These are absolute paths, so that the compiler
45 # generates correct __FILE__ symbols for debugging.
46 # Otherwise you don't be able to double-click on a memory
47 # error to load that file.
48 GENDIR=$(WXDIR)\src\generic
49 COMMDIR=$(WXDIR)\src\common
50 OS2DIR=$(WXDIR)\src\os2
51 HTMLDIR = $(WXDIR)\src\html
52
53 {..\generic}.cpp{..\generic\$D}.obj:
54 @echo $<
55 icc @<<
56 $(CPPFLAGS) /Fo$@ /Tp $<
57 <<
58
59 {..\common}.cpp{..\common\$D}.obj:
60 @echo $<
61 icc @<<
62 $(CPPFLAGS) /Fo$@ /Tp $<
63 <<
64
65 {..\os2}.cpp{..\os2\$D}.obj:
66 @echo $<
67 icc @<<
68 $(CPPFLAGS) /Fo$@ /Tp $<
69 <<
70
71 {..\os2}.c{..\os2\$D}.obj:
72 @echo $<
73 icc @<<
74 $(CPPFLAGS) /Fo$@ /Tp $<
75 <<
76
77 {..\html}.cpp{..\html\$D}.obj:
78 @echo $<
79 icc @<<
80 $(CPPFLAGS) /Fo$@ /Tp $<
81 <<
82
83 GENERICOBJS= \
84 ..\generic\$D\caret.obj \
85 ..\generic\$D\choicdgg.obj \
86 ..\generic\$D\gridg.obj \
87 ..\generic\$D\laywin.obj \
88 ..\generic\$D\panelg.obj \
89 ..\generic\$D\progdlgg.obj \
90 ..\generic\$D\prop.obj \
91 ..\generic\$D\propform.obj \
92 ..\generic\$D\proplist.obj \
93 ..\generic\$D\sashwin.obj \
94 ..\generic\$D\scrolwin.obj \
95 ..\generic\$D\splitter.obj \
96 ..\generic\$D\statusbr.obj \
97 ..\generic\$D\tabg.obj \
98 ..\generic\$D\textdlgg.obj \
99 ..\generic\$D\tipdlg.obj \
100 ..\generic\$D\busyinfo.obj
101
102 # ..\generic\$D\imaglist.obj \
103 # ..\generic\$D\treectrl.obj \
104 # ..\generic\$D\listctrl.obj \
105 # ..\generic\$D\notebook.obj \
106
107 GENLIBOBJS= \
108 caret.obj \
109 choicdgg.obj \
110 gridg.obj \
111 laywin.obj \
112 panelg.obj \
113 progdlgg.obj \
114 prop.obj \
115 propform.obj \
116 proplist.obj \
117 sashwin.obj \
118 scrolwin.obj \
119 splitter.obj \
120 statusbr.obj \
121 tabg.obj \
122 textdlgg.obj \
123 tipdlg.obj \
124 busyinfo.obj
125
126 # These are generic things that don't need to be compiled on PM,
127 # but sometimes it's useful to do so for testing purposes.
128 NONESSENTIALOBJS= \
129 ..\generic\$D\printps.obj \
130 ..\generic\$D\prntdlgg.obj \
131 ..\generic\$D\msgdlgg.obj \
132 ..\generic\$D\helpxlp.obj \
133 ..\generic\$D\colrdlgg.obj \
134 ..\generic\$D\fontdlgg.obj
135
136 COMMONOBJS = \
137 ..\common\$D\appcmn.obj \
138 ..\common\$D\choiccmn.obj \
139 ..\common\$D\cmndata.obj \
140 ..\common\$D\config.obj \
141 ..\common\$D\ctrlcmn.obj \
142 ..\common\$D\date.obj \
143 ..\common\$D\datastrm.obj \
144 ..\common\$D\dcbase.obj \
145 ..\common\$D\db.obj \
146 ..\common\$D\dbtable.obj \
147 ..\common\$D\dlgcmn.obj \
148 ..\common\$D\docmdi.obj \
149 ..\common\$D\docview.obj \
150 ..\common\$D\docmdi.obj \
151 ..\common\$D\dynarray.obj \
152 ..\common\$D\dynlib.obj \
153 ..\common\$D\event.obj \
154 ..\common\$D\extended.obj \
155 ..\common\$D\ffile.obj \
156 ..\common\$D\file.obj \
157 ..\common\$D\fileconf.obj \
158 ..\common\$D\filefn.obj \
159 ..\common\$D\filesys.obj \
160 ..\common\$D\fontcmn.obj \
161 ..\common\$D\framecmn.obj \
162 ..\common\$D\fs_inet.obj \
163 ..\common\$D\fs_zip.obj \
164 ..\common\$D\ftp.obj \
165 ..\common\$D\gdicmn.obj \
166 ..\common\$D\gifdecod.obj \
167 ..\common\$D\hash.obj \
168 ..\common\$D\helpbase.obj \
169 ..\common\$D\http.obj \
170 ..\common\$D\imagall.obj \
171 ..\common\$D\imagbmp.obj \
172 ..\common\$D\image.obj \
173 ..\common\$D\imaggif.obj \
174 ..\common\$D\imagjpeg.obj \
175 ..\common\$D\imagpcx.obj \
176 ..\common\$D\imagpng.obj \
177 ..\common\$D\imagpnm.obj \
178 ..\common\$D\init.obj \
179 ..\common\$D\intl.obj \
180 ..\common\$D\ipcbase.obj \
181 ..\common\$D\layout.obj \
182 ..\common\$D\list.obj \
183 ..\common\$D\log.obj \
184 ..\common\$D\longlong.obj \
185 ..\common\$D\matrix.obj \
186 ..\common\$D\memory.obj \
187 ..\common\$D\mimetype.obj \
188 ..\common\$D\module.obj \
189 ..\common\$D\mstream.obj \
190 ..\common\$D\object.obj \
191 ..\common\$D\objstrm.obj \
192 ..\common\$D\odbc.obj \
193 ..\common\$D\paper.obj \
194 ..\common\$D\prntbase.obj \
195 ..\common\$D\process.obj \
196 ..\common\$D\protocol.obj \
197 ..\common\$D\resourc2.obj \
198 ..\common\$D\resource.obj \
199 ..\common\$D\sckaddr.obj \
200 ..\common\$D\sckfile.obj \
201 ..\common\$D\sckipc.obj \
202 ..\common\$D\sckstrm.obj \
203 ..\common\$D\serbase.obj \
204 ..\common\$D\sizer.obj \
205 ..\common\$D\socket.obj \
206 ..\common\$D\strconv.obj \
207 ..\common\$D\stream.obj \
208 ..\common\$D\string.obj \
209 ..\common\$D\tbarbase.obj \
210 ..\common\$D\tbarsmpl.obj \
211 ..\common\$D\textfile.obj \
212 ..\common\$D\textsmpl.obj \
213 ..\common\$D\textcmn.obj \
214 ..\common\$D\textfile.obj \
215 ..\common\$D\time.obj \
216 ..\common\$D\timercmn.obj \
217 ..\common\$D\tokenzr.obj \
218 ..\common\$D\txtstrm.obj \
219 ..\common\$D\unzip.obj \
220 ..\common\$D\url.obj \
221 ..\common\$D\utilscmn.obj \
222 ..\common\$D\valgen.obj \
223 ..\common\$D\validate.obj \
224 ..\common\$D\valtext.obj \
225 ..\common\$D\variant.obj \
226 ..\common\$D\wfstream.obj \
227 ..\common\$D\wincmn.obj \
228 ..\common\$D\wxchar.obj \
229 ..\common\$D\wxexpr.obj \
230 ..\common\$D\y_tab.obj \
231 ..\common\$D\zipstrm.obj \
232 ..\common\$D\zstream.obj
233
234 COMLIBOBJS1 = \
235 appcmn.obj \
236 choiccmn.obj \
237 cmndata.obj \
238 config.obj \
239 ctrlcmn.obj \
240 date.obj \
241 datastrm.obj \
242 dcbase.obj \
243 db.obj \
244 dbtable.obj \
245 dlgcmn.obj \
246 docmdi.obj \
247 docview.obj \
248 docmdi.obj \
249 dynarray.obj \
250 dynlib.obj \
251 event.obj \
252 extended.obj \
253 ffile.obj \
254 file.obj \
255 fileconf.obj \
256 filefn.obj \
257 filesys.obj \
258 fontcmn.obj \
259 framecmn.obj \
260 fs_inet.obj \
261 fs_zip.obj \
262 ftp.obj \
263 gdicmn.obj \
264 gifdecod.obj \
265 hash.obj \
266 helpbase.obj \
267 http.obj \
268 imagall.obj \
269 imagbmp.obj \
270 image.obj \
271 imaggif.obj \
272 imagjpeg.obj \
273 imagpcx.obj \
274 imagpng.obj \
275 imagpnm.obj \
276 init.obj \
277 intl.obj \
278 ipcbase.obj \
279 layout.obj
280
281 COMLIBOBJS2 = \
282 list.obj \
283 log.obj \
284 longlong.obj \
285 matrix.obj \
286 memory.obj \
287 mimetype.obj \
288 module.obj \
289 mstream.obj \
290 object.obj \
291 objstrm.obj \
292 odbc.obj \
293 paper.obj \
294 prntbase.obj \
295 process.obj \
296 protocol.obj \
297 resourc2.obj \
298 resource.obj \
299 sckaddr.obj \
300 sckfile.obj \
301 sckipc.obj \
302 sckstrm.obj \
303 serbase.obj \
304 sizer.obj \
305 socket.obj \
306 strconv.obj \
307 stream.obj \
308 string.obj \
309 tbarbase.obj \
310 tbarsmpl.obj \
311 textfile.obj \
312 textsmpl.obj \
313 textcmn.obj \
314 textfile.obj \
315 time.obj \
316 timercmn.obj \
317 tokenzr.obj \
318 txtstrm.obj \
319 unzip.obj \
320 url.obj \
321 utilscmn.obj \
322 valgen.obj \
323 validate.obj \
324 valtext.obj \
325 variant.obj \
326 wfstream.obj \
327 wincmn.obj \
328 wxchar.obj \
329 wxexpr.obj \
330 y_tab.obj \
331 zipstrm.obj \
332 zstream.obj \
333
334 OS2OBJS = \
335 ..\os2\$D\accel.obj \
336 ..\os2\$D\app.obj \
337 ..\os2\$D\bitmap.obj \
338 ..\os2\$D\bmpbuttn.obj \
339 ..\os2\$D\brush.obj \
340 ..\os2\$D\button.obj \
341 ..\os2\$D\checkbox.obj \
342 ..\os2\$D\checklst.obj \
343 ..\os2\$D\choice.obj \
344 ..\os2\$D\clipbrd.obj \
345 ..\os2\$D\colour.obj \
346 ..\os2\$D\combobox.obj \
347 ..\os2\$D\control.obj \
348 ..\os2\$D\cursor.obj \
349 ..\os2\$D\data.obj \
350 ..\os2\$D\dc.obj \
351 ..\os2\$D\dcclient.obj \
352 ..\os2\$D\dcmemory.obj \
353 ..\os2\$D\dcprint.obj \
354 ..\os2\$D\dcscreen.obj \
355 ..\os2\$D\dialog.obj \
356 ..\os2\$D\dirdlg.obj \
357 ..\os2\$D\dnd.obj \
358 ..\os2\$D\filedlg.obj \
359 ..\os2\$D\font.obj \
360 ..\os2\$D\fontdlg.obj \
361 ..\os2\$D\frame.obj \
362 ..\os2\$D\gauge.obj \
363 ..\os2\$D\gdiobj.obj \
364 ..\os2\$D\gsocket.obj \
365 ..\os2\$D\helpwin.obj \
366 ..\os2\$D\icon.obj \
367 ..\os2\$D\imaglist.obj \
368 ..\os2\$D\iniconf.obj \
369 ..\os2\$D\joystick.obj \
370 ..\os2\$D\listbox.obj \
371 ..\os2\$D\listctrl.obj \
372 ..\os2\$D\main.obj \
373 ..\os2\$D\mdi.obj \
374 ..\os2\$D\menu.obj \
375 ..\os2\$D\menuitem.obj \
376 ..\os2\$D\metafile.obj \
377 ..\os2\$D\minifram.obj \
378 ..\os2\$D\msgdlg.obj \
379 ..\os2\$D\nativdlg.obj \
380 ..\os2\$D\notebook.obj \
381 ..\os2\$D\ownerdrw.obj \
382 ..\os2\$D\palette.obj \
383 ..\os2\$D\pen.obj \
384 ..\os2\$D\pnghand.obj \
385 ..\os2\$D\print.obj \
386 ..\os2\$D\radiobox.obj \
387 ..\os2\$D\radiobut.obj \
388 ..\os2\$D\region.obj \
389 ..\os2\$D\scrolbar.obj \
390 ..\os2\$D\settings.obj \
391 ..\os2\$D\slider.obj \
392 ..\os2\$D\spinbutt.obj \
393 ..\os2\$D\spinctrl.obj \
394 ..\os2\$D\statbmp.obj \
395 ..\os2\$D\statbox.obj \
396 ..\os2\$D\stattext.obj \
397 ..\os2\$D\statbrpm.obj \
398 ..\os2\$D\tabctrl.obj \
399 ..\os2\$D\taskbar.obj \
400 ..\os2\$D\textctrl.obj \
401 ..\os2\$D\thread.obj \
402 ..\os2\$D\timer.obj \
403 ..\os2\$D\toolbar.obj \
404 ..\os2\$D\tooltip.obj \
405 ..\os2\$D\treectrl.obj \
406 ..\os2\$D\utils.obj \
407 ..\os2\$D\utilsexc.obj \
408 ..\os2\$D\wave.obj \
409 ..\os2\$D\window.obj
410
411 OS2LIBOBJS1 = \
412 accel.obj \
413 app.obj \
414 bitmap.obj \
415 bmpbuttn.obj \
416 brush.obj \
417 button.obj \
418 checkbox.obj \
419 checklst.obj \
420 choice.obj \
421 clipbrd.obj \
422 colour.obj \
423 combobox.obj \
424 control.obj \
425 cursor.obj \
426 data.obj \
427 dc.obj \
428 dcclient.obj \
429 dcmemory.obj \
430 dcprint.obj \
431 dcscreen.obj \
432 dialog.obj \
433 dirdlg.obj \
434 dnd.obj \
435 filedlg.obj \
436 font.obj \
437 fontdlg.obj \
438 frame.obj \
439 gauge.obj \
440 gdiobj.obj \
441 gsocket.obj \
442 helpwin.obj \
443 icon.obj \
444 imaglist.obj \
445 iniconf.obj \
446 joystick.obj \
447 listbox.obj \
448 listctrl.obj \
449 main.obj \
450 mdi.obj \
451 menu.obj \
452 menuitem.obj \
453 metafile.obj \
454 minifram.obj \
455 msgdlg.obj \
456 nativdlg.obj
457
458 OS2LIBOBJS2 = \
459 notebook.obj \
460 ownerdrw.obj \
461 palette.obj \
462 pen.obj \
463 pnghand.obj \
464 print.obj \
465 radiobox.obj \
466 radiobut.obj \
467 region.obj \
468 scrolbar.obj \
469 settings.obj \
470 slider.obj \
471 spinbutt.obj \
472 spinctrl.obj \
473 statbmp.obj \
474 statbox.obj \
475 stattext.obj \
476 statbrpm.obj \
477 tabctrl.obj \
478 taskbar.obj \
479 textctrl.obj \
480 thread.obj \
481 timer.obj \
482 toolbar.obj \
483 tooltip.obj \
484 treectrl.obj \
485 utils.obj \
486 utilsexc.obj \
487 wave.obj \
488 window.obj
489
490 HTMLOBJS = \
491 ..\html\$D\htmlcell.obj \
492 ..\html\$D\htmlfilter.obj \
493 ..\html\$D\htmlhelp.obj \
494 ..\html\$D\htmlhelp_io.obj \
495 ..\html\$D\htmlparser.obj \
496 ..\html\$D\htmltag.obj \
497 ..\html\$D\htmlwin.obj \
498 ..\html\$D\htmlwinparser.obj \
499 ..\html\$D\mod_fonts.obj \
500 ..\html\$D\mod_hline.obj \
501 ..\html\$D\mod_image.obj \
502 ..\html\$D\mod_layout.obj \
503 ..\html\$D\mod_links.obj \
504 ..\html\$D\mod_list.obj \
505 ..\html\$D\mod_pre.obj \
506 ..\html\$D\mod_tables.obj \
507 ..\html\$D\search.obj
508
509 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
510 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(NONESSENTIALOBJS) $(OS2OBJS)
511
512 # Normal, static library
513 all: $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET)
514
515 dirs: $(OS2DIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(HTMLDIR)\$D
516
517
518 test: $(OS2DIR)\$D\wave.obj
519 test2: ..\common\Debug\config.obj
520
521 $D:
522 md $D
523
524 $(COMMDIR)\$D:
525 md $(COMMDIR)\$D
526
527 $(OS2DIR)\$D:
528 md $(OS2DIR)\$D
529
530 $(GENDIR)\$D:
531 md $(GENDIR)\$D
532
533 $(HTMLDIR)\$D:
534 md $(HTMLDIR)\$D
535
536 $(COMLIBOBJS1):
537 copy ..\common\$D\appcmn.obj
538 copy ..\common\$D\choiccmn.obj
539 copy ..\common\$D\cmndata.obj
540 copy ..\common\$D\config.obj
541 copy ..\common\$D\ctrlcmn.obj
542 copy ..\common\$D\date.obj
543 copy ..\common\$D\datastrm.obj
544 copy ..\common\$D\dcbase.obj
545 copy ..\common\$D\db.obj
546 copy ..\common\$D\dbtable.obj
547 copy ..\common\$D\dlgcmn.obj
548 copy ..\common\$D\docmdi.obj
549 copy ..\common\$D\docview.obj
550 copy ..\common\$D\docmdi.obj
551 copy ..\common\$D\dynarray.obj
552 copy ..\common\$D\dynlib.obj
553 copy ..\common\$D\event.obj
554 copy ..\common\$D\extended.obj
555 copy ..\common\$D\ffile.obj
556 copy ..\common\$D\file.obj
557 copy ..\common\$D\fileconf.obj
558 copy ..\common\$D\filefn.obj
559 copy ..\common\$D\filesys.obj
560 copy ..\common\$D\fontcmn.obj
561 copy ..\common\$D\framecmn.obj
562 copy ..\common\$D\fs_inet.obj
563 copy ..\common\$D\fs_zip.obj
564 copy ..\common\$D\ftp.obj
565 copy ..\common\$D\gdicmn.obj
566 copy ..\common\$D\gifdecod.obj
567 copy ..\common\$D\hash.obj
568 copy ..\common\$D\helpbase.obj
569 copy ..\common\$D\http.obj
570 copy ..\common\$D\imagall.obj
571 copy ..\common\$D\imagbmp.obj
572 copy ..\common\$D\image.obj
573 copy ..\common\$D\imaggif.obj
574 copy ..\common\$D\imagjpeg.obj
575 copy ..\common\$D\imagpcx.obj
576 copy ..\common\$D\imagpng.obj
577 copy ..\common\$D\imagpnm.obj
578 copy ..\common\$D\init.obj
579 copy ..\common\$D\intl.obj
580 copy ..\common\$D\ipcbase.obj
581 copy ..\common\$D\layout.obj
582
583 $(COMLIBOBJS2):
584 copy ..\common\$D\list.obj
585 copy ..\common\$D\log.obj
586 copy ..\common\$D\longlong.obj
587 copy ..\common\$D\matrix.obj
588 copy ..\common\$D\memory.obj
589 copy ..\common\$D\mimetype.obj
590 copy ..\common\$D\module.obj
591 copy ..\common\$D\mstream.obj
592 copy ..\common\$D\object.obj
593 copy ..\common\$D\objstrm.obj
594 copy ..\common\$D\odbc.obj
595 copy ..\common\$D\paper.obj
596 copy ..\common\$D\prntbase.obj
597 copy ..\common\$D\process.obj
598 copy ..\common\$D\protocol.obj
599 copy ..\common\$D\resourc2.obj
600 copy ..\common\$D\resource.obj
601 copy ..\common\$D\sckaddr.obj
602 copy ..\common\$D\sckfile.obj
603 copy ..\common\$D\sckipc.obj
604 copy ..\common\$D\sckstrm.obj
605 copy ..\common\$D\serbase.obj
606 copy ..\common\$D\sizer.obj
607 copy ..\common\$D\socket.obj
608 copy ..\common\$D\strconv.obj
609 copy ..\common\$D\stream.obj
610 copy ..\common\$D\string.obj
611 copy ..\common\$D\tbarbase.obj
612 copy ..\common\$D\tbarsmpl.obj
613 copy ..\common\$D\textfile.obj
614 copy ..\common\$D\textsmpl.obj
615 copy ..\common\$D\textcmn.obj
616 copy ..\common\$D\textfile.obj
617 copy ..\common\$D\time.obj
618 copy ..\common\$D\timercmn.obj
619 copy ..\common\$D\tokenzr.obj
620 copy ..\common\$D\txtstrm.obj
621 copy ..\common\$D\unzip.obj
622 copy ..\common\$D\url.obj
623 copy ..\common\$D\utilscmn.obj
624 copy ..\common\$D\valgen.obj
625 copy ..\common\$D\validate.obj
626 copy ..\common\$D\valtext.obj
627 copy ..\common\$D\variant.obj
628 copy ..\common\$D\wfstream.obj
629 copy ..\common\$D\wincmn.obj
630 copy ..\common\$D\wxchar.obj
631 copy ..\common\$D\wxexpr.obj
632 copy ..\common\$D\y_tab.obj
633 copy ..\common\$D\zipstrm.obj
634 copy ..\common\$D\zstream.obj
635
636 $(GENLIBOBJS):
637 copy ..\generic\$D\caret.obj
638 copy ..\generic\$D\choicdgg.obj
639 copy ..\generic\$D\gridg.obj
640 copy ..\generic\$D\laywin.obj
641 copy ..\generic\$D\panelg.obj
642 copy ..\generic\$D\progdlgg.obj
643 copy ..\generic\$D\prop.obj
644 copy ..\generic\$D\propform.obj
645 copy ..\generic\$D\proplist.obj
646 copy ..\generic\$D\sashwin.obj
647 copy ..\generic\$D\scrolwin.obj
648 copy ..\generic\$D\splitter.obj
649 copy ..\generic\$D\statusbr.obj
650 copy ..\generic\$D\tabg.obj
651 copy ..\generic\$D\textdlgg.obj
652 copy ..\generic\$D\tipdlg.obj
653 copy ..\generic\$D\busyinfo.obj
654
655 $(OS2LIBOBJS1):
656 copy ..\os2\$D\accel.obj
657 copy ..\os2\$D\app.obj
658 copy ..\os2\$D\bitmap.obj
659 copy ..\os2\$D\bmpbuttn.obj
660 copy ..\os2\$D\brush.obj
661 copy ..\os2\$D\button.obj
662 copy ..\os2\$D\checkbox.obj
663 copy ..\os2\$D\checklst.obj
664 copy ..\os2\$D\choice.obj
665 copy ..\os2\$D\clipbrd.obj
666 copy ..\os2\$D\colour.obj
667 copy ..\os2\$D\combobox.obj
668 copy ..\os2\$D\control.obj
669 copy ..\os2\$D\cursor.obj
670 copy ..\os2\$D\data.obj
671 copy ..\os2\$D\dc.obj
672 copy ..\os2\$D\dcclient.obj
673 copy ..\os2\$D\dcmemory.obj
674 copy ..\os2\$D\dcprint.obj
675 copy ..\os2\$D\dcscreen.obj
676 copy ..\os2\$D\dialog.obj
677 copy ..\os2\$D\dirdlg.obj
678 copy ..\os2\$D\dnd.obj
679 copy ..\os2\$D\filedlg.obj
680 copy ..\os2\$D\font.obj
681 copy ..\os2\$D\fontdlg.obj
682 copy ..\os2\$D\frame.obj
683 copy ..\os2\$D\gauge.obj
684 copy ..\os2\$D\gdiobj.obj
685 copy ..\os2\$D\gsocket.obj
686 copy ..\os2\$D\helpwin.obj
687 copy ..\os2\$D\icon.obj
688 copy ..\os2\$D\imaglist.obj
689 copy ..\os2\$D\iniconf.obj
690 copy ..\os2\$D\joystick.obj
691 copy ..\os2\$D\listbox.obj
692 copy ..\os2\$D\listctrl.obj
693 copy ..\os2\$D\main.obj
694 copy ..\os2\$D\mdi.obj
695 copy ..\os2\$D\menu.obj
696 copy ..\os2\$D\menuitem.obj
697 copy ..\os2\$D\metafile.obj
698 copy ..\os2\$D\minifram.obj
699 copy ..\os2\$D\msgdlg.obj
700 copy ..\os2\$D\nativdlg.obj
701
702 $(OS2LIBOBJS2):
703 copy ..\os2\$D\notebook.obj
704 copy ..\os2\$D\ownerdrw.obj
705 copy ..\os2\$D\palette.obj
706 copy ..\os2\$D\pen.obj
707 copy ..\os2\$D\pnghand.obj
708 copy ..\os2\$D\print.obj
709 copy ..\os2\$D\radiobox.obj
710 copy ..\os2\$D\radiobut.obj
711 copy ..\os2\$D\region.obj
712 copy ..\os2\$D\scrolbar.obj
713 copy ..\os2\$D\settings.obj
714 copy ..\os2\$D\slider.obj
715 copy ..\os2\$D\spinbutt.obj
716 copy ..\os2\$D\spinctrl.obj
717 copy ..\os2\$D\statbmp.obj
718 copy ..\os2\$D\statbox.obj
719 copy ..\os2\$D\stattext.obj
720 copy ..\os2\$D\statbrpm.obj
721 copy ..\os2\$D\tabctrl.obj
722 copy ..\os2\$D\taskbar.obj
723 copy ..\os2\$D\textctrl.obj
724 copy ..\os2\$D\thread.obj
725 copy ..\os2\$D\timer.obj
726 copy ..\os2\$D\toolbar.obj
727 copy ..\os2\$D\tooltip.obj
728 copy ..\os2\$D\treectrl.obj
729 copy ..\os2\$D\utils.obj
730 copy ..\os2\$D\utilsexc.obj
731 copy ..\os2\$D\wave.obj
732 copy ..\os2\$D\window.obj
733
734 # wxWindows library as DLL
735 dll:
736 nmake -f makefile.va all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
737
738 cleandll:
739 nmake -f makefile.va clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
740
741 # wxWindows + app as DLL. Only affects main.cpp.
742 dllapp:
743 nmake -f makefile.va all FINAL=$(FINAL) DLL=1
744
745 # wxWindows + app as DLL, for Netscape plugin - remove DllMain.
746 dllnp:
747 nmake -f makefile.va all FINAL=$(FINAL) DLL=1
748
749 # Use this to make dummy.obj and generate a PCH.
750 # You might use the dll target, then the pch target, in order to
751 # generate a DLL, then a PCH/dummy.obj for compiling your applications with.
752 #
753 # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
754 # are associated with wx.lib. When using a DLL version of wxWindows, however,
755 # the DLL is compiled without a PCH, so you only need it for compiling the app.
756 # In fact headers are compiled differently depending on whether a DLL is being made
757 # or an app is calling the DLL exported functionality (WXDLLEXPORT is different
758 # in each case) so you couldn't use the same PCH.
759 pch:
760 nmake -f makefile.va pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
761
762 pch1: dirs $(DUMMYOBJ)
763 echo $(DUMMYOBJ)
764
765 !if "$(WXMAKINGDLL)" != "1"
766
767 ### Static library
768
769 $(WXDIR)\lib\wxcom1.lib: $(COMLIBOBJS1)
770 touch $(WXDIR)\lib\wxcom1.lib
771 del $(WXDIR)\lib\wxcom1.lib
772 ilib $(LIBFLAGS) $@ @<<
773 $**;
774 <<
775
776 $(WXDIR)\lib\wxcom2.lib: $(COMLIBOBJS2)
777 touch $(WXDIR)\lib\wxcom2.lib
778 del $(WXDIR)\lib\wxcom2.lib
779 ilib $(LIBFLAGS) $@ @<<
780 $**;
781 <<
782
783 $(WXDIR)\lib\wxgen.lib: $(GENLIBOBJS)
784 touch $(WXDIR)\lib\wxgen.lib
785 del $(WXDIR)\lib\wxgen.lib
786 ilib $(LIBFLAGS) $@ @<<
787 $**;
788 <<
789
790 $(WXDIR)\lib\wxnones.lib: $(NONESSENTIALOBJS)
791 touch $(WXDIR)\lib\wxnones.lib
792 del $(WXDIR)\lib\wxnones.lib
793 ilib $(LIBFLAGS) $@ @<<
794 $**;
795 <<
796
797 $(WXDIR)\lib\wxos21.lib: $(OS2LIBOBJS1)
798 touch $(WXDIR)\lib\wxos21.lib
799 del $(WXDIR)\lib\wxos21.lib
800 ilib $(LIBFLAGS) $@ @<<
801 $**;
802 <<
803
804 $(WXDIR)\lib\wxos22.lib: $(OS2LIBOBJS2)
805 touch $(WXDIR)\lib\wxos22.lib
806 del $(WXDIR)\lib\wxos22.lib
807 ilib $(LIBFLAGS) $@ @<<
808 $**;
809 <<
810 del *.obj
811
812 $(WXDIR)\lib\wx.lib: \
813 $D\dummy.obj \
814 $(COMTEMPTGT1) \
815 $(COMTEMPTGT2) \
816 $(GENTEMPTGT) \
817 $(NONESTEMPTGT) \
818 $(OS2TEMPTGT1) \
819 $(OS2TEMPTGT2) \
820 $(PERIPH_LIBS)
821 touch $(LIBTARGET)
822 del $(LIBTARGET)
823 ilib $(LIBFLAGS) $@ @<<
824 $**;
825 <<
826 del $(COMTEMPTGT1)
827 del $(COMTEMPTGT2)
828 del $(GENTEMPTGT)
829 del $(NONESTEMPTGT)
830 del $(OS2TEMPTGT1)
831 del $(OS2TEMPTGT2)
832
833 !else
834
835 # Update the import library
836 $(WXDIR)\lib\wx210.lib: $(OBJECTS)
837 implib $(WXDIR)\lib\wx210.lib $(WXDIR)\lib\wx210.def
838
839 # Update the dynamic link library
840 $(WXDIR)\lib\wx200.dll: $(OBJECTS) $(WXDIR)\lib\wx210.lib
841 icc @<<
842 /B" $(LINKFLAGS)" /Fe$@
843 $(LIBS)
844 $(OBJECTS)
845 $(WXDIR)\lib\wx210.def
846 <<
847
848 !endif
849
850 $D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h
851 icc $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /Tp dummy.cpp
852
853 $D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h
854 icc @<<
855 $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /c /Tp dummydll.cpp
856 <<
857
858 # If taking wxWindows from CVS, setup.h doesn't exist yet.
859 $(WXDIR)\include\wx\os2\setup.h: $(WXDIR)\include\wx\os2\setup0.h
860 copy "$(WXDIR)"\include\wx\os2\setup.h "$(WXDIR)"\include\wx\os2\setup.bak
861 copy "$(WXDIR)"\include\wx\os2\setup0.h "$(WXDIR)"\include\wx\os2\setup.h
862
863 ..\common\$D\extended.obj: ..\common\extended.c
864 icc @<<
865 $(CPPFLAGS2) /Fo$@ $(COMMDIR)\extended.c
866 <<
867
868 ..\common\$D\y_tab.obj: ..\common\y_tab.c ..\common\lex_yy.c
869 icc @<<
870 $(CPPFLAGS2) /DUSE_DEFINE /DYY_USE_PROTOS /Fo$@ ..\common\y_tab.c
871 <<
872
873 ..\common\y_tab.c: ..\common\dosyacc.c
874 copy "..\common"\dosyacc.c "..\common"\y_tab.c
875
876 ..\common\lex_yy.c: ..\common\doslex.c
877 copy "..\common"\doslex.c "..\common"\lex_yy.c
878
879 $(OBJECTS): $(WXDIR)/include/wx/setup.h
880
881 ..\common\$D\unzip.obj: ..\common\unzip.c
882 icc @<<
883 $(CPPFLAGS2) /Fo$@ $(COMMDIR)\unzip.c
884 <<
885
886 clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib clean_jpeg clean_xpm
887 -erase $(LIBTARGET)
888 -erase ..\..\lib\wx200.dll
889 -erase ..\..\lib\wx200.lib
890 -erase $(GENDIR)\$D\*.obj
891 -erase $(COMMDIR)\$D\*.obj
892 -erase $(COMMDIR)\\y_tab.c
893 -erase $(COMMDIR)\lex_yy.c
894 -erase $(OS2DIR)\$D\*.obj
895 -rmdir $(D)
896 -rmdir ole\$(D)
897 -rmdir ..\generic\$(D)
898 -rmdir ..\common\$(D)
899
900 cleanall: clean
901