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