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"
38 # !if "$(USE_CTL3D)" == "1"
39 # PERIPH_LIBS=d:\msdev\lib\ctl3d32.lib $(PERIPH_LIBS)
42 !if "$(USE_XPM_IN_MSW)" == "1"
43 PERIPH_LIBS=$(WXDIR)\contrib\wxxpm\xpm.lib $(PERIPH_LIBS)
44 PERIPH_TARGET=xpm $(PERIPH_TARGET)
45 PERIPH_CLEAN_TARGET=clean_xpm $(PERIPH_CLEAN_TARGET)
54 $(GENDIR)\choicdgg.obj \
55 $(GENDIR)\dirdlgg.obj \
57 $(GENDIR)\imaglist.obj \
58 $(GENDIR)\listctrl.obj \
59 $(GENDIR)\notebook.obj \
60 $(GENDIR)\panelg.obj \
62 $(GENDIR)\propform.obj \
63 $(GENDIR)\proplist.obj \
64 $(GENDIR)\scrolwin.obj \
65 $(GENDIR)\splitter.obj \
66 $(GENDIR)\statusbr.obj \
68 $(GENDIR)\textdlgg.obj\
69 $(GENDIR)\treectrl.obj
71 # Don't need these generic objects for Windows
72 # $(GENDIR)\msgdlgg.obj \
73 # $(GENDIR)\fontdlgg.obj \
74 # $(GENDIR)\colrdlgg.obj \
75 # $(GENDIR)\printps.obj \
76 # $(GENDIR)\prntdlgg.obj \
77 # $(GENDIR)\helpxlp.obj \
80 $(COMMDIR)\config.obj \
81 $(COMMDIR)\cmndata.obj \
82 $(COMMDIR)\docview.obj \
83 $(COMMDIR)\docmdi.obj \
84 $(COMMDIR)\dynarray.obj \
85 $(COMMDIR)\event.obj \
87 $(COMMDIR)\filefn.obj \
88 $(COMMDIR)\framecmn.obj \
89 $(COMMDIR)\gdicmn.obj \
91 $(COMMDIR)\helpbase.obj \
92 $(COMMDIR)\ipcbase.obj \
93 $(COMMDIR)\layout.obj \
95 $(COMMDIR)\memory.obj \
96 $(COMMDIR)\module.obj \
97 $(COMMDIR)\object.obj \
99 $(COMMDIR)\process.obj \
100 $(COMMDIR)\prntbase.obj \
101 $(COMMDIR)\resource.obj \
102 $(COMMDIR)\tbarbase.obj \
103 $(COMMDIR)\tbarsmpl.obj \
104 $(COMMDIR)\textfile.obj \
105 $(COMMDIR)\timercmn.obj \
106 $(COMMDIR)\utilscmn.obj \
107 $(COMMDIR)\validate.obj \
108 $(COMMDIR)\valtext.obj \
109 $(COMMDIR)\date.obj \
110 $(COMMDIR)\wxexpr.obj \
111 $(COMMDIR)\hash.obj \
112 $(COMMDIR)\list.obj \
113 $(COMMDIR)\variant.obj \
114 $(COMMDIR)\string.obj \
115 $(COMMDIR)\time.obj \
116 $(COMMDIR)\y_tab.obj \
117 $(COMMDIR)\stream.obj \
118 $(COMMDIR)\wfstream.obj \
119 $(COMMDIR)\mstream.obj \
120 $(COMMDIR)\zstream.obj \
121 $(COMMDIR)\datstrm.obj \
122 $(COMMDIR)\extended.obj \
123 $(COMMDIR)\wincmn.obj
125 # Doesn't compile (nested classes)
126 # $(COMMDIR)\fileconf.obj\
128 # Uses WIN32 registry functions
129 # $(COMMDIR)\mimetype.obj \
131 # Fails when including png.h, on jmp_buf.
132 # $(COMMDIR)\image.obj \
135 # $(COMMDIR)\postscrp.obj \
138 $(MSWDIR)\accel.obj \
140 $(MSWDIR)\bitmap.obj \
141 $(MSWDIR)\bmpbuttn.obj \
142 $(MSWDIR)\brush.obj \
143 $(MSWDIR)\button.obj \
144 $(MSWDIR)\checkbox.obj \
145 $(MSWDIR)\checklst.obj \
146 $(MSWDIR)\choice.obj \
147 $(MSWDIR)\clipbrd.obj \
148 $(MSWDIR)\colordlg.obj \
149 $(MSWDIR)\colour.obj \
150 $(MSWDIR)\combobox.obj \
151 $(MSWDIR)\control.obj \
152 $(MSWDIR)\curico.obj \
153 $(MSWDIR)\cursor.obj \
156 $(MSWDIR)\dcmemory.obj \
157 $(MSWDIR)\dcclient.obj \
158 $(MSWDIR)\dcprint.obj \
159 $(MSWDIR)\dcscreen.obj \
161 $(MSWDIR)\dialog.obj \
163 $(MSWDIR)\filedlg.obj \
165 $(MSWDIR)\fontdlg.obj \
166 $(MSWDIR)\frame.obj \
167 $(MSWDIR)\gaugemsw.obj \
168 $(MSWDIR)\gdiobj.obj \
169 $(MSWDIR)\helpwin.obj \
171 $(MSWDIR)\iniconf.obj\
172 $(MSWDIR)\joystick.obj \
173 $(MSWDIR)\listbox.obj \
177 $(MSWDIR)\menuitem.obj \
178 $(MSWDIR)\metafile.obj \
179 $(MSWDIR)\minifram.obj \
180 $(MSWDIR)\msgdlg.obj \
181 $(MSWDIR)\nativdlg.obj \
182 $(MSWDIR)\ownerdrw.obj \
183 $(MSWDIR)\palette.obj \
185 $(MSWDIR)\penwin.obj \
186 $(MSWDIR)\printdlg.obj \
187 $(MSWDIR)\printwin.obj \
188 $(MSWDIR)\radiobox.obj \
189 $(MSWDIR)\radiobut.obj \
190 $(MSWDIR)\region.obj \
191 $(MSWDIR)\scrolbar.obj \
192 $(MSWDIR)\settings.obj \
193 $(MSWDIR)\slidrmsw.obj \
194 $(MSWDIR)\spinbutt.obj \
195 $(MSWDIR)\statbmp.obj \
196 $(MSWDIR)\statbox.obj \
197 $(MSWDIR)\stattext.obj \
198 $(MSWDIR)\tbarmsw.obj \
199 $(MSWDIR)\textctrl.obj \
200 $(MSWDIR)\timer.obj \
201 $(MSWDIR)\utils.obj \
202 $(MSWDIR)\utilsexc.obj \
204 $(MSWDIR)\window.obj \
205 $(OLEDIR)\dropsrc.obj \
206 $(OLEDIR)\droptgt.obj
208 # $(OLEDIR)\automtn.obj \
209 # $(OLEDIR)\dataobj.obj \
210 # $(OLEDIR)\oleutils.obj \
213 # TODO: Implement XPM and PNG targets in this makefile!
214 # $(OLEDIR)\xpmhand \
215 # $(OLEDIR)\pnghand \
217 # Not appropriate for 16-bit Windows
218 # $(MSWDIR)\registry.obj \
219 # $(MSWDIR)\dirdlg.obj \
220 # $(MSWDIR)\treectrl.obj \
221 # $(MSWDIR)\listctrl.obj \
223 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS)
225 # Normal, static library
226 all: $(DUMMYOBJ) $(WXDIR)\lib\wx1.lib $(WXDIR)\lib\wx2.lib $(WXDIR)\lib\wx3.lib
229 #$(WXDIR)\lib\wx.lib: dummy.obj $(OBJECTS) $(PERIPH_LIBS)
230 # -erase $(LIBTARGET)
231 # lib /PAGESIZE:128 @<<
234 #$(OBJECTS) $(PERIPH_LIBS)
239 $(WXDIR)\lib\wx1.lib: $(COMMONOBJS) $(PERIPH_LIBS)
240 -erase $(WXDIR)\lib\wx1.lib
241 lib /PAGESIZE:128 @<<
244 $(COMMONOBJS) $(PERIPH_LIBS)
249 $(WXDIR)\lib\wx2.lib: $(GENERICOBJS)
250 -erase $(WXDIR)\lib\wx2.lib
251 lib /PAGESIZE:128 @<<
259 $(WXDIR)\lib\wx3.lib: $(MSWOBJS)
260 -erase $(WXDIR)\lib\wx3.lib
261 lib /PAGESIZE:128 @<<
269 ########################################################
270 # Windows-specific objects
272 dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
274 cl $(CPPFLAGS) /YcWX/WXPREC.H $(DEBUG_FLAGS) /c /Tp $*.$(SRCSUFF)
277 #dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
278 # cl $(CPPFLAGS) /YcWX/WXPREC.H $(DEBUG_FLAGS) /c /Tp $*.$(SRCSUFF)
280 dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
282 $(CPPFLAGS) /YcWX/WXPREC.H /c /Tp $*.$(SRCSUFF)
285 $(MSWDIR)/accel.obj: $*.$(SRCSUFF)
287 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
290 $(MSWDIR)/app.obj: $*.$(SRCSUFF)
292 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
295 $(MSWDIR)/bitmap.obj: $*.$(SRCSUFF)
297 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
300 $(MSWDIR)/bmpbuttn.obj: $*.$(SRCSUFF)
302 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
305 $(MSWDIR)/brush.obj: $*.$(SRCSUFF)
307 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
310 $(MSWDIR)/button.obj: $*.$(SRCSUFF)
312 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
315 $(MSWDIR)/choice.obj: $*.$(SRCSUFF)
317 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
320 $(MSWDIR)/checkbox.obj: $*.$(SRCSUFF)
322 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
325 $(MSWDIR)/checklst.obj: $*.$(SRCSUFF)
327 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
330 $(MSWDIR)/clipbrd.obj: $*.$(SRCSUFF)
332 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
335 $(MSWDIR)/colordlg.obj: $*.$(SRCSUFF)
337 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
340 $(MSWDIR)/colour.obj: $*.$(SRCSUFF)
342 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
345 $(MSWDIR)/combobox.obj: $*.$(SRCSUFF)
347 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
350 $(MSWDIR)/control.obj: $*.$(SRCSUFF)
352 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
355 $(MSWDIR)/curico.obj: $*.$(SRCSUFF)
357 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
360 $(MSWDIR)/cursor.obj: $*.$(SRCSUFF)
362 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
365 $(MSWDIR)/data.obj: $*.$(SRCSUFF)
367 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
370 $(MSWDIR)/dc.obj: $*.$(SRCSUFF)
372 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
375 $(MSWDIR)/dde.obj: $*.$(SRCSUFF)
377 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
380 $(MSWDIR)/dcmemory.obj: $*.$(SRCSUFF)
382 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
385 $(MSWDIR)/dcclient.obj: $*.$(SRCSUFF)
387 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
390 $(MSWDIR)/dcprint.obj: $*.$(SRCSUFF)
392 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
395 $(MSWDIR)/dcscreen.obj: $*.$(SRCSUFF)
397 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
400 $(MSWDIR)/dialog.obj: $*.$(SRCSUFF)
402 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
405 $(MSWDIR)/dib.obj: $*.$(SRCSUFF)
407 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
410 $(MSWDIR)/dirdlg.obj: $*.$(SRCSUFF)
412 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
415 $(MSWDIR)/filedlg.obj: $*.$(SRCSUFF)
417 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
420 $(MSWDIR)/font.obj: $*.$(SRCSUFF)
422 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
425 $(MSWDIR)/fontdlg.obj: $*.$(SRCSUFF)
427 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
430 $(MSWDIR)/frame.obj: $*.$(SRCSUFF)
432 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
435 $(MSWDIR)/gaugemsw.obj: $*.$(SRCSUFF)
437 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
440 $(MSWDIR)/gdiobj.obj: $*.$(SRCSUFF)
442 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
445 $(MSWDIR)/helpwin.obj: $*.$(SRCSUFF)
447 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
450 $(MSWDIR)/icon.obj: $*.$(SRCSUFF)
452 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
455 $(MSWDIR)/iniconf.obj: $*.$(SRCSUFF)
457 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
460 $(MSWDIR)/imaglist.obj: $*.$(SRCSUFF)
462 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
465 $(MSWDIR)/joystick.obj: $*.$(SRCSUFF)
467 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
470 $(MSWDIR)/listbox.obj: $*.$(SRCSUFF)
472 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
475 $(MSWDIR)/listctrl.obj: $*.$(SRCSUFF)
477 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
480 $(MSWDIR)/main.obj: $*.$(SRCSUFF)
482 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
485 $(MSWDIR)/mdi.obj: $*.$(SRCSUFF)
487 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
490 $(MSWDIR)/menu.obj: $*.$(SRCSUFF)
492 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
495 $(MSWDIR)/menuitem.obj: $*.$(SRCSUFF)
497 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
500 $(MSWDIR)/metafile.obj: $*.$(SRCSUFF)
502 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
505 $(MSWDIR)/minifram.obj: $*.$(SRCSUFF)
507 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
510 $(MSWDIR)/msgdlg.obj: $*.$(SRCSUFF)
512 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
515 $(MSWDIR)/nativdlg.obj: $*.$(SRCSUFF)
517 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
520 $(MSWDIR)/ownerdrw.obj: $*.$(SRCSUFF)
522 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
525 $(MSWDIR)/palette.obj: $*.$(SRCSUFF)
527 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
530 $(MSWDIR)/pen.obj: $*.$(SRCSUFF)
532 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
535 $(MSWDIR)/penwin.obj: $*.$(SRCSUFF)
537 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
540 $(MSWDIR)/printdlg.obj: $*.$(SRCSUFF)
542 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
545 $(MSWDIR)/printwin.obj: $*.$(SRCSUFF)
547 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
550 $(MSWDIR)/radiobox.obj: $*.$(SRCSUFF)
552 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
555 $(MSWDIR)/radiobut.obj: $*.$(SRCSUFF)
557 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
560 $(MSWDIR)/region.obj: $*.$(SRCSUFF)
562 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
565 $(MSWDIR)/registry.obj: $*.$(SRCSUFF)
567 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
570 $(MSWDIR)/scrolbar.obj: $*.$(SRCSUFF)
572 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
575 $(MSWDIR)/settings.obj: $*.$(SRCSUFF)
577 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
580 $(MSWDIR)/slidrmsw.obj: $*.$(SRCSUFF)
582 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
585 $(MSWDIR)/spinbutt.obj: $*.$(SRCSUFF)
587 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
590 $(MSWDIR)/statbmp.obj: $*.$(SRCSUFF)
592 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
595 $(MSWDIR)/statbox.obj: $*.$(SRCSUFF)
597 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
600 $(MSWDIR)/stattext.obj: $*.$(SRCSUFF)
602 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
605 $(MSWDIR)/tbarmsw.obj: $*.$(SRCSUFF)
607 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
610 $(MSWDIR)/textctrl.obj: $*.$(SRCSUFF)
612 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
615 $(MSWDIR)/timer.obj: $*.$(SRCSUFF)
617 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
620 $(MSWDIR)/treectrl.obj: $*.$(SRCSUFF)
622 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
625 $(MSWDIR)/utils.obj: $*.$(SRCSUFF)
627 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
630 $(MSWDIR)/utilsexc.obj: $*.$(SRCSUFF)
632 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
635 $(MSWDIR)/wave.obj: $*.$(SRCSUFF)
637 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
640 $(MSWDIR)/window.obj: $*.$(SRCSUFF)
642 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
645 $(OLEDIR)/droptgt.obj: $*.$(SRCSUFF)
647 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
650 $(OLEDIR)/dropsrc.obj: $*.$(SRCSUFF)
652 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
655 $(OLEDIR)/dataobj.obj: $*.$(SRCSUFF)
657 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
660 $(OLEDIR)/oleutils.obj: $*.$(SRCSUFF)
662 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
665 $(OLEDIR)/uuid.obj: $*.$(SRCSUFF)
667 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
670 $(OLEDIR)/automtn.obj: $*.$(SRCSUFF)
672 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
675 ########################################################
676 # Common objects (always compiled)
678 $(COMMDIR)/config.obj: $*.$(SRCSUFF)
680 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
683 $(COMMDIR)/cmndata.obj: $*.$(SRCSUFF)
685 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
688 $(COMMDIR)/docview.obj: $*.$(SRCSUFF)
690 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
693 $(COMMDIR)/docmdi.obj: $*.$(SRCSUFF)
695 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
698 $(COMMDIR)/dynarray.obj: $*.$(SRCSUFF)
700 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
703 $(COMMDIR)/event.obj: $*.$(SRCSUFF)
705 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
708 $(COMMDIR)/file.obj: $*.$(SRCSUFF)
710 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
713 $(COMMDIR)/fileconf.obj: $*.$(SRCSUFF)
715 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
718 $(COMMDIR)/filefn.obj: $*.$(SRCSUFF)
720 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
723 $(COMMDIR)/framecmn.obj: $*.$(SRCSUFF)
725 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
728 $(COMMDIR)/gdicmn.obj: $*.$(SRCSUFF)
730 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
733 $(COMMDIR)/helpbase.obj: $*.$(SRCSUFF)
735 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
738 $(COMMDIR)/image.obj: $*.$(SRCSUFF)
740 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
743 $(COMMDIR)/intl.obj: $*.$(SRCSUFF)
745 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
748 $(COMMDIR)/ipcbase.obj: $*.$(SRCSUFF)
750 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
753 $(COMMDIR)/layout.obj: $*.$(SRCSUFF)
755 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
758 $(COMMDIR)/log.obj: $*.$(SRCSUFF)
760 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
763 $(COMMDIR)/memory.obj: $*.$(SRCSUFF)
765 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
768 $(COMMDIR)/mimetype.obj: $*.$(SRCSUFF)
770 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
773 $(COMMDIR)/module.obj: $*.$(SRCSUFF)
775 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
778 $(COMMDIR)/object.obj: $*.$(SRCSUFF)
780 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
783 $(COMMDIR)/odbc.obj: $*.$(SRCSUFF)
785 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
788 $(COMMDIR)/postscrp.obj: $*.$(SRCSUFF)
790 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
793 $(COMMDIR)/process.obj: $*.$(SRCSUFF)
795 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
798 $(COMMDIR)/prntbase.obj: $*.$(SRCSUFF)
800 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
803 $(COMMDIR)/resource.obj: $*.$(SRCSUFF)
805 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
808 $(COMMDIR)/tbarbase.obj: $*.$(SRCSUFF)
810 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
813 $(COMMDIR)/tbarsmpl.obj: $*.$(SRCSUFF)
815 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
818 $(COMMDIR)/textfile.obj: $*.$(SRCSUFF)
820 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
823 $(COMMDIR)/timercmn.obj: $*.$(SRCSUFF)
825 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
828 $(COMMDIR)/utilscmn.obj: $*.$(SRCSUFF)
830 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
833 $(COMMDIR)/validate.obj: $*.$(SRCSUFF)
835 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
838 $(COMMDIR)/valtext.obj: $*.$(SRCSUFF)
840 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
843 $(COMMDIR)/date.obj: $*.$(SRCSUFF)
845 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
848 $(COMMDIR)/wxexpr.obj: $*.$(SRCSUFF)
850 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
853 $(COMMDIR)/hash.obj: $*.$(SRCSUFF)
855 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
858 $(COMMDIR)/list.obj: $*.$(SRCSUFF)
860 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
863 $(COMMDIR)/variant.obj: $*.$(SRCSUFF)
865 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
868 $(COMMDIR)/string.obj: $*.$(SRCSUFF)
870 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
873 $(COMMDIR)/matrix.obj: $*.$(SRCSUFF)
875 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
878 $(COMMDIR)/wxstrgnu/wxstrgnu.obj: $*.$(SRCSUFF)
880 $(CPPFLAGS2) /Fo$@ /c /Tp $*.$(SRCSUFF)
883 $(COMMDIR)/wxstrgnu/wxregex.obj: $*.$(SRCSUFF)
885 $(CPPFLAGS2) /Fo$@ /c /Tp $*.$(SRCSUFF)
888 $(COMMDIR)/time.obj: $*.$(SRCSUFF)
890 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
893 $(COMMDIR)/stream.obj: $*.$(SRCSUFF)
895 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
898 $(COMMDIR)/wfstream.obj: $*.$(SRCSUFF)
900 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
903 $(COMMDIR)/mstream.obj: $*.$(SRCSUFF)
905 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
908 $(COMMDIR)/zstream.obj: $*.$(SRCSUFF)
910 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
913 $(COMMDIR)/datstrm.obj: $*.$(SRCSUFF)
915 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
918 $(COMMDIR)/extended.obj: $*.c
920 $(CPPFLAGS2) /Fo$@ /c /Tp $*.c
923 $(COMMDIR)/wincmn.obj: $*.$(SRCSUFF)
925 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
928 $(COMMDIR)/y_tab.obj: $*.c $(COMMDIR)/lex_yy.c
930 $(CPPFLAGS2) -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ /I ..\common /c $*.c
933 $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c
934 copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c
936 $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
937 copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c
939 ########################################################
940 # Generic objects (not always compiled, depending on
941 # whether platforms have native implementations)
943 $(GENDIR)/choicdgg.obj: $*.$(SRCSUFF)
945 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
948 $(GENDIR)/colrdlgg.obj: $*.$(SRCSUFF)
950 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
953 $(GENDIR)/dirdlgg.obj: $*.$(SRCSUFF)
955 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
958 $(GENDIR)/fontdlgg.obj: $*.$(SRCSUFF)
960 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
963 $(GENDIR)/gridg.obj: $*.$(SRCSUFF)
965 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
968 $(GENDIR)/imaglist.obj: $*.$(SRCSUFF)
970 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
973 $(GENDIR)/listctrl.obj: $*.$(SRCSUFF)
975 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
978 $(GENDIR)/notebook.obj: $*.$(SRCSUFF)
980 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
983 $(GENDIR)/helpxlp.obj: $*.$(SRCSUFF)
985 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
988 $(GENDIR)/msgdlgg.obj: $*.$(SRCSUFF)
990 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
993 $(GENDIR)/panelg.obj: $*.$(SRCSUFF)
995 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
998 $(GENDIR)/printps.obj: $*.$(SRCSUFF)
1000 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
1003 $(GENDIR)/prntdlgg.obj: $*.$(SRCSUFF)
1005 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
1008 $(GENDIR)/prop.obj: $*.$(SRCSUFF)
1010 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
1013 $(GENDIR)/propform.obj: $*.$(SRCSUFF)
1015 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
1018 $(GENDIR)/proplist.obj: $*.$(SRCSUFF)
1020 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
1023 $(GENDIR)/scrolwin.obj: $*.$(SRCSUFF)
1025 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
1028 $(GENDIR)/splitter.obj: $*.$(SRCSUFF)
1030 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
1033 $(GENDIR)/statusbr.obj: $*.$(SRCSUFF)
1035 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
1038 $(GENDIR)/tabg.obj: $*.$(SRCSUFF)
1040 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
1043 $(GENDIR)/textdlgg.obj: $*.$(SRCSUFF)
1045 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
1048 $(GENDIR)/treectrl.obj: $*.$(SRCSUFF)
1050 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
1053 $(OBJECTS): $(WXDIR)/include/wx/setup.h
1055 # Peripheral components
1058 cd $(WXDIR)\contrib\wxxpm
1059 nmake -f makefile.dos FINAL=$(FINAL)
1063 cd $(WXDIR)\contrib\wxxpm
1064 nmake -f makefile.dos clean
1067 clean: $(PERIPH_CLEAN_TARGET)
1073 cd $(WXDIR)\src\generic
1077 cd $(WXDIR)\src\common
1081 cd $(WXDIR)\src\msw\ole