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)\dynarray.obj \
78 $(COMMDIR)\event.obj \
80 $(COMMDIR)\filefn.obj \
81 $(COMMDIR)\gdicmn.obj \
83 $(COMMDIR)\helpbase.obj \
84 $(COMMDIR)\ipcbase.obj \
85 $(COMMDIR)\layout.obj \
87 $(COMMDIR)\memory.obj \
88 $(COMMDIR)\module.obj \
89 $(COMMDIR)\object.obj \
91 $(COMMDIR)\postscrp.obj \
92 $(COMMDIR)\process.obj \
93 $(COMMDIR)\prntbase.obj \
94 $(COMMDIR)\resource.obj \
95 $(COMMDIR)\tbarbase.obj \
96 $(COMMDIR)\tbarsmpl.obj \
97 $(COMMDIR)\textfile.obj \
98 $(COMMDIR)\timercmn.obj \
99 $(COMMDIR)\utilscmn.obj \
100 $(COMMDIR)\validate.obj \
101 $(COMMDIR)\valtext.obj \
102 $(COMMDIR)\date.obj \
103 $(COMMDIR)\wxexpr.obj \
104 $(COMMDIR)\hash.obj \
105 $(COMMDIR)\list.obj \
106 $(COMMDIR)\string.obj \
107 $(COMMDIR)\time.obj \
108 $(COMMDIR)\y_tab.obj \
109 $(COMMDIR)\stream.obj \
110 $(COMMDIR)\fstream.obj \
111 $(COMMDIR)\mstream.obj \
112 $(COMMDIR)\zstream.obj \
113 $(COMMDIR)\datstrm.obj \
114 $(COMMDIR)\extended.obj
116 # Nested classes: won't comple
117 # $(COMMDIR)\fileconf.obj \
121 $(MSWDIR)\bitmap.obj \
122 $(MSWDIR)\bmpbuttn.obj \
123 $(MSWDIR)\brush.obj \
124 $(MSWDIR)\button.obj \
125 $(MSWDIR)\checkbox.obj \
126 $(MSWDIR)\checklst.obj \
127 $(MSWDIR)\choice.obj \
128 $(MSWDIR)\clipbrd.obj \
129 $(MSWDIR)\colordlg.obj \
130 $(MSWDIR)\colour.obj \
131 $(MSWDIR)\combobox.obj \
132 $(MSWDIR)\control.obj \
133 $(MSWDIR)\curico.obj \
134 $(MSWDIR)\cursor.obj \
137 $(MSWDIR)\dcmemory.obj \
138 $(MSWDIR)\dcclient.obj \
139 $(MSWDIR)\dcprint.obj \
140 $(MSWDIR)\dcscreen.obj \
142 $(MSWDIR)\dialog.obj \
144 $(MSWDIR)\dirdlg.obj \
145 $(MSWDIR)\filedlg.obj \
147 $(MSWDIR)\fontdlg.obj \
148 $(MSWDIR)\frame.obj \
149 $(MSWDIR)\gaugemsw.obj \
150 $(MSWDIR)\gdiobj.obj \
151 $(MSWDIR)\helpwin.obj \
153 $(MSWDIR)\imaglist.obj \
154 $(MSWDIR)\joystick.obj \
155 $(MSWDIR)\listbox.obj \
156 $(MSWDIR)\listctrl.obj \
160 $(MSWDIR)\menuitem.obj \
161 $(MSWDIR)\metafile.obj \
162 $(MSWDIR)\minifram.obj \
163 $(MSWDIR)\msgdlg.obj \
164 $(MSWDIR)\nativdlg.obj \
165 $(MSWDIR)\ownerdrw.obj \
166 $(MSWDIR)\palette.obj \
168 $(MSWDIR)\penwin.obj \
169 $(MSWDIR)\printdlg.obj \
170 $(MSWDIR)\printwin.obj \
171 $(MSWDIR)\radiobox.obj \
172 $(MSWDIR)\radiobut.obj \
173 $(MSWDIR)\region.obj \
174 $(MSWDIR)\scrolbar.obj \
175 $(MSWDIR)\settings.obj \
176 $(MSWDIR)\slidrmsw.obj \
177 $(MSWDIR)\spinbutt.obj \
178 $(MSWDIR)\statbmp.obj \
179 $(MSWDIR)\statbox.obj \
180 $(MSWDIR)\stattext.obj \
181 $(MSWDIR)\tbarmsw.obj \
182 $(MSWDIR)\textctrl.obj \
183 $(MSWDIR)\timer.obj \
184 $(MSWDIR)\treectrl.obj \
185 $(MSWDIR)\utils.obj \
186 $(MSWDIR)\utilsexc.obj \
188 $(MSWDIR)\window.obj \
189 $(OLEDIR)\droptgt.obj \
190 $(OLEDIR)\dropsrc.obj \
191 $(OLEDIR)\dataobj.obj \
192 $(OLEDIR)\oleutils.obj \
195 # $(MSWDIR)\registry.obj \
197 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS)
199 # Normal, static library
200 all: $(DUMMYOBJ) $(WXDIR)\lib\wx1.lib $(WXDIR)\lib\wx2.lib $(WXDIR)\lib\wx3.lib
203 #$(WXDIR)\lib\wx.lib: dummy.obj $(OBJECTS) $(PERIPH_LIBS)
204 # -erase $(LIBTARGET)
205 # lib /PAGESIZE:128 @<<
208 #$(OBJECTS) $(PERIPH_LIBS)
213 $(WXDIR)\lib\wx1.lib: $(COMMONOBJS) $(PERIPH_LIBS)
214 -erase $(WXDIR)\lib\wx1.lib
215 lib /PAGESIZE:128 @<<
218 $(COMMONOBJS) $(PERIPH_LIBS)
223 $(WXDIR)\lib\wx2.lib: $(GENERICOBJS)
224 -erase $(WXDIR)\lib\wx2.lib
225 lib /PAGESIZE:128 @<<
233 $(WXDIR)\lib\wx3.lib: $(MSWOBJS)
234 -erase $(WXDIR)\lib\wx3.lib
235 lib /PAGESIZE:128 @<<
243 ########################################################
244 # Windows-specific objects
246 dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
248 cl $(CPPFLAGS) /YcWX/WXPREC.H $(DEBUG_FLAGS) /c /Tp $*.$(SRCSUFF)
251 #dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
252 # cl $(CPPFLAGS) /YcWX/WXPREC.H $(DEBUG_FLAGS) /c /Tp $*.$(SRCSUFF)
254 dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
256 $(CPPFLAGS) /YcWX/WXPREC.H /c /Tp $*.$(SRCSUFF)
259 $(MSWDIR)/app.obj: $*.$(SRCSUFF)
261 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
264 $(MSWDIR)/bitmap.obj: $*.$(SRCSUFF)
266 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
269 $(MSWDIR)/bmpbuttn.obj: $*.$(SRCSUFF)
271 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
274 $(MSWDIR)/brush.obj: $*.$(SRCSUFF)
276 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
279 $(MSWDIR)/button.obj: $*.$(SRCSUFF)
281 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
284 $(MSWDIR)/choice.obj: $*.$(SRCSUFF)
286 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
289 $(MSWDIR)/checkbox.obj: $*.$(SRCSUFF)
291 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
294 $(MSWDIR)/checklst.obj: $*.$(SRCSUFF)
296 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
299 $(MSWDIR)/clipbrd.obj: $*.$(SRCSUFF)
301 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
304 $(MSWDIR)/colordlg.obj: $*.$(SRCSUFF)
306 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
309 $(MSWDIR)/colour.obj: $*.$(SRCSUFF)
311 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
314 $(MSWDIR)/combobox.obj: $*.$(SRCSUFF)
316 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
319 $(MSWDIR)/control.obj: $*.$(SRCSUFF)
321 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
324 $(MSWDIR)/curico.obj: $*.$(SRCSUFF)
326 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
329 $(MSWDIR)/cursor.obj: $*.$(SRCSUFF)
331 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
334 $(MSWDIR)/data.obj: $*.$(SRCSUFF)
336 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
339 $(MSWDIR)/dc.obj: $*.$(SRCSUFF)
341 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
344 $(MSWDIR)/dde.obj: $*.$(SRCSUFF)
346 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
349 $(MSWDIR)/dcmemory.obj: $*.$(SRCSUFF)
351 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
354 $(MSWDIR)/dcclient.obj: $*.$(SRCSUFF)
356 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
359 $(MSWDIR)/dcprint.obj: $*.$(SRCSUFF)
361 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
364 $(MSWDIR)/dcscreen.obj: $*.$(SRCSUFF)
366 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
369 $(MSWDIR)/dialog.obj: $*.$(SRCSUFF)
371 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
374 $(MSWDIR)/dib.obj: $*.$(SRCSUFF)
376 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
379 $(MSWDIR)/dirdlg.obj: $*.$(SRCSUFF)
381 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
384 $(MSWDIR)/filedlg.obj: $*.$(SRCSUFF)
386 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
389 $(MSWDIR)/font.obj: $*.$(SRCSUFF)
391 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
394 $(MSWDIR)/fontdlg.obj: $*.$(SRCSUFF)
396 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
399 $(MSWDIR)/frame.obj: $*.$(SRCSUFF)
401 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
404 $(MSWDIR)/gaugemsw.obj: $*.$(SRCSUFF)
406 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
409 $(MSWDIR)/gdiobj.obj: $*.$(SRCSUFF)
411 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
414 $(MSWDIR)/helpwin.obj: $*.$(SRCSUFF)
416 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
419 $(MSWDIR)/icon.obj: $*.$(SRCSUFF)
421 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
424 $(MSWDIR)/imaglist.obj: $*.$(SRCSUFF)
426 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
429 $(MSWDIR)/joystick.obj: $*.$(SRCSUFF)
431 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
434 $(MSWDIR)/listbox.obj: $*.$(SRCSUFF)
436 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
439 $(MSWDIR)/listctrl.obj: $*.$(SRCSUFF)
441 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
444 $(MSWDIR)/main.obj: $*.$(SRCSUFF)
446 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
449 $(MSWDIR)/mdi.obj: $*.$(SRCSUFF)
451 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
454 $(MSWDIR)/menu.obj: $*.$(SRCSUFF)
456 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
459 $(MSWDIR)/menuitem.obj: $*.$(SRCSUFF)
461 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
464 $(MSWDIR)/metafile.obj: $*.$(SRCSUFF)
466 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
469 $(MSWDIR)/minifram.obj: $*.$(SRCSUFF)
471 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
474 $(MSWDIR)/msgdlg.obj: $*.$(SRCSUFF)
476 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
479 $(MSWDIR)/nativdlg.obj: $*.$(SRCSUFF)
481 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
484 $(MSWDIR)/ownerdrw.obj: $*.$(SRCSUFF)
486 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
489 $(MSWDIR)/palette.obj: $*.$(SRCSUFF)
491 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
494 $(MSWDIR)/pen.obj: $*.$(SRCSUFF)
496 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
499 $(MSWDIR)/penwin.obj: $*.$(SRCSUFF)
501 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
504 $(MSWDIR)/printdlg.obj: $*.$(SRCSUFF)
506 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
509 $(MSWDIR)/printwin.obj: $*.$(SRCSUFF)
511 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
514 $(MSWDIR)/radiobox.obj: $*.$(SRCSUFF)
516 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
519 $(MSWDIR)/radiobut.obj: $*.$(SRCSUFF)
521 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
524 $(MSWDIR)/region.obj: $*.$(SRCSUFF)
526 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
529 $(MSWDIR)/registry.obj: $*.$(SRCSUFF)
531 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
534 $(MSWDIR)/scrolbar.obj: $*.$(SRCSUFF)
536 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
539 $(MSWDIR)/settings.obj: $*.$(SRCSUFF)
541 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
544 $(MSWDIR)/slidrmsw.obj: $*.$(SRCSUFF)
546 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
549 $(MSWDIR)/spinbutt.obj: $*.$(SRCSUFF)
551 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
554 $(MSWDIR)/statbmp.obj: $*.$(SRCSUFF)
556 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
559 $(MSWDIR)/statbox.obj: $*.$(SRCSUFF)
561 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
564 $(MSWDIR)/stattext.obj: $*.$(SRCSUFF)
566 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
569 $(MSWDIR)/tbarmsw.obj: $*.$(SRCSUFF)
571 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
574 $(MSWDIR)/textctrl.obj: $*.$(SRCSUFF)
576 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
579 $(MSWDIR)/timer.obj: $*.$(SRCSUFF)
581 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
584 $(MSWDIR)/treectrl.obj: $*.$(SRCSUFF)
586 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
589 $(MSWDIR)/utils.obj: $*.$(SRCSUFF)
591 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
594 $(MSWDIR)/utilsexc.obj: $*.$(SRCSUFF)
596 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
599 $(MSWDIR)/wave.obj: $*.$(SRCSUFF)
601 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
604 $(MSWDIR)/window.obj: $*.$(SRCSUFF)
606 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
609 $(OLEDIR)/droptgt.obj: $*.$(SRCSUFF)
611 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
614 $(OLEDIR)/dropsrc.obj: $*.$(SRCSUFF)
616 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
619 $(OLEDIR)/dataobj.obj: $*.$(SRCSUFF)
621 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
624 $(OLEDIR)/oleutils.obj: $*.$(SRCSUFF)
626 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
629 $(OLEDIR)/uuid.obj: $*.$(SRCSUFF)
631 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
634 ########################################################
635 # Common objects (always compiled)
637 $(COMMDIR)/config.obj: $*.$(SRCSUFF)
639 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
642 $(COMMDIR)/cmndata.obj: $*.$(SRCSUFF)
644 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
647 $(COMMDIR)/docview.obj: $*.$(SRCSUFF)
649 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
652 $(COMMDIR)/dynarray.obj: $*.$(SRCSUFF)
654 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
657 $(COMMDIR)/event.obj: $*.$(SRCSUFF)
659 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
662 $(COMMDIR)/file.obj: $*.$(SRCSUFF)
664 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
667 $(COMMDIR)/fileconf.obj: $*.$(SRCSUFF)
669 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
672 $(COMMDIR)/filefn.obj: $*.$(SRCSUFF)
674 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
677 $(COMMDIR)/gdicmn.obj: $*.$(SRCSUFF)
679 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
682 $(COMMDIR)/helpbase.obj: $*.$(SRCSUFF)
684 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
687 $(COMMDIR)/intl.obj: $*.$(SRCSUFF)
689 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
692 $(COMMDIR)/ipcbase.obj: $*.$(SRCSUFF)
694 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
697 $(COMMDIR)/layout.obj: $*.$(SRCSUFF)
699 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
702 $(COMMDIR)/log.obj: $*.$(SRCSUFF)
704 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
707 $(COMMDIR)/memory.obj: $*.$(SRCSUFF)
709 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
712 $(COMMDIR)/module.obj: $*.$(SRCSUFF)
714 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
717 $(COMMDIR)/object.obj: $*.$(SRCSUFF)
719 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
722 $(COMMDIR)/odbc.obj: $*.$(SRCSUFF)
724 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
727 $(COMMDIR)/postscrp.obj: $*.$(SRCSUFF)
729 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
732 $(COMMDIR)/process.obj: $*.$(SRCSUFF)
734 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
737 $(COMMDIR)/prntbase.obj: $*.$(SRCSUFF)
739 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
742 $(COMMDIR)/resource.obj: $*.$(SRCSUFF)
744 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
747 $(COMMDIR)/tbarbase.obj: $*.$(SRCSUFF)
749 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
752 $(COMMDIR)/tbarsmpl.obj: $*.$(SRCSUFF)
754 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
757 $(COMMDIR)/textfile.obj: $*.$(SRCSUFF)
759 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
762 $(COMMDIR)/timercmn.obj: $*.$(SRCSUFF)
764 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
767 $(COMMDIR)/utilscmn.obj: $*.$(SRCSUFF)
769 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
772 $(COMMDIR)/validate.obj: $*.$(SRCSUFF)
774 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
777 $(COMMDIR)/valtext.obj: $*.$(SRCSUFF)
779 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
782 $(COMMDIR)/date.obj: $*.$(SRCSUFF)
784 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
787 $(COMMDIR)/wxexpr.obj: $*.$(SRCSUFF)
789 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
792 $(COMMDIR)/hash.obj: $*.$(SRCSUFF)
794 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
797 $(COMMDIR)/list.obj: $*.$(SRCSUFF)
799 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
802 $(COMMDIR)/string.obj: $*.$(SRCSUFF)
804 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
807 $(COMMDIR)/matrix.obj: $*.$(SRCSUFF)
809 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
812 $(COMMDIR)/wxstrgnu/wxstrgnu.obj: $*.$(SRCSUFF)
814 $(CPPFLAGS2) /Fo$@ /c /Tp $*.$(SRCSUFF)
817 $(COMMDIR)/wxstrgnu/wxregex.obj: $*.$(SRCSUFF)
819 $(CPPFLAGS2) /Fo$@ /c /Tp $*.$(SRCSUFF)
822 $(COMMDIR)/time.obj: $*.$(SRCSUFF)
824 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
827 $(COMMDIR)/datstrm.obj: $*.$(SRCSUFF)
829 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
832 $(COMMDIR)/extended.obj: $*.c
834 $(CPPFLAGS2) /Fo$@ /c /Tp $*.c
837 $(COMMDIR)/y_tab.obj: $*.c $(COMMDIR)/lex_yy.c
839 $(CPPFLAGS2) -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ /I ..\common /c $*.c
842 $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c
843 copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c
845 $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
846 copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c
848 ########################################################
849 # Generic objects (not always compiled, depending on
850 # whether platforms have native implementations)
852 $(GENDIR)/choicdgg.obj: $*.$(SRCSUFF)
854 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
857 $(GENDIR)/colrdlgg.obj: $*.$(SRCSUFF)
859 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
862 $(GENDIR)/fontdlgg.obj: $*.$(SRCSUFF)
864 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
867 $(GENDIR)/gridg.obj: $*.$(SRCSUFF)
869 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
872 $(GENDIR)/helpxlp.obj: $*.$(SRCSUFF)
874 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
877 $(GENDIR)/msgdlgg.obj: $*.$(SRCSUFF)
879 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
882 $(GENDIR)/panelg.obj: $*.$(SRCSUFF)
884 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
887 $(GENDIR)/printps.obj: $*.$(SRCSUFF)
889 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
892 $(GENDIR)/prntdlgg.obj: $*.$(SRCSUFF)
894 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
897 $(GENDIR)/scrolwin.obj: $*.$(SRCSUFF)
899 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
902 $(GENDIR)/splitter.obj: $*.$(SRCSUFF)
904 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
907 $(GENDIR)/statusbr.obj: $*.$(SRCSUFF)
909 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
912 $(GENDIR)/tabg.obj: $*.$(SRCSUFF)
914 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
917 $(GENDIR)/textdlgg.obj: $*.$(SRCSUFF)
919 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
922 $(OBJECTS): $(WXDIR)/include/wx/setup.h
924 # Peripheral components
927 cd $(WXDIR)\contrib\wxxpm
928 nmake -f makefile.dos FINAL=$(FINAL)
932 cd $(WXDIR)\contrib\wxxpm
933 nmake -f makefile.dos clean
936 clean: $(PERIPH_CLEAN_TARGET)
942 cd $(WXDIR)\src\generic
946 cd $(WXDIR)\src\common
950 cd $(WXDIR)\src\msw\ole
960 hlp: wxhlp faqhlp refhlp
961 wxhlp: $(DOCDIR)/winhelp/wx.hlp
962 faqhlp: $(DOCDIR)/winhelp/faq.hlp
963 refhlp: $(DOCDIR)/winhelp/techref.hlp
964 rtf: $(DOCDIR)/winhelp/wx.rtf
965 faqrtf: $(DOCDIR)/winhelp/faq.rtf
967 wxhtml: $(DOCDIR)\html\wx\wx.htm
968 faqhtml: $(DOCDIR)\html\faq\faq.htm
969 ps: faqps wxps referencps
970 wxps: $(WXDIR)\docs\ps\wx.ps
971 faqps: $(WXDIR)\docs\ps\faq.ps
972 referencps: $(WXDIR)\docs\ps\referenc.ps
974 alldocs: allhlp allhtml allps
977 nmake -f makefile.dos hlp
978 cd $(WXDIR)\utils\wxprop\src
979 nmake -f makefile.dos hlp
980 cd $(WXDIR)\utils\dialoged\src
981 nmake -f makefile.dos hlp
984 # cd $(WXDIR)\utils\wxhelp\src
985 # nmake -f makefile.dos hlp
986 # cd $(WXDIR)\utils\wxhelp2\src
987 # nmake -f makefile.dos hlp
988 # cd $(WXDIR)\utils\prologio\src
989 # nmake -f makefile.dos hlp
990 # cd $(WXDIR)\utils\tex2rtf\src
991 # nmake -f makefile.dos hlp
992 # cd $(WXDIR)\utils\wxgraph\src
993 # nmake -f makefile.dos hlp
994 # cd $(WXDIR)\utils\wxchart\src
995 # nmake -f makefile.dos hlp
996 # cd $(WXDIR)\utils\wxtree\src
997 # nmake -f makefile.dos hlp
998 # cd $(WXDIR)\utils\wxbuild\src
999 # nmake -f makefile.dos hlp
1000 # cd $(WXDIR)\utils\wxgrid\src
1001 # nmake -f makefile.dos hlp
1002 # cd $(WXDIR)\utils\wxtab\src
1003 # nmake -f makefile.dos hlp
1005 # cd $(WXDIR)\utils\wxclips\src
1006 # nmake -f makefile.dos hlp
1007 # cd $(WXDIR)\utils\clips2c\src
1008 # nmake -f makefile.dos hlp
1010 allhtml: wxhtml faqhtml
1011 nmake -f makefile.dos html
1012 cd $(WXDIR)\utils\wxprop\src
1015 # nmake -f makefile.dos html
1016 # cd $(WXDIR)\utils\dialoged\src
1017 # nmake -f makefile.dos html
1018 # cd $(WXDIR)\utils\hytext\src
1019 # nmake -f makefile.dos html
1020 # cd $(WXDIR)\utils\wxhelp\src
1021 # nmake -f makefile.dos html
1022 # cd $(WXDIR)\utils\wxhelp2\src
1023 # nmake -f makefile.dos html
1024 # cd $(WXDIR)\utils\prologio\src
1025 # nmake -f makefile.dos html
1026 # cd $(WXDIR)\utils\tex2rtf\src
1027 # nmake -f makefile.dos html
1028 # cd $(WXDIR)\utils\wxgraph\src
1029 # nmake -f makefile.dos html
1030 # cd $(WXDIR)\utils\wxchart\src
1031 # nmake -f makefile.dos html
1032 # cd $(WXDIR)\utils\wxtree\src
1033 # nmake -f makefile.dos html
1034 # cd $(WXDIR)\utils\wxtab\src
1035 # nmake -f makefile.dos html
1037 # cd $(WXDIR)\utils\wxclips\src
1038 # nmake -f makefile.dos html
1039 # cd $(WXDIR)\utils\clips2c\src
1040 # nmake -f makefile.dos html
1043 nmake -f makefile.dos ps
1044 cd $(WXDIR)\utils\wxhelp\src
1045 nmake -f makefile.dos ps
1046 cd $(WXDIR)\utils\wxhelp2\src
1047 nmake -f makefile.dos ps
1048 cd $(WXDIR)\utils\tex2rtf\src
1049 nmake -f makefile.dos ps
1050 cd $(WXDIR)\utils\wxgraph\src
1051 nmake -f makefile.dos ps
1052 cd $(WXDIR)\utils\wxchart\src
1053 nmake -f makefile.dos ps
1054 cd $(WXDIR)\utils\wxtree\src
1055 nmake -f makefile.dos ps
1056 cd $(WXDIR)\utils\wxprop\src
1057 nmake -f makefile.dos ps
1058 cd $(WXDIR)\utils\dialoged\src
1059 nmake -f makefile.dos ps
1062 # cd $(WXDIR)\utils\wxtab\src
1063 # nmake -f makefile.dos ps
1064 # cd $(WXDIR)\utils\prologio\src
1065 # nmake -f makefile.dos ps
1066 # cd $(WXDIR)\utils\wxclips\src
1067 # nmake -f makefile.dos ps
1068 # cd $(WXDIR)\utils\clips2c\src
1069 # nmake -f makefile.dos ps
1071 $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
1072 cd $(DOCDIR)/latex/wx
1075 move wx.hlp $(DOCDIR)\winhelp\wx.hlp
1076 move wx.cnt $(DOCDIR)\winhelp\wx.cnt
1079 $(DOCDIR)/winhelp/faq.hlp: $(DOCDIR)/latex/faq/faq.rtf $(DOCDIR)/latex/faq/faq.hpj
1080 cd $(DOCDIR)/latex/faq
1083 move faq.hlp $(DOCDIR)\winhelp\faq.hlp
1084 move faq.cnt $(DOCDIR)\winhelp\faq.cnt
1087 $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj
1088 cd $(DOCDIR)/latex/techref
1091 move techref.hlp $(DOCDIR)\winhelp\techref.hlp
1092 move techref.cnt $(DOCDIR)\winhelp\techref.cnt
1095 $(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
1096 cd $(DOCDIR)\latex\wx
1097 -start /w tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
1100 $(DOCDIR)/latex/faq/faq.rtf: $(DOCDIR)/latex/faq/faq.tex
1101 cd $(DOCDIR)\latex\faq
1102 -start /w tex2rtf $(DOCDIR)/latex/faq/faq.tex $(DOCDIR)/latex/faq/faq.rtf -twice -winhelp
1105 $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
1106 cd $(DOCDIR)\latex\techref
1107 -start /w tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp
1110 $(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
1111 cd $(DOCDIR)\latex\wx
1112 -mkdir $(DOCDIR)\html\wx
1113 -start /w tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html -macros $(DOCDIR)\tex2rtf.ini
1114 -erase $(DOCDIR)\html\wx\*.con
1115 -erase $(DOCDIR)\html\wx\*.ref
1116 -erase $(DOCDIR)\latex\wx\*.con
1117 -erase $(DOCDIR)\latex\wx\*.ref
1120 $(DOCDIR)\html\faq\faq.htm: $(DOCDIR)\latex\faq\faq.tex
1121 cd $(DOCDIR)\latex\faq
1122 -mkdir $(DOCDIR)\html\faq
1123 -start /w tex2rtf $(DOCDIR)\latex\faq\faq.tex $(DOCDIR)\html\faq\faq.htm -twice -html -macros $(DOCDIR)\tex2rtf.ini
1124 -erase $(DOCDIR)\html\faq\*.con
1125 -erase $(DOCDIR)\html\faq\*.ref
1126 -erase $(DOCDIR)\latex\faq\*.con
1127 -erase $(DOCDIR)\latexfaq\*.ref
1130 $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
1131 cd $(WXDIR)\docs\latex\wx
1140 $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
1141 cd $(WXDIR)\docs\latex\wx
1142 -dvips32 -o wx.ps manual
1143 move wx.ps $(WXDIR)\docs\ps\wx.ps
1146 $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
1147 cd $(WXDIR)\docs\latex\wx
1156 $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
1157 cd $(WXDIR)\docs\latex\wx
1158 -dvips32 -o referenc.ps referenc
1159 move referenc.ps $(WXDIR)\docs\ps\referenc.ps
1162 $(WXDIR)\docs\latex\faq\faq.dvi: $(DOCDIR)/latex/faq/faq.tex
1163 cd $(WXDIR)\docs\latex\faq
1171 $(WXDIR)\docs\ps\faq.ps: $(WXDIR)\docs\latex\faq\faq.dvi
1172 cd $(WXDIR)\docs\latex\faq
1173 -dvips32 -o faq.ps faq
1174 move faq.ps $(WXDIR)\docs\ps\faq.ps