6 # Copyright: (c) 1997, Julian Smart
10 # Makefile : Builds wxWindows library wx.lib for VC++ (16-bit)
13 # FINAL=1 argument to nmake to build version with no debugging info.
15 !include <..\makemsc.env>
20 # Please set these according to the settings in wx_setup.h, so we can include
21 # the appropriate libraries in wx.lib
23 # This one overrides the others, to be consistent with the settings in wx_setup.h
24 MINIMAL_WXWINDOWS_SETUP=0
29 !if "$(MINIMAL_WXWINDOWS_SETUP)" == "1"
31 USE_IMAGE_LOADING_IN_MSW=0
40 # !if "$(USE_CTL3D)" == "1"
41 # PERIPH_LIBS=d:\msdev\lib\ctl3d32.lib $(PERIPH_LIBS)
44 !if "$(USE_XPM_IN_MSW)" == "1"
45 PERIPH_LIBS=$(WXDIR)\contrib\wxxpm\xpm.lib $(PERIPH_LIBS)
46 PERIPH_TARGET=xpm $(PERIPH_TARGET)
47 PERIPH_CLEAN_TARGET=clean_xpm $(PERIPH_CLEAN_TARGET)
55 DOCDIR = $(WXDIR)\docs
58 $(GENDIR)\choicdgg.obj \
59 $(GENDIR)\colrdlgg.obj \
60 $(GENDIR)\fontdlgg.obj \
62 $(GENDIR)\helpxlp.obj \
63 $(GENDIR)\msgdlgg.obj \
64 $(GENDIR)\panelg.obj \
65 $(GENDIR)\printps.obj \
66 $(GENDIR)\prntdlgg.obj \
67 $(GENDIR)\scrolwin.obj \
68 $(GENDIR)\splitter.obj \
69 $(GENDIR)\statusbr.obj \
71 $(GENDIR)\textdlgg.obj
74 $(COMMDIR)\config.obj \
75 $(COMMDIR)\cmndata.obj \
76 $(COMMDIR)\docview.obj \
77 $(COMMDIR)\docmdi.obj \
78 $(COMMDIR)\dynarray.obj \
79 $(COMMDIR)\event.obj \
81 $(COMMDIR)\filefn.obj \
82 $(COMMDIR)\framecmn.obj \
83 $(COMMDIR)\gdicmn.obj \
84 $(COMMDIR)\image.obj \
86 $(COMMDIR)\helpbase.obj \
87 $(COMMDIR)\ipcbase.obj \
88 $(COMMDIR)\layout.obj \
90 $(COMMDIR)\memory.obj \
91 $(COMMDIR)\module.obj \
92 $(COMMDIR)\object.obj \
94 $(COMMDIR)\postscrp.obj \
95 $(COMMDIR)\process.obj \
96 $(COMMDIR)\prntbase.obj \
97 $(COMMDIR)\resource.obj \
98 $(COMMDIR)\tbarbase.obj \
99 $(COMMDIR)\tbarsmpl.obj \
100 $(COMMDIR)\textfile.obj \
101 $(COMMDIR)\timercmn.obj \
102 $(COMMDIR)\utilscmn.obj \
103 $(COMMDIR)\validate.obj \
104 $(COMMDIR)\valtext.obj \
105 $(COMMDIR)\date.obj \
106 $(COMMDIR)\wxexpr.obj \
107 $(COMMDIR)\hash.obj \
108 $(COMMDIR)\list.obj \
109 $(COMMDIR)\variant.obj \
110 $(COMMDIR)\string.obj \
111 $(COMMDIR)\time.obj \
112 $(COMMDIR)\y_tab.obj \
113 $(COMMDIR)\stream.obj \
114 $(COMMDIR)\wfstream.obj \
115 $(COMMDIR)\mstream.obj \
116 $(COMMDIR)\zstream.obj \
117 $(COMMDIR)\datstrm.obj \
118 $(COMMDIR)\extended.obj \
119 $(COMMDIR)\wincmn.obj
121 # $(COMMDIR)\fileconf.obj # Doens't compile (nested classes)
124 $(MSWDIR)\accel.obj \
126 $(MSWDIR)\bitmap.obj \
127 $(MSWDIR)\bmpbuttn.obj \
128 $(MSWDIR)\brush.obj \
129 $(MSWDIR)\button.obj \
130 $(MSWDIR)\checkbox.obj \
131 $(MSWDIR)\checklst.obj \
132 $(MSWDIR)\choice.obj \
133 $(MSWDIR)\clipbrd.obj \
134 $(MSWDIR)\colordlg.obj \
135 $(MSWDIR)\colour.obj \
136 $(MSWDIR)\combobox.obj \
137 $(MSWDIR)\control.obj \
138 $(MSWDIR)\curico.obj \
139 $(MSWDIR)\cursor.obj \
142 $(MSWDIR)\dcmemory.obj \
143 $(MSWDIR)\dcclient.obj \
144 $(MSWDIR)\dcprint.obj \
145 $(MSWDIR)\dcscreen.obj \
147 $(MSWDIR)\dialog.obj \
149 $(MSWDIR)\dirdlg.obj \
150 $(MSWDIR)\filedlg.obj \
152 $(MSWDIR)\fontdlg.obj \
153 $(MSWDIR)\frame.obj \
154 $(MSWDIR)\gaugemsw.obj \
155 $(MSWDIR)\gdiobj.obj \
156 $(MSWDIR)\helpwin.obj \
158 $(MSWDIR)\imaglist.obj \
159 $(MSWDIR)\joystick.obj \
160 $(MSWDIR)\listbox.obj \
161 $(MSWDIR)\listctrl.obj \
165 $(MSWDIR)\menuitem.obj \
166 $(MSWDIR)\metafile.obj \
167 $(MSWDIR)\minifram.obj \
168 $(MSWDIR)\msgdlg.obj \
169 $(MSWDIR)\nativdlg.obj \
170 $(MSWDIR)\ownerdrw.obj \
171 $(MSWDIR)\palette.obj \
173 $(MSWDIR)\penwin.obj \
174 $(MSWDIR)\printdlg.obj \
175 $(MSWDIR)\printwin.obj \
176 $(MSWDIR)\radiobox.obj \
177 $(MSWDIR)\radiobut.obj \
178 $(MSWDIR)\region.obj \
179 $(MSWDIR)\scrolbar.obj \
180 $(MSWDIR)\settings.obj \
181 $(MSWDIR)\slidrmsw.obj \
182 $(MSWDIR)\spinbutt.obj \
183 $(MSWDIR)\statbmp.obj \
184 $(MSWDIR)\statbox.obj \
185 $(MSWDIR)\stattext.obj \
186 $(MSWDIR)\tbarmsw.obj \
187 $(MSWDIR)\textctrl.obj \
188 $(MSWDIR)\timer.obj \
189 $(MSWDIR)\treectrl.obj \
190 $(MSWDIR)\utils.obj \
191 $(MSWDIR)\utilsexc.obj \
193 $(MSWDIR)\window.obj \
194 $(OLEDIR)\droptgt.obj \
195 $(OLEDIR)\dropsrc.obj \
196 $(OLEDIR)\dataobj.obj \
197 $(OLEDIR)\oleutils.obj \
200 # $(MSWDIR)\registry.obj \
202 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS)
204 # Normal, static library
205 all: $(DUMMYOBJ) $(WXDIR)\lib\wx1.lib $(WXDIR)\lib\wx2.lib $(WXDIR)\lib\wx3.lib
208 #$(WXDIR)\lib\wx.lib: dummy.obj $(OBJECTS) $(PERIPH_LIBS)
209 # -erase $(LIBTARGET)
210 # lib /PAGESIZE:128 @<<
213 #$(OBJECTS) $(PERIPH_LIBS)
218 $(WXDIR)\lib\wx1.lib: $(COMMONOBJS) $(PERIPH_LIBS)
219 -erase $(WXDIR)\lib\wx1.lib
220 lib /PAGESIZE:128 @<<
223 $(COMMONOBJS) $(PERIPH_LIBS)
228 $(WXDIR)\lib\wx2.lib: $(GENERICOBJS)
229 -erase $(WXDIR)\lib\wx2.lib
230 lib /PAGESIZE:128 @<<
238 $(WXDIR)\lib\wx3.lib: $(MSWOBJS)
239 -erase $(WXDIR)\lib\wx3.lib
240 lib /PAGESIZE:128 @<<
248 ########################################################
249 # Windows-specific objects
251 dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
253 cl $(CPPFLAGS) /YcWX/WXPREC.H $(DEBUG_FLAGS) /c /Tp $*.$(SRCSUFF)
256 #dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
257 # cl $(CPPFLAGS) /YcWX/WXPREC.H $(DEBUG_FLAGS) /c /Tp $*.$(SRCSUFF)
259 dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
261 $(CPPFLAGS) /YcWX/WXPREC.H /c /Tp $*.$(SRCSUFF)
264 $(MSWDIR)/accel.obj: $*.$(SRCSUFF)
266 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
269 $(MSWDIR)/app.obj: $*.$(SRCSUFF)
271 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
274 $(MSWDIR)/bitmap.obj: $*.$(SRCSUFF)
276 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
279 $(MSWDIR)/bmpbuttn.obj: $*.$(SRCSUFF)
281 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
284 $(MSWDIR)/brush.obj: $*.$(SRCSUFF)
286 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
289 $(MSWDIR)/button.obj: $*.$(SRCSUFF)
291 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
294 $(MSWDIR)/choice.obj: $*.$(SRCSUFF)
296 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
299 $(MSWDIR)/checkbox.obj: $*.$(SRCSUFF)
301 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
304 $(MSWDIR)/checklst.obj: $*.$(SRCSUFF)
306 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
309 $(MSWDIR)/clipbrd.obj: $*.$(SRCSUFF)
311 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
314 $(MSWDIR)/colordlg.obj: $*.$(SRCSUFF)
316 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
319 $(MSWDIR)/colour.obj: $*.$(SRCSUFF)
321 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
324 $(MSWDIR)/combobox.obj: $*.$(SRCSUFF)
326 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
329 $(MSWDIR)/control.obj: $*.$(SRCSUFF)
331 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
334 $(MSWDIR)/curico.obj: $*.$(SRCSUFF)
336 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
339 $(MSWDIR)/cursor.obj: $*.$(SRCSUFF)
341 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
344 $(MSWDIR)/data.obj: $*.$(SRCSUFF)
346 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
349 $(MSWDIR)/dc.obj: $*.$(SRCSUFF)
351 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
354 $(MSWDIR)/dde.obj: $*.$(SRCSUFF)
356 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
359 $(MSWDIR)/dcmemory.obj: $*.$(SRCSUFF)
361 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
364 $(MSWDIR)/dcclient.obj: $*.$(SRCSUFF)
366 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
369 $(MSWDIR)/dcprint.obj: $*.$(SRCSUFF)
371 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
374 $(MSWDIR)/dcscreen.obj: $*.$(SRCSUFF)
376 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
379 $(MSWDIR)/dialog.obj: $*.$(SRCSUFF)
381 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
384 $(MSWDIR)/dib.obj: $*.$(SRCSUFF)
386 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
389 $(MSWDIR)/dirdlg.obj: $*.$(SRCSUFF)
391 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
394 $(MSWDIR)/filedlg.obj: $*.$(SRCSUFF)
396 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
399 $(MSWDIR)/font.obj: $*.$(SRCSUFF)
401 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
404 $(MSWDIR)/fontdlg.obj: $*.$(SRCSUFF)
406 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
409 $(MSWDIR)/frame.obj: $*.$(SRCSUFF)
411 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
414 $(MSWDIR)/gaugemsw.obj: $*.$(SRCSUFF)
416 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
419 $(MSWDIR)/gdiobj.obj: $*.$(SRCSUFF)
421 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
424 $(MSWDIR)/helpwin.obj: $*.$(SRCSUFF)
426 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
429 $(MSWDIR)/icon.obj: $*.$(SRCSUFF)
431 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
434 $(MSWDIR)/imaglist.obj: $*.$(SRCSUFF)
436 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
439 $(MSWDIR)/joystick.obj: $*.$(SRCSUFF)
441 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
444 $(MSWDIR)/listbox.obj: $*.$(SRCSUFF)
446 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
449 $(MSWDIR)/listctrl.obj: $*.$(SRCSUFF)
451 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
454 $(MSWDIR)/main.obj: $*.$(SRCSUFF)
456 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
459 $(MSWDIR)/mdi.obj: $*.$(SRCSUFF)
461 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
464 $(MSWDIR)/menu.obj: $*.$(SRCSUFF)
466 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
469 $(MSWDIR)/menuitem.obj: $*.$(SRCSUFF)
471 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
474 $(MSWDIR)/metafile.obj: $*.$(SRCSUFF)
476 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
479 $(MSWDIR)/minifram.obj: $*.$(SRCSUFF)
481 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
484 $(MSWDIR)/msgdlg.obj: $*.$(SRCSUFF)
486 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
489 $(MSWDIR)/nativdlg.obj: $*.$(SRCSUFF)
491 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
494 $(MSWDIR)/ownerdrw.obj: $*.$(SRCSUFF)
496 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
499 $(MSWDIR)/palette.obj: $*.$(SRCSUFF)
501 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
504 $(MSWDIR)/pen.obj: $*.$(SRCSUFF)
506 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
509 $(MSWDIR)/penwin.obj: $*.$(SRCSUFF)
511 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
514 $(MSWDIR)/printdlg.obj: $*.$(SRCSUFF)
516 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
519 $(MSWDIR)/printwin.obj: $*.$(SRCSUFF)
521 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
524 $(MSWDIR)/radiobox.obj: $*.$(SRCSUFF)
526 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
529 $(MSWDIR)/radiobut.obj: $*.$(SRCSUFF)
531 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
534 $(MSWDIR)/region.obj: $*.$(SRCSUFF)
536 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
539 $(MSWDIR)/registry.obj: $*.$(SRCSUFF)
541 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
544 $(MSWDIR)/scrolbar.obj: $*.$(SRCSUFF)
546 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
549 $(MSWDIR)/settings.obj: $*.$(SRCSUFF)
551 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
554 $(MSWDIR)/slidrmsw.obj: $*.$(SRCSUFF)
556 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
559 $(MSWDIR)/spinbutt.obj: $*.$(SRCSUFF)
561 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
564 $(MSWDIR)/statbmp.obj: $*.$(SRCSUFF)
566 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
569 $(MSWDIR)/statbox.obj: $*.$(SRCSUFF)
571 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
574 $(MSWDIR)/stattext.obj: $*.$(SRCSUFF)
576 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
579 $(MSWDIR)/tbarmsw.obj: $*.$(SRCSUFF)
581 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
584 $(MSWDIR)/textctrl.obj: $*.$(SRCSUFF)
586 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
589 $(MSWDIR)/timer.obj: $*.$(SRCSUFF)
591 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
594 $(MSWDIR)/treectrl.obj: $*.$(SRCSUFF)
596 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
599 $(MSWDIR)/utils.obj: $*.$(SRCSUFF)
601 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
604 $(MSWDIR)/utilsexc.obj: $*.$(SRCSUFF)
606 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
609 $(MSWDIR)/wave.obj: $*.$(SRCSUFF)
611 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
614 $(MSWDIR)/window.obj: $*.$(SRCSUFF)
616 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
619 $(OLEDIR)/droptgt.obj: $*.$(SRCSUFF)
621 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
624 $(OLEDIR)/dropsrc.obj: $*.$(SRCSUFF)
626 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
629 $(OLEDIR)/dataobj.obj: $*.$(SRCSUFF)
631 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
634 $(OLEDIR)/oleutils.obj: $*.$(SRCSUFF)
636 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
639 $(OLEDIR)/uuid.obj: $*.$(SRCSUFF)
641 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
644 ########################################################
645 # Common objects (always compiled)
647 $(COMMDIR)/config.obj: $*.$(SRCSUFF)
649 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
652 $(COMMDIR)/cmndata.obj: $*.$(SRCSUFF)
654 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
657 $(COMMDIR)/docview.obj: $*.$(SRCSUFF)
659 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
662 $(COMMDIR)/docmdi.obj: $*.$(SRCSUFF)
664 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
667 $(COMMDIR)/dynarray.obj: $*.$(SRCSUFF)
669 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
672 $(COMMDIR)/event.obj: $*.$(SRCSUFF)
674 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
677 $(COMMDIR)/file.obj: $*.$(SRCSUFF)
679 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
682 $(COMMDIR)/fileconf.obj: $*.$(SRCSUFF)
684 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
687 $(COMMDIR)/filefn.obj: $*.$(SRCSUFF)
689 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
692 $(COMMDIR)/framecmn.obj: $*.$(SRCSUFF)
694 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
697 $(COMMDIR)/gdicmn.obj: $*.$(SRCSUFF)
699 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
702 $(COMMDIR)/helpbase.obj: $*.$(SRCSUFF)
704 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
707 $(COMMDIR)/intl.obj: $*.$(SRCSUFF)
709 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
712 $(COMMDIR)/ipcbase.obj: $*.$(SRCSUFF)
714 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
717 $(COMMDIR)/layout.obj: $*.$(SRCSUFF)
719 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
722 $(COMMDIR)/log.obj: $*.$(SRCSUFF)
724 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
727 $(COMMDIR)/memory.obj: $*.$(SRCSUFF)
729 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
732 $(COMMDIR)/module.obj: $*.$(SRCSUFF)
734 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
737 $(COMMDIR)/object.obj: $*.$(SRCSUFF)
739 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
742 $(COMMDIR)/odbc.obj: $*.$(SRCSUFF)
744 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
747 $(COMMDIR)/postscrp.obj: $*.$(SRCSUFF)
749 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
752 $(COMMDIR)/process.obj: $*.$(SRCSUFF)
754 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
757 $(COMMDIR)/prntbase.obj: $*.$(SRCSUFF)
759 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
762 $(COMMDIR)/resource.obj: $*.$(SRCSUFF)
764 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
767 $(COMMDIR)/tbarbase.obj: $*.$(SRCSUFF)
769 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
772 $(COMMDIR)/tbarsmpl.obj: $*.$(SRCSUFF)
774 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
777 $(COMMDIR)/textfile.obj: $*.$(SRCSUFF)
779 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
782 $(COMMDIR)/timercmn.obj: $*.$(SRCSUFF)
784 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
787 $(COMMDIR)/utilscmn.obj: $*.$(SRCSUFF)
789 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
792 $(COMMDIR)/validate.obj: $*.$(SRCSUFF)
794 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
797 $(COMMDIR)/valtext.obj: $*.$(SRCSUFF)
799 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
802 $(COMMDIR)/date.obj: $*.$(SRCSUFF)
804 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
807 $(COMMDIR)/wxexpr.obj: $*.$(SRCSUFF)
809 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
812 $(COMMDIR)/hash.obj: $*.$(SRCSUFF)
814 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
817 $(COMMDIR)/list.obj: $*.$(SRCSUFF)
819 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
822 $(COMMDIR)/variant.obj: $*.$(SRCSUFF)
824 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
827 $(COMMDIR)/string.obj: $*.$(SRCSUFF)
829 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
832 $(COMMDIR)/matrix.obj: $*.$(SRCSUFF)
834 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
837 $(COMMDIR)/wxstrgnu/wxstrgnu.obj: $*.$(SRCSUFF)
839 $(CPPFLAGS2) /Fo$@ /c /Tp $*.$(SRCSUFF)
842 $(COMMDIR)/wxstrgnu/wxregex.obj: $*.$(SRCSUFF)
844 $(CPPFLAGS2) /Fo$@ /c /Tp $*.$(SRCSUFF)
847 $(COMMDIR)/time.obj: $*.$(SRCSUFF)
849 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
852 $(COMMDIR)/stream.obj: $*.$(SRCSUFF)
854 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
857 $(COMMDIR)/wfstream.obj: $*.$(SRCSUFF)
859 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
862 $(COMMDIR)/mstream.obj: $*.$(SRCSUFF)
864 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
867 $(COMMDIR)/zstream.obj: $*.$(SRCSUFF)
869 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
872 $(COMMDIR)/datstrm.obj: $*.$(SRCSUFF)
874 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
877 $(COMMDIR)/extended.obj: $*.c
879 $(CPPFLAGS2) /Fo$@ /c /Tp $*.c
882 $(COMMDIR)/wincmn.obj: $*.$(SRCSUFF)
884 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
887 $(COMMDIR)/y_tab.obj: $*.c $(COMMDIR)/lex_yy.c
889 $(CPPFLAGS2) -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ /I ..\common /c $*.c
892 $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c
893 copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c
895 $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
896 copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c
898 ########################################################
899 # Generic objects (not always compiled, depending on
900 # whether platforms have native implementations)
902 $(GENDIR)/choicdgg.obj: $*.$(SRCSUFF)
904 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
907 $(GENDIR)/colrdlgg.obj: $*.$(SRCSUFF)
909 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
912 $(GENDIR)/fontdlgg.obj: $*.$(SRCSUFF)
914 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
917 $(GENDIR)/gridg.obj: $*.$(SRCSUFF)
919 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
922 $(GENDIR)/helpxlp.obj: $*.$(SRCSUFF)
924 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
927 $(GENDIR)/msgdlgg.obj: $*.$(SRCSUFF)
929 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
932 $(GENDIR)/panelg.obj: $*.$(SRCSUFF)
934 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
937 $(GENDIR)/printps.obj: $*.$(SRCSUFF)
939 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
942 $(GENDIR)/prntdlgg.obj: $*.$(SRCSUFF)
944 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
947 $(GENDIR)/scrolwin.obj: $*.$(SRCSUFF)
949 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
952 $(GENDIR)/splitter.obj: $*.$(SRCSUFF)
954 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
957 $(GENDIR)/statusbr.obj: $*.$(SRCSUFF)
959 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
962 $(GENDIR)/tabg.obj: $*.$(SRCSUFF)
964 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
967 $(GENDIR)/textdlgg.obj: $*.$(SRCSUFF)
969 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
972 $(OBJECTS): $(WXDIR)/include/wx/setup.h
974 # Peripheral components
977 cd $(WXDIR)\contrib\wxxpm
978 nmake -f makefile.dos FINAL=$(FINAL)
982 cd $(WXDIR)\contrib\wxxpm
983 nmake -f makefile.dos clean
986 clean: $(PERIPH_CLEAN_TARGET)
992 cd $(WXDIR)\src\generic
996 cd $(WXDIR)\src\common
1000 cd $(WXDIR)\src\msw\ole
1010 hlp: wxhlp faqhlp refhlp
1011 wxhlp: $(DOCDIR)/winhelp/wx.hlp
1012 faqhlp: $(DOCDIR)/winhelp/faq.hlp
1013 refhlp: $(DOCDIR)/winhelp/techref.hlp
1014 rtf: $(DOCDIR)/winhelp/wx.rtf
1015 faqrtf: $(DOCDIR)/winhelp/faq.rtf
1016 html: wxhtml faqhtml
1017 wxhtml: $(DOCDIR)\html\wx\wx.htm
1018 faqhtml: $(DOCDIR)\html\faq\faq.htm
1019 ps: faqps wxps referencps
1020 wxps: $(WXDIR)\docs\ps\wx.ps
1021 faqps: $(WXDIR)\docs\ps\faq.ps
1022 referencps: $(WXDIR)\docs\ps\referenc.ps
1024 alldocs: allhlp allhtml allps
1026 allhlp: wxhlp faqhlp
1027 nmake -f makefile.dos hlp
1028 cd $(WXDIR)\utils\wxprop\src
1029 nmake -f makefile.dos hlp
1030 cd $(WXDIR)\utils\dialoged\src
1031 nmake -f makefile.dos hlp
1034 # cd $(WXDIR)\utils\wxhelp\src
1035 # nmake -f makefile.dos hlp
1036 # cd $(WXDIR)\utils\wxhelp2\src
1037 # nmake -f makefile.dos hlp
1038 # cd $(WXDIR)\utils\prologio\src
1039 # nmake -f makefile.dos hlp
1040 # cd $(WXDIR)\utils\tex2rtf\src
1041 # nmake -f makefile.dos hlp
1042 # cd $(WXDIR)\utils\wxgraph\src
1043 # nmake -f makefile.dos hlp
1044 # cd $(WXDIR)\utils\wxchart\src
1045 # nmake -f makefile.dos hlp
1046 # cd $(WXDIR)\utils\wxtree\src
1047 # nmake -f makefile.dos hlp
1048 # cd $(WXDIR)\utils\wxbuild\src
1049 # nmake -f makefile.dos hlp
1050 # cd $(WXDIR)\utils\wxgrid\src
1051 # nmake -f makefile.dos hlp
1052 # cd $(WXDIR)\utils\wxtab\src
1053 # nmake -f makefile.dos hlp
1055 # cd $(WXDIR)\utils\wxclips\src
1056 # nmake -f makefile.dos hlp
1057 # cd $(WXDIR)\utils\clips2c\src
1058 # nmake -f makefile.dos hlp
1060 allhtml: wxhtml faqhtml
1061 nmake -f makefile.dos html
1062 cd $(WXDIR)\utils\wxprop\src
1065 # nmake -f makefile.dos html
1066 # cd $(WXDIR)\utils\dialoged\src
1067 # nmake -f makefile.dos html
1068 # cd $(WXDIR)\utils\hytext\src
1069 # nmake -f makefile.dos html
1070 # cd $(WXDIR)\utils\wxhelp\src
1071 # nmake -f makefile.dos html
1072 # cd $(WXDIR)\utils\wxhelp2\src
1073 # nmake -f makefile.dos html
1074 # cd $(WXDIR)\utils\prologio\src
1075 # nmake -f makefile.dos html
1076 # cd $(WXDIR)\utils\tex2rtf\src
1077 # nmake -f makefile.dos html
1078 # cd $(WXDIR)\utils\wxgraph\src
1079 # nmake -f makefile.dos html
1080 # cd $(WXDIR)\utils\wxchart\src
1081 # nmake -f makefile.dos html
1082 # cd $(WXDIR)\utils\wxtree\src
1083 # nmake -f makefile.dos html
1084 # cd $(WXDIR)\utils\wxtab\src
1085 # nmake -f makefile.dos html
1087 # cd $(WXDIR)\utils\wxclips\src
1088 # nmake -f makefile.dos html
1089 # cd $(WXDIR)\utils\clips2c\src
1090 # nmake -f makefile.dos html
1093 nmake -f makefile.dos ps
1094 cd $(WXDIR)\utils\wxhelp\src
1095 nmake -f makefile.dos ps
1096 cd $(WXDIR)\utils\wxhelp2\src
1097 nmake -f makefile.dos ps
1098 cd $(WXDIR)\utils\tex2rtf\src
1099 nmake -f makefile.dos ps
1100 cd $(WXDIR)\utils\wxgraph\src
1101 nmake -f makefile.dos ps
1102 cd $(WXDIR)\utils\wxchart\src
1103 nmake -f makefile.dos ps
1104 cd $(WXDIR)\utils\wxtree\src
1105 nmake -f makefile.dos ps
1106 cd $(WXDIR)\utils\wxprop\src
1107 nmake -f makefile.dos ps
1108 cd $(WXDIR)\utils\dialoged\src
1109 nmake -f makefile.dos ps
1112 # cd $(WXDIR)\utils\wxtab\src
1113 # nmake -f makefile.dos ps
1114 # cd $(WXDIR)\utils\prologio\src
1115 # nmake -f makefile.dos ps
1116 # cd $(WXDIR)\utils\wxclips\src
1117 # nmake -f makefile.dos ps
1118 # cd $(WXDIR)\utils\clips2c\src
1119 # nmake -f makefile.dos ps
1121 $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
1122 cd $(DOCDIR)/latex/wx
1125 move wx.hlp $(DOCDIR)\winhelp\wx.hlp
1126 move wx.cnt $(DOCDIR)\winhelp\wx.cnt
1129 $(DOCDIR)/winhelp/faq.hlp: $(DOCDIR)/latex/faq/faq.rtf $(DOCDIR)/latex/faq/faq.hpj
1130 cd $(DOCDIR)/latex/faq
1133 move faq.hlp $(DOCDIR)\winhelp\faq.hlp
1134 move faq.cnt $(DOCDIR)\winhelp\faq.cnt
1137 $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj
1138 cd $(DOCDIR)/latex/techref
1141 move techref.hlp $(DOCDIR)\winhelp\techref.hlp
1142 move techref.cnt $(DOCDIR)\winhelp\techref.cnt
1145 $(DOCDIR)/latex/wx/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
1146 cd $(DOCDIR)\latex\wx
1147 -start /w tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
1150 $(DOCDIR)/latex/faq/faq.rtf: $(DOCDIR)/latex/faq/faq.tex
1151 cd $(DOCDIR)\latex\faq
1152 -start /w tex2rtf $(DOCDIR)/latex/faq/faq.tex $(DOCDIR)/latex/faq/faq.rtf -twice -winhelp
1155 $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
1156 cd $(DOCDIR)\latex\techref
1157 -start /w tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp
1160 $(DOCDIR)\html\wx\wx.htm: $(DOCDIR)\latex\wx\classes.tex $(DOCDIR)\latex\wx\body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)\latex\wx\manual.tex
1161 cd $(DOCDIR)\latex\wx
1162 -mkdir $(DOCDIR)\html\wx
1163 -start /w tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html -macros $(DOCDIR)\tex2rtf.ini
1164 -erase $(DOCDIR)\html\wx\*.con
1165 -erase $(DOCDIR)\html\wx\*.ref
1166 -erase $(DOCDIR)\latex\wx\*.con
1167 -erase $(DOCDIR)\latex\wx\*.ref
1170 $(DOCDIR)\html\faq\faq.htm: $(DOCDIR)\latex\faq\faq.tex
1171 cd $(DOCDIR)\latex\faq
1172 -mkdir $(DOCDIR)\html\faq
1173 -start /w tex2rtf $(DOCDIR)\latex\faq\faq.tex $(DOCDIR)\html\faq\faq.htm -twice -html -macros $(DOCDIR)\tex2rtf.ini
1174 -erase $(DOCDIR)\html\faq\*.con
1175 -erase $(DOCDIR)\html\faq\*.ref
1176 -erase $(DOCDIR)\latex\faq\*.con
1177 -erase $(DOCDIR)\latexfaq\*.ref
1180 $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
1181 cd $(WXDIR)\docs\latex\wx
1190 $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
1191 cd $(WXDIR)\docs\latex\wx
1192 -dvips32 -o wx.ps manual
1193 move wx.ps $(WXDIR)\docs\ps\wx.ps
1196 $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
1197 cd $(WXDIR)\docs\latex\wx
1206 $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
1207 cd $(WXDIR)\docs\latex\wx
1208 -dvips32 -o referenc.ps referenc
1209 move referenc.ps $(WXDIR)\docs\ps\referenc.ps
1212 $(WXDIR)\docs\latex\faq\faq.dvi: $(DOCDIR)/latex/faq/faq.tex
1213 cd $(WXDIR)\docs\latex\faq
1221 $(WXDIR)\docs\ps\faq.ps: $(WXDIR)\docs\latex\faq\faq.dvi
1222 cd $(WXDIR)\docs\latex\faq
1223 -dvips32 -o faq.ps faq
1224 move faq.ps $(WXDIR)\docs\ps\faq.ps