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)\string.obj \
109 $(COMMDIR)\time.obj \
110 $(COMMDIR)\y_tab.obj \
111 $(COMMDIR)\stream.obj \
112 $(COMMDIR)\fstream.obj \
113 $(COMMDIR)\mstream.obj \
114 $(COMMDIR)\zstream.obj \
115 $(COMMDIR)\datstrm.obj \
116 $(COMMDIR)\extended.obj \
117 $(COMMDIR)\wincmn.obj
119 # $(COMMDIR)\fileconf.obj # Doens't compile (nested classes)
122 $(MSWDIR)\accel.obj \
124 $(MSWDIR)\bitmap.obj \
125 $(MSWDIR)\bmpbuttn.obj \
126 $(MSWDIR)\brush.obj \
127 $(MSWDIR)\button.obj \
128 $(MSWDIR)\checkbox.obj \
129 $(MSWDIR)\checklst.obj \
130 $(MSWDIR)\choice.obj \
131 $(MSWDIR)\clipbrd.obj \
132 $(MSWDIR)\colordlg.obj \
133 $(MSWDIR)\colour.obj \
134 $(MSWDIR)\combobox.obj \
135 $(MSWDIR)\control.obj \
136 $(MSWDIR)\curico.obj \
137 $(MSWDIR)\cursor.obj \
140 $(MSWDIR)\dcmemory.obj \
141 $(MSWDIR)\dcclient.obj \
142 $(MSWDIR)\dcprint.obj \
143 $(MSWDIR)\dcscreen.obj \
145 $(MSWDIR)\dialog.obj \
147 $(MSWDIR)\dirdlg.obj \
148 $(MSWDIR)\filedlg.obj \
150 $(MSWDIR)\fontdlg.obj \
151 $(MSWDIR)\frame.obj \
152 $(MSWDIR)\gaugemsw.obj \
153 $(MSWDIR)\gdiobj.obj \
154 $(MSWDIR)\helpwin.obj \
156 $(MSWDIR)\imaglist.obj \
157 $(MSWDIR)\joystick.obj \
158 $(MSWDIR)\listbox.obj \
159 $(MSWDIR)\listctrl.obj \
163 $(MSWDIR)\menuitem.obj \
164 $(MSWDIR)\metafile.obj \
165 $(MSWDIR)\minifram.obj \
166 $(MSWDIR)\msgdlg.obj \
167 $(MSWDIR)\nativdlg.obj \
168 $(MSWDIR)\ownerdrw.obj \
169 $(MSWDIR)\palette.obj \
171 $(MSWDIR)\penwin.obj \
172 $(MSWDIR)\printdlg.obj \
173 $(MSWDIR)\printwin.obj \
174 $(MSWDIR)\radiobox.obj \
175 $(MSWDIR)\radiobut.obj \
176 $(MSWDIR)\region.obj \
177 $(MSWDIR)\scrolbar.obj \
178 $(MSWDIR)\settings.obj \
179 $(MSWDIR)\slidrmsw.obj \
180 $(MSWDIR)\spinbutt.obj \
181 $(MSWDIR)\statbmp.obj \
182 $(MSWDIR)\statbox.obj \
183 $(MSWDIR)\stattext.obj \
184 $(MSWDIR)\tbarmsw.obj \
185 $(MSWDIR)\textctrl.obj \
186 $(MSWDIR)\timer.obj \
187 $(MSWDIR)\treectrl.obj \
188 $(MSWDIR)\utils.obj \
189 $(MSWDIR)\utilsexc.obj \
191 $(MSWDIR)\window.obj \
192 $(OLEDIR)\droptgt.obj \
193 $(OLEDIR)\dropsrc.obj \
194 $(OLEDIR)\dataobj.obj \
195 $(OLEDIR)\oleutils.obj \
198 # $(MSWDIR)\registry.obj \
200 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS)
202 # Normal, static library
203 all: $(DUMMYOBJ) $(WXDIR)\lib\wx1.lib $(WXDIR)\lib\wx2.lib $(WXDIR)\lib\wx3.lib
206 #$(WXDIR)\lib\wx.lib: dummy.obj $(OBJECTS) $(PERIPH_LIBS)
207 # -erase $(LIBTARGET)
208 # lib /PAGESIZE:128 @<<
211 #$(OBJECTS) $(PERIPH_LIBS)
216 $(WXDIR)\lib\wx1.lib: $(COMMONOBJS) $(PERIPH_LIBS)
217 -erase $(WXDIR)\lib\wx1.lib
218 lib /PAGESIZE:128 @<<
221 $(COMMONOBJS) $(PERIPH_LIBS)
226 $(WXDIR)\lib\wx2.lib: $(GENERICOBJS)
227 -erase $(WXDIR)\lib\wx2.lib
228 lib /PAGESIZE:128 @<<
236 $(WXDIR)\lib\wx3.lib: $(MSWOBJS)
237 -erase $(WXDIR)\lib\wx3.lib
238 lib /PAGESIZE:128 @<<
246 ########################################################
247 # Windows-specific objects
249 dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
251 cl $(CPPFLAGS) /YcWX/WXPREC.H $(DEBUG_FLAGS) /c /Tp $*.$(SRCSUFF)
254 #dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
255 # cl $(CPPFLAGS) /YcWX/WXPREC.H $(DEBUG_FLAGS) /c /Tp $*.$(SRCSUFF)
257 dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
259 $(CPPFLAGS) /YcWX/WXPREC.H /c /Tp $*.$(SRCSUFF)
262 $(MSWDIR)/accel.obj: $*.$(SRCSUFF)
264 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
267 $(MSWDIR)/app.obj: $*.$(SRCSUFF)
269 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
272 $(MSWDIR)/bitmap.obj: $*.$(SRCSUFF)
274 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
277 $(MSWDIR)/bmpbuttn.obj: $*.$(SRCSUFF)
279 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
282 $(MSWDIR)/brush.obj: $*.$(SRCSUFF)
284 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
287 $(MSWDIR)/button.obj: $*.$(SRCSUFF)
289 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
292 $(MSWDIR)/choice.obj: $*.$(SRCSUFF)
294 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
297 $(MSWDIR)/checkbox.obj: $*.$(SRCSUFF)
299 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
302 $(MSWDIR)/checklst.obj: $*.$(SRCSUFF)
304 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
307 $(MSWDIR)/clipbrd.obj: $*.$(SRCSUFF)
309 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
312 $(MSWDIR)/colordlg.obj: $*.$(SRCSUFF)
314 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
317 $(MSWDIR)/colour.obj: $*.$(SRCSUFF)
319 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
322 $(MSWDIR)/combobox.obj: $*.$(SRCSUFF)
324 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
327 $(MSWDIR)/control.obj: $*.$(SRCSUFF)
329 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
332 $(MSWDIR)/curico.obj: $*.$(SRCSUFF)
334 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
337 $(MSWDIR)/cursor.obj: $*.$(SRCSUFF)
339 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
342 $(MSWDIR)/data.obj: $*.$(SRCSUFF)
344 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
347 $(MSWDIR)/dc.obj: $*.$(SRCSUFF)
349 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
352 $(MSWDIR)/dde.obj: $*.$(SRCSUFF)
354 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
357 $(MSWDIR)/dcmemory.obj: $*.$(SRCSUFF)
359 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
362 $(MSWDIR)/dcclient.obj: $*.$(SRCSUFF)
364 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
367 $(MSWDIR)/dcprint.obj: $*.$(SRCSUFF)
369 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
372 $(MSWDIR)/dcscreen.obj: $*.$(SRCSUFF)
374 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
377 $(MSWDIR)/dialog.obj: $*.$(SRCSUFF)
379 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
382 $(MSWDIR)/dib.obj: $*.$(SRCSUFF)
384 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
387 $(MSWDIR)/dirdlg.obj: $*.$(SRCSUFF)
389 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
392 $(MSWDIR)/filedlg.obj: $*.$(SRCSUFF)
394 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
397 $(MSWDIR)/font.obj: $*.$(SRCSUFF)
399 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
402 $(MSWDIR)/fontdlg.obj: $*.$(SRCSUFF)
404 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
407 $(MSWDIR)/frame.obj: $*.$(SRCSUFF)
409 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
412 $(MSWDIR)/gaugemsw.obj: $*.$(SRCSUFF)
414 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
417 $(MSWDIR)/gdiobj.obj: $*.$(SRCSUFF)
419 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
422 $(MSWDIR)/helpwin.obj: $*.$(SRCSUFF)
424 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
427 $(MSWDIR)/icon.obj: $*.$(SRCSUFF)
429 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
432 $(MSWDIR)/imaglist.obj: $*.$(SRCSUFF)
434 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
437 $(MSWDIR)/joystick.obj: $*.$(SRCSUFF)
439 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
442 $(MSWDIR)/listbox.obj: $*.$(SRCSUFF)
444 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
447 $(MSWDIR)/listctrl.obj: $*.$(SRCSUFF)
449 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
452 $(MSWDIR)/main.obj: $*.$(SRCSUFF)
454 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
457 $(MSWDIR)/mdi.obj: $*.$(SRCSUFF)
459 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
462 $(MSWDIR)/menu.obj: $*.$(SRCSUFF)
464 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
467 $(MSWDIR)/menuitem.obj: $*.$(SRCSUFF)
469 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
472 $(MSWDIR)/metafile.obj: $*.$(SRCSUFF)
474 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
477 $(MSWDIR)/minifram.obj: $*.$(SRCSUFF)
479 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
482 $(MSWDIR)/msgdlg.obj: $*.$(SRCSUFF)
484 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
487 $(MSWDIR)/nativdlg.obj: $*.$(SRCSUFF)
489 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
492 $(MSWDIR)/ownerdrw.obj: $*.$(SRCSUFF)
494 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
497 $(MSWDIR)/palette.obj: $*.$(SRCSUFF)
499 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
502 $(MSWDIR)/pen.obj: $*.$(SRCSUFF)
504 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
507 $(MSWDIR)/penwin.obj: $*.$(SRCSUFF)
509 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
512 $(MSWDIR)/printdlg.obj: $*.$(SRCSUFF)
514 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
517 $(MSWDIR)/printwin.obj: $*.$(SRCSUFF)
519 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
522 $(MSWDIR)/radiobox.obj: $*.$(SRCSUFF)
524 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
527 $(MSWDIR)/radiobut.obj: $*.$(SRCSUFF)
529 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
532 $(MSWDIR)/region.obj: $*.$(SRCSUFF)
534 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
537 $(MSWDIR)/registry.obj: $*.$(SRCSUFF)
539 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
542 $(MSWDIR)/scrolbar.obj: $*.$(SRCSUFF)
544 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
547 $(MSWDIR)/settings.obj: $*.$(SRCSUFF)
549 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
552 $(MSWDIR)/slidrmsw.obj: $*.$(SRCSUFF)
554 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
557 $(MSWDIR)/spinbutt.obj: $*.$(SRCSUFF)
559 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
562 $(MSWDIR)/statbmp.obj: $*.$(SRCSUFF)
564 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
567 $(MSWDIR)/statbox.obj: $*.$(SRCSUFF)
569 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
572 $(MSWDIR)/stattext.obj: $*.$(SRCSUFF)
574 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
577 $(MSWDIR)/tbarmsw.obj: $*.$(SRCSUFF)
579 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
582 $(MSWDIR)/textctrl.obj: $*.$(SRCSUFF)
584 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
587 $(MSWDIR)/timer.obj: $*.$(SRCSUFF)
589 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
592 $(MSWDIR)/treectrl.obj: $*.$(SRCSUFF)
594 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
597 $(MSWDIR)/utils.obj: $*.$(SRCSUFF)
599 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
602 $(MSWDIR)/utilsexc.obj: $*.$(SRCSUFF)
604 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
607 $(MSWDIR)/wave.obj: $*.$(SRCSUFF)
609 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
612 $(MSWDIR)/window.obj: $*.$(SRCSUFF)
614 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
617 $(OLEDIR)/droptgt.obj: $*.$(SRCSUFF)
619 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
622 $(OLEDIR)/dropsrc.obj: $*.$(SRCSUFF)
624 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
627 $(OLEDIR)/dataobj.obj: $*.$(SRCSUFF)
629 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
632 $(OLEDIR)/oleutils.obj: $*.$(SRCSUFF)
634 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
637 $(OLEDIR)/uuid.obj: $*.$(SRCSUFF)
639 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
642 ########################################################
643 # Common objects (always compiled)
645 $(COMMDIR)/config.obj: $*.$(SRCSUFF)
647 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
650 $(COMMDIR)/cmndata.obj: $*.$(SRCSUFF)
652 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
655 $(COMMDIR)/docview.obj: $*.$(SRCSUFF)
657 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
660 $(COMMDIR)/docmdi.obj: $*.$(SRCSUFF)
662 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
665 $(COMMDIR)/dynarray.obj: $*.$(SRCSUFF)
667 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
670 $(COMMDIR)/event.obj: $*.$(SRCSUFF)
672 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
675 $(COMMDIR)/file.obj: $*.$(SRCSUFF)
677 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
680 $(COMMDIR)/fileconf.obj: $*.$(SRCSUFF)
682 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
685 $(COMMDIR)/filefn.obj: $*.$(SRCSUFF)
687 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
690 $(COMMDIR)/framecmn.obj: $*.$(SRCSUFF)
692 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
695 $(COMMDIR)/gdicmn.obj: $*.$(SRCSUFF)
697 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
700 $(COMMDIR)/helpbase.obj: $*.$(SRCSUFF)
702 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
705 $(COMMDIR)/intl.obj: $*.$(SRCSUFF)
707 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
710 $(COMMDIR)/ipcbase.obj: $*.$(SRCSUFF)
712 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
715 $(COMMDIR)/layout.obj: $*.$(SRCSUFF)
717 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
720 $(COMMDIR)/log.obj: $*.$(SRCSUFF)
722 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
725 $(COMMDIR)/memory.obj: $*.$(SRCSUFF)
727 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
730 $(COMMDIR)/module.obj: $*.$(SRCSUFF)
732 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
735 $(COMMDIR)/object.obj: $*.$(SRCSUFF)
737 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
740 $(COMMDIR)/odbc.obj: $*.$(SRCSUFF)
742 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
745 $(COMMDIR)/postscrp.obj: $*.$(SRCSUFF)
747 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
750 $(COMMDIR)/process.obj: $*.$(SRCSUFF)
752 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
755 $(COMMDIR)/prntbase.obj: $*.$(SRCSUFF)
757 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
760 $(COMMDIR)/resource.obj: $*.$(SRCSUFF)
762 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
765 $(COMMDIR)/tbarbase.obj: $*.$(SRCSUFF)
767 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
770 $(COMMDIR)/tbarsmpl.obj: $*.$(SRCSUFF)
772 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
775 $(COMMDIR)/textfile.obj: $*.$(SRCSUFF)
777 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
780 $(COMMDIR)/timercmn.obj: $*.$(SRCSUFF)
782 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
785 $(COMMDIR)/utilscmn.obj: $*.$(SRCSUFF)
787 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
790 $(COMMDIR)/validate.obj: $*.$(SRCSUFF)
792 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
795 $(COMMDIR)/valtext.obj: $*.$(SRCSUFF)
797 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
800 $(COMMDIR)/date.obj: $*.$(SRCSUFF)
802 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
805 $(COMMDIR)/wxexpr.obj: $*.$(SRCSUFF)
807 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
810 $(COMMDIR)/hash.obj: $*.$(SRCSUFF)
812 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
815 $(COMMDIR)/list.obj: $*.$(SRCSUFF)
817 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
820 $(COMMDIR)/string.obj: $*.$(SRCSUFF)
822 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
825 $(COMMDIR)/matrix.obj: $*.$(SRCSUFF)
827 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
830 $(COMMDIR)/wxstrgnu/wxstrgnu.obj: $*.$(SRCSUFF)
832 $(CPPFLAGS2) /Fo$@ /c /Tp $*.$(SRCSUFF)
835 $(COMMDIR)/wxstrgnu/wxregex.obj: $*.$(SRCSUFF)
837 $(CPPFLAGS2) /Fo$@ /c /Tp $*.$(SRCSUFF)
840 $(COMMDIR)/time.obj: $*.$(SRCSUFF)
842 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
845 $(COMMDIR)/stream.obj: $*.$(SRCSUFF)
847 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
850 $(COMMDIR)/fstream.obj: $*.$(SRCSUFF)
852 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
855 $(COMMDIR)/mstream.obj: $*.$(SRCSUFF)
857 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
860 $(COMMDIR)/zstream.obj: $*.$(SRCSUFF)
862 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
865 $(COMMDIR)/datstrm.obj: $*.$(SRCSUFF)
867 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
870 $(COMMDIR)/extended.obj: $*.c
872 $(CPPFLAGS2) /Fo$@ /c /Tp $*.c
875 $(COMMDIR)/wincmn.obj: $*.$(SRCSUFF)
877 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
880 $(COMMDIR)/y_tab.obj: $*.c $(COMMDIR)/lex_yy.c
882 $(CPPFLAGS2) -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ /I ..\common /c $*.c
885 $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c
886 copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c
888 $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
889 copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c
891 ########################################################
892 # Generic objects (not always compiled, depending on
893 # whether platforms have native implementations)
895 $(GENDIR)/choicdgg.obj: $*.$(SRCSUFF)
897 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
900 $(GENDIR)/colrdlgg.obj: $*.$(SRCSUFF)
902 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
905 $(GENDIR)/fontdlgg.obj: $*.$(SRCSUFF)
907 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
910 $(GENDIR)/gridg.obj: $*.$(SRCSUFF)
912 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
915 $(GENDIR)/helpxlp.obj: $*.$(SRCSUFF)
917 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
920 $(GENDIR)/msgdlgg.obj: $*.$(SRCSUFF)
922 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
925 $(GENDIR)/panelg.obj: $*.$(SRCSUFF)
927 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
930 $(GENDIR)/printps.obj: $*.$(SRCSUFF)
932 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
935 $(GENDIR)/prntdlgg.obj: $*.$(SRCSUFF)
937 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
940 $(GENDIR)/scrolwin.obj: $*.$(SRCSUFF)
942 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
945 $(GENDIR)/splitter.obj: $*.$(SRCSUFF)
947 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
950 $(GENDIR)/statusbr.obj: $*.$(SRCSUFF)
952 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
955 $(GENDIR)/tabg.obj: $*.$(SRCSUFF)
957 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
960 $(GENDIR)/textdlgg.obj: $*.$(SRCSUFF)
962 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
965 $(OBJECTS): $(WXDIR)/include/wx/setup.h
967 # Peripheral components
970 cd $(WXDIR)\contrib\wxxpm
971 nmake -f makefile.dos FINAL=$(FINAL)
975 cd $(WXDIR)\contrib\wxxpm
976 nmake -f makefile.dos clean
979 clean: $(PERIPH_CLEAN_TARGET)
985 cd $(WXDIR)\src\generic
989 cd $(WXDIR)\src\common
993 cd $(WXDIR)\src\msw\ole
1003 hlp: wxhlp faqhlp refhlp
1004 wxhlp: $(DOCDIR)/winhelp/wx.hlp
1005 faqhlp: $(DOCDIR)/winhelp/faq.hlp
1006 refhlp: $(DOCDIR)/winhelp/techref.hlp
1007 rtf: $(DOCDIR)/winhelp/wx.rtf
1008 faqrtf: $(DOCDIR)/winhelp/faq.rtf
1009 html: wxhtml faqhtml
1010 wxhtml: $(DOCDIR)\html\wx\wx.htm
1011 faqhtml: $(DOCDIR)\html\faq\faq.htm
1012 ps: faqps wxps referencps
1013 wxps: $(WXDIR)\docs\ps\wx.ps
1014 faqps: $(WXDIR)\docs\ps\faq.ps
1015 referencps: $(WXDIR)\docs\ps\referenc.ps
1017 alldocs: allhlp allhtml allps
1019 allhlp: wxhlp faqhlp
1020 nmake -f makefile.dos hlp
1021 cd $(WXDIR)\utils\wxprop\src
1022 nmake -f makefile.dos hlp
1023 cd $(WXDIR)\utils\dialoged\src
1024 nmake -f makefile.dos hlp
1027 # cd $(WXDIR)\utils\wxhelp\src
1028 # nmake -f makefile.dos hlp
1029 # cd $(WXDIR)\utils\wxhelp2\src
1030 # nmake -f makefile.dos hlp
1031 # cd $(WXDIR)\utils\prologio\src
1032 # nmake -f makefile.dos hlp
1033 # cd $(WXDIR)\utils\tex2rtf\src
1034 # nmake -f makefile.dos hlp
1035 # cd $(WXDIR)\utils\wxgraph\src
1036 # nmake -f makefile.dos hlp
1037 # cd $(WXDIR)\utils\wxchart\src
1038 # nmake -f makefile.dos hlp
1039 # cd $(WXDIR)\utils\wxtree\src
1040 # nmake -f makefile.dos hlp
1041 # cd $(WXDIR)\utils\wxbuild\src
1042 # nmake -f makefile.dos hlp
1043 # cd $(WXDIR)\utils\wxgrid\src
1044 # nmake -f makefile.dos hlp
1045 # cd $(WXDIR)\utils\wxtab\src
1046 # nmake -f makefile.dos hlp
1048 # cd $(WXDIR)\utils\wxclips\src
1049 # nmake -f makefile.dos hlp
1050 # cd $(WXDIR)\utils\clips2c\src
1051 # nmake -f makefile.dos hlp
1053 allhtml: wxhtml faqhtml
1054 nmake -f makefile.dos html
1055 cd $(WXDIR)\utils\wxprop\src
1058 # nmake -f makefile.dos html
1059 # cd $(WXDIR)\utils\dialoged\src
1060 # nmake -f makefile.dos html
1061 # cd $(WXDIR)\utils\hytext\src
1062 # nmake -f makefile.dos html
1063 # cd $(WXDIR)\utils\wxhelp\src
1064 # nmake -f makefile.dos html
1065 # cd $(WXDIR)\utils\wxhelp2\src
1066 # nmake -f makefile.dos html
1067 # cd $(WXDIR)\utils\prologio\src
1068 # nmake -f makefile.dos html
1069 # cd $(WXDIR)\utils\tex2rtf\src
1070 # nmake -f makefile.dos html
1071 # cd $(WXDIR)\utils\wxgraph\src
1072 # nmake -f makefile.dos html
1073 # cd $(WXDIR)\utils\wxchart\src
1074 # nmake -f makefile.dos html
1075 # cd $(WXDIR)\utils\wxtree\src
1076 # nmake -f makefile.dos html
1077 # cd $(WXDIR)\utils\wxtab\src
1078 # nmake -f makefile.dos html
1080 # cd $(WXDIR)\utils\wxclips\src
1081 # nmake -f makefile.dos html
1082 # cd $(WXDIR)\utils\clips2c\src
1083 # nmake -f makefile.dos html
1086 nmake -f makefile.dos ps
1087 cd $(WXDIR)\utils\wxhelp\src
1088 nmake -f makefile.dos ps
1089 cd $(WXDIR)\utils\wxhelp2\src
1090 nmake -f makefile.dos ps
1091 cd $(WXDIR)\utils\tex2rtf\src
1092 nmake -f makefile.dos ps
1093 cd $(WXDIR)\utils\wxgraph\src
1094 nmake -f makefile.dos ps
1095 cd $(WXDIR)\utils\wxchart\src
1096 nmake -f makefile.dos ps
1097 cd $(WXDIR)\utils\wxtree\src
1098 nmake -f makefile.dos ps
1099 cd $(WXDIR)\utils\wxprop\src
1100 nmake -f makefile.dos ps
1101 cd $(WXDIR)\utils\dialoged\src
1102 nmake -f makefile.dos ps
1105 # cd $(WXDIR)\utils\wxtab\src
1106 # nmake -f makefile.dos ps
1107 # cd $(WXDIR)\utils\prologio\src
1108 # nmake -f makefile.dos ps
1109 # cd $(WXDIR)\utils\wxclips\src
1110 # nmake -f makefile.dos ps
1111 # cd $(WXDIR)\utils\clips2c\src
1112 # nmake -f makefile.dos ps
1114 $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
1115 cd $(DOCDIR)/latex/wx
1118 move wx.hlp $(DOCDIR)\winhelp\wx.hlp
1119 move wx.cnt $(DOCDIR)\winhelp\wx.cnt
1122 $(DOCDIR)/winhelp/faq.hlp: $(DOCDIR)/latex/faq/faq.rtf $(DOCDIR)/latex/faq/faq.hpj
1123 cd $(DOCDIR)/latex/faq
1126 move faq.hlp $(DOCDIR)\winhelp\faq.hlp
1127 move faq.cnt $(DOCDIR)\winhelp\faq.cnt
1130 $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj
1131 cd $(DOCDIR)/latex/techref
1134 move techref.hlp $(DOCDIR)\winhelp\techref.hlp
1135 move techref.cnt $(DOCDIR)\winhelp\techref.cnt
1138 $(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
1139 cd $(DOCDIR)\latex\wx
1140 -start /w tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
1143 $(DOCDIR)/latex/faq/faq.rtf: $(DOCDIR)/latex/faq/faq.tex
1144 cd $(DOCDIR)\latex\faq
1145 -start /w tex2rtf $(DOCDIR)/latex/faq/faq.tex $(DOCDIR)/latex/faq/faq.rtf -twice -winhelp
1148 $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
1149 cd $(DOCDIR)\latex\techref
1150 -start /w tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp
1153 $(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
1154 cd $(DOCDIR)\latex\wx
1155 -mkdir $(DOCDIR)\html\wx
1156 -start /w tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html -macros $(DOCDIR)\tex2rtf.ini
1157 -erase $(DOCDIR)\html\wx\*.con
1158 -erase $(DOCDIR)\html\wx\*.ref
1159 -erase $(DOCDIR)\latex\wx\*.con
1160 -erase $(DOCDIR)\latex\wx\*.ref
1163 $(DOCDIR)\html\faq\faq.htm: $(DOCDIR)\latex\faq\faq.tex
1164 cd $(DOCDIR)\latex\faq
1165 -mkdir $(DOCDIR)\html\faq
1166 -start /w tex2rtf $(DOCDIR)\latex\faq\faq.tex $(DOCDIR)\html\faq\faq.htm -twice -html -macros $(DOCDIR)\tex2rtf.ini
1167 -erase $(DOCDIR)\html\faq\*.con
1168 -erase $(DOCDIR)\html\faq\*.ref
1169 -erase $(DOCDIR)\latex\faq\*.con
1170 -erase $(DOCDIR)\latexfaq\*.ref
1173 $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
1174 cd $(WXDIR)\docs\latex\wx
1183 $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
1184 cd $(WXDIR)\docs\latex\wx
1185 -dvips32 -o wx.ps manual
1186 move wx.ps $(WXDIR)\docs\ps\wx.ps
1189 $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
1190 cd $(WXDIR)\docs\latex\wx
1199 $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
1200 cd $(WXDIR)\docs\latex\wx
1201 -dvips32 -o referenc.ps referenc
1202 move referenc.ps $(WXDIR)\docs\ps\referenc.ps
1205 $(WXDIR)\docs\latex\faq\faq.dvi: $(DOCDIR)/latex/faq/faq.tex
1206 cd $(WXDIR)\docs\latex\faq
1214 $(WXDIR)\docs\ps\faq.ps: $(WXDIR)\docs\latex\faq\faq.dvi
1215 cd $(WXDIR)\docs\latex\faq
1216 -dvips32 -o faq.ps faq
1217 move faq.ps $(WXDIR)\docs\ps\faq.ps