6 # Copyright: (c) 1999, Dave Webster
10 # Makefile : Builds wxWindows library wx.lib for VisualAge C++
13 # FINAL=1 argument to nmake to build version with no debugging info.
14 # dll builds a library (wxdll.lib) suitable for creating DLLs
16 !include <..\makeva.env>
18 THISDIR=$(WXWIN)\src\os2
20 !if "$(WXMAKINGDLL)" == "1"
21 LIBTARGET=$(WXDIR)\lib\$(WXLIBNAME).dll
22 DUMMYOBJ=$D\dummydll.obj
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
34 # Please set these according to the settings in setup.h, so we can include
35 # the appropriate libraries in wx.lib
37 # This one overrides the others, to be consistent with the settings in wx_setup.h
38 MINIMAL_WXWINDOWS_SETUP=0
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
53 {..\generic}.cpp{..\generic\$D}.obj:
56 $(CPPFLAGS) /Fo$@ /Tp $<
59 {..\common}.cpp{..\common\$D}.obj:
62 $(CPPFLAGS) /Fo$@ /Tp $<
65 {..\os2}.cpp{..\os2\$D}.obj:
68 $(CPPFLAGS) /Fo$@ /Tp $<
71 {..\os2}.c{..\os2\$D}.obj:
74 $(CPPFLAGS) /Fo$@ /Tp $<
77 {..\html}.cpp{..\html\$D}.obj:
80 $(CPPFLAGS) /Fo$@ /Tp $<
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
102 # ..\generic\$D\imaglist.obj \
103 # ..\generic\$D\treectrl.obj \
104 # ..\generic\$D\listctrl.obj \
105 # ..\generic\$D\notebook.obj \
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.
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
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\datstrm.obj \
144 ..\common\$D\db.obj \
145 ..\common\$D\dbtable.obj \
146 ..\common\$D\dcbase.obj \
147 ..\common\$D\dlgcmn.obj \
148 ..\common\$D\dobjcmn.obj \
149 ..\common\$D\docmdi.obj \
150 ..\common\$D\docview.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\intl.obj \
179 ..\common\$D\ipcbase.obj \
180 ..\common\$D\layout.obj \
181 ..\common\$D\list.obj \
182 ..\common\$D\log.obj \
183 ..\common\$D\longlong.obj \
184 ..\common\$D\matrix.obj \
185 ..\common\$D\memory.obj \
186 ..\common\$D\mimetype.obj \
187 ..\common\$D\module.obj \
188 ..\common\$D\mstream.obj \
189 ..\common\$D\object.obj \
190 ..\common\$D\objstrm.obj \
191 ..\common\$D\odbc.obj \
192 ..\common\$D\paper.obj \
193 ..\common\$D\prntbase.obj \
194 ..\common\$D\process.obj \
195 ..\common\$D\protocol.obj \
196 ..\common\$D\resource.obj \
197 ..\common\$D\sckaddr.obj \
198 ..\common\$D\sckfile.obj \
199 ..\common\$D\sckipc.obj \
200 ..\common\$D\sckstrm.obj \
201 ..\common\$D\serbase.obj \
202 ..\common\$D\sizer.obj \
203 ..\common\$D\socket.obj \
204 ..\common\$D\strconv.obj \
205 ..\common\$D\stream.obj \
206 ..\common\$D\string.obj \
207 ..\common\$D\tbarbase.obj \
208 ..\common\$D\tbarsmpl.obj \
209 ..\common\$D\textcmn.obj \
210 ..\common\$D\textfile.obj \
211 ..\common\$D\time.obj \
212 ..\common\$D\timercmn.obj \
213 ..\common\$D\tokenzr.obj \
214 ..\common\$D\txtstrm.obj \
215 ..\common\$D\unzip.obj \
216 ..\common\$D\url.obj \
217 ..\common\$D\utilscmn.obj \
218 ..\common\$D\valgen.obj \
219 ..\common\$D\validate.obj \
220 ..\common\$D\valtext.obj \
221 ..\common\$D\variant.obj \
222 ..\common\$D\wfstream.obj \
223 ..\common\$D\wincmn.obj \
224 ..\common\$D\wxchar.obj \
225 ..\common\$D\wxexpr.obj \
226 ..\common\$D\y_tab.obj \
227 ..\common\$D\zipstrm.obj \
228 ..\common\$D\zstream.obj
327 ..\os2\$D\accel.obj \
329 ..\os2\$D\bitmap.obj \
330 ..\os2\$D\bmpbuttn.obj \
331 ..\os2\$D\brush.obj \
332 ..\os2\$D\button.obj \
333 ..\os2\$D\checkbox.obj \
334 ..\os2\$D\checklst.obj \
335 ..\os2\$D\choice.obj \
336 ..\os2\$D\clipbrd.obj \
337 ..\os2\$D\colour.obj \
338 ..\os2\$D\combobox.obj \
339 ..\os2\$D\control.obj \
340 ..\os2\$D\cursor.obj \
343 ..\os2\$D\dcclient.obj \
344 ..\os2\$D\dcmemory.obj \
345 ..\os2\$D\dcprint.obj \
346 ..\os2\$D\dcscreen.obj \
347 ..\os2\$D\dialog.obj \
348 ..\os2\$D\dirdlg.obj \
350 ..\os2\$D\filedlg.obj \
352 ..\os2\$D\fontdlg.obj \
353 ..\os2\$D\frame.obj \
354 ..\os2\$D\gauge.obj \
355 ..\os2\$D\gdiobj.obj \
356 ..\os2\$D\gsocket.obj \
357 ..\os2\$D\helpwin.obj \
359 ..\os2\$D\imaglist.obj \
360 ..\os2\$D\iniconf.obj \
361 ..\os2\$D\joystick.obj \
362 ..\os2\$D\listbox.obj \
363 ..\os2\$D\listctrl.obj \
367 ..\os2\$D\menuitem.obj \
368 ..\os2\$D\metafile.obj \
369 ..\os2\$D\minifram.obj \
370 ..\os2\$D\msgdlg.obj \
371 ..\os2\$D\nativdlg.obj \
372 ..\os2\$D\notebook.obj \
373 ..\os2\$D\ownerdrw.obj \
374 ..\os2\$D\palette.obj \
376 ..\os2\$D\pnghand.obj \
377 ..\os2\$D\print.obj \
378 ..\os2\$D\radiobox.obj \
379 ..\os2\$D\radiobut.obj \
380 ..\os2\$D\region.obj \
381 ..\os2\$D\scrolbar.obj \
382 ..\os2\$D\settings.obj \
383 ..\os2\$D\slider.obj \
384 ..\os2\$D\spinbutt.obj \
385 ..\os2\$D\spinctrl.obj \
386 ..\os2\$D\statbmp.obj \
387 ..\os2\$D\statbox.obj \
388 ..\os2\$D\stattext.obj \
389 ..\os2\$D\statbrpm.obj \
390 ..\os2\$D\tabctrl.obj \
391 ..\os2\$D\taskbar.obj \
392 ..\os2\$D\textctrl.obj \
393 ..\os2\$D\thread.obj \
394 ..\os2\$D\timer.obj \
395 ..\os2\$D\toolbar.obj \
396 ..\os2\$D\tooltip.obj \
397 ..\os2\$D\treectrl.obj \
398 ..\os2\$D\utils.obj \
399 ..\os2\$D\utilsexc.obj \
483 ..\html\$D\htmlcell.obj \
484 ..\html\$D\htmlfilter.obj \
485 ..\html\$D\htmlhelp.obj \
486 ..\html\$D\htmlhelp_io.obj \
487 ..\html\$D\htmlparser.obj \
488 ..\html\$D\htmltag.obj \
489 ..\html\$D\htmlwin.obj \
490 ..\html\$D\htmlwinparser.obj \
491 ..\html\$D\mod_fonts.obj \
492 ..\html\$D\mod_hline.obj \
493 ..\html\$D\mod_image.obj \
494 ..\html\$D\mod_layout.obj \
495 ..\html\$D\mod_links.obj \
496 ..\html\$D\mod_list.obj \
497 ..\html\$D\mod_pre.obj \
498 ..\html\$D\mod_tables.obj \
499 ..\html\$D\search.obj
501 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
502 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(NONESSENTIALOBJS) $(OS2OBJS)
504 # Normal, static library
505 all: $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET)
507 dirs: $(OS2DIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(HTMLDIR)\$D
510 test: $(OS2DIR)\$D\wave.obj
511 test2: ..\common\Debug\config.obj
529 copy ..\common\$D\appcmn.obj
530 copy ..\common\$D\choiccmn.obj
531 copy ..\common\$D\cmndata.obj
532 copy ..\common\$D\config.obj
533 copy ..\common\$D\ctrlcmn.obj
534 copy ..\common\$D\date.obj
535 copy ..\common\$D\datstrm.obj
536 copy ..\common\$D\db.obj
537 copy ..\common\$D\dbtable.obj
538 copy ..\common\$D\dcbase.obj
539 copy ..\common\$D\dlgcmn.obj
540 copy ..\common\$D\dobjcmn.obj
541 copy ..\common\$D\docmdi.obj
542 copy ..\common\$D\docview.obj
543 copy ..\common\$D\dynarray.obj
544 copy ..\common\$D\dynlib.obj
545 copy ..\common\$D\event.obj
546 copy ..\common\$D\extended.obj
547 copy ..\common\$D\ffile.obj
548 copy ..\common\$D\file.obj
549 copy ..\common\$D\fileconf.obj
550 copy ..\common\$D\filefn.obj
551 copy ..\common\$D\filesys.obj
552 copy ..\common\$D\fontcmn.obj
553 copy ..\common\$D\framecmn.obj
554 copy ..\common\$D\fs_inet.obj
555 copy ..\common\$D\fs_zip.obj
556 copy ..\common\$D\ftp.obj
557 copy ..\common\$D\gdicmn.obj
558 copy ..\common\$D\gifdecod.obj
559 copy ..\common\$D\hash.obj
560 copy ..\common\$D\helpbase.obj
561 copy ..\common\$D\http.obj
562 copy ..\common\$D\imagall.obj
563 copy ..\common\$D\imagbmp.obj
564 copy ..\common\$D\image.obj
565 copy ..\common\$D\imaggif.obj
566 copy ..\common\$D\imagjpeg.obj
567 copy ..\common\$D\imagpcx.obj
568 copy ..\common\$D\imagpng.obj
569 copy ..\common\$D\imagpnm.obj
570 copy ..\common\$D\intl.obj
571 copy ..\common\$D\ipcbase.obj
572 copy ..\common\$D\layout.obj
573 copy ..\common\$D\list.obj
574 copy ..\common\$D\log.obj
577 copy ..\common\$D\longlong.obj \
578 copy ..\common\$D\matrix.obj \
579 copy ..\common\$D\memory.obj \
580 copy ..\common\$D\mimetype.obj \
581 copy ..\common\$D\module.obj \
582 copy ..\common\$D\mstream.obj \
583 copy ..\common\$D\object.obj \
584 copy ..\common\$D\objstrm.obj \
585 copy ..\common\$D\odbc.obj \
586 copy ..\common\$D\paper.obj \
587 copy ..\common\$D\prntbase.obj \
588 copy ..\common\$D\process.obj \
589 copy ..\common\$D\protocol.obj \
590 copy ..\common\$D\resource.obj \
591 copy ..\common\$D\sckaddr.obj \
592 copy ..\common\$D\sckfile.obj \
593 copy ..\common\$D\sckipc.obj \
594 copy ..\common\$D\sckstrm.obj \
595 copy ..\common\$D\serbase.obj \
596 copy ..\common\$D\sizer.obj \
597 copy ..\common\$D\socket.obj \
598 copy ..\common\$D\strconv.obj \
599 copy ..\common\$D\stream.obj \
600 copy ..\common\$D\string.obj \
601 copy ..\common\$D\tbarbase.obj \
602 copy ..\common\$D\tbarsmpl.obj \
603 copy ..\common\$D\textcmn.obj \
604 copy ..\common\$D\textfile.obj \
605 copy ..\common\$D\time.obj \
606 copy ..\common\$D\timercmn.obj \
607 copy ..\common\$D\tokenzr.obj \
608 copy ..\common\$D\txtstrm.obj \
609 copy ..\common\$D\unzip.obj \
610 copy ..\common\$D\url.obj \
611 copy ..\common\$D\utilscmn.obj \
612 copy ..\common\$D\valgen.obj \
613 copy ..\common\$D\validate.obj \
614 copy ..\common\$D\valtext.obj \
615 copy ..\common\$D\variant.obj \
616 copy ..\common\$D\wfstream.obj \
617 copy ..\common\$D\wincmn.obj \
618 copy ..\common\$D\wxchar.obj \
619 copy ..\common\$D\wxexpr.obj \
620 copy ..\common\$D\y_tab.obj \
621 copy ..\common\$D\zipstrm.obj \
622 copy ..\common\$D\zstream.obj
625 copy ..\generic\$D\caret.obj
626 copy ..\generic\$D\choicdgg.obj
627 copy ..\generic\$D\gridg.obj
628 copy ..\generic\$D\laywin.obj
629 copy ..\generic\$D\panelg.obj
630 copy ..\generic\$D\progdlgg.obj
631 copy ..\generic\$D\prop.obj
632 copy ..\generic\$D\propform.obj
633 copy ..\generic\$D\proplist.obj
634 copy ..\generic\$D\sashwin.obj
635 copy ..\generic\$D\scrolwin.obj
636 copy ..\generic\$D\splitter.obj
637 copy ..\generic\$D\statusbr.obj
638 copy ..\generic\$D\tabg.obj
639 copy ..\generic\$D\textdlgg.obj
640 copy ..\generic\$D\tipdlg.obj
641 copy ..\generic\$D\busyinfo.obj
644 copy ..\os2\$D\accel.obj
645 copy ..\os2\$D\app.obj
646 copy ..\os2\$D\bitmap.obj
647 copy ..\os2\$D\bmpbuttn.obj
648 copy ..\os2\$D\brush.obj
649 copy ..\os2\$D\button.obj
650 copy ..\os2\$D\checkbox.obj
651 copy ..\os2\$D\checklst.obj
652 copy ..\os2\$D\choice.obj
653 copy ..\os2\$D\clipbrd.obj
654 copy ..\os2\$D\colour.obj
655 copy ..\os2\$D\combobox.obj
656 copy ..\os2\$D\control.obj
657 copy ..\os2\$D\cursor.obj
658 copy ..\os2\$D\data.obj
659 copy ..\os2\$D\dc.obj
660 copy ..\os2\$D\dcclient.obj
661 copy ..\os2\$D\dcmemory.obj
662 copy ..\os2\$D\dcprint.obj
663 copy ..\os2\$D\dcscreen.obj
664 copy ..\os2\$D\dialog.obj
665 copy ..\os2\$D\dirdlg.obj
666 copy ..\os2\$D\dnd.obj
667 copy ..\os2\$D\filedlg.obj
668 copy ..\os2\$D\font.obj
669 copy ..\os2\$D\fontdlg.obj
670 copy ..\os2\$D\frame.obj
671 copy ..\os2\$D\gauge.obj
672 copy ..\os2\$D\gdiobj.obj
673 copy ..\os2\$D\gsocket.obj
674 copy ..\os2\$D\helpwin.obj
675 copy ..\os2\$D\icon.obj
676 copy ..\os2\$D\imaglist.obj
677 copy ..\os2\$D\iniconf.obj
678 copy ..\os2\$D\joystick.obj
679 copy ..\os2\$D\listbox.obj
680 copy ..\os2\$D\listctrl.obj
681 copy ..\os2\$D\main.obj
682 copy ..\os2\$D\mdi.obj
683 copy ..\os2\$D\menu.obj
684 copy ..\os2\$D\menuitem.obj
685 copy ..\os2\$D\metafile.obj
686 copy ..\os2\$D\minifram.obj
687 copy ..\os2\$D\msgdlg.obj
688 copy ..\os2\$D\nativdlg.obj
691 copy ..\os2\$D\notebook.obj
692 copy ..\os2\$D\ownerdrw.obj
693 copy ..\os2\$D\palette.obj
694 copy ..\os2\$D\pen.obj
695 copy ..\os2\$D\pnghand.obj
696 copy ..\os2\$D\print.obj
697 copy ..\os2\$D\radiobox.obj
698 copy ..\os2\$D\radiobut.obj
699 copy ..\os2\$D\region.obj
700 copy ..\os2\$D\scrolbar.obj
701 copy ..\os2\$D\settings.obj
702 copy ..\os2\$D\slider.obj
703 copy ..\os2\$D\spinbutt.obj
704 copy ..\os2\$D\spinctrl.obj
705 copy ..\os2\$D\statbmp.obj
706 copy ..\os2\$D\statbox.obj
707 copy ..\os2\$D\stattext.obj
708 copy ..\os2\$D\statbrpm.obj
709 copy ..\os2\$D\tabctrl.obj
710 copy ..\os2\$D\taskbar.obj
711 copy ..\os2\$D\textctrl.obj
712 copy ..\os2\$D\thread.obj
713 copy ..\os2\$D\timer.obj
714 copy ..\os2\$D\toolbar.obj
715 copy ..\os2\$D\tooltip.obj
716 copy ..\os2\$D\treectrl.obj
717 copy ..\os2\$D\utils.obj
718 copy ..\os2\$D\utilsexc.obj
719 copy ..\os2\$D\wave.obj
720 copy ..\os2\$D\window.obj
722 # wxWindows library as DLL
724 nmake -f makefile.va all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
727 nmake -f makefile.va clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
729 # wxWindows + app as DLL. Only affects main.cpp.
731 nmake -f makefile.va all FINAL=$(FINAL) DLL=1
733 # wxWindows + app as DLL, for Netscape plugin - remove DllMain.
735 nmake -f makefile.va all FINAL=$(FINAL) DLL=1
737 # Use this to make dummy.obj and generate a PCH.
738 # You might use the dll target, then the pch target, in order to
739 # generate a DLL, then a PCH/dummy.obj for compiling your applications with.
741 # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
742 # are associated with wx.lib. When using a DLL version of wxWindows, however,
743 # the DLL is compiled without a PCH, so you only need it for compiling the app.
744 # In fact headers are compiled differently depending on whether a DLL is being made
745 # or an app is calling the DLL exported functionality (WXDLLEXPORT is different
746 # in each case) so you couldn't use the same PCH.
748 nmake -f makefile.va pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
750 pch1: dirs $(DUMMYOBJ)
753 !if "$(WXMAKINGDLL)" != "1"
757 $(WXDIR)\lib\wxcom1.lib: $(COMLIBOBJS1)
758 touch $(WXDIR)\lib\wxcom1.lib
759 del $(WXDIR)\lib\wxcom1.lib
760 ilib $(LIBFLAGS) $@ @<<
764 $(WXDIR)\lib\wxcom2.lib: $(COMLIBOBJS2)
765 touch $(WXDIR)\lib\wxcom2.lib
766 del $(WXDIR)\lib\wxcom2.lib
767 ilib $(LIBFLAGS) $@ @<<
771 $(WXDIR)\lib\wxgen.lib: $(GENLIBOBJS)
772 touch $(WXDIR)\lib\wxgen.lib
773 del $(WXDIR)\lib\wxgen.lib
774 ilib $(LIBFLAGS) $@ @<<
778 $(WXDIR)\lib\wxnones.lib: $(NONESSENTIALOBJS)
779 touch $(WXDIR)\lib\wxnones.lib
780 del $(WXDIR)\lib\wxnones.lib
781 ilib $(LIBFLAGS) $@ @<<
785 $(WXDIR)\lib\wxos21.lib: $(OS2LIBOBJS1)
786 touch $(WXDIR)\lib\wxos21.lib
787 del $(WXDIR)\lib\wxos21.lib
788 ilib $(LIBFLAGS) $@ @<<
792 $(WXDIR)\lib\wxos22.lib: $(OS2LIBOBJS2)
793 touch $(WXDIR)\lib\wxos22.lib
794 del $(WXDIR)\lib\wxos22.lib
795 ilib $(LIBFLAGS) $@ @<<
800 $(WXDIR)\lib\wx.lib: \
811 ilib $(LIBFLAGS) $@ @<<
823 # Update the import library
824 $(WXDIR)\lib\wx210.lib: $(OBJECTS)
825 implib $(WXDIR)\lib\wx210.lib $(WXDIR)\lib\wx210.def
827 # Update the dynamic link library
828 $(WXDIR)\lib\wx200.dll: $(OBJECTS) $(WXDIR)\lib\wx210.lib
830 /B" $(LINKFLAGS)" /Fe$@
833 $(WXDIR)\lib\wx210.def
838 $D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h
839 icc $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /Tp dummy.cpp
841 $D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h
843 $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /c /Tp dummydll.cpp
846 # If taking wxWindows from CVS, setup.h doesn't exist yet.
847 $(WXDIR)\include\wx\os2\setup.h: $(WXDIR)\include\wx\os2\setup0.h
848 copy "$(WXDIR)"\include\wx\os2\setup.h "$(WXDIR)"\include\wx\os2\setup.bak
849 copy "$(WXDIR)"\include\wx\os2\setup0.h "$(WXDIR)"\include\wx\os2\setup.h
851 ..\common\$D\extended.obj: ..\common\extended.c
853 $(CPPFLAGS2) /Fo$@ $(COMMDIR)\extended.c
856 ..\common\$D\y_tab.obj: ..\common\y_tab.c ..\common\lex_yy.c
858 $(CPPFLAGS2) /DUSE_DEFINE /DYY_USE_PROTOS /Fo$@ ..\common\y_tab.c
861 ..\common\y_tab.c: ..\common\dosyacc.c
862 copy "..\common"\dosyacc.c "..\common"\y_tab.c
864 ..\common\lex_yy.c: ..\common\doslex.c
865 copy "..\common"\doslex.c "..\common"\lex_yy.c
867 $(OBJECTS): $(WXDIR)/include/wx/setup.h
869 ..\common\$D\unzip.obj: ..\common\unzip.c
871 $(CPPFLAGS2) /Fo$@ $(COMMDIR)\unzip.c
874 clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib clean_jpeg clean_xpm
876 -erase ..\..\lib\wx200.dll
877 -erase ..\..\lib\wx200.lib
878 -erase $(GENDIR)\$D\*.obj
879 -erase $(COMMDIR)\$D\*.obj
880 -erase $(COMMDIR)\\y_tab.c
881 -erase $(COMMDIR)\lex_yy.c
882 -erase $(OS2DIR)\$D\*.obj
885 -rmdir ..\generic\$(D)
886 -rmdir ..\common\$(D)