]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/os2/makefile.va
use item colour when drawing the focused item if we don't highlight it
[wxWidgets.git] / src / os2 / makefile.va
... / ...
CommitLineData
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
18THISDIR=$(WXWIN)\src\os2
19
20!if "$(WXMAKINGDLL)" == "1"
21LIBTARGET=$(WXDIR)\lib\$(WXLIBNAME).dll
22DUMMYOBJ=$D\dummydll.obj
23!else
24LIBTARGET=$(WXLIB)
25COMTEMPTGT1=$(WXDIR)\lib\wxcom1.lib
26COMTEMPTGT2=$(WXDIR)\lib\wxcom2.lib
27COMTEMPTGT3=$(WXDIR)\lib\wxcom3.lib
28GENTEMPTGT=$(WXDIR)\lib\wxgen.lib
29NONESTEMPTGT=$(WXDIR)\lib\wxnones.lib
30OS2TEMPTGT1=$(WXDIR)\lib\wxos21.lib
31OS2TEMPTGT2=$(WXDIR)\lib\wxos22.lib
32HTMLTEMPTGT=$(WXDIR)\lib\wxhtml.lib
33DUMMYOBJ=$D\dummy.obj
34!endif
35
36# Please set these according to the settings in setup.h, so we can include
37# the appropriate libraries in wx.lib
38
39# This one overrides the others, to be consistent with the settings in wx_setup.h
40MINIMAL_WXWINDOWS_SETUP=0
41
42PERIPH_LIBS=
43PERIPH_TARGET=
44PERIPH_CLEAN_TARGET=
45
46# These are absolute paths, so that the compiler
47# generates correct __FILE__ symbols for debugging.
48# Otherwise you don't be able to double-click on a memory
49# error to load that file.
50GENDIR=$(WXDIR)\src\generic
51COMMDIR=$(WXDIR)\src\common
52OS2DIR=$(WXDIR)\src\os2
53HTMLDIR = $(WXDIR)\src\html
54
55!if [md $(COMMDIR)\$D]
56!endif
57
58!if [md $(OS2DIR)\$D]
59!endif
60
61!if [md $(GENDIR)\$D]
62!endif
63
64!if [md $(HTMLDIR)\$D]
65!endif
66
67{..\generic}.cpp{..\generic\$D}.obj:
68 @echo $<
69 icc @<<
70$(CPPFLAGS) /Fo$@ /Tp $<
71<<
72
73{..\common}.cpp{..\common\$D}.obj:
74 @echo $<
75 icc @<<
76$(CPPFLAGS) /Fo$@ /Tp $<
77<<
78
79{..\os2}.cpp{..\os2\$D}.obj:
80 @echo $<
81 icc @<<
82$(CPPFLAGS) /Fo$@ /Tp $<
83<<
84
85{..\os2}.c{..\os2\$D}.obj:
86 @echo $<
87 icc @<<
88$(CPPFLAGS) /Fo$@ /Tp $<
89<<
90
91{..\html}.cpp{..\html\$D}.obj:
92 @echo $<
93 icc @<<
94$(CPPFLAGS) /Fo$@ /Tp $<
95<<
96
97GENERICOBJS= \
98 ..\generic\$D\busyinfo.obj \
99 ..\generic\$D\calctrl.obj \
100 ..\generic\$D\caret.obj \
101 ..\generic\$D\choicdgg.obj \
102 ..\generic\$D\colrdlgg.obj \
103 ..\generic\$D\dcpsg.obj \
104 ..\generic\$D\dirctrlg.obj \
105 ..\generic\$D\dragimgg.obj \
106 ..\generic\$D\fontdlgg.obj \
107 ..\generic\$D\fdrepdlg.obj \
108 ..\generic\$D\grid.obj \
109 ..\generic\$D\gridctrl.obj \
110 ..\generic\$D\gridsel.obj \
111 ..\generic\$D\helpext.obj \
112 ..\generic\$D\helphtml.obj \
113 ..\generic\$D\helpwxht.obj \
114 ..\generic\$D\helpxlp.obj \
115 ..\generic\$D\imaglist.obj \
116 ..\generic\$D\laywin.obj \
117 ..\generic\$D\listctrl.obj \
118 ..\generic\$D\logg.obj \
119 ..\generic\$D\numdlgg.obj \
120 ..\generic\$D\panelg.obj \
121 ..\generic\$D\printps.obj \
122 ..\generic\$D\prntdlgg.obj \
123 ..\generic\$D\progdlgg.obj \
124 ..\generic\$D\prop.obj \
125 ..\generic\$D\propform.obj \
126 ..\generic\$D\proplist.obj \
127 ..\generic\$D\sashwin.obj \
128 ..\generic\$D\scrlwing.obj \
129 ..\generic\$D\spinctlg.obj \
130 ..\generic\$D\splitter.obj \
131 ..\generic\$D\statusbr.obj \
132 ..\generic\$D\tabg.obj \
133 ..\generic\$D\tbarsmpl.obj \
134 ..\generic\$D\textdlgg.obj \
135 ..\generic\$D\tipdlg.obj \
136 ..\generic\$D\tipwin.obj \
137 ..\generic\$D\treectlg.obj \
138 ..\generic\$D\treelay.obj \
139 ..\generic\$D\wizard.obj
140
141# ..\generic\$D\gridg.obj \
142# ..\generic\$D\notebook.obj \
143
144GENLIBOBJS= \
145 busyinfo.obj \
146 calctrl.obj \
147 caret.obj \
148 choicdgg.obj \
149 colrdlgg.obj \
150 dcpsg.obj \
151 dirctrlg.obj \
152 dragimgg.obj \
153 fontdlgg.obj \
154 fdrepdlg.obj \
155 grid.obj \
156 gridctrl.obj \
157 gridsel.obj \
158 helpext.obj \
159 helphtml.obj \
160 helpwxht.obj \
161 helpxlp.obj \
162 imaglist.obj \
163 laywin.obj \
164 listctrl.obj \
165 logg.obj \
166 numdlgg.obj \
167 panelg.obj \
168 printps.obj \
169 prntdlgg.obj \
170 progdlgg.obj \
171 prop.obj \
172 propform.obj \
173 proplist.obj \
174 sashwin.obj \
175 scrlwing.obj \
176 spinctlg.obj \
177 splitter.obj \
178 statusbr.obj \
179 tabg.obj \
180 tbarsmpl.obj \
181 textdlgg.obj \
182 tipdlg.obj \
183 tipwin.obj \
184 treectlg.obj \
185 treelay.obj \
186 wizard.obj
187
188# These are generic things that don't need to be compiled on PM,
189# but sometimes it's useful to do so for testing purposes.
190NONESSENTIALOBJS= \
191 ..\generic\$D\msgdlgg.obj
192
193COMMONOBJS = \
194 ..\common\$D\appcmn.obj \
195 ..\common\$D\bmpbase.obj \
196 ..\common\$D\choiccmn.obj \
197 ..\common\$D\clipcmn.obj \
198 ..\common\$D\cmdline.obj \
199 ..\common\$D\cmndata.obj \
200 ..\common\$D\cmdproc.obj \
201 ..\common\$D\config.obj \
202 ..\common\$D\cshelp.obj \
203 ..\common\$D\ctrlcmn.obj \
204 ..\common\$D\ctrlsub.obj \
205 ..\common\$D\datetime.obj \
206 ..\common\$D\datstrm.obj \
207!if "$(WXMAKINGDLL)" != "1"
208# don't have an ODBC database
209 ..\common\$D\db.obj \
210 ..\common\$D\dbgrid.obj \
211 ..\common\$D\dbtable.obj \
212!endif
213 ..\common\$D\dcbase.obj \
214 ..\common\$D\dircmn.obj \
215 ..\common\$D\dlgcmn.obj \
216 ..\common\$D\dndcmn.obj \
217 ..\common\$D\dobjcmn.obj \
218 ..\common\$D\docmdi.obj \
219 ..\common\$D\docview.obj \
220 ..\common\$D\dynarray.obj \
221 ..\common\$D\dynlib.obj \
222 ..\common\$D\effects.obj \
223 ..\common\$D\encconv.obj \
224 ..\common\$D\event.obj \
225 ..\common\$D\extended.obj \
226 ..\common\$D\fddlgcmn.obj \
227 ..\common\$D\ffile.obj \
228 ..\common\$D\file.obj \
229 ..\common\$D\fileconf.obj \
230 ..\common\$D\filefn.obj \
231 ..\common\$D\filename.obj \
232 ..\common\$D\filesys.obj \
233 ..\common\$D\fontcmn.obj \
234 ..\common\$D\fontmap.obj \
235 ..\common\$D\framecmn.obj \
236 ..\common\$D\fs_inet.obj \
237 ..\common\$D\fs_mem.obj \
238 ..\common\$D\fs_zip.obj \
239 ..\common\$D\ftp.obj \
240 ..\common\$D\gaugecmn.obj \
241 ..\common\$D\gdicmn.obj \
242 ..\common\$D\geometry.obj \
243 ..\common\$D\gifdecod.obj \
244 ..\common\$D\hash.obj \
245 ..\common\$D\helpbase.obj \
246 ..\common\$D\http.obj \
247 ..\common\$D\imagall.obj \
248 ..\common\$D\imagbmp.obj \
249 ..\common\$D\image.obj \
250 ..\common\$D\imaggif.obj \
251 ..\common\$D\imagjpeg.obj \
252 ..\common\$D\imagpcx.obj \
253 ..\common\$D\imagpng.obj \
254 ..\common\$D\imagpnm.obj \
255 ..\common\$D\imagtiff.obj \
256 ..\common\$D\imagxpm.obj \
257 ..\common\$D\intl.obj \
258 ..\common\$D\ipcbase.obj \
259 ..\common\$D\layout.obj \
260 ..\common\$D\lboxcmn.obj \
261 ..\common\$D\list.obj \
262 ..\common\$D\log.obj \
263 ..\common\$D\longlong.obj \
264 ..\common\$D\matrix.obj \
265 ..\common\$D\memory.obj \
266 ..\common\$D\menucmn.obj \
267 ..\common\$D\mimecmn.obj \
268 ..\common\$D\module.obj \
269 ..\common\$D\mstream.obj \
270 ..\common\$D\nbkbase.obj \
271 ..\common\$D\object.obj \
272 ..\common\$D\objstrm.obj \
273!if "$(WXMAKINGDLL)" != "1"
274# don't have an ODBC database
275 ..\common\$D\odbc.obj \
276!endif
277 ..\common\$D\paper.obj \
278 ..\common\$D\popupcmn.obj \
279 ..\common\$D\prntbase.obj \
280 ..\common\$D\process.obj \
281 ..\common\$D\protocol.obj \
282 ..\common\$D\quantize.obj \
283 ..\common\$D\radiocmn.obj \
284 ..\common\$D\regex.obj \
285 ..\common\$D\resource.obj \
286 ..\common\$D\sckaddr.obj \
287 ..\common\$D\sckfile.obj \
288 ..\common\$D\sckipc.obj \
289 ..\common\$D\sckstrm.obj \
290 ..\common\$D\serbase.obj \
291 ..\common\$D\sizer.obj \
292 ..\common\$D\socket.obj \
293 ..\common\$D\strconv.obj \
294 ..\common\$D\stream.obj \
295 ..\common\$D\string.obj \
296 ..\common\$D\sysopt.obj \
297 ..\common\$D\tbarbase.obj \
298 ..\common\$D\textcmn.obj \
299 ..\common\$D\textfile.obj \
300 ..\common\$D\timercmn.obj \
301 ..\common\$D\tokenzr.obj \
302 ..\common\$D\treebase.obj \
303 ..\common\$D\txtstrm.obj \
304 ..\common\$D\unzip.obj \
305 ..\common\$D\url.obj \
306 ..\common\$D\utilscmn.obj \
307 ..\common\$D\valgen.obj \
308 ..\common\$D\validate.obj \
309 ..\common\$D\valtext.obj \
310 ..\common\$D\variant.obj \
311 ..\common\$D\wfstream.obj \
312 ..\common\$D\wincmn.obj \
313 ..\common\$D\wxchar.obj \
314 ..\common\$D\wxexpr.obj \
315 ..\common\$D\xpmdecod.obj \
316 ..\common\$D\y_tab.obj \
317 ..\common\$D\zipstrm.obj \
318 ..\common\$D\zstream.obj
319
320COMLIBOBJS1 = \
321 appcmn.obj \
322 bmpbase.obj \
323 choiccmn.obj \
324 clipcmn.obj \
325 cmdline.obj \
326 cmndata.obj \
327 cmdproc.obj \
328 config.obj \
329 cshelp.obj \
330 ctrlcmn.obj \
331 ctrlsub.obj \
332 datetime.obj \
333 datstrm.obj \
334 db.obj \
335 dbgrid.obj \
336 dbtable.obj \
337 dcbase.obj \
338 dircmn.obj \
339 dndcmn.obj \
340 dlgcmn.obj \
341 dobjcmn.obj \
342 docmdi.obj \
343 docview.obj \
344 dynarray.obj \
345 dynlib.obj \
346 effects.obj \
347 encconv.obj \
348 event.obj \
349 extended.obj \
350 fddlgcmn.obj \
351 ffile.obj \
352 file.obj \
353 fileconf.obj \
354 filefn.obj \
355 filename.obj \
356 filesys.obj \
357 fontcmn.obj \
358 fontmap.obj \
359 framecmn.obj \
360 fs_inet.obj \
361 fs_mem.obj \
362 fs_zip.obj \
363 ftp.obj \
364 gaugecmn.obj
365
366COMLIBOBJS2 = \
367 gdicmn.obj \
368 geometry.obj \
369 gifdecod.obj \
370 hash.obj \
371 helpbase.obj \
372 http.obj \
373 imagall.obj \
374 imagbmp.obj \
375 image.obj \
376 imaggif.obj \
377 imagjpeg.obj \
378 imagpcx.obj \
379 imagpng.obj \
380 imagpnm.obj \
381 imagtiff.obj \
382 imagxpm.obj \
383 intl.obj \
384 ipcbase.obj \
385 layout.obj \
386 lboxcmn.obj \
387 list.obj \
388 log.obj \
389 longlong.obj \
390 matrix.obj \
391 memory.obj \
392 menucmn.obj \
393 mimecmn.obj \
394 module.obj \
395 mstream.obj \
396 nbkbase.obj \
397 object.obj \
398 objstrm.obj \
399 odbc.obj \
400 paper.obj \
401 popupcmn.obj \
402 prntbase.obj \
403 process.obj \
404 protocol.obj \
405 quantize.obj \
406 radiocmn.obj \
407 regex.obj \
408 resource.obj
409
410COMLIBOBJS3 = \
411 sckaddr.obj \
412 sckfile.obj \
413 sckipc.obj \
414 sckstrm.obj \
415 serbase.obj \
416 sizer.obj \
417 socket.obj \
418 strconv.obj \
419 stream.obj \
420 string.obj \
421 sysopt.obj \
422 tbarbase.obj \
423 textcmn.obj \
424 textfile.obj \
425 timercmn.obj \
426 tokenzr.obj \
427 treebase.obj \
428 txtstrm.obj \
429 unzip.obj \
430 url.obj \
431 utilscmn.obj \
432 valgen.obj \
433 validate.obj \
434 valtext.obj \
435 variant.obj \
436 wfstream.obj \
437 wincmn.obj \
438 wxchar.obj \
439 wxexpr.obj \
440 xpmdecod.obj \
441 y_tab.obj \
442 zipstrm.obj \
443 zstream.obj
444
445OS2OBJS = \
446 ..\os2\$D\accel.obj \
447 ..\os2\$D\app.obj \
448 ..\os2\$D\bitmap.obj \
449 ..\os2\$D\bmpbuttn.obj \
450 ..\os2\$D\brush.obj \
451 ..\os2\$D\button.obj \
452 ..\os2\$D\checkbox.obj \
453 ..\os2\$D\checklst.obj \
454 ..\os2\$D\choice.obj \
455 ..\os2\$D\clipbrd.obj \
456 ..\os2\$D\colour.obj \
457 ..\os2\$D\combobox.obj \
458 ..\os2\$D\control.obj \
459 ..\os2\$D\cursor.obj \
460 ..\os2\$D\data.obj \
461 ..\os2\$D\dataobj.obj \
462 ..\os2\$D\dc.obj \
463 ..\os2\$D\dcclient.obj \
464 ..\os2\$D\dcmemory.obj \
465 ..\os2\$D\dcprint.obj \
466 ..\os2\$D\dcscreen.obj \
467 ..\os2\$D\dialog.obj \
468 ..\os2\$D\dir.obj \
469 ..\os2\$D\dirdlg.obj \
470 ..\os2\$D\dnd.obj \
471 ..\os2\$D\filedlg.obj \
472 ..\os2\$D\font.obj \
473 ..\os2\$D\fontdlg.obj \
474 ..\os2\$D\fontenum.obj \
475 ..\os2\$D\fontutil.obj \
476 ..\os2\$D\frame.obj \
477 ..\os2\$D\gauge.obj \
478 ..\os2\$D\gdiimage.obj \
479 ..\os2\$D\gdiobj.obj \
480 ..\os2\$D\gsocket.obj \
481 ..\os2\$D\gsockpm.obj \
482 ..\os2\$D\helpwin.obj \
483 ..\os2\$D\icon.obj \
484 ..\os2\$D\iniconf.obj \
485 ..\os2\$D\joystick.obj \
486 ..\os2\$D\listbox.obj \
487 ..\os2\$D\main.obj \
488 ..\os2\$D\mdi.obj \
489 ..\os2\$D\menu.obj \
490 ..\os2\$D\menuitem.obj \
491 ..\os2\$D\metafile.obj \
492 ..\os2\$D\mimetype.obj \
493 ..\os2\$D\minifram.obj \
494 ..\os2\$D\msgdlg.obj \
495 ..\os2\$D\nativdlg.obj \
496 ..\os2\$D\notebook.obj \
497 ..\os2\$D\ownerdrw.obj \
498 ..\os2\$D\palette.obj \
499 ..\os2\$D\pen.obj \
500 ..\os2\$D\pnghand.obj \
501 ..\os2\$D\print.obj \
502 ..\os2\$D\radiobox.obj \
503 ..\os2\$D\radiobut.obj \
504 ..\os2\$D\region.obj \
505 ..\os2\$D\scrolbar.obj \
506 ..\os2\$D\settings.obj \
507 ..\os2\$D\slider.obj \
508 ..\os2\$D\spinbutt.obj \
509 ..\os2\$D\spinctrl.obj \
510 ..\os2\$D\statbmp.obj \
511 ..\os2\$D\statbox.obj \
512 ..\os2\$D\statline.obj \
513 ..\os2\$D\stattext.obj \
514 ..\os2\$D\tabctrl.obj \
515 ..\os2\$D\taskbar.obj \
516 ..\os2\$D\textctrl.obj \
517 ..\os2\$D\thread.obj \
518 ..\os2\$D\timer.obj \
519 ..\os2\$D\toolbar.obj \
520 ..\os2\$D\tooltip.obj \
521 ..\os2\$D\utils.obj \
522 ..\os2\$D\utilsexc.obj \
523 ..\os2\$D\wave.obj \
524 ..\os2\$D\window.obj \
525 ..\os2\$D\xpmhand.obj
526
527OS2LIBOBJS1 = \
528 accel.obj \
529 app.obj \
530 bitmap.obj \
531 bmpbuttn.obj \
532 brush.obj \
533 button.obj \
534 checkbox.obj \
535 checklst.obj \
536 choice.obj \
537 clipbrd.obj \
538 colour.obj \
539 combobox.obj \
540 control.obj \
541 cursor.obj \
542 data.obj \
543 dataobj.obj \
544 dc.obj \
545 dcclient.obj \
546 dcmemory.obj \
547 dcprint.obj \
548 dcscreen.obj \
549 dialog.obj \
550 dir.obj \
551 dirdlg.obj \
552 dnd.obj \
553 filedlg.obj \
554 font.obj \
555 fontdlg.obj \
556 fontenum.obj \
557 fontutil.obj \
558 frame.obj \
559 gauge.obj \
560 gdiimage.obj \
561 gdiobj.obj \
562 gsocket.obj \
563 gsockpm.obj \
564 helpwin.obj \
565 icon.obj \
566 iniconf.obj \
567 joystick.obj \
568 listbox.obj \
569 main.obj \
570 mdi.obj \
571 menu.obj \
572 menuitem.obj
573
574OS2LIBOBJS2 = \
575 metafile.obj \
576 mimetype.obj \
577 minifram.obj \
578 msgdlg.obj \
579 nativdlg.obj \
580 notebook.obj \
581 ownerdrw.obj \
582 palette.obj \
583 pen.obj \
584 pnghand.obj \
585 print.obj \
586 radiobox.obj \
587 radiobut.obj \
588 region.obj \
589 scrolbar.obj \
590 settings.obj \
591 slider.obj \
592 spinbutt.obj \
593 spinctrl.obj \
594 statbmp.obj \
595 statbox.obj \
596 stattext.obj \
597 statline.obj \
598 tabctrl.obj \
599 taskbar.obj \
600 textctrl.obj \
601 thread.obj \
602 timer.obj \
603 toolbar.obj \
604 tooltip.obj \
605 utils.obj \
606 utilsexc.obj \
607 wave.obj \
608 window.obj \
609 xpmhand.obj
610
611HTMLOBJS = \
612 ..\html\$D\helpctrl.obj \
613 ..\html\$D\helpdata.obj \
614 ..\html\$D\helpfrm.obj \
615 ..\html\$D\htmlcell.obj \
616 ..\html\$D\htmlfilt.obj \
617 ..\html\$D\htmlpars.obj \
618 ..\html\$D\htmltag.obj \
619 ..\html\$D\htmlwin.obj \
620 ..\html\$D\htmprint.obj \
621 ..\html\$D\m_dflist.obj \
622 ..\html\$D\m_fonts.obj \
623 ..\html\$D\m_hline.obj \
624 ..\html\$D\m_image.obj \
625 ..\html\$D\m_layout.obj \
626 ..\html\$D\m_links.obj \
627 ..\html\$D\m_list.obj \
628 ..\html\$D\m_meta.obj \
629 ..\html\$D\m_pre.obj \
630 ..\html\$D\m_tables.obj \
631 ..\html\$D\winpars.obj
632
633HTMLLIBOBJS = \
634 helpctrl.obj \
635 helpdata.obj \
636 helpfrm.obj \
637 htmlcell.obj \
638 htmlfilt.obj \
639 htmlpars.obj \
640 htmltag.obj \
641 htmlwin.obj \
642 htmprint.obj \
643 m_dflist.obj \
644 m_fonts.obj \
645 m_hline.obj \
646 m_image.obj \
647 m_layout.obj \
648 m_links.obj \
649 m_list.obj \
650 m_meta.obj \
651 m_pre.obj \
652 m_tables.obj \
653 winpars.obj
654
655# Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
656OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(NONESSENTIALOBJS) $(OS2OBJS)
657
658# Normal, static library
659all: $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) zlib png jpeg xpm tiff $(LIBTARGET)
660
661dirs: $(OS2DIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(HTMLDIR)\$D
662
663
664test: $(OS2DIR)\$D\wave.obj
665test2: ..\common\Debug\config.obj
666
667$D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h
668 icc $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /Tp dummy.cpp
669
670$D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h
671 icc $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /Tp dummydll.cpp
672
673$(COMLIBOBJS1):
674 copy ..\common\$D\appcmn.obj
675 copy ..\common\$D\bmpbase.obj
676 copy ..\common\$D\choiccmn.obj
677 copy ..\common\$D\clipcmn.obj
678 copy ..\common\$D\cmdline.obj
679 copy ..\common\$D\cmndata.obj
680 copy ..\common\$D\cmdproc.obj
681 copy ..\common\$D\config.obj
682 copy ..\common\$D\cshelp.obj
683 copy ..\common\$D\ctrlcmn.obj
684 copy ..\common\$D\ctrlsub.obj
685 copy ..\common\$D\datetime.obj
686 copy ..\common\$D\datstrm.obj
687 copy ..\common\$D\db.obj
688 copy ..\common\$D\dbgrid.obj
689 copy ..\common\$D\dbtable.obj
690 copy ..\common\$D\dcbase.obj
691 copy ..\common\$D\dlgcmn.obj
692 copy ..\common\$D\dircmn.obj
693 copy ..\common\$D\dndcmn.obj
694 copy ..\common\$D\dobjcmn.obj
695 copy ..\common\$D\docmdi.obj
696 copy ..\common\$D\docview.obj
697 copy ..\common\$D\dynarray.obj
698 copy ..\common\$D\dynlib.obj
699 copy ..\common\$D\effects.obj
700 copy ..\common\$D\encconv.obj
701 copy ..\common\$D\event.obj
702 copy ..\common\$D\extended.obj
703 copy ..\common\$D\fddlgcmn.obj
704 copy ..\common\$D\ffile.obj
705 copy ..\common\$D\file.obj
706 copy ..\common\$D\fileconf.obj
707 copy ..\common\$D\filefn.obj
708 copy ..\common\$D\filename.obj
709 copy ..\common\$D\filesys.obj
710 copy ..\common\$D\fontcmn.obj
711 copy ..\common\$D\fontmap.obj
712 copy ..\common\$D\framecmn.obj
713 copy ..\common\$D\fs_inet.obj
714 copy ..\common\$D\fs_mem.obj
715 copy ..\common\$D\fs_zip.obj
716 copy ..\common\$D\ftp.obj
717 copy ..\common\$D\gaugecmn.obj
718
719$(COMLIBOBJS2):
720 copy ..\common\$D\gdicmn.obj
721 copy ..\common\$D\geometry.obj
722 copy ..\common\$D\gifdecod.obj
723 copy ..\common\$D\hash.obj
724 copy ..\common\$D\helpbase.obj
725 copy ..\common\$D\http.obj
726 copy ..\common\$D\imagall.obj
727 copy ..\common\$D\imagbmp.obj
728 copy ..\common\$D\image.obj
729 copy ..\common\$D\imaggif.obj
730 copy ..\common\$D\imagjpeg.obj
731 copy ..\common\$D\imagpcx.obj
732 copy ..\common\$D\imagpng.obj
733 copy ..\common\$D\imagpnm.obj
734 copy ..\common\$D\imagtiff.obj
735 copy ..\common\$D\imagxpm.obj
736 copy ..\common\$D\intl.obj
737 copy ..\common\$D\ipcbase.obj
738 copy ..\common\$D\layout.obj
739 copy ..\common\$D\lboxcmn.obj
740 copy ..\common\$D\list.obj
741 copy ..\common\$D\log.obj
742 copy ..\common\$D\longlong.obj
743 copy ..\common\$D\matrix.obj
744 copy ..\common\$D\memory.obj
745 copy ..\common\$D\menucmn.obj
746 copy ..\common\$D\mimecmn.obj
747 copy ..\common\$D\module.obj
748 copy ..\common\$D\mstream.obj
749 copy ..\common\$D\nbkbase.obj
750 copy ..\common\$D\object.obj
751 copy ..\common\$D\objstrm.obj
752 copy ..\common\$D\odbc.obj
753 copy ..\common\$D\paper.obj
754 copy ..\common\$D\popupcmn.obj
755 copy ..\common\$D\prntbase.obj
756 copy ..\common\$D\process.obj
757 copy ..\common\$D\protocol.obj
758 copy ..\common\$D\quantize.obj
759 copy ..\common\$D\radiocmn.obj
760 copy ..\common\$D\regex.obj
761 copy ..\common\$D\resource.obj
762
763$(COMLIBOBJS3):
764 copy ..\common\$D\sckaddr.obj
765 copy ..\common\$D\sckfile.obj
766 copy ..\common\$D\sckipc.obj
767 copy ..\common\$D\sckstrm.obj
768 copy ..\common\$D\serbase.obj
769 copy ..\common\$D\sizer.obj
770 copy ..\common\$D\socket.obj
771 copy ..\common\$D\strconv.obj
772 copy ..\common\$D\stream.obj
773 copy ..\common\$D\string.obj
774 copy ..\common\$D\sysopt.obj
775 copy ..\common\$D\tbarbase.obj
776 copy ..\common\$D\textcmn.obj
777 copy ..\common\$D\textfile.obj
778 copy ..\common\$D\timercmn.obj
779 copy ..\common\$D\tokenzr.obj
780 copy ..\common\$D\treebase.obj
781 copy ..\common\$D\txtstrm.obj
782 copy ..\common\$D\unzip.obj
783 copy ..\common\$D\url.obj
784 copy ..\common\$D\utilscmn.obj
785 copy ..\common\$D\valgen.obj
786 copy ..\common\$D\validate.obj
787 copy ..\common\$D\valtext.obj
788 copy ..\common\$D\variant.obj
789 copy ..\common\$D\wfstream.obj
790 copy ..\common\$D\wincmn.obj
791 copy ..\common\$D\wxchar.obj
792 copy ..\common\$D\wxexpr.obj
793 copy ..\common\$D\xpmdecod.obj
794 copy ..\common\$D\y_tab.obj
795 copy ..\common\$D\zipstrm.obj
796 copy ..\common\$D\zstream.obj
797
798$(GENLIBOBJS):
799 copy ..\generic\$D\busyinfo.obj
800 copy ..\generic\$D\calctrl.obj
801 copy ..\generic\$D\caret.obj
802 copy ..\generic\$D\choicdgg.obj
803 copy ..\generic\$D\colrdlgg.obj
804 copy ..\generic\$D\dragimgg.obj
805 copy ..\generic\$D\dcpsg.obj
806 copy ..\generic\$D\dirctrlg.obj
807 copy ..\generic\$D\fontdlgg.obj
808 copy ..\generic\$D\fdrepdlg.obj
809 copy ..\generic\$D\grid.obj
810 copy ..\generic\$D\gridctrl.obj
811 copy ..\generic\$D\gridsel.obj
812 copy ..\generic\$D\helpext.obj
813 copy ..\generic\$D\helphtml.obj
814 copy ..\generic\$D\helpwxht.obj
815 copy ..\generic\$D\helpxlp.obj
816 copy ..\generic\$D\imaglist.obj
817 copy ..\generic\$D\laywin.obj
818 copy ..\generic\$D\listctrl.obj
819 copy ..\generic\$D\logg.obj
820 copy ..\generic\$D\numdlgg.obj
821 copy ..\generic\$D\panelg.obj
822 copy ..\generic\$D\printps.obj
823 copy ..\generic\$D\prntdlgg.obj
824 copy ..\generic\$D\progdlgg.obj
825 copy ..\generic\$D\prop.obj
826 copy ..\generic\$D\propform.obj
827 copy ..\generic\$D\proplist.obj
828 copy ..\generic\$D\sashwin.obj
829 copy ..\generic\$D\scrlwing.obj
830 copy ..\generic\$D\spinctlg.obj
831 copy ..\generic\$D\splitter.obj
832 copy ..\generic\$D\statusbr.obj
833 copy ..\generic\$D\tabg.obj
834 copy ..\generic\$D\tbarsmpl.obj
835 copy ..\generic\$D\textdlgg.obj
836 copy ..\generic\$D\tipdlg.obj
837 copy ..\generic\$D\tipwin.obj
838 copy ..\generic\$D\treectlg.obj
839 copy ..\generic\$D\treelay.obj
840 copy ..\generic\$D\wizard.obj
841
842$(HTMLLIBOBJS):
843 copy ..\html\$D\helpctrl.obj
844 copy ..\html\$D\helpdata.obj
845 copy ..\html\$D\helpfrm.obj
846 copy ..\html\$D\htmlcell.obj
847 copy ..\html\$D\htmlfilt.obj
848 copy ..\html\$D\htmlpars.obj
849 copy ..\html\$D\htmltag.obj
850 copy ..\html\$D\htmlwin.obj
851 copy ..\html\$D\htmprint.obj
852 copy ..\html\$D\m_dflist.obj
853 copy ..\html\$D\m_fonts.obj
854 copy ..\html\$D\m_hline.obj
855 copy ..\html\$D\m_image.obj
856 copy ..\html\$D\m_layout.obj
857 copy ..\html\$D\m_links.obj
858 copy ..\html\$D\m_list.obj
859 copy ..\html\$D\m_meta.obj
860 copy ..\html\$D\m_pre.obj
861 copy ..\html\$D\m_tables.obj
862 copy ..\html\$D\winpars.obj
863
864$(OS2LIBOBJS1):
865 copy ..\os2\$D\accel.obj
866 copy ..\os2\$D\app.obj
867 copy ..\os2\$D\bitmap.obj
868 copy ..\os2\$D\bmpbuttn.obj
869 copy ..\os2\$D\brush.obj
870 copy ..\os2\$D\button.obj
871 copy ..\os2\$D\checkbox.obj
872 copy ..\os2\$D\checklst.obj
873 copy ..\os2\$D\choice.obj
874 copy ..\os2\$D\clipbrd.obj
875 copy ..\os2\$D\colour.obj
876 copy ..\os2\$D\combobox.obj
877 copy ..\os2\$D\control.obj
878 copy ..\os2\$D\cursor.obj
879 copy ..\os2\$D\data.obj
880 copy ..\os2\$D\dataobj.obj
881 copy ..\os2\$D\dc.obj
882 copy ..\os2\$D\dcclient.obj
883 copy ..\os2\$D\dcmemory.obj
884 copy ..\os2\$D\dcprint.obj
885 copy ..\os2\$D\dcscreen.obj
886 copy ..\os2\$D\dialog.obj
887 copy ..\os2\$D\dir.obj
888 copy ..\os2\$D\dirdlg.obj
889 copy ..\os2\$D\dnd.obj
890 copy ..\os2\$D\filedlg.obj
891 copy ..\os2\$D\font.obj
892 copy ..\os2\$D\fontdlg.obj
893 copy ..\os2\$D\fontenum.obj
894 copy ..\os2\$D\fontutil.obj
895 copy ..\os2\$D\frame.obj
896 copy ..\os2\$D\gauge.obj
897 copy ..\os2\$D\gdiimage.obj
898 copy ..\os2\$D\gdiobj.obj
899 copy ..\os2\$D\gsocket.obj
900 copy ..\os2\$D\gsockpm.obj
901 copy ..\os2\$D\helpwin.obj
902 copy ..\os2\$D\icon.obj
903 copy ..\os2\$D\iniconf.obj
904 copy ..\os2\$D\joystick.obj
905 copy ..\os2\$D\listbox.obj
906 copy ..\os2\$D\main.obj
907 copy ..\os2\$D\mdi.obj
908 copy ..\os2\$D\menu.obj
909 copy ..\os2\$D\menuitem.obj
910
911$(OS2LIBOBJS2):
912 copy ..\os2\$D\metafile.obj
913 copy ..\os2\$D\mimetype.obj
914 copy ..\os2\$D\minifram.obj
915 copy ..\os2\$D\msgdlg.obj
916 copy ..\os2\$D\nativdlg.obj
917 copy ..\os2\$D\notebook.obj
918 copy ..\os2\$D\ownerdrw.obj
919 copy ..\os2\$D\palette.obj
920 copy ..\os2\$D\pen.obj
921 copy ..\os2\$D\pnghand.obj
922 copy ..\os2\$D\print.obj
923 copy ..\os2\$D\radiobox.obj
924 copy ..\os2\$D\radiobut.obj
925 copy ..\os2\$D\region.obj
926 copy ..\os2\$D\scrolbar.obj
927 copy ..\os2\$D\settings.obj
928 copy ..\os2\$D\slider.obj
929 copy ..\os2\$D\spinbutt.obj
930 copy ..\os2\$D\spinctrl.obj
931 copy ..\os2\$D\statbmp.obj
932 copy ..\os2\$D\statbox.obj
933 copy ..\os2\$D\statline.obj
934 copy ..\os2\$D\stattext.obj
935 copy ..\os2\$D\tabctrl.obj
936 copy ..\os2\$D\taskbar.obj
937 copy ..\os2\$D\textctrl.obj
938 copy ..\os2\$D\thread.obj
939 copy ..\os2\$D\timer.obj
940 copy ..\os2\$D\toolbar.obj
941 copy ..\os2\$D\tooltip.obj
942 copy ..\os2\$D\utils.obj
943 copy ..\os2\$D\utilsexc.obj
944 copy ..\os2\$D\wave.obj
945 copy ..\os2\$D\window.obj
946 copy ..\os2\$D\xpmhand.obj
947
948# wxWindows library as DLL
949dll:
950 nmake -f makefile.va all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
951
952cleandll:
953 nmake -f makefile.va clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
954
955# wxWindows + app as DLL. Only affects main.cpp.
956dllapp:
957 nmake -f makefile.va all FINAL=$(FINAL) DLL=1
958
959# wxWindows + app as DLL, for Netscape plugin - remove DllMain.
960dllnp:
961 nmake -f makefile.va all FINAL=$(FINAL) DLL=1
962
963# Use this to make dummy.obj and generate a PCH.
964# You might use the dll target, then the pch target, in order to
965# generate a DLL, then a PCH/dummy.obj for compiling your applications with.
966#
967# Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
968# are associated with wx.lib. When using a DLL version of wxWindows, however,
969# the DLL is compiled without a PCH, so you only need it for compiling the app.
970# In fact headers are compiled differently depending on whether a DLL is being made
971# or an app is calling the DLL exported functionality (WXDLLEXPORT is different
972# in each case) so you couldn't use the same PCH.
973pch:
974 nmake -f makefile.va pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
975
976pch1: dirs $(DUMMYOBJ)
977 echo $(DUMMYOBJ)
978
979!if "$(WXMAKINGDLL)" != "1"
980
981### Static library
982
983$(WXDIR)\lib\wxcom1.lib: $(COMLIBOBJS1)
984 -touch $(WXDIR)\lib\wxcom1.lib
985 -del $(WXDIR)\lib\wxcom1.lib
986 ilib $(LIBFLAGS) $@ @<<
987 $**;
988<<
989
990$(WXDIR)\lib\wxcom2.lib: $(COMLIBOBJS2)
991 -touch $(WXDIR)\lib\wxcom2.lib
992 -del $(WXDIR)\lib\wxcom2.lib
993 ilib $(LIBFLAGS) $@ @<<
994 $**;
995<<
996
997$(WXDIR)\lib\wxcom3.lib: $(COMLIBOBJS3)
998 -touch $(WXDIR)\lib\wxcom3.lib
999 -del $(WXDIR)\lib\wxcom3.lib
1000 ilib $(LIBFLAGS) $@ @<<
1001 $**;
1002<<
1003
1004$(WXDIR)\lib\wxgen.lib: $(GENLIBOBJS)
1005 -touch $(WXDIR)\lib\wxgen.lib
1006 -del $(WXDIR)\lib\wxgen.lib
1007 ilib $(LIBFLAGS) $@ @<<
1008 $**;
1009<<
1010
1011$(WXDIR)\lib\wxhtml.lib: $(HTMLLIBOBJS)
1012 -touch $(WXDIR)\lib\wxhtml.lib
1013 -del $(WXDIR)\lib\wxhtml.lib
1014 ilib $(LIBFLAGS) $@ @<<
1015 $**;
1016<<
1017
1018$(WXDIR)\lib\wxnones.lib: $(NONESSENTIALOBJS)
1019 -touch $(WXDIR)\lib\wxnones.lib
1020 -del $(WXDIR)\lib\wxnones.lib
1021 ilib $(LIBFLAGS) $@ @<<
1022 $**;
1023<<
1024
1025$(WXDIR)\lib\wxos21.lib: $(OS2LIBOBJS1)
1026 -touch $(WXDIR)\lib\wxos21.lib
1027 -del $(WXDIR)\lib\wxos21.lib
1028 ilib $(LIBFLAGS) $@ @<<
1029 $**;
1030<<
1031
1032$(WXDIR)\lib\wxos22.lib: $(OS2LIBOBJS2)
1033 -touch $(WXDIR)\lib\wxos22.lib
1034 -del $(WXDIR)\lib\wxos22.lib
1035 ilib $(LIBFLAGS) $@ @<<
1036 $**;
1037<<
1038 del *.obj
1039
1040$(WXDIR)\lib\wx.lib: \
1041 $D\dummy.obj \
1042 $(COMTEMPTGT1) \
1043 $(COMTEMPTGT2) \
1044 $(COMTEMPTGT3) \
1045 $(GENTEMPTGT) \
1046 $(HTMLTEMPTGT) \
1047 $(NONESTEMPTGT) \
1048 $(OS2TEMPTGT1) \
1049 $(OS2TEMPTGT2) \
1050 $(PERIPH_LIBS)
1051 -touch $(LIBTARGET)
1052 -del $(LIBTARGET)
1053 ilib $(LIBFLAGS) $@ @<<
1054 $**;
1055<<
1056 del $(COMTEMPTGT1)
1057 del $(COMTEMPTGT2)
1058 del $(COMTEMPTGT3)
1059 del $(GENTEMPTGT)
1060 del $(HTMLTEMPTGT)
1061 del $(NONESTEMPTGT)
1062 del $(OS2TEMPTGT1)
1063 del $(OS2TEMPTGT2)
1064
1065!else
1066
1067# Update the dynamic link library
1068$(WXDIR)\lib\wx23.dll: $(OBJECTS)
1069 icc @<<
1070 /B" $(LINKFLAGS)" /Fe$@
1071 $(LIBS)
1072 $(DUMMYOBJ)
1073 $(OBJECTS)
1074 $(WXDIR)\src\os2\wx23.def
1075<<
1076 implib $(WXDIR)\lib\wx23.lib $(WXDIR)\src\os2\wx23.def
1077
1078!endif
1079
1080# If taking wxWindows from CVS, setup.h doesn't exist yet.
1081$(WXDIR)\include\wx\os2\setup.h: $(WXDIR)\include\wx\os2\setup0.h
1082 copy "$(WXDIR)"\include\wx\os2\setup.h "$(WXDIR)"\include\wx\os2\setup.bak
1083 copy "$(WXDIR)"\include\wx\os2\setup0.h "$(WXDIR)"\include\wx\os2\setup.h
1084
1085..\common\$D\extended.obj: ..\common\extended.c
1086 icc @<<
1087$(CPPFLAGS2) /Fo$@ $(COMMDIR)\extended.c
1088<<
1089
1090..\common\$D\y_tab.obj: ..\common\y_tab.c ..\common\lex_yy.c
1091 icc @<<
1092$(CPPFLAGS2) /DUSE_DEFINE /DYY_USE_PROTOS /Fo$@ ..\common\y_tab.c
1093<<
1094
1095..\common\y_tab.c: ..\common\dosyacc.c
1096 copy "..\common"\dosyacc.c "..\common"\y_tab.c
1097
1098..\common\lex_yy.c: ..\common\doslex.c
1099 copy "..\common"\doslex.c "..\common"\lex_yy.c
1100
1101$(OBJECTS): $(WXDIR)/include/wx/setup.h
1102
1103..\common\$D\unzip.obj: ..\common\unzip.c
1104 icc @<<
1105$(CPPFLAGS2) /Fo$@ $(COMMDIR)\unzip.c
1106<<
1107
1108png:
1109 cd $(WXDIR)\src\png
1110 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1111 cd $(WXDIR)\src\os2
1112
1113clean_png:
1114 cd $(WXDIR)\src\png
1115 nmake -f makefile.va clean
1116 cd $(WXDIR)\src\os2
1117
1118zlib:
1119 cd $(WXDIR)\src\zlib
1120 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1121 cd $(WXDIR)\src\os2
1122
1123clean_zlib:
1124 cd $(WXDIR)\src\zlib
1125 nmake -f makefile.va clean
1126 cd $(WXDIR)\src\os2
1127
1128jpeg:
1129 cd $(WXDIR)\src\jpeg
1130 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1131 cd $(WXDIR)\src\os2
1132
1133clean_jpeg:
1134 cd $(WXDIR)\src\jpeg
1135 nmake -f makefile.va clean
1136 cd $(WXDIR)\src\os2
1137
1138xpm:
1139 cd $(WXDIR)\src\xpm
1140 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1141 cd $(WXDIR)\src\os2
1142
1143clean_xpm:
1144 cd $(WXDIR)\src\xpm
1145 nmake -f makefile.va clean
1146 cd $(WXDIR)\src\os2
1147
1148tiff:
1149 cd $(WXDIR)\src\tiff
1150 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1151 cd $(WXDIR)\src\os2
1152
1153clean_tiff:
1154 cd $(WXDIR)\src\tiff
1155 nmake -f makefile.va clean
1156 cd $(WXDIR)\src\os2
1157
1158clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib clean_jpeg clean_xpm clean_tiff
1159 erase /N $(GENDIR)\$D\*.obj
1160 erase /N $(COMMDIR)\$D\*.obj
1161 erase /N $(HTMLDIR)\$D\*.obj
1162 erase /N $(OS2DIR)\$D\*.obj
1163 rd $(D)
1164 rd ..\generic\$D
1165 rd ..\common\$D
1166 rd ..\html\$D
1167 rd ..\os2\$D
1168 del $(LIBTARGET)
1169!if "$(WXMAKINGDLL)" == "1"
1170 erase /N ..\..\lib\wx23.lib
1171!endif
1172 erase /N $(COMMDIR)\y_tab.c
1173 erase /N $(COMMDIR)\lex_yy.c
1174
1175cleanall: clean
1176