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