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\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\grid.obj \
105 ..\generic\$D\helpext.obj \
106 ..\generic\$D\helphtml.obj \
107 ..\generic\$D\helpwxht.obj \
108 ..\generic\$D\helpxlp.obj \
109 ..\generic\$D\imaglist.obj \
110 ..\generic\$D\laywin.obj \
111 ..\generic\$D\listctrl.obj \
112 ..\generic\$D\logg.obj \
113 ..\generic\$D\numdlgg.obj \
114 ..\generic\$D\panelg.obj \
115 ..\generic\$D\plot.obj \
116 ..\generic\$D\printps.obj \
117 ..\generic\$D\prntdlgg.obj \
118 ..\generic\$D\progdlgg.obj \
119 ..\generic\$D\prop.obj \
120 ..\generic\$D\propform.obj \
121 ..\generic\$D\proplist.obj \
122 ..\generic\$D\sashwin.obj \
123 ..\generic\$D\scrolwin.obj \
124 ..\generic\$D\splitter.obj \
125 ..\generic\$D\statusbr.obj \
126 ..\generic\$D\tabg.obj \
127 ..\generic\$D\textdlgg.obj \
128 ..\generic\$D\tipdlg.obj \
129 ..\generic\$D\treectrl.obj
131 # ..\generic\$D\gridg.obj \
132 # ..\generic\$D\notebook.obj \
168 # These are generic things that don't need to be compiled on PM,
169 # but sometimes it's useful to do so for testing purposes.
171 ..\generic\$D\msgdlgg.obj \
172 ..\generic\$D\fontdlgg.obj
175 ..\common\$D\appcmn.obj \
176 ..\common\$D\choiccmn.obj \
177 ..\common\$D\clipcmn.obj \
178 ..\common\$D\cmndata.obj \
179 ..\common\$D\config.obj \
180 ..\common\$D\ctrlcmn.obj \
181 ..\common\$D\ctrlsub.obj \
182 ..\common\$D\datetime.obj \
183 ..\common\$D\datstrm.obj \
184 ..\common\$D\db.obj \
185 ..\common\$D\dbtable.obj \
186 ..\common\$D\dcbase.obj \
187 ..\common\$D\dlgcmn.obj \
188 ..\common\$D\dobjcmn.obj \
189 ..\common\$D\docmdi.obj \
190 ..\common\$D\docview.obj \
191 ..\common\$D\dynarray.obj \
192 ..\common\$D\dynlib.obj \
193 ..\common\$D\encconv.obj \
194 ..\common\$D\event.obj \
195 ..\common\$D\extended.obj \
196 ..\common\$D\ffile.obj \
197 ..\common\$D\file.obj \
198 ..\common\$D\fileconf.obj \
199 ..\common\$D\filefn.obj \
200 ..\common\$D\filesys.obj \
201 ..\common\$D\fontcmn.obj \
202 ..\common\$D\fontmap.obj \
203 ..\common\$D\framecmn.obj \
204 ..\common\$D\fs_inet.obj \
205 ..\common\$D\fs_zip.obj \
206 ..\common\$D\ftp.obj \
207 ..\common\$D\gdicmn.obj \
208 ..\common\$D\gifdecod.obj \
209 ..\common\$D\hash.obj \
210 ..\common\$D\helpbase.obj \
211 ..\common\$D\http.obj \
212 ..\common\$D\imagall.obj \
213 ..\common\$D\imagbmp.obj \
214 ..\common\$D\image.obj \
215 ..\common\$D\imaggif.obj \
216 ..\common\$D\imagjpeg.obj \
217 ..\common\$D\imagpcx.obj \
218 ..\common\$D\imagpng.obj \
219 ..\common\$D\imagpnm.obj \
220 ..\common\$D\intl.obj \
221 ..\common\$D\ipcbase.obj \
222 ..\common\$D\layout.obj \
223 ..\common\$D\lboxcmn.obj \
224 ..\common\$D\list.obj \
225 ..\common\$D\log.obj \
226 ..\common\$D\longlong.obj \
227 ..\common\$D\matrix.obj \
228 ..\common\$D\memory.obj \
229 ..\common\$D\menucmn.obj \
230 ..\common\$D\mimecmn.obj \
231 ..\common\$D\module.obj \
232 ..\common\$D\mstream.obj \
233 ..\common\$D\object.obj \
234 ..\common\$D\objstrm.obj \
235 ..\common\$D\paper.obj \
236 ..\common\$D\prntbase.obj \
237 ..\common\$D\process.obj \
238 ..\common\$D\protocol.obj \
239 ..\common\$D\resource.obj \
240 ..\common\$D\sckaddr.obj \
241 ..\common\$D\sckfile.obj \
242 ..\common\$D\sckipc.obj \
243 ..\common\$D\sckstrm.obj \
244 ..\common\$D\serbase.obj \
245 ..\common\$D\sizer.obj \
246 ..\common\$D\socket.obj \
247 ..\common\$D\strconv.obj \
248 ..\common\$D\stream.obj \
249 ..\common\$D\string.obj \
250 ..\common\$D\tbarbase.obj \
251 ..\common\$D\textcmn.obj \
252 ..\common\$D\textfile.obj \
253 ..\common\$D\timercmn.obj \
254 ..\common\$D\tokenzr.obj \
255 ..\common\$D\txtstrm.obj \
256 ..\common\$D\unzip.obj \
257 ..\common\$D\url.obj \
258 ..\common\$D\utilscmn.obj \
259 ..\common\$D\valgen.obj \
260 ..\common\$D\validate.obj \
261 ..\common\$D\valtext.obj \
262 ..\common\$D\variant.obj \
263 ..\common\$D\wfstream.obj \
264 ..\common\$D\wincmn.obj \
265 ..\common\$D\wxchar.obj \
266 ..\common\$D\wxexpr.obj \
267 ..\common\$D\y_tab.obj \
268 ..\common\$D\zipstrm.obj \
269 ..\common\$D\zstream.obj
373 ..\os2\$D\accel.obj \
375 ..\os2\$D\bitmap.obj \
376 ..\os2\$D\bmpbuttn.obj \
377 ..\os2\$D\brush.obj \
378 ..\os2\$D\button.obj \
379 ..\os2\$D\checkbox.obj \
380 ..\os2\$D\checklst.obj \
381 ..\os2\$D\choice.obj \
382 ..\os2\$D\clipbrd.obj \
383 ..\os2\$D\colour.obj \
384 ..\os2\$D\combobox.obj \
385 ..\os2\$D\control.obj \
386 ..\os2\$D\cursor.obj \
388 ..\os2\$D\dataobj.obj \
390 ..\os2\$D\dcclient.obj \
391 ..\os2\$D\dcmemory.obj \
392 ..\os2\$D\dcprint.obj \
393 ..\os2\$D\dcscreen.obj \
394 ..\os2\$D\dialog.obj \
395 ..\os2\$D\dirdlg.obj \
397 ..\os2\$D\filedlg.obj \
399 ..\os2\$D\fontdlg.obj \
400 ..\os2\$D\fontenum.obj \
401 ..\os2\$D\fontutil.obj \
402 ..\os2\$D\frame.obj \
403 ..\os2\$D\gauge.obj \
404 ..\os2\$D\gdiobj.obj \
405 ..\os2\$D\gdiimage.obj \
406 ..\os2\$D\gsocket.obj \
407 ..\os2\$D\helpwin.obj \
409 ..\os2\$D\iniconf.obj \
410 ..\os2\$D\joystick.obj \
411 ..\os2\$D\listbox.obj \
415 ..\os2\$D\menuitem.obj \
416 ..\os2\$D\metafile.obj \
417 ..\os2\$D\mimetype.obj \
418 ..\os2\$D\minifram.obj \
419 ..\os2\$D\msgdlg.obj \
420 ..\os2\$D\nativdlg.obj \
421 ..\os2\$D\notebook.obj \
422 ..\os2\$D\ownerdrw.obj \
423 ..\os2\$D\palette.obj \
425 ..\os2\$D\pnghand.obj \
426 ..\os2\$D\print.obj \
427 ..\os2\$D\radiobox.obj \
428 ..\os2\$D\radiobut.obj \
429 ..\os2\$D\region.obj \
430 ..\os2\$D\scrolbar.obj \
431 ..\os2\$D\settings.obj \
432 ..\os2\$D\slider.obj \
433 ..\os2\$D\spinbutt.obj \
434 ..\os2\$D\spinctrl.obj \
435 ..\os2\$D\statbmp.obj \
436 ..\os2\$D\statbox.obj \
437 ..\os2\$D\statline.obj \
438 ..\os2\$D\stattext.obj \
439 ..\os2\$D\tabctrl.obj \
440 ..\os2\$D\taskbar.obj \
441 ..\os2\$D\textctrl.obj \
442 ..\os2\$D\thread.obj \
443 ..\os2\$D\timer.obj \
444 ..\os2\$D\toolbar.obj \
445 ..\os2\$D\tooltip.obj \
446 ..\os2\$D\utils.obj \
447 ..\os2\$D\utilsexc.obj \
533 ..\html\$D\helpctrl.obj \
534 ..\html\$D\helpdata.obj \
535 ..\html\$D\helpfrm.obj \
536 ..\html\$D\htmlcell.obj \
537 ..\html\$D\htmlfilt.obj \
538 ..\html\$D\htmlpars.obj \
539 ..\html\$D\htmltag.obj \
540 ..\html\$D\htmlwin.obj \
541 ..\html\$D\htmprint.obj \
542 ..\html\$D\m_fonts.obj \
543 ..\html\$D\m_hline.obj \
544 ..\html\$D\m_image.obj \
545 ..\html\$D\m_layout.obj \
546 ..\html\$D\m_links.obj \
547 ..\html\$D\m_list.obj \
548 ..\html\$D\m_pre.obj \
549 ..\html\$D\m_tables.obj \
550 ..\html\$D\winpars.obj
572 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
573 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(NONESSENTIALOBJS) $(OS2OBJS)
575 # Normal, static library
576 all: $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib jpeg xpm $(LIBTARGET)
578 dirs: $(OS2DIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(HTMLDIR)\$D
581 test: $(OS2DIR)\$D\wave.obj
582 test2: ..\common\Debug\config.obj
584 $D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h
585 icc $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /Tp dummy.cpp
587 $D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h
589 $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /c /Tp dummydll.cpp
593 copy ..\common\$D\appcmn.obj
594 copy ..\common\$D\choiccmn.obj
595 copy ..\common\$D\clipcmn.obj
596 copy ..\common\$D\cmndata.obj
597 copy ..\common\$D\config.obj
598 copy ..\common\$D\ctrlcmn.obj
599 copy ..\common\$D\ctrlsub.obj
600 copy ..\common\$D\datetime.obj
601 copy ..\common\$D\datstrm.obj
602 copy ..\common\$D\db.obj
603 copy ..\common\$D\dbtable.obj
604 copy ..\common\$D\dcbase.obj
605 copy ..\common\$D\dlgcmn.obj
606 copy ..\common\$D\dobjcmn.obj
607 copy ..\common\$D\docmdi.obj
608 copy ..\common\$D\docview.obj
609 copy ..\common\$D\dynarray.obj
610 copy ..\common\$D\dynlib.obj
611 copy ..\common\$D\encconv.obj
612 copy ..\common\$D\event.obj
613 copy ..\common\$D\extended.obj
614 copy ..\common\$D\ffile.obj
615 copy ..\common\$D\file.obj
616 copy ..\common\$D\fileconf.obj
617 copy ..\common\$D\filefn.obj
618 copy ..\common\$D\filesys.obj
619 copy ..\common\$D\fontcmn.obj
620 copy ..\common\$D\fontmap.obj
621 copy ..\common\$D\framecmn.obj
622 copy ..\common\$D\fs_inet.obj
623 copy ..\common\$D\fs_zip.obj
624 copy ..\common\$D\ftp.obj
625 copy ..\common\$D\gdicmn.obj
626 copy ..\common\$D\gifdecod.obj
627 copy ..\common\$D\hash.obj
628 copy ..\common\$D\helpbase.obj
629 copy ..\common\$D\http.obj
630 copy ..\common\$D\imagall.obj
631 copy ..\common\$D\imagbmp.obj
632 copy ..\common\$D\image.obj
633 copy ..\common\$D\imaggif.obj
634 copy ..\common\$D\imagjpeg.obj
635 copy ..\common\$D\imagpcx.obj
636 copy ..\common\$D\imagpng.obj
639 copy ..\common\$D\imagpnm.obj
640 copy ..\common\$D\intl.obj
641 copy ..\common\$D\ipcbase.obj
642 copy ..\common\$D\layout.obj
643 copy ..\common\$D\lboxcmn.obj
644 copy ..\common\$D\list.obj
645 copy ..\common\$D\log.obj
646 copy ..\common\$D\longlong.obj
647 copy ..\common\$D\matrix.obj
648 copy ..\common\$D\memory.obj
649 copy ..\common\$D\menucmn.obj
650 copy ..\common\$D\mimecmn.obj
651 copy ..\common\$D\module.obj
652 copy ..\common\$D\mstream.obj
653 copy ..\common\$D\object.obj
654 copy ..\common\$D\objstrm.obj
655 copy ..\common\$D\paper.obj
656 copy ..\common\$D\prntbase.obj
657 copy ..\common\$D\process.obj
658 copy ..\common\$D\protocol.obj
659 copy ..\common\$D\resource.obj
660 copy ..\common\$D\sckaddr.obj
661 copy ..\common\$D\sckfile.obj
662 copy ..\common\$D\sckipc.obj
663 copy ..\common\$D\sckstrm.obj
664 copy ..\common\$D\serbase.obj
665 copy ..\common\$D\sizer.obj
666 copy ..\common\$D\socket.obj
667 copy ..\common\$D\strconv.obj
668 copy ..\common\$D\stream.obj
669 copy ..\common\$D\string.obj
670 copy ..\common\$D\tbarbase.obj
671 copy ..\common\$D\textcmn.obj
672 copy ..\common\$D\textfile.obj
673 copy ..\common\$D\timercmn.obj
674 copy ..\common\$D\tokenzr.obj
675 copy ..\common\$D\txtstrm.obj
676 copy ..\common\$D\unzip.obj
677 copy ..\common\$D\url.obj
678 copy ..\common\$D\utilscmn.obj
679 copy ..\common\$D\valgen.obj
680 copy ..\common\$D\validate.obj
683 copy ..\common\$D\valtext.obj
684 copy ..\common\$D\variant.obj
685 copy ..\common\$D\wfstream.obj
686 copy ..\common\$D\wincmn.obj
687 copy ..\common\$D\wxchar.obj
688 copy ..\common\$D\wxexpr.obj
689 copy ..\common\$D\y_tab.obj
690 copy ..\common\$D\zipstrm.obj
691 copy ..\common\$D\zstream.obj
694 copy ..\generic\$D\busyinfo.obj
695 copy ..\generic\$D\calctrl.obj
696 copy ..\generic\$D\caret.obj
697 copy ..\generic\$D\choicdgg.obj
698 copy ..\generic\$D\colrdlgg.obj
699 copy ..\generic\$D\dcpsg.obj
700 copy ..\generic\$D\grid.obj
701 copy ..\generic\$D\helpext.obj
702 copy ..\generic\$D\helphtml.obj
703 copy ..\generic\$D\helpwxht.obj
704 copy ..\generic\$D\helpxlp.obj
705 copy ..\generic\$D\imaglist.obj
706 copy ..\generic\$D\laywin.obj
707 copy ..\generic\$D\listctrl.obj
708 copy ..\generic\$D\logg.obj
709 copy ..\generic\$D\numdlgg.obj
710 copy ..\generic\$D\panelg.obj
711 copy ..\generic\$D\plot.obj
712 copy ..\generic\$D\printps.obj
713 copy ..\generic\$D\prntdlgg.obj
714 copy ..\generic\$D\progdlgg.obj
715 copy ..\generic\$D\prop.obj
716 copy ..\generic\$D\propform.obj
717 copy ..\generic\$D\proplist.obj
718 copy ..\generic\$D\sashwin.obj
719 copy ..\generic\$D\scrolwin.obj
720 copy ..\generic\$D\splitter.obj
721 copy ..\generic\$D\statusbr.obj
722 copy ..\generic\$D\tabg.obj
723 copy ..\generic\$D\textdlgg.obj
724 copy ..\generic\$D\tipdlg.obj
725 copy ..\generic\$D\treectrl.obj
728 copy ..\html\$D\helpctrl.obj
729 copy ..\html\$D\helpdata.obj
730 copy ..\html\$D\helpfrm.obj
731 copy ..\html\$D\htmlcell.obj
732 copy ..\html\$D\htmlfilt.obj
733 copy ..\html\$D\htmlpars.obj
734 copy ..\html\$D\htmltag.obj
735 copy ..\html\$D\htmlwin.obj
736 copy ..\html\$D\htmprint.obj
737 copy ..\html\$D\m_fonts.obj
738 copy ..\html\$D\m_hline.obj
739 copy ..\html\$D\m_image.obj
740 copy ..\html\$D\m_layout.obj
741 copy ..\html\$D\m_links.obj
742 copy ..\html\$D\m_list.obj
743 copy ..\html\$D\m_pre.obj
744 copy ..\html\$D\m_tables.obj
745 copy ..\html\$D\winpars.obj
748 copy ..\os2\$D\accel.obj
749 copy ..\os2\$D\app.obj
750 copy ..\os2\$D\bitmap.obj
751 copy ..\os2\$D\bmpbuttn.obj
752 copy ..\os2\$D\brush.obj
753 copy ..\os2\$D\button.obj
754 copy ..\os2\$D\checkbox.obj
755 copy ..\os2\$D\checklst.obj
756 copy ..\os2\$D\choice.obj
757 copy ..\os2\$D\clipbrd.obj
758 copy ..\os2\$D\colour.obj
759 copy ..\os2\$D\combobox.obj
760 copy ..\os2\$D\control.obj
761 copy ..\os2\$D\cursor.obj
762 copy ..\os2\$D\data.obj
763 copy ..\os2\$D\dataobj.obj
764 copy ..\os2\$D\dc.obj
765 copy ..\os2\$D\dcclient.obj
766 copy ..\os2\$D\dcmemory.obj
767 copy ..\os2\$D\dcprint.obj
768 copy ..\os2\$D\dcscreen.obj
769 copy ..\os2\$D\dialog.obj
770 copy ..\os2\$D\dirdlg.obj
771 copy ..\os2\$D\dnd.obj
772 copy ..\os2\$D\filedlg.obj
773 copy ..\os2\$D\font.obj
774 copy ..\os2\$D\fontdlg.obj
775 copy ..\os2\$D\fontenum.obj
776 copy ..\os2\$D\fontutil.obj
777 copy ..\os2\$D\frame.obj
778 copy ..\os2\$D\gauge.obj
779 copy ..\os2\$D\gdiimage.obj
780 copy ..\os2\$D\gdiobj.obj
781 copy ..\os2\$D\gsocket.obj
782 copy ..\os2\$D\helpwin.obj
783 copy ..\os2\$D\icon.obj
784 copy ..\os2\$D\iniconf.obj
785 copy ..\os2\$D\joystick.obj
786 copy ..\os2\$D\listbox.obj
787 copy ..\os2\$D\main.obj
788 copy ..\os2\$D\mdi.obj
789 copy ..\os2\$D\menu.obj
790 copy ..\os2\$D\menuitem.obj
791 copy ..\os2\$D\metafile.obj
792 copy ..\os2\$D\mimetype.obj
795 copy ..\os2\$D\minifram.obj
796 copy ..\os2\$D\msgdlg.obj
797 copy ..\os2\$D\nativdlg.obj
798 copy ..\os2\$D\notebook.obj
799 copy ..\os2\$D\ownerdrw.obj
800 copy ..\os2\$D\palette.obj
801 copy ..\os2\$D\pen.obj
802 copy ..\os2\$D\pnghand.obj
803 copy ..\os2\$D\print.obj
804 copy ..\os2\$D\radiobox.obj
805 copy ..\os2\$D\radiobut.obj
806 copy ..\os2\$D\region.obj
807 copy ..\os2\$D\scrolbar.obj
808 copy ..\os2\$D\settings.obj
809 copy ..\os2\$D\slider.obj
810 copy ..\os2\$D\spinbutt.obj
811 copy ..\os2\$D\spinctrl.obj
812 copy ..\os2\$D\statbmp.obj
813 copy ..\os2\$D\statbox.obj
814 copy ..\os2\$D\statline.obj
815 copy ..\os2\$D\stattext.obj
816 copy ..\os2\$D\tabctrl.obj
817 copy ..\os2\$D\taskbar.obj
818 copy ..\os2\$D\textctrl.obj
819 copy ..\os2\$D\thread.obj
820 copy ..\os2\$D\timer.obj
821 copy ..\os2\$D\toolbar.obj
822 copy ..\os2\$D\tooltip.obj
823 copy ..\os2\$D\utils.obj
824 copy ..\os2\$D\utilsexc.obj
825 copy ..\os2\$D\wave.obj
826 copy ..\os2\$D\window.obj
828 # wxWindows library as DLL
830 nmake -f makefile.va all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
833 nmake -f makefile.va clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
835 # wxWindows + app as DLL. Only affects main.cpp.
837 nmake -f makefile.va all FINAL=$(FINAL) DLL=1
839 # wxWindows + app as DLL, for Netscape plugin - remove DllMain.
841 nmake -f makefile.va all FINAL=$(FINAL) DLL=1
843 # Use this to make dummy.obj and generate a PCH.
844 # You might use the dll target, then the pch target, in order to
845 # generate a DLL, then a PCH/dummy.obj for compiling your applications with.
847 # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
848 # are associated with wx.lib. When using a DLL version of wxWindows, however,
849 # the DLL is compiled without a PCH, so you only need it for compiling the app.
850 # In fact headers are compiled differently depending on whether a DLL is being made
851 # or an app is calling the DLL exported functionality (WXDLLEXPORT is different
852 # in each case) so you couldn't use the same PCH.
854 nmake -f makefile.va pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
856 pch1: dirs $(DUMMYOBJ)
859 !if "$(WXMAKINGDLL)" != "1"
863 $(WXDIR)\lib\wxcom1.lib: $(COMLIBOBJS1)
864 touch $(WXDIR)\lib\wxcom1.lib
865 del $(WXDIR)\lib\wxcom1.lib
866 ilib $(LIBFLAGS) $@ @<<
870 $(WXDIR)\lib\wxcom2.lib: $(COMLIBOBJS2)
871 touch $(WXDIR)\lib\wxcom2.lib
872 del $(WXDIR)\lib\wxcom2.lib
873 ilib $(LIBFLAGS) $@ @<<
877 $(WXDIR)\lib\wxcom3.lib: $(COMLIBOBJS3)
878 touch $(WXDIR)\lib\wxcom3.lib
879 del $(WXDIR)\lib\wxcom3.lib
880 ilib $(LIBFLAGS) $@ @<<
884 $(WXDIR)\lib\wxgen.lib: $(GENLIBOBJS)
885 touch $(WXDIR)\lib\wxgen.lib
886 del $(WXDIR)\lib\wxgen.lib
887 ilib $(LIBFLAGS) $@ @<<
891 $(WXDIR)\lib\wxhtml.lib: $(HTMLLIBOBJS)
892 touch $(WXDIR)\lib\wxhtml.lib
893 del $(WXDIR)\lib\wxhtml.lib
894 ilib $(LIBFLAGS) $@ @<<
898 $(WXDIR)\lib\wxnones.lib: $(NONESSENTIALOBJS)
899 touch $(WXDIR)\lib\wxnones.lib
900 del $(WXDIR)\lib\wxnones.lib
901 ilib $(LIBFLAGS) $@ @<<
905 $(WXDIR)\lib\wxos21.lib: $(OS2LIBOBJS1)
906 touch $(WXDIR)\lib\wxos21.lib
907 del $(WXDIR)\lib\wxos21.lib
908 ilib $(LIBFLAGS) $@ @<<
912 $(WXDIR)\lib\wxos22.lib: $(OS2LIBOBJS2)
913 touch $(WXDIR)\lib\wxos22.lib
914 del $(WXDIR)\lib\wxos22.lib
915 ilib $(LIBFLAGS) $@ @<<
920 $(WXDIR)\lib\wx.lib: \
933 ilib $(LIBFLAGS) $@ @<<
947 # Update the import library
948 $(WXDIR)\lib\wx210.lib: $(OBJECTS)
949 implib $(WXDIR)\lib\wx210.lib $(WXDIR)\lib\wx210.def
951 # Update the dynamic link library
952 $(WXDIR)\lib\wx200.dll: $(OBJECTS) $(WXDIR)\lib\wx210.lib
954 /B" $(LINKFLAGS)" /Fe$@
957 $(WXDIR)\lib\wx210.def
962 # If taking wxWindows from CVS, setup.h doesn't exist yet.
963 $(WXDIR)\include\wx\os2\setup.h: $(WXDIR)\include\wx\os2\setup0.h
964 copy "$(WXDIR)"\include\wx\os2\setup.h "$(WXDIR)"\include\wx\os2\setup.bak
965 copy "$(WXDIR)"\include\wx\os2\setup0.h "$(WXDIR)"\include\wx\os2\setup.h
967 ..\common\$D\extended.obj: ..\common\extended.c
969 $(CPPFLAGS2) /Fo$@ $(COMMDIR)\extended.c
972 ..\common\$D\y_tab.obj: ..\common\y_tab.c ..\common\lex_yy.c
974 $(CPPFLAGS2) /DUSE_DEFINE /DYY_USE_PROTOS /Fo$@ ..\common\y_tab.c
977 ..\common\y_tab.c: ..\common\dosyacc.c
978 copy "..\common"\dosyacc.c "..\common"\y_tab.c
980 ..\common\lex_yy.c: ..\common\doslex.c
981 copy "..\common"\doslex.c "..\common"\lex_yy.c
983 $(OBJECTS): $(WXDIR)/include/wx/setup.h
985 ..\common\$D\unzip.obj: ..\common\unzip.c
987 $(CPPFLAGS2) /Fo$@ $(COMMDIR)\unzip.c
992 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
997 nmake -f makefile.va clean
1001 cd $(WXDIR)\src\zlib
1002 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1006 cd $(WXDIR)\src\zlib
1007 nmake -f makefile.va clean
1011 cd $(WXDIR)\src\jpeg
1012 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1016 cd $(WXDIR)\src\jpeg
1017 nmake -f makefile.va clean
1022 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1027 nmake -f makefile.va clean
1030 clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib clean_jpeg clean_xpm
1032 !if "$(WXMAKINGDLL)" == "1"
1033 erase /N ..\..\lib\wx200.lib
1035 erase /N $(GENDIR)\$D\*.obj
1036 erase /N $(COMMDIR)\$D\*.obj
1037 erase /N $(HTMLDIR)\$D\*.obj
1038 erase /N $(OS2DIR)\$D\*.obj
1039 erase /N $(COMMDIR)\y_tab.c
1040 erase /N $(COMMDIR)\lex_yy.c