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 COMTEMPTGT3=$(WXDIR)\lib\wxcom3.lib
28 GENTEMPTGT=$(WXDIR)\lib\wxgen.lib
29 NONESTEMPTGT=$(WXDIR)\lib\wxnones.lib
30 OS2TEMPTGT1=$(WXDIR)\lib\wxos21.lib
31 OS2TEMPTGT2=$(WXDIR)\lib\wxos22.lib
32 HTMLTEMPTGT=$(WXDIR)\lib\wxhtml.lib
36 # Please set these according to the settings in setup.h, so we can include
37 # the appropriate libraries in wx.lib
39 # This one overrides the others, to be consistent with the settings in wx_setup.h
40 MINIMAL_WXWINDOWS_SETUP=0
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.
50 GENDIR=$(WXDIR)\src\generic
51 COMMDIR=$(WXDIR)\src\common
52 OS2DIR=$(WXDIR)\src\os2
53 HTMLDIR = $(WXDIR)\src\html
55 !if [md $(COMMDIR)\$D]
64 !if [md $(HTMLDIR)\$D]
67 {..\generic}.cpp{..\generic\$D}.obj:
70 $(CPPFLAGS) /Fo$@ /Tp $<
73 {..\common}.cpp{..\common\$D}.obj:
76 $(CPPFLAGS) /Fo$@ /Tp $<
79 {..\os2}.cpp{..\os2\$D}.obj:
82 $(CPPFLAGS) /Fo$@ /Tp $<
85 {..\os2}.c{..\os2\$D}.obj:
88 $(CPPFLAGS) /Fo$@ /Tp $<
91 {..\html}.cpp{..\html\$D}.obj:
94 $(CPPFLAGS) /Fo$@ /Tp $<
98 ..\generic\$D\busyinfo.obj \
99 ..\generic\$D\caret.obj \
100 ..\generic\$D\choicdgg.obj \
101 ..\generic\$D\colrdlgg.obj \
102 ..\generic\$D\dcpsg.obj \
103 ..\generic\$D\grid.obj \
104 ..\generic\$D\helpext.obj \
105 ..\generic\$D\helphtml.obj \
106 ..\generic\$D\helpwxht.obj \
107 ..\generic\$D\helpxlp.obj \
108 ..\generic\$D\imaglist.obj \
109 ..\generic\$D\laywin.obj \
110 ..\generic\$D\listctrl.obj \
111 ..\generic\$D\logg.obj \
112 ..\generic\$D\numdlgg.obj \
113 ..\generic\$D\panelg.obj \
114 ..\generic\$D\printps.obj \
115 ..\generic\$D\prntdlgg.obj \
116 ..\generic\$D\progdlgg.obj \
117 ..\generic\$D\prop.obj \
118 ..\generic\$D\propform.obj \
119 ..\generic\$D\proplist.obj \
120 ..\generic\$D\sashwin.obj \
121 ..\generic\$D\scrolwin.obj \
122 ..\generic\$D\splitter.obj \
123 ..\generic\$D\statusbr.obj \
124 ..\generic\$D\tabg.obj \
125 ..\generic\$D\textdlgg.obj \
126 ..\generic\$D\tipdlg.obj \
127 ..\generic\$D\treectrl.obj
129 # ..\generic\$D\gridg.obj \
130 # ..\generic\$D\notebook.obj \
164 # These are generic things that don't need to be compiled on PM,
165 # but sometimes it's useful to do so for testing purposes.
167 ..\generic\$D\msgdlgg.obj \
168 ..\generic\$D\fontdlgg.obj
171 ..\common\$D\appcmn.obj \
172 ..\common\$D\choiccmn.obj \
173 ..\common\$D\clipcmn.obj \
174 ..\common\$D\cmndata.obj \
175 ..\common\$D\config.obj \
176 ..\common\$D\ctrlcmn.obj \
177 ..\common\$D\ctrlsub.obj \
178 ..\common\$D\datetime.obj \
179 ..\common\$D\datstrm.obj \
180 ..\common\$D\db.obj \
181 ..\common\$D\dbtable.obj \
182 ..\common\$D\dcbase.obj \
183 ..\common\$D\dlgcmn.obj \
184 ..\common\$D\dobjcmn.obj \
185 ..\common\$D\docmdi.obj \
186 ..\common\$D\docview.obj \
187 ..\common\$D\dynarray.obj \
188 ..\common\$D\dynlib.obj \
189 ..\common\$D\event.obj \
190 ..\common\$D\extended.obj \
191 ..\common\$D\ffile.obj \
192 ..\common\$D\file.obj \
193 ..\common\$D\fileconf.obj \
194 ..\common\$D\filefn.obj \
195 ..\common\$D\filesys.obj \
196 ..\common\$D\fontcmn.obj \
197 ..\common\$D\framecmn.obj \
198 ..\common\$D\fs_inet.obj \
199 ..\common\$D\fs_zip.obj \
200 ..\common\$D\ftp.obj \
201 ..\common\$D\gdicmn.obj \
202 ..\common\$D\gifdecod.obj \
203 ..\common\$D\hash.obj \
204 ..\common\$D\helpbase.obj \
205 ..\common\$D\http.obj \
206 ..\common\$D\imagall.obj \
207 ..\common\$D\imagbmp.obj \
208 ..\common\$D\image.obj \
209 ..\common\$D\imaggif.obj \
210 ..\common\$D\imagjpeg.obj \
211 ..\common\$D\imagpcx.obj \
212 ..\common\$D\imagpng.obj \
213 ..\common\$D\imagpnm.obj \
214 ..\common\$D\intl.obj \
215 ..\common\$D\ipcbase.obj \
216 ..\common\$D\layout.obj \
217 ..\common\$D\lboxcmn.obj \
218 ..\common\$D\list.obj \
219 ..\common\$D\log.obj \
220 ..\common\$D\longlong.obj \
221 ..\common\$D\matrix.obj \
222 ..\common\$D\memory.obj \
223 ..\common\$D\menucmn.obj \
224 ..\common\$D\mimetype.obj \
225 ..\common\$D\module.obj \
226 ..\common\$D\mstream.obj \
227 ..\common\$D\object.obj \
228 ..\common\$D\objstrm.obj \
229 ..\common\$D\paper.obj \
230 ..\common\$D\prntbase.obj \
231 ..\common\$D\process.obj \
232 ..\common\$D\protocol.obj \
233 ..\common\$D\resource.obj \
234 ..\common\$D\sckaddr.obj \
235 ..\common\$D\sckfile.obj \
236 ..\common\$D\sckipc.obj \
237 ..\common\$D\sckstrm.obj \
238 ..\common\$D\serbase.obj \
239 ..\common\$D\sizer.obj \
240 ..\common\$D\socket.obj \
241 ..\common\$D\strconv.obj \
242 ..\common\$D\stream.obj \
243 ..\common\$D\string.obj \
244 ..\common\$D\tbarbase.obj \
245 ..\common\$D\textcmn.obj \
246 ..\common\$D\textfile.obj \
247 ..\common\$D\timercmn.obj \
248 ..\common\$D\tokenzr.obj \
249 ..\common\$D\txtstrm.obj \
250 ..\common\$D\unzip.obj \
251 ..\common\$D\url.obj \
252 ..\common\$D\utilscmn.obj \
253 ..\common\$D\valgen.obj \
254 ..\common\$D\validate.obj \
255 ..\common\$D\valtext.obj \
256 ..\common\$D\variant.obj \
257 ..\common\$D\wfstream.obj \
258 ..\common\$D\wincmn.obj \
259 ..\common\$D\wxchar.obj \
260 ..\common\$D\wxexpr.obj \
261 ..\common\$D\y_tab.obj \
262 ..\common\$D\zipstrm.obj \
263 ..\common\$D\zstream.obj
365 ..\os2\$D\accel.obj \
367 ..\os2\$D\bitmap.obj \
368 ..\os2\$D\bmpbuttn.obj \
369 ..\os2\$D\brush.obj \
370 ..\os2\$D\button.obj \
371 ..\os2\$D\checkbox.obj \
372 ..\os2\$D\checklst.obj \
373 ..\os2\$D\choice.obj \
374 ..\os2\$D\clipbrd.obj \
375 ..\os2\$D\colour.obj \
376 ..\os2\$D\combobox.obj \
377 ..\os2\$D\control.obj \
378 ..\os2\$D\cursor.obj \
380 ..\os2\$D\dataobj.obj \
382 ..\os2\$D\dcclient.obj \
383 ..\os2\$D\dcmemory.obj \
384 ..\os2\$D\dcprint.obj \
385 ..\os2\$D\dcscreen.obj \
386 ..\os2\$D\dialog.obj \
387 ..\os2\$D\dirdlg.obj \
389 ..\os2\$D\filedlg.obj \
391 ..\os2\$D\fontdlg.obj \
392 ..\os2\$D\frame.obj \
393 ..\os2\$D\gauge.obj \
394 ..\os2\$D\gdiobj.obj \
395 ..\os2\$D\gdiimage.obj \
396 ..\os2\$D\gsocket.obj \
397 ..\os2\$D\helpwin.obj \
399 ..\os2\$D\iniconf.obj \
400 ..\os2\$D\joystick.obj \
401 ..\os2\$D\listbox.obj \
405 ..\os2\$D\menuitem.obj \
406 ..\os2\$D\metafile.obj \
407 ..\os2\$D\minifram.obj \
408 ..\os2\$D\msgdlg.obj \
409 ..\os2\$D\nativdlg.obj \
410 ..\os2\$D\notebook.obj \
411 ..\os2\$D\ownerdrw.obj \
412 ..\os2\$D\palette.obj \
414 ..\os2\$D\pnghand.obj \
415 ..\os2\$D\print.obj \
416 ..\os2\$D\radiobox.obj \
417 ..\os2\$D\radiobut.obj \
418 ..\os2\$D\region.obj \
419 ..\os2\$D\scrolbar.obj \
420 ..\os2\$D\settings.obj \
421 ..\os2\$D\slider.obj \
422 ..\os2\$D\spinbutt.obj \
423 ..\os2\$D\spinctrl.obj \
424 ..\os2\$D\statbmp.obj \
425 ..\os2\$D\statbox.obj \
426 ..\os2\$D\statline.obj \
427 ..\os2\$D\stattext.obj \
428 ..\os2\$D\tabctrl.obj \
429 ..\os2\$D\taskbar.obj \
430 ..\os2\$D\textctrl.obj \
431 ..\os2\$D\thread.obj \
432 ..\os2\$D\timer.obj \
433 ..\os2\$D\toolbar.obj \
434 ..\os2\$D\tooltip.obj \
435 ..\os2\$D\utils.obj \
436 ..\os2\$D\utilsexc.obj \
519 ..\html\$D\helpctrl.obj \
520 ..\html\$D\helpdata.obj \
521 ..\html\$D\helpfrm.obj \
522 ..\html\$D\htmlcell.obj \
523 ..\html\$D\htmlfilt.obj \
524 ..\html\$D\htmlpars.obj \
525 ..\html\$D\htmltag.obj \
526 ..\html\$D\htmlwin.obj \
527 ..\html\$D\htmprint.obj \
528 ..\html\$D\m_fonts.obj \
529 ..\html\$D\m_hline.obj \
530 ..\html\$D\m_image.obj \
531 ..\html\$D\m_layout.obj \
532 ..\html\$D\m_links.obj \
533 ..\html\$D\m_list.obj \
534 ..\html\$D\m_pre.obj \
535 ..\html\$D\m_tables.obj \
536 ..\html\$D\winpars.obj
558 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
559 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(NONESSENTIALOBJS) $(OS2OBJS)
561 # Normal, static library
562 all: $(OBJECTS) $(PERIPH_TARGET) png zlib xpm jpeg $(LIBTARGET)
564 dirs: $(OS2DIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(HTMLDIR)\$D
567 test: $(OS2DIR)\$D\wave.obj
568 test2: ..\common\Debug\config.obj
571 copy ..\common\$D\appcmn.obj
572 copy ..\common\$D\choiccmn.obj
573 copy ..\common\$D\clipcmn.obj
574 copy ..\common\$D\cmndata.obj
575 copy ..\common\$D\config.obj
576 copy ..\common\$D\ctrlcmn.obj
577 copy ..\common\$D\ctrlsub.obj
578 copy ..\common\$D\datetime.obj
579 copy ..\common\$D\datstrm.obj
580 copy ..\common\$D\db.obj
581 copy ..\common\$D\dbtable.obj
582 copy ..\common\$D\dcbase.obj
583 copy ..\common\$D\dlgcmn.obj
584 copy ..\common\$D\dobjcmn.obj
585 copy ..\common\$D\docmdi.obj
586 copy ..\common\$D\docview.obj
587 copy ..\common\$D\dynarray.obj
588 copy ..\common\$D\dynlib.obj
589 copy ..\common\$D\event.obj
590 copy ..\common\$D\extended.obj
591 copy ..\common\$D\ffile.obj
592 copy ..\common\$D\file.obj
593 copy ..\common\$D\fileconf.obj
594 copy ..\common\$D\filefn.obj
595 copy ..\common\$D\filesys.obj
596 copy ..\common\$D\fontcmn.obj
597 copy ..\common\$D\framecmn.obj
598 copy ..\common\$D\fs_inet.obj
599 copy ..\common\$D\fs_zip.obj
600 copy ..\common\$D\ftp.obj
601 copy ..\common\$D\gdicmn.obj
602 copy ..\common\$D\gifdecod.obj
603 copy ..\common\$D\hash.obj
604 copy ..\common\$D\helpbase.obj
605 copy ..\common\$D\http.obj
606 copy ..\common\$D\imagall.obj
607 copy ..\common\$D\imagbmp.obj
608 copy ..\common\$D\image.obj
609 copy ..\common\$D\imaggif.obj
610 copy ..\common\$D\imagjpeg.obj
611 copy ..\common\$D\imagpcx.obj
612 copy ..\common\$D\imagpng.obj
613 copy ..\common\$D\imagpnm.obj
614 copy ..\common\$D\intl.obj
617 copy ..\common\$D\ipcbase.obj
618 copy ..\common\$D\layout.obj
619 copy ..\common\$D\lboxcmn.obj
620 copy ..\common\$D\list.obj
621 copy ..\common\$D\log.obj
622 copy ..\common\$D\longlong.obj
623 copy ..\common\$D\matrix.obj
624 copy ..\common\$D\memory.obj
625 copy ..\common\$D\menucmn.obj
626 copy ..\common\$D\mimetype.obj
627 copy ..\common\$D\module.obj
628 copy ..\common\$D\mstream.obj
629 copy ..\common\$D\object.obj
630 copy ..\common\$D\objstrm.obj
631 copy ..\common\$D\paper.obj
632 copy ..\common\$D\prntbase.obj
633 copy ..\common\$D\process.obj
634 copy ..\common\$D\protocol.obj
635 copy ..\common\$D\resource.obj
636 copy ..\common\$D\sckaddr.obj
637 copy ..\common\$D\sckfile.obj
638 copy ..\common\$D\sckipc.obj
639 copy ..\common\$D\sckstrm.obj
640 copy ..\common\$D\serbase.obj
641 copy ..\common\$D\sizer.obj
642 copy ..\common\$D\socket.obj
643 copy ..\common\$D\strconv.obj
644 copy ..\common\$D\stream.obj
645 copy ..\common\$D\string.obj
646 copy ..\common\$D\tbarbase.obj
647 copy ..\common\$D\textcmn.obj
648 copy ..\common\$D\textfile.obj
649 copy ..\common\$D\timercmn.obj
650 copy ..\common\$D\tokenzr.obj
651 copy ..\common\$D\txtstrm.obj
652 copy ..\common\$D\unzip.obj
653 copy ..\common\$D\url.obj
654 copy ..\common\$D\utilscmn.obj
655 copy ..\common\$D\valgen.obj
656 copy ..\common\$D\validate.obj
657 copy ..\common\$D\valtext.obj
658 copy ..\common\$D\variant.obj
661 copy ..\common\$D\wfstream.obj
662 copy ..\common\$D\wincmn.obj
663 copy ..\common\$D\wxchar.obj
664 copy ..\common\$D\wxexpr.obj
665 copy ..\common\$D\y_tab.obj
666 copy ..\common\$D\zipstrm.obj
667 copy ..\common\$D\zstream.obj
670 copy ..\generic\$D\busyinfo.obj
671 copy ..\generic\$D\caret.obj
672 copy ..\generic\$D\choicdgg.obj
673 copy ..\generic\$D\colrdlgg.obj
674 copy ..\generic\$D\dcpsg.obj
675 copy ..\generic\$D\grid.obj
676 copy ..\generic\$D\helpext.obj
677 copy ..\generic\$D\helphtml.obj
678 copy ..\generic\$D\helpwxht.obj
679 copy ..\generic\$D\helpxlp.obj
680 copy ..\generic\$D\imaglist.obj
681 copy ..\generic\$D\laywin.obj
682 copy ..\generic\$D\listctrl.obj
683 copy ..\generic\$D\logg.obj
684 copy ..\generic\$D\numdlgg.obj
685 copy ..\generic\$D\panelg.obj
686 copy ..\generic\$D\printps.obj
687 copy ..\generic\$D\prntdlgg.obj
688 copy ..\generic\$D\progdlgg.obj
689 copy ..\generic\$D\prop.obj
690 copy ..\generic\$D\propform.obj
691 copy ..\generic\$D\proplist.obj
692 copy ..\generic\$D\sashwin.obj
693 copy ..\generic\$D\scrolwin.obj
694 copy ..\generic\$D\splitter.obj
695 copy ..\generic\$D\statusbr.obj
696 copy ..\generic\$D\tabg.obj
697 copy ..\generic\$D\textdlgg.obj
698 copy ..\generic\$D\tipdlg.obj
699 copy ..\generic\$D\treectrl.obj
702 copy ..\html\$D\helpctrl.obj
703 copy ..\html\$D\helpdata.obj
704 copy ..\html\$D\helpfrm.obj
705 copy ..\html\$D\htmlcell.obj
706 copy ..\html\$D\htmlfilt.obj
707 copy ..\html\$D\htmlpars.obj
708 copy ..\html\$D\htmltag.obj
709 copy ..\html\$D\htmlwin.obj
710 copy ..\html\$D\htmprint.obj
711 copy ..\html\$D\m_fonts.obj
712 copy ..\html\$D\m_hline.obj
713 copy ..\html\$D\m_image.obj
714 copy ..\html\$D\m_layout.obj
715 copy ..\html\$D\m_links.obj
716 copy ..\html\$D\m_list.obj
717 copy ..\html\$D\m_pre.obj
718 copy ..\html\$D\m_tables.obj
719 copy ..\html\$D\winpars.obj
722 copy ..\os2\$D\accel.obj
723 copy ..\os2\$D\app.obj
724 copy ..\os2\$D\bitmap.obj
725 copy ..\os2\$D\bmpbuttn.obj
726 copy ..\os2\$D\brush.obj
727 copy ..\os2\$D\button.obj
728 copy ..\os2\$D\checkbox.obj
729 copy ..\os2\$D\checklst.obj
730 copy ..\os2\$D\choice.obj
731 copy ..\os2\$D\clipbrd.obj
732 copy ..\os2\$D\colour.obj
733 copy ..\os2\$D\combobox.obj
734 copy ..\os2\$D\control.obj
735 copy ..\os2\$D\cursor.obj
736 copy ..\os2\$D\data.obj
737 copy ..\os2\$D\dataobj.obj
738 copy ..\os2\$D\dc.obj
739 copy ..\os2\$D\dcclient.obj
740 copy ..\os2\$D\dcmemory.obj
741 copy ..\os2\$D\dcprint.obj
742 copy ..\os2\$D\dcscreen.obj
743 copy ..\os2\$D\dialog.obj
744 copy ..\os2\$D\dirdlg.obj
745 copy ..\os2\$D\dnd.obj
746 copy ..\os2\$D\filedlg.obj
747 copy ..\os2\$D\font.obj
748 copy ..\os2\$D\fontdlg.obj
749 copy ..\os2\$D\frame.obj
750 copy ..\os2\$D\gauge.obj
751 copy ..\os2\$D\gdiimage.obj
752 copy ..\os2\$D\gdiobj.obj
753 copy ..\os2\$D\gsocket.obj
754 copy ..\os2\$D\helpwin.obj
755 copy ..\os2\$D\icon.obj
756 copy ..\os2\$D\iniconf.obj
757 copy ..\os2\$D\joystick.obj
758 copy ..\os2\$D\listbox.obj
759 copy ..\os2\$D\main.obj
760 copy ..\os2\$D\mdi.obj
761 copy ..\os2\$D\menu.obj
762 copy ..\os2\$D\menuitem.obj
763 copy ..\os2\$D\metafile.obj
764 copy ..\os2\$D\minifram.obj
765 copy ..\os2\$D\msgdlg.obj
766 copy ..\os2\$D\nativdlg.obj
769 copy ..\os2\$D\notebook.obj
770 copy ..\os2\$D\ownerdrw.obj
771 copy ..\os2\$D\palette.obj
772 copy ..\os2\$D\pen.obj
773 copy ..\os2\$D\pnghand.obj
774 copy ..\os2\$D\print.obj
775 copy ..\os2\$D\radiobox.obj
776 copy ..\os2\$D\radiobut.obj
777 copy ..\os2\$D\region.obj
778 copy ..\os2\$D\scrolbar.obj
779 copy ..\os2\$D\settings.obj
780 copy ..\os2\$D\slider.obj
781 copy ..\os2\$D\spinbutt.obj
782 copy ..\os2\$D\spinctrl.obj
783 copy ..\os2\$D\statbmp.obj
784 copy ..\os2\$D\statbox.obj
785 copy ..\os2\$D\statline.obj
786 copy ..\os2\$D\stattext.obj
787 copy ..\os2\$D\tabctrl.obj
788 copy ..\os2\$D\taskbar.obj
789 copy ..\os2\$D\textctrl.obj
790 copy ..\os2\$D\thread.obj
791 copy ..\os2\$D\timer.obj
792 copy ..\os2\$D\toolbar.obj
793 copy ..\os2\$D\tooltip.obj
794 copy ..\os2\$D\utils.obj
795 copy ..\os2\$D\utilsexc.obj
796 copy ..\os2\$D\wave.obj
797 copy ..\os2\$D\window.obj
799 # wxWindows library as DLL
801 nmake -f makefile.va all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
804 nmake -f makefile.va clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
806 # wxWindows + app as DLL. Only affects main.cpp.
808 nmake -f makefile.va all FINAL=$(FINAL) DLL=1
810 # wxWindows + app as DLL, for Netscape plugin - remove DllMain.
812 nmake -f makefile.va all FINAL=$(FINAL) DLL=1
814 # Use this to make dummy.obj and generate a PCH.
815 # You might use the dll target, then the pch target, in order to
816 # generate a DLL, then a PCH/dummy.obj for compiling your applications with.
818 # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
819 # are associated with wx.lib. When using a DLL version of wxWindows, however,
820 # the DLL is compiled without a PCH, so you only need it for compiling the app.
821 # In fact headers are compiled differently depending on whether a DLL is being made
822 # or an app is calling the DLL exported functionality (WXDLLEXPORT is different
823 # in each case) so you couldn't use the same PCH.
825 nmake -f makefile.va pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
827 pch1: dirs $(DUMMYOBJ)
830 !if "$(WXMAKINGDLL)" != "1"
834 $(WXDIR)\lib\wxcom1.lib: $(COMLIBOBJS1)
835 touch $(WXDIR)\lib\wxcom1.lib
836 del $(WXDIR)\lib\wxcom1.lib
837 ilib $(LIBFLAGS) $@ @<<
841 $(WXDIR)\lib\wxcom2.lib: $(COMLIBOBJS2)
842 touch $(WXDIR)\lib\wxcom2.lib
843 del $(WXDIR)\lib\wxcom2.lib
844 ilib $(LIBFLAGS) $@ @<<
848 $(WXDIR)\lib\wxcom3.lib: $(COMLIBOBJS3)
849 touch $(WXDIR)\lib\wxcom3.lib
850 del $(WXDIR)\lib\wxcom3.lib
851 ilib $(LIBFLAGS) $@ @<<
855 $(WXDIR)\lib\wxgen.lib: $(GENLIBOBJS)
856 touch $(WXDIR)\lib\wxgen.lib
857 del $(WXDIR)\lib\wxgen.lib
858 ilib $(LIBFLAGS) $@ @<<
862 $(WXDIR)\lib\wxhtml.lib: $(HTMLLIBOBJS)
863 touch $(WXDIR)\lib\wxhtml.lib
864 del $(WXDIR)\lib\wxhtml.lib
865 ilib $(LIBFLAGS) $@ @<<
869 $(WXDIR)\lib\wxnones.lib: $(NONESSENTIALOBJS)
870 touch $(WXDIR)\lib\wxnones.lib
871 del $(WXDIR)\lib\wxnones.lib
872 ilib $(LIBFLAGS) $@ @<<
876 $(WXDIR)\lib\wxos21.lib: $(OS2LIBOBJS1)
877 touch $(WXDIR)\lib\wxos21.lib
878 del $(WXDIR)\lib\wxos21.lib
879 ilib $(LIBFLAGS) $@ @<<
883 $(WXDIR)\lib\wxos22.lib: $(OS2LIBOBJS2)
884 touch $(WXDIR)\lib\wxos22.lib
885 del $(WXDIR)\lib\wxos22.lib
886 ilib $(LIBFLAGS) $@ @<<
891 $(WXDIR)\lib\wx.lib: \
904 ilib $(LIBFLAGS) $@ @<<
918 # Update the import library
919 $(WXDIR)\lib\wx210.lib: $(OBJECTS)
920 implib $(WXDIR)\lib\wx210.lib $(WXDIR)\lib\wx210.def
922 # Update the dynamic link library
923 $(WXDIR)\lib\wx200.dll: $(OBJECTS) $(WXDIR)\lib\wx210.lib
925 /B" $(LINKFLAGS)" /Fe$@
928 $(WXDIR)\lib\wx210.def
933 $D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h
934 icc $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /Tp dummy.cpp
936 $D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h
938 $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /c /Tp dummydll.cpp
941 # If taking wxWindows from CVS, setup.h doesn't exist yet.
942 $(WXDIR)\include\wx\os2\setup.h: $(WXDIR)\include\wx\os2\setup0.h
943 copy "$(WXDIR)"\include\wx\os2\setup.h "$(WXDIR)"\include\wx\os2\setup.bak
944 copy "$(WXDIR)"\include\wx\os2\setup0.h "$(WXDIR)"\include\wx\os2\setup.h
946 ..\common\$D\extended.obj: ..\common\extended.c
948 $(CPPFLAGS2) /Fo$@ $(COMMDIR)\extended.c
951 ..\common\$D\y_tab.obj: ..\common\y_tab.c ..\common\lex_yy.c
953 $(CPPFLAGS2) /DUSE_DEFINE /DYY_USE_PROTOS /Fo$@ ..\common\y_tab.c
956 ..\common\y_tab.c: ..\common\dosyacc.c
957 copy "..\common"\dosyacc.c "..\common"\y_tab.c
959 ..\common\lex_yy.c: ..\common\doslex.c
960 copy "..\common"\doslex.c "..\common"\lex_yy.c
962 $(OBJECTS): $(WXDIR)/include/wx/setup.h
964 ..\common\$D\unzip.obj: ..\common\unzip.c
966 $(CPPFLAGS2) /Fo$@ $(COMMDIR)\unzip.c
971 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
976 nmake -f makefile.va clean
981 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
986 nmake -f makefile.va clean
991 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
996 nmake -f makefile.va clean
1001 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1006 nmake -f makefile.va clean
1009 clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib clean_jpeg clean_xpm
1011 erase /N ..\..\lib\wx200.dll
1012 erase /N ..\..\lib\wx200.lib
1013 erase /N $(GENDIR)\$D\*.obj
1014 erase /N $(COMMDIR)\$D\*.obj
1015 erase /N $(COMMDIR)\\y_tab.c
1016 erase /N $(COMMDIR)\lex_yy.c
1017 erase /N $(OS2DIR)\$D\*.obj