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 \
85 $(COMMDIR)\helpbase.obj \
86 $(COMMDIR)\ipcbase.obj \
87 $(COMMDIR)\layout.obj \
89 $(COMMDIR)\memory.obj \
90 $(COMMDIR)\module.obj \
91 $(COMMDIR)\object.obj \
93 $(COMMDIR)\postscrp.obj \
94 $(COMMDIR)\process.obj \
95 $(COMMDIR)\prntbase.obj \
96 $(COMMDIR)\resource.obj \
97 $(COMMDIR)\tbarbase.obj \
98 $(COMMDIR)\tbarsmpl.obj \
99 $(COMMDIR)\textfile.obj \
100 $(COMMDIR)\timercmn.obj \
101 $(COMMDIR)\utilscmn.obj \
102 $(COMMDIR)\validate.obj \
103 $(COMMDIR)\valtext.obj \
104 $(COMMDIR)\date.obj \
105 $(COMMDIR)\wxexpr.obj \
106 $(COMMDIR)\hash.obj \
107 $(COMMDIR)\list.obj \
108 $(COMMDIR)\variant.obj \
109 $(COMMDIR)\string.obj \
110 $(COMMDIR)\time.obj \
111 $(COMMDIR)\y_tab.obj \
112 $(COMMDIR)\stream.obj \
113 $(COMMDIR)\fstream.obj \
114 $(COMMDIR)\mstream.obj \
115 $(COMMDIR)\zstream.obj \
116 $(COMMDIR)\datstrm.obj \
117 $(COMMDIR)\extended.obj \
118 $(COMMDIR)\wincmn.obj
120 # $(COMMDIR)\fileconf.obj # Doens't compile (nested classes)
123 $(MSWDIR)\accel.obj \
125 $(MSWDIR)\bitmap.obj \
126 $(MSWDIR)\bmpbuttn.obj \
127 $(MSWDIR)\brush.obj \
128 $(MSWDIR)\button.obj \
129 $(MSWDIR)\checkbox.obj \
130 $(MSWDIR)\checklst.obj \
131 $(MSWDIR)\choice.obj \
132 $(MSWDIR)\clipbrd.obj \
133 $(MSWDIR)\colordlg.obj \
134 $(MSWDIR)\colour.obj \
135 $(MSWDIR)\combobox.obj \
136 $(MSWDIR)\control.obj \
137 $(MSWDIR)\curico.obj \
138 $(MSWDIR)\cursor.obj \
141 $(MSWDIR)\dcmemory.obj \
142 $(MSWDIR)\dcclient.obj \
143 $(MSWDIR)\dcprint.obj \
144 $(MSWDIR)\dcscreen.obj \
146 $(MSWDIR)\dialog.obj \
148 $(MSWDIR)\dirdlg.obj \
149 $(MSWDIR)\filedlg.obj \
151 $(MSWDIR)\fontdlg.obj \
152 $(MSWDIR)\frame.obj \
153 $(MSWDIR)\gaugemsw.obj \
154 $(MSWDIR)\gdiobj.obj \
155 $(MSWDIR)\helpwin.obj \
157 $(MSWDIR)\imaglist.obj \
158 $(MSWDIR)\joystick.obj \
159 $(MSWDIR)\listbox.obj \
160 $(MSWDIR)\listctrl.obj \
164 $(MSWDIR)\menuitem.obj \
165 $(MSWDIR)\metafile.obj \
166 $(MSWDIR)\minifram.obj \
167 $(MSWDIR)\msgdlg.obj \
168 $(MSWDIR)\nativdlg.obj \
169 $(MSWDIR)\ownerdrw.obj \
170 $(MSWDIR)\palette.obj \
172 $(MSWDIR)\penwin.obj \
173 $(MSWDIR)\printdlg.obj \
174 $(MSWDIR)\printwin.obj \
175 $(MSWDIR)\radiobox.obj \
176 $(MSWDIR)\radiobut.obj \
177 $(MSWDIR)\region.obj \
178 $(MSWDIR)\scrolbar.obj \
179 $(MSWDIR)\settings.obj \
180 $(MSWDIR)\slidrmsw.obj \
181 $(MSWDIR)\spinbutt.obj \
182 $(MSWDIR)\statbmp.obj \
183 $(MSWDIR)\statbox.obj \
184 $(MSWDIR)\stattext.obj \
185 $(MSWDIR)\tbarmsw.obj \
186 $(MSWDIR)\textctrl.obj \
187 $(MSWDIR)\timer.obj \
188 $(MSWDIR)\treectrl.obj \
189 $(MSWDIR)\utils.obj \
190 $(MSWDIR)\utilsexc.obj \
192 $(MSWDIR)\window.obj \
193 $(OLEDIR)\droptgt.obj \
194 $(OLEDIR)\dropsrc.obj \
195 $(OLEDIR)\dataobj.obj \
196 $(OLEDIR)\oleutils.obj \
199 # $(MSWDIR)\registry.obj \
201 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS)
203 # Normal, static library
204 all: $(DUMMYOBJ) $(WXDIR)\lib\wx1.lib $(WXDIR)\lib\wx2.lib $(WXDIR)\lib\wx3.lib
207 #$(WXDIR)\lib\wx.lib: dummy.obj $(OBJECTS) $(PERIPH_LIBS)
208 # -erase $(LIBTARGET)
209 # lib /PAGESIZE:128 @<<
212 #$(OBJECTS) $(PERIPH_LIBS)
217 $(WXDIR)\lib\wx1.lib: $(COMMONOBJS) $(PERIPH_LIBS)
218 -erase $(WXDIR)\lib\wx1.lib
219 lib /PAGESIZE:128 @<<
222 $(COMMONOBJS) $(PERIPH_LIBS)
227 $(WXDIR)\lib\wx2.lib: $(GENERICOBJS)
228 -erase $(WXDIR)\lib\wx2.lib
229 lib /PAGESIZE:128 @<<
237 $(WXDIR)\lib\wx3.lib: $(MSWOBJS)
238 -erase $(WXDIR)\lib\wx3.lib
239 lib /PAGESIZE:128 @<<
247 ########################################################
248 # Windows-specific objects
250 dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
252 cl $(CPPFLAGS) /YcWX/WXPREC.H $(DEBUG_FLAGS) /c /Tp $*.$(SRCSUFF)
255 #dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
256 # cl $(CPPFLAGS) /YcWX/WXPREC.H $(DEBUG_FLAGS) /c /Tp $*.$(SRCSUFF)
258 dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
260 $(CPPFLAGS) /YcWX/WXPREC.H /c /Tp $*.$(SRCSUFF)
263 $(MSWDIR)/accel.obj: $*.$(SRCSUFF)
265 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
268 $(MSWDIR)/app.obj: $*.$(SRCSUFF)
270 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
273 $(MSWDIR)/bitmap.obj: $*.$(SRCSUFF)
275 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
278 $(MSWDIR)/bmpbuttn.obj: $*.$(SRCSUFF)
280 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
283 $(MSWDIR)/brush.obj: $*.$(SRCSUFF)
285 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
288 $(MSWDIR)/button.obj: $*.$(SRCSUFF)
290 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
293 $(MSWDIR)/choice.obj: $*.$(SRCSUFF)
295 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
298 $(MSWDIR)/checkbox.obj: $*.$(SRCSUFF)
300 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
303 $(MSWDIR)/checklst.obj: $*.$(SRCSUFF)
305 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
308 $(MSWDIR)/clipbrd.obj: $*.$(SRCSUFF)
310 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
313 $(MSWDIR)/colordlg.obj: $*.$(SRCSUFF)
315 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
318 $(MSWDIR)/colour.obj: $*.$(SRCSUFF)
320 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
323 $(MSWDIR)/combobox.obj: $*.$(SRCSUFF)
325 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
328 $(MSWDIR)/control.obj: $*.$(SRCSUFF)
330 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
333 $(MSWDIR)/curico.obj: $*.$(SRCSUFF)
335 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
338 $(MSWDIR)/cursor.obj: $*.$(SRCSUFF)
340 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
343 $(MSWDIR)/data.obj: $*.$(SRCSUFF)
345 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
348 $(MSWDIR)/dc.obj: $*.$(SRCSUFF)
350 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
353 $(MSWDIR)/dde.obj: $*.$(SRCSUFF)
355 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
358 $(MSWDIR)/dcmemory.obj: $*.$(SRCSUFF)
360 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
363 $(MSWDIR)/dcclient.obj: $*.$(SRCSUFF)
365 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
368 $(MSWDIR)/dcprint.obj: $*.$(SRCSUFF)
370 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
373 $(MSWDIR)/dcscreen.obj: $*.$(SRCSUFF)
375 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
378 $(MSWDIR)/dialog.obj: $*.$(SRCSUFF)
380 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
383 $(MSWDIR)/dib.obj: $*.$(SRCSUFF)
385 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
388 $(MSWDIR)/dirdlg.obj: $*.$(SRCSUFF)
390 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
393 $(MSWDIR)/filedlg.obj: $*.$(SRCSUFF)
395 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
398 $(MSWDIR)/font.obj: $*.$(SRCSUFF)
400 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
403 $(MSWDIR)/fontdlg.obj: $*.$(SRCSUFF)
405 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
408 $(MSWDIR)/frame.obj: $*.$(SRCSUFF)
410 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
413 $(MSWDIR)/gaugemsw.obj: $*.$(SRCSUFF)
415 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
418 $(MSWDIR)/gdiobj.obj: $*.$(SRCSUFF)
420 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
423 $(MSWDIR)/helpwin.obj: $*.$(SRCSUFF)
425 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
428 $(MSWDIR)/icon.obj: $*.$(SRCSUFF)
430 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
433 $(MSWDIR)/imaglist.obj: $*.$(SRCSUFF)
435 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
438 $(MSWDIR)/joystick.obj: $*.$(SRCSUFF)
440 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
443 $(MSWDIR)/listbox.obj: $*.$(SRCSUFF)
445 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
448 $(MSWDIR)/listctrl.obj: $*.$(SRCSUFF)
450 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
453 $(MSWDIR)/main.obj: $*.$(SRCSUFF)
455 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
458 $(MSWDIR)/mdi.obj: $*.$(SRCSUFF)
460 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
463 $(MSWDIR)/menu.obj: $*.$(SRCSUFF)
465 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
468 $(MSWDIR)/menuitem.obj: $*.$(SRCSUFF)
470 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
473 $(MSWDIR)/metafile.obj: $*.$(SRCSUFF)
475 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
478 $(MSWDIR)/minifram.obj: $*.$(SRCSUFF)
480 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
483 $(MSWDIR)/msgdlg.obj: $*.$(SRCSUFF)
485 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
488 $(MSWDIR)/nativdlg.obj: $*.$(SRCSUFF)
490 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
493 $(MSWDIR)/ownerdrw.obj: $*.$(SRCSUFF)
495 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
498 $(MSWDIR)/palette.obj: $*.$(SRCSUFF)
500 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
503 $(MSWDIR)/pen.obj: $*.$(SRCSUFF)
505 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
508 $(MSWDIR)/penwin.obj: $*.$(SRCSUFF)
510 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
513 $(MSWDIR)/printdlg.obj: $*.$(SRCSUFF)
515 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
518 $(MSWDIR)/printwin.obj: $*.$(SRCSUFF)
520 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
523 $(MSWDIR)/radiobox.obj: $*.$(SRCSUFF)
525 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
528 $(MSWDIR)/radiobut.obj: $*.$(SRCSUFF)
530 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
533 $(MSWDIR)/region.obj: $*.$(SRCSUFF)
535 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
538 $(MSWDIR)/registry.obj: $*.$(SRCSUFF)
540 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
543 $(MSWDIR)/scrolbar.obj: $*.$(SRCSUFF)
545 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
548 $(MSWDIR)/settings.obj: $*.$(SRCSUFF)
550 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
553 $(MSWDIR)/slidrmsw.obj: $*.$(SRCSUFF)
555 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
558 $(MSWDIR)/spinbutt.obj: $*.$(SRCSUFF)
560 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
563 $(MSWDIR)/statbmp.obj: $*.$(SRCSUFF)
565 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
568 $(MSWDIR)/statbox.obj: $*.$(SRCSUFF)
570 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
573 $(MSWDIR)/stattext.obj: $*.$(SRCSUFF)
575 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
578 $(MSWDIR)/tbarmsw.obj: $*.$(SRCSUFF)
580 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
583 $(MSWDIR)/textctrl.obj: $*.$(SRCSUFF)
585 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
588 $(MSWDIR)/timer.obj: $*.$(SRCSUFF)
590 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
593 $(MSWDIR)/treectrl.obj: $*.$(SRCSUFF)
595 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
598 $(MSWDIR)/utils.obj: $*.$(SRCSUFF)
600 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
603 $(MSWDIR)/utilsexc.obj: $*.$(SRCSUFF)
605 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
608 $(MSWDIR)/wave.obj: $*.$(SRCSUFF)
610 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
613 $(MSWDIR)/window.obj: $*.$(SRCSUFF)
615 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
618 $(OLEDIR)/droptgt.obj: $*.$(SRCSUFF)
620 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
623 $(OLEDIR)/dropsrc.obj: $*.$(SRCSUFF)
625 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
628 $(OLEDIR)/dataobj.obj: $*.$(SRCSUFF)
630 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
633 $(OLEDIR)/oleutils.obj: $*.$(SRCSUFF)
635 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
638 $(OLEDIR)/uuid.obj: $*.$(SRCSUFF)
640 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
643 ########################################################
644 # Common objects (always compiled)
646 $(COMMDIR)/config.obj: $*.$(SRCSUFF)
648 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
651 $(COMMDIR)/cmndata.obj: $*.$(SRCSUFF)
653 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
656 $(COMMDIR)/docview.obj: $*.$(SRCSUFF)
658 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
661 $(COMMDIR)/docmdi.obj: $*.$(SRCSUFF)
663 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
666 $(COMMDIR)/dynarray.obj: $*.$(SRCSUFF)
668 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
671 $(COMMDIR)/event.obj: $*.$(SRCSUFF)
673 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
676 $(COMMDIR)/file.obj: $*.$(SRCSUFF)
678 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
681 $(COMMDIR)/fileconf.obj: $*.$(SRCSUFF)
683 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
686 $(COMMDIR)/filefn.obj: $*.$(SRCSUFF)
688 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
691 $(COMMDIR)/framecmn.obj: $*.$(SRCSUFF)
693 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
696 $(COMMDIR)/gdicmn.obj: $*.$(SRCSUFF)
698 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
701 $(COMMDIR)/helpbase.obj: $*.$(SRCSUFF)
703 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
706 $(COMMDIR)/intl.obj: $*.$(SRCSUFF)
708 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
711 $(COMMDIR)/ipcbase.obj: $*.$(SRCSUFF)
713 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
716 $(COMMDIR)/layout.obj: $*.$(SRCSUFF)
718 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
721 $(COMMDIR)/log.obj: $*.$(SRCSUFF)
723 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
726 $(COMMDIR)/memory.obj: $*.$(SRCSUFF)
728 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
731 $(COMMDIR)/module.obj: $*.$(SRCSUFF)
733 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
736 $(COMMDIR)/object.obj: $*.$(SRCSUFF)
738 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
741 $(COMMDIR)/odbc.obj: $*.$(SRCSUFF)
743 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
746 $(COMMDIR)/postscrp.obj: $*.$(SRCSUFF)
748 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
751 $(COMMDIR)/process.obj: $*.$(SRCSUFF)
753 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
756 $(COMMDIR)/prntbase.obj: $*.$(SRCSUFF)
758 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
761 $(COMMDIR)/resource.obj: $*.$(SRCSUFF)
763 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
766 $(COMMDIR)/tbarbase.obj: $*.$(SRCSUFF)
768 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
771 $(COMMDIR)/tbarsmpl.obj: $*.$(SRCSUFF)
773 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
776 $(COMMDIR)/textfile.obj: $*.$(SRCSUFF)
778 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
781 $(COMMDIR)/timercmn.obj: $*.$(SRCSUFF)
783 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
786 $(COMMDIR)/utilscmn.obj: $*.$(SRCSUFF)
788 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
791 $(COMMDIR)/validate.obj: $*.$(SRCSUFF)
793 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
796 $(COMMDIR)/valtext.obj: $*.$(SRCSUFF)
798 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
801 $(COMMDIR)/date.obj: $*.$(SRCSUFF)
803 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
806 $(COMMDIR)/wxexpr.obj: $*.$(SRCSUFF)
808 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
811 $(COMMDIR)/hash.obj: $*.$(SRCSUFF)
813 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
816 $(COMMDIR)/list.obj: $*.$(SRCSUFF)
818 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
821 $(COMMDIR)/variant.obj: $*.$(SRCSUFF)
823 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
826 $(COMMDIR)/string.obj: $*.$(SRCSUFF)
828 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
831 $(COMMDIR)/matrix.obj: $*.$(SRCSUFF)
833 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
836 $(COMMDIR)/wxstrgnu/wxstrgnu.obj: $*.$(SRCSUFF)
838 $(CPPFLAGS2) /Fo$@ /c /Tp $*.$(SRCSUFF)
841 $(COMMDIR)/wxstrgnu/wxregex.obj: $*.$(SRCSUFF)
843 $(CPPFLAGS2) /Fo$@ /c /Tp $*.$(SRCSUFF)
846 $(COMMDIR)/time.obj: $*.$(SRCSUFF)
848 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
851 $(COMMDIR)/stream.obj: $*.$(SRCSUFF)
853 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
856 $(COMMDIR)/fstream.obj: $*.$(SRCSUFF)
858 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
861 $(COMMDIR)/mstream.obj: $*.$(SRCSUFF)
863 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
866 $(COMMDIR)/zstream.obj: $*.$(SRCSUFF)
868 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
871 $(COMMDIR)/datstrm.obj: $*.$(SRCSUFF)
873 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
876 $(COMMDIR)/extended.obj: $*.c
878 $(CPPFLAGS2) /Fo$@ /c /Tp $*.c
881 $(COMMDIR)/wincmn.obj: $*.$(SRCSUFF)
883 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
886 $(COMMDIR)/y_tab.obj: $*.c $(COMMDIR)/lex_yy.c
888 $(CPPFLAGS2) -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ /I ..\common /c $*.c
891 $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c
892 copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c
894 $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
895 copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c
897 ########################################################
898 # Generic objects (not always compiled, depending on
899 # whether platforms have native implementations)
901 $(GENDIR)/choicdgg.obj: $*.$(SRCSUFF)
903 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
906 $(GENDIR)/colrdlgg.obj: $*.$(SRCSUFF)
908 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
911 $(GENDIR)/fontdlgg.obj: $*.$(SRCSUFF)
913 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
916 $(GENDIR)/gridg.obj: $*.$(SRCSUFF)
918 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
921 $(GENDIR)/helpxlp.obj: $*.$(SRCSUFF)
923 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
926 $(GENDIR)/msgdlgg.obj: $*.$(SRCSUFF)
928 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
931 $(GENDIR)/panelg.obj: $*.$(SRCSUFF)
933 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
936 $(GENDIR)/printps.obj: $*.$(SRCSUFF)
938 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
941 $(GENDIR)/prntdlgg.obj: $*.$(SRCSUFF)
943 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
946 $(GENDIR)/scrolwin.obj: $*.$(SRCSUFF)
948 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
951 $(GENDIR)/splitter.obj: $*.$(SRCSUFF)
953 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
956 $(GENDIR)/statusbr.obj: $*.$(SRCSUFF)
958 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
961 $(GENDIR)/tabg.obj: $*.$(SRCSUFF)
963 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
966 $(GENDIR)/textdlgg.obj: $*.$(SRCSUFF)
968 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
971 $(OBJECTS): $(WXDIR)/include/wx/setup.h
973 # Peripheral components
976 cd $(WXDIR)\contrib\wxxpm
977 nmake -f makefile.dos FINAL=$(FINAL)
981 cd $(WXDIR)\contrib\wxxpm
982 nmake -f makefile.dos clean
985 clean: $(PERIPH_CLEAN_TARGET)
991 cd $(WXDIR)\src\generic
995 cd $(WXDIR)\src\common
999 cd $(WXDIR)\src\msw\ole
1009 hlp: wxhlp faqhlp refhlp
1010 wxhlp: $(DOCDIR)/winhelp/wx.hlp
1011 faqhlp: $(DOCDIR)/winhelp/faq.hlp
1012 refhlp: $(DOCDIR)/winhelp/techref.hlp
1013 rtf: $(DOCDIR)/winhelp/wx.rtf
1014 faqrtf: $(DOCDIR)/winhelp/faq.rtf
1015 html: wxhtml faqhtml
1016 wxhtml: $(DOCDIR)\html\wx\wx.htm
1017 faqhtml: $(DOCDIR)\html\faq\faq.htm
1018 ps: faqps wxps referencps
1019 wxps: $(WXDIR)\docs\ps\wx.ps
1020 faqps: $(WXDIR)\docs\ps\faq.ps
1021 referencps: $(WXDIR)\docs\ps\referenc.ps
1023 alldocs: allhlp allhtml allps
1025 allhlp: wxhlp faqhlp
1026 nmake -f makefile.dos hlp
1027 cd $(WXDIR)\utils\wxprop\src
1028 nmake -f makefile.dos hlp
1029 cd $(WXDIR)\utils\dialoged\src
1030 nmake -f makefile.dos hlp
1033 # cd $(WXDIR)\utils\wxhelp\src
1034 # nmake -f makefile.dos hlp
1035 # cd $(WXDIR)\utils\wxhelp2\src
1036 # nmake -f makefile.dos hlp
1037 # cd $(WXDIR)\utils\prologio\src
1038 # nmake -f makefile.dos hlp
1039 # cd $(WXDIR)\utils\tex2rtf\src
1040 # nmake -f makefile.dos hlp
1041 # cd $(WXDIR)\utils\wxgraph\src
1042 # nmake -f makefile.dos hlp
1043 # cd $(WXDIR)\utils\wxchart\src
1044 # nmake -f makefile.dos hlp
1045 # cd $(WXDIR)\utils\wxtree\src
1046 # nmake -f makefile.dos hlp
1047 # cd $(WXDIR)\utils\wxbuild\src
1048 # nmake -f makefile.dos hlp
1049 # cd $(WXDIR)\utils\wxgrid\src
1050 # nmake -f makefile.dos hlp
1051 # cd $(WXDIR)\utils\wxtab\src
1052 # nmake -f makefile.dos hlp
1054 # cd $(WXDIR)\utils\wxclips\src
1055 # nmake -f makefile.dos hlp
1056 # cd $(WXDIR)\utils\clips2c\src
1057 # nmake -f makefile.dos hlp
1059 allhtml: wxhtml faqhtml
1060 nmake -f makefile.dos html
1061 cd $(WXDIR)\utils\wxprop\src
1064 # nmake -f makefile.dos html
1065 # cd $(WXDIR)\utils\dialoged\src
1066 # nmake -f makefile.dos html
1067 # cd $(WXDIR)\utils\hytext\src
1068 # nmake -f makefile.dos html
1069 # cd $(WXDIR)\utils\wxhelp\src
1070 # nmake -f makefile.dos html
1071 # cd $(WXDIR)\utils\wxhelp2\src
1072 # nmake -f makefile.dos html
1073 # cd $(WXDIR)\utils\prologio\src
1074 # nmake -f makefile.dos html
1075 # cd $(WXDIR)\utils\tex2rtf\src
1076 # nmake -f makefile.dos html
1077 # cd $(WXDIR)\utils\wxgraph\src
1078 # nmake -f makefile.dos html
1079 # cd $(WXDIR)\utils\wxchart\src
1080 # nmake -f makefile.dos html
1081 # cd $(WXDIR)\utils\wxtree\src
1082 # nmake -f makefile.dos html
1083 # cd $(WXDIR)\utils\wxtab\src
1084 # nmake -f makefile.dos html
1086 # cd $(WXDIR)\utils\wxclips\src
1087 # nmake -f makefile.dos html
1088 # cd $(WXDIR)\utils\clips2c\src
1089 # nmake -f makefile.dos html
1092 nmake -f makefile.dos ps
1093 cd $(WXDIR)\utils\wxhelp\src
1094 nmake -f makefile.dos ps
1095 cd $(WXDIR)\utils\wxhelp2\src
1096 nmake -f makefile.dos ps
1097 cd $(WXDIR)\utils\tex2rtf\src
1098 nmake -f makefile.dos ps
1099 cd $(WXDIR)\utils\wxgraph\src
1100 nmake -f makefile.dos ps
1101 cd $(WXDIR)\utils\wxchart\src
1102 nmake -f makefile.dos ps
1103 cd $(WXDIR)\utils\wxtree\src
1104 nmake -f makefile.dos ps
1105 cd $(WXDIR)\utils\wxprop\src
1106 nmake -f makefile.dos ps
1107 cd $(WXDIR)\utils\dialoged\src
1108 nmake -f makefile.dos ps
1111 # cd $(WXDIR)\utils\wxtab\src
1112 # nmake -f makefile.dos ps
1113 # cd $(WXDIR)\utils\prologio\src
1114 # nmake -f makefile.dos ps
1115 # cd $(WXDIR)\utils\wxclips\src
1116 # nmake -f makefile.dos ps
1117 # cd $(WXDIR)\utils\clips2c\src
1118 # nmake -f makefile.dos ps
1120 $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
1121 cd $(DOCDIR)/latex/wx
1124 move wx.hlp $(DOCDIR)\winhelp\wx.hlp
1125 move wx.cnt $(DOCDIR)\winhelp\wx.cnt
1128 $(DOCDIR)/winhelp/faq.hlp: $(DOCDIR)/latex/faq/faq.rtf $(DOCDIR)/latex/faq/faq.hpj
1129 cd $(DOCDIR)/latex/faq
1132 move faq.hlp $(DOCDIR)\winhelp\faq.hlp
1133 move faq.cnt $(DOCDIR)\winhelp\faq.cnt
1136 $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj
1137 cd $(DOCDIR)/latex/techref
1140 move techref.hlp $(DOCDIR)\winhelp\techref.hlp
1141 move techref.cnt $(DOCDIR)\winhelp\techref.cnt
1144 $(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
1145 cd $(DOCDIR)\latex\wx
1146 -start /w tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
1149 $(DOCDIR)/latex/faq/faq.rtf: $(DOCDIR)/latex/faq/faq.tex
1150 cd $(DOCDIR)\latex\faq
1151 -start /w tex2rtf $(DOCDIR)/latex/faq/faq.tex $(DOCDIR)/latex/faq/faq.rtf -twice -winhelp
1154 $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
1155 cd $(DOCDIR)\latex\techref
1156 -start /w tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp
1159 $(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
1160 cd $(DOCDIR)\latex\wx
1161 -mkdir $(DOCDIR)\html\wx
1162 -start /w tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html -macros $(DOCDIR)\tex2rtf.ini
1163 -erase $(DOCDIR)\html\wx\*.con
1164 -erase $(DOCDIR)\html\wx\*.ref
1165 -erase $(DOCDIR)\latex\wx\*.con
1166 -erase $(DOCDIR)\latex\wx\*.ref
1169 $(DOCDIR)\html\faq\faq.htm: $(DOCDIR)\latex\faq\faq.tex
1170 cd $(DOCDIR)\latex\faq
1171 -mkdir $(DOCDIR)\html\faq
1172 -start /w tex2rtf $(DOCDIR)\latex\faq\faq.tex $(DOCDIR)\html\faq\faq.htm -twice -html -macros $(DOCDIR)\tex2rtf.ini
1173 -erase $(DOCDIR)\html\faq\*.con
1174 -erase $(DOCDIR)\html\faq\*.ref
1175 -erase $(DOCDIR)\latex\faq\*.con
1176 -erase $(DOCDIR)\latexfaq\*.ref
1179 $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
1180 cd $(WXDIR)\docs\latex\wx
1189 $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
1190 cd $(WXDIR)\docs\latex\wx
1191 -dvips32 -o wx.ps manual
1192 move wx.ps $(WXDIR)\docs\ps\wx.ps
1195 $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
1196 cd $(WXDIR)\docs\latex\wx
1205 $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
1206 cd $(WXDIR)\docs\latex\wx
1207 -dvips32 -o referenc.ps referenc
1208 move referenc.ps $(WXDIR)\docs\ps\referenc.ps
1211 $(WXDIR)\docs\latex\faq\faq.dvi: $(DOCDIR)/latex/faq/faq.tex
1212 cd $(WXDIR)\docs\latex\faq
1220 $(WXDIR)\docs\ps\faq.ps: $(WXDIR)\docs\latex\faq\faq.dvi
1221 cd $(WXDIR)\docs\latex\faq
1222 -dvips32 -o faq.ps faq
1223 move faq.ps $(WXDIR)\docs\ps\faq.ps