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)\datstrm.obj \
113 $(COMMDIR)\extended.obj
115 # Nested classes: won't comple
116 # $(COMMDIR)\fileconf.obj \
120 $(MSWDIR)\bitmap.obj \
121 $(MSWDIR)\bmpbuttn.obj \
122 $(MSWDIR)\brush.obj \
123 $(MSWDIR)\button.obj \
124 $(MSWDIR)\checkbox.obj \
125 $(MSWDIR)\checklst.obj \
126 $(MSWDIR)\choice.obj \
127 $(MSWDIR)\clipbrd.obj \
128 $(MSWDIR)\colordlg.obj \
129 $(MSWDIR)\colour.obj \
130 $(MSWDIR)\combobox.obj \
131 $(MSWDIR)\control.obj \
132 $(MSWDIR)\curico.obj \
133 $(MSWDIR)\cursor.obj \
136 $(MSWDIR)\dcmemory.obj \
137 $(MSWDIR)\dcclient.obj \
138 $(MSWDIR)\dcprint.obj \
139 $(MSWDIR)\dcscreen.obj \
141 $(MSWDIR)\dialog.obj \
143 $(MSWDIR)\dirdlg.obj \
144 $(MSWDIR)\filedlg.obj \
146 $(MSWDIR)\fontdlg.obj \
147 $(MSWDIR)\frame.obj \
148 $(MSWDIR)\gaugemsw.obj \
149 $(MSWDIR)\gdiobj.obj \
150 $(MSWDIR)\helpwin.obj \
152 $(MSWDIR)\imaglist.obj \
153 $(MSWDIR)\joystick.obj \
154 $(MSWDIR)\listbox.obj \
155 $(MSWDIR)\listctrl.obj \
159 $(MSWDIR)\menuitem.obj \
160 $(MSWDIR)\metafile.obj \
161 $(MSWDIR)\minifram.obj \
162 $(MSWDIR)\msgdlg.obj \
163 $(MSWDIR)\nativdlg.obj \
164 $(MSWDIR)\ownerdrw.obj \
165 $(MSWDIR)\palette.obj \
167 $(MSWDIR)\penwin.obj \
168 $(MSWDIR)\printdlg.obj \
169 $(MSWDIR)\printwin.obj \
170 $(MSWDIR)\radiobox.obj \
171 $(MSWDIR)\radiobut.obj \
172 $(MSWDIR)\region.obj \
173 $(MSWDIR)\scrolbar.obj \
174 $(MSWDIR)\settings.obj \
175 $(MSWDIR)\slidrmsw.obj \
176 $(MSWDIR)\spinbutt.obj \
177 $(MSWDIR)\statbmp.obj \
178 $(MSWDIR)\statbox.obj \
179 $(MSWDIR)\stattext.obj \
180 $(MSWDIR)\tbarmsw.obj \
181 $(MSWDIR)\textctrl.obj \
182 $(MSWDIR)\timer.obj \
183 $(MSWDIR)\treectrl.obj \
184 $(MSWDIR)\utils.obj \
185 $(MSWDIR)\utilsexc.obj \
187 $(MSWDIR)\window.obj \
188 $(OLEDIR)\droptgt.obj \
189 $(OLEDIR)\dropsrc.obj \
190 $(OLEDIR)\dataobj.obj \
191 $(OLEDIR)\oleutils.obj \
194 # $(MSWDIR)\registry.obj \
196 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS)
198 # Normal, static library
199 all: $(DUMMYOBJ) $(WXDIR)\lib\wx1.lib $(WXDIR)\lib\wx2.lib $(WXDIR)\lib\wx3.lib
202 #$(WXDIR)\lib\wx.lib: dummy.obj $(OBJECTS) $(PERIPH_LIBS)
203 # -erase $(LIBTARGET)
204 # lib /PAGESIZE:128 @<<
207 #$(OBJECTS) $(PERIPH_LIBS)
212 $(WXDIR)\lib\wx1.lib: $(COMMONOBJS) $(PERIPH_LIBS)
213 -erase $(WXDIR)\lib\wx1.lib
214 lib /PAGESIZE:128 @<<
217 $(COMMONOBJS) $(PERIPH_LIBS)
222 $(WXDIR)\lib\wx2.lib: $(GENERICOBJS)
223 -erase $(WXDIR)\lib\wx2.lib
224 lib /PAGESIZE:128 @<<
232 $(WXDIR)\lib\wx3.lib: $(MSWOBJS)
233 -erase $(WXDIR)\lib\wx3.lib
234 lib /PAGESIZE:128 @<<
242 ########################################################
243 # Windows-specific objects
245 dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
247 cl $(CPPFLAGS) /YcWX/WXPREC.H $(DEBUG_FLAGS) /c /Tp $*.$(SRCSUFF)
250 #dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
251 # cl $(CPPFLAGS) /YcWX/WXPREC.H $(DEBUG_FLAGS) /c /Tp $*.$(SRCSUFF)
253 dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
255 $(CPPFLAGS) /YcWX/WXPREC.H /c /Tp $*.$(SRCSUFF)
258 $(MSWDIR)/app.obj: $*.$(SRCSUFF)
260 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
263 $(MSWDIR)/bitmap.obj: $*.$(SRCSUFF)
265 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
268 $(MSWDIR)/bmpbuttn.obj: $*.$(SRCSUFF)
270 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
273 $(MSWDIR)/brush.obj: $*.$(SRCSUFF)
275 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
278 $(MSWDIR)/button.obj: $*.$(SRCSUFF)
280 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
283 $(MSWDIR)/choice.obj: $*.$(SRCSUFF)
285 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
288 $(MSWDIR)/checkbox.obj: $*.$(SRCSUFF)
290 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
293 $(MSWDIR)/checklst.obj: $*.$(SRCSUFF)
295 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
298 $(MSWDIR)/clipbrd.obj: $*.$(SRCSUFF)
300 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
303 $(MSWDIR)/colordlg.obj: $*.$(SRCSUFF)
305 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
308 $(MSWDIR)/colour.obj: $*.$(SRCSUFF)
310 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
313 $(MSWDIR)/combobox.obj: $*.$(SRCSUFF)
315 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
318 $(MSWDIR)/control.obj: $*.$(SRCSUFF)
320 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
323 $(MSWDIR)/curico.obj: $*.$(SRCSUFF)
325 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
328 $(MSWDIR)/cursor.obj: $*.$(SRCSUFF)
330 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
333 $(MSWDIR)/data.obj: $*.$(SRCSUFF)
335 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
338 $(MSWDIR)/dc.obj: $*.$(SRCSUFF)
340 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
343 $(MSWDIR)/dde.obj: $*.$(SRCSUFF)
345 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
348 $(MSWDIR)/dcmemory.obj: $*.$(SRCSUFF)
350 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
353 $(MSWDIR)/dcclient.obj: $*.$(SRCSUFF)
355 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
358 $(MSWDIR)/dcprint.obj: $*.$(SRCSUFF)
360 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
363 $(MSWDIR)/dcscreen.obj: $*.$(SRCSUFF)
365 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
368 $(MSWDIR)/dialog.obj: $*.$(SRCSUFF)
370 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
373 $(MSWDIR)/dib.obj: $*.$(SRCSUFF)
375 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
378 $(MSWDIR)/dirdlg.obj: $*.$(SRCSUFF)
380 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
383 $(MSWDIR)/filedlg.obj: $*.$(SRCSUFF)
385 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
388 $(MSWDIR)/font.obj: $*.$(SRCSUFF)
390 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
393 $(MSWDIR)/fontdlg.obj: $*.$(SRCSUFF)
395 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
398 $(MSWDIR)/frame.obj: $*.$(SRCSUFF)
400 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
403 $(MSWDIR)/gaugemsw.obj: $*.$(SRCSUFF)
405 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
408 $(MSWDIR)/gdiobj.obj: $*.$(SRCSUFF)
410 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
413 $(MSWDIR)/helpwin.obj: $*.$(SRCSUFF)
415 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
418 $(MSWDIR)/icon.obj: $*.$(SRCSUFF)
420 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
423 $(MSWDIR)/imaglist.obj: $*.$(SRCSUFF)
425 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
428 $(MSWDIR)/joystick.obj: $*.$(SRCSUFF)
430 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
433 $(MSWDIR)/listbox.obj: $*.$(SRCSUFF)
435 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
438 $(MSWDIR)/listctrl.obj: $*.$(SRCSUFF)
440 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
443 $(MSWDIR)/main.obj: $*.$(SRCSUFF)
445 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
448 $(MSWDIR)/mdi.obj: $*.$(SRCSUFF)
450 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
453 $(MSWDIR)/menu.obj: $*.$(SRCSUFF)
455 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
458 $(MSWDIR)/menuitem.obj: $*.$(SRCSUFF)
460 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
463 $(MSWDIR)/metafile.obj: $*.$(SRCSUFF)
465 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
468 $(MSWDIR)/minifram.obj: $*.$(SRCSUFF)
470 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
473 $(MSWDIR)/msgdlg.obj: $*.$(SRCSUFF)
475 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
478 $(MSWDIR)/nativdlg.obj: $*.$(SRCSUFF)
480 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
483 $(MSWDIR)/ownerdrw.obj: $*.$(SRCSUFF)
485 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
488 $(MSWDIR)/palette.obj: $*.$(SRCSUFF)
490 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
493 $(MSWDIR)/pen.obj: $*.$(SRCSUFF)
495 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
498 $(MSWDIR)/penwin.obj: $*.$(SRCSUFF)
500 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
503 $(MSWDIR)/printdlg.obj: $*.$(SRCSUFF)
505 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
508 $(MSWDIR)/printwin.obj: $*.$(SRCSUFF)
510 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
513 $(MSWDIR)/radiobox.obj: $*.$(SRCSUFF)
515 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
518 $(MSWDIR)/radiobut.obj: $*.$(SRCSUFF)
520 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
523 $(MSWDIR)/region.obj: $*.$(SRCSUFF)
525 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
528 $(MSWDIR)/registry.obj: $*.$(SRCSUFF)
530 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
533 $(MSWDIR)/scrolbar.obj: $*.$(SRCSUFF)
535 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
538 $(MSWDIR)/settings.obj: $*.$(SRCSUFF)
540 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
543 $(MSWDIR)/slidrmsw.obj: $*.$(SRCSUFF)
545 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
548 $(MSWDIR)/spinbutt.obj: $*.$(SRCSUFF)
550 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
553 $(MSWDIR)/statbmp.obj: $*.$(SRCSUFF)
555 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
558 $(MSWDIR)/statbox.obj: $*.$(SRCSUFF)
560 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
563 $(MSWDIR)/stattext.obj: $*.$(SRCSUFF)
565 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
568 $(MSWDIR)/tbarmsw.obj: $*.$(SRCSUFF)
570 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
573 $(MSWDIR)/textctrl.obj: $*.$(SRCSUFF)
575 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
578 $(MSWDIR)/timer.obj: $*.$(SRCSUFF)
580 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
583 $(MSWDIR)/treectrl.obj: $*.$(SRCSUFF)
585 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
588 $(MSWDIR)/utils.obj: $*.$(SRCSUFF)
590 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
593 $(MSWDIR)/utilsexc.obj: $*.$(SRCSUFF)
595 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
598 $(MSWDIR)/wave.obj: $*.$(SRCSUFF)
600 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
603 $(MSWDIR)/window.obj: $*.$(SRCSUFF)
605 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
608 $(OLEDIR)/droptgt.obj: $*.$(SRCSUFF)
610 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
613 $(OLEDIR)/dropsrc.obj: $*.$(SRCSUFF)
615 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
618 $(OLEDIR)/dataobj.obj: $*.$(SRCSUFF)
620 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
623 $(OLEDIR)/oleutils.obj: $*.$(SRCSUFF)
625 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
628 $(OLEDIR)/uuid.obj: $*.$(SRCSUFF)
630 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
633 ########################################################
634 # Common objects (always compiled)
636 $(COMMDIR)/config.obj: $*.$(SRCSUFF)
638 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
641 $(COMMDIR)/cmndata.obj: $*.$(SRCSUFF)
643 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
646 $(COMMDIR)/docview.obj: $*.$(SRCSUFF)
648 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
651 $(COMMDIR)/dynarray.obj: $*.$(SRCSUFF)
653 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
656 $(COMMDIR)/event.obj: $*.$(SRCSUFF)
658 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
661 $(COMMDIR)/file.obj: $*.$(SRCSUFF)
663 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
666 $(COMMDIR)/fileconf.obj: $*.$(SRCSUFF)
668 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
671 $(COMMDIR)/filefn.obj: $*.$(SRCSUFF)
673 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
676 $(COMMDIR)/gdicmn.obj: $*.$(SRCSUFF)
678 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
681 $(COMMDIR)/helpbase.obj: $*.$(SRCSUFF)
683 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
686 $(COMMDIR)/intl.obj: $*.$(SRCSUFF)
688 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
691 $(COMMDIR)/ipcbase.obj: $*.$(SRCSUFF)
693 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
696 $(COMMDIR)/layout.obj: $*.$(SRCSUFF)
698 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
701 $(COMMDIR)/log.obj: $*.$(SRCSUFF)
703 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
706 $(COMMDIR)/memory.obj: $*.$(SRCSUFF)
708 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
711 $(COMMDIR)/module.obj: $*.$(SRCSUFF)
713 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
716 $(COMMDIR)/object.obj: $*.$(SRCSUFF)
718 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
721 $(COMMDIR)/odbc.obj: $*.$(SRCSUFF)
723 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
726 $(COMMDIR)/postscrp.obj: $*.$(SRCSUFF)
728 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
731 $(COMMDIR)/process.obj: $*.$(SRCSUFF)
733 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
736 $(COMMDIR)/prntbase.obj: $*.$(SRCSUFF)
738 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
741 $(COMMDIR)/resource.obj: $*.$(SRCSUFF)
743 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
746 $(COMMDIR)/tbarbase.obj: $*.$(SRCSUFF)
748 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
751 $(COMMDIR)/tbarsmpl.obj: $*.$(SRCSUFF)
753 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
756 $(COMMDIR)/textfile.obj: $*.$(SRCSUFF)
758 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
761 $(COMMDIR)/timercmn.obj: $*.$(SRCSUFF)
763 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
766 $(COMMDIR)/utilscmn.obj: $*.$(SRCSUFF)
768 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
771 $(COMMDIR)/validate.obj: $*.$(SRCSUFF)
773 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
776 $(COMMDIR)/valtext.obj: $*.$(SRCSUFF)
778 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
781 $(COMMDIR)/date.obj: $*.$(SRCSUFF)
783 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
786 $(COMMDIR)/wxexpr.obj: $*.$(SRCSUFF)
788 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
791 $(COMMDIR)/hash.obj: $*.$(SRCSUFF)
793 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
796 $(COMMDIR)/list.obj: $*.$(SRCSUFF)
798 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
801 $(COMMDIR)/string.obj: $*.$(SRCSUFF)
803 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
806 $(COMMDIR)/matrix.obj: $*.$(SRCSUFF)
808 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
811 $(COMMDIR)/wxstrgnu/wxstrgnu.obj: $*.$(SRCSUFF)
813 $(CPPFLAGS2) /Fo$@ /c /Tp $*.$(SRCSUFF)
816 $(COMMDIR)/wxstrgnu/wxregex.obj: $*.$(SRCSUFF)
818 $(CPPFLAGS2) /Fo$@ /c /Tp $*.$(SRCSUFF)
821 $(COMMDIR)/time.obj: $*.$(SRCSUFF)
823 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
826 $(COMMDIR)/datstrm.obj: $*.$(SRCSUFF)
828 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
831 $(COMMDIR)/extended.obj: $*.c
833 $(CPPFLAGS2) /Fo$@ /c /Tp $*.c
836 $(COMMDIR)/y_tab.obj: $*.c $(COMMDIR)/lex_yy.c
838 $(CPPFLAGS2) -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ /I ..\common /c $*.c
841 $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c
842 copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c
844 $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
845 copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c
847 ########################################################
848 # Generic objects (not always compiled, depending on
849 # whether platforms have native implementations)
851 $(GENDIR)/choicdgg.obj: $*.$(SRCSUFF)
853 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
856 $(GENDIR)/colrdlgg.obj: $*.$(SRCSUFF)
858 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
861 $(GENDIR)/fontdlgg.obj: $*.$(SRCSUFF)
863 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
866 $(GENDIR)/gridg.obj: $*.$(SRCSUFF)
868 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
871 $(GENDIR)/helpxlp.obj: $*.$(SRCSUFF)
873 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
876 $(GENDIR)/msgdlgg.obj: $*.$(SRCSUFF)
878 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
881 $(GENDIR)/panelg.obj: $*.$(SRCSUFF)
883 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
886 $(GENDIR)/printps.obj: $*.$(SRCSUFF)
888 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
891 $(GENDIR)/prntdlgg.obj: $*.$(SRCSUFF)
893 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
896 $(GENDIR)/scrolwin.obj: $*.$(SRCSUFF)
898 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
901 $(GENDIR)/splitter.obj: $*.$(SRCSUFF)
903 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
906 $(GENDIR)/statusbr.obj: $*.$(SRCSUFF)
908 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
911 $(GENDIR)/tabg.obj: $*.$(SRCSUFF)
913 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
916 $(GENDIR)/textdlgg.obj: $*.$(SRCSUFF)
918 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
921 $(OBJECTS): $(WXDIR)/include/wx/setup.h
923 # Peripheral components
926 cd $(WXDIR)\contrib\wxxpm
927 nmake -f makefile.dos FINAL=$(FINAL)
931 cd $(WXDIR)\contrib\wxxpm
932 nmake -f makefile.dos clean
935 clean: $(PERIPH_CLEAN_TARGET)
941 cd $(WXDIR)\src\generic
945 cd $(WXDIR)\src\common
949 cd $(WXDIR)\src\msw\ole
959 hlp: wxhlp faqhlp refhlp
960 wxhlp: $(DOCDIR)/winhelp/wx.hlp
961 faqhlp: $(DOCDIR)/winhelp/faq.hlp
962 refhlp: $(DOCDIR)/winhelp/techref.hlp
963 rtf: $(DOCDIR)/winhelp/wx.rtf
964 faqrtf: $(DOCDIR)/winhelp/faq.rtf
966 wxhtml: $(DOCDIR)\html\wx\wx.htm
967 faqhtml: $(DOCDIR)\html\faq\faq.htm
968 ps: faqps wxps referencps
969 wxps: $(WXDIR)\docs\ps\wx.ps
970 faqps: $(WXDIR)\docs\ps\faq.ps
971 referencps: $(WXDIR)\docs\ps\referenc.ps
973 alldocs: allhlp allhtml allps
976 nmake -f makefile.dos hlp
977 cd $(WXDIR)\utils\wxprop\src
978 nmake -f makefile.dos hlp
979 cd $(WXDIR)\utils\dialoged\src
980 nmake -f makefile.dos hlp
983 # cd $(WXDIR)\utils\wxhelp\src
984 # nmake -f makefile.dos hlp
985 # cd $(WXDIR)\utils\wxhelp2\src
986 # nmake -f makefile.dos hlp
987 # cd $(WXDIR)\utils\prologio\src
988 # nmake -f makefile.dos hlp
989 # cd $(WXDIR)\utils\tex2rtf\src
990 # nmake -f makefile.dos hlp
991 # cd $(WXDIR)\utils\wxgraph\src
992 # nmake -f makefile.dos hlp
993 # cd $(WXDIR)\utils\wxchart\src
994 # nmake -f makefile.dos hlp
995 # cd $(WXDIR)\utils\wxtree\src
996 # nmake -f makefile.dos hlp
997 # cd $(WXDIR)\utils\wxbuild\src
998 # nmake -f makefile.dos hlp
999 # cd $(WXDIR)\utils\wxgrid\src
1000 # nmake -f makefile.dos hlp
1001 # cd $(WXDIR)\utils\wxtab\src
1002 # nmake -f makefile.dos hlp
1004 # cd $(WXDIR)\utils\wxclips\src
1005 # nmake -f makefile.dos hlp
1006 # cd $(WXDIR)\utils\clips2c\src
1007 # nmake -f makefile.dos hlp
1009 allhtml: wxhtml faqhtml
1010 nmake -f makefile.dos html
1011 cd $(WXDIR)\utils\wxprop\src
1014 # nmake -f makefile.dos html
1015 # cd $(WXDIR)\utils\dialoged\src
1016 # nmake -f makefile.dos html
1017 # cd $(WXDIR)\utils\hytext\src
1018 # nmake -f makefile.dos html
1019 # cd $(WXDIR)\utils\wxhelp\src
1020 # nmake -f makefile.dos html
1021 # cd $(WXDIR)\utils\wxhelp2\src
1022 # nmake -f makefile.dos html
1023 # cd $(WXDIR)\utils\prologio\src
1024 # nmake -f makefile.dos html
1025 # cd $(WXDIR)\utils\tex2rtf\src
1026 # nmake -f makefile.dos html
1027 # cd $(WXDIR)\utils\wxgraph\src
1028 # nmake -f makefile.dos html
1029 # cd $(WXDIR)\utils\wxchart\src
1030 # nmake -f makefile.dos html
1031 # cd $(WXDIR)\utils\wxtree\src
1032 # nmake -f makefile.dos html
1033 # cd $(WXDIR)\utils\wxtab\src
1034 # nmake -f makefile.dos html
1036 # cd $(WXDIR)\utils\wxclips\src
1037 # nmake -f makefile.dos html
1038 # cd $(WXDIR)\utils\clips2c\src
1039 # nmake -f makefile.dos html
1042 nmake -f makefile.dos ps
1043 cd $(WXDIR)\utils\wxhelp\src
1044 nmake -f makefile.dos ps
1045 cd $(WXDIR)\utils\wxhelp2\src
1046 nmake -f makefile.dos ps
1047 cd $(WXDIR)\utils\tex2rtf\src
1048 nmake -f makefile.dos ps
1049 cd $(WXDIR)\utils\wxgraph\src
1050 nmake -f makefile.dos ps
1051 cd $(WXDIR)\utils\wxchart\src
1052 nmake -f makefile.dos ps
1053 cd $(WXDIR)\utils\wxtree\src
1054 nmake -f makefile.dos ps
1055 cd $(WXDIR)\utils\wxprop\src
1056 nmake -f makefile.dos ps
1057 cd $(WXDIR)\utils\dialoged\src
1058 nmake -f makefile.dos ps
1061 # cd $(WXDIR)\utils\wxtab\src
1062 # nmake -f makefile.dos ps
1063 # cd $(WXDIR)\utils\prologio\src
1064 # nmake -f makefile.dos ps
1065 # cd $(WXDIR)\utils\wxclips\src
1066 # nmake -f makefile.dos ps
1067 # cd $(WXDIR)\utils\clips2c\src
1068 # nmake -f makefile.dos ps
1070 $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
1071 cd $(DOCDIR)/latex/wx
1074 move wx.hlp $(DOCDIR)\winhelp\wx.hlp
1075 move wx.cnt $(DOCDIR)\winhelp\wx.cnt
1078 $(DOCDIR)/winhelp/faq.hlp: $(DOCDIR)/latex/faq/faq.rtf $(DOCDIR)/latex/faq/faq.hpj
1079 cd $(DOCDIR)/latex/faq
1082 move faq.hlp $(DOCDIR)\winhelp\faq.hlp
1083 move faq.cnt $(DOCDIR)\winhelp\faq.cnt
1086 $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj
1087 cd $(DOCDIR)/latex/techref
1090 move techref.hlp $(DOCDIR)\winhelp\techref.hlp
1091 move techref.cnt $(DOCDIR)\winhelp\techref.cnt
1094 $(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
1095 cd $(DOCDIR)\latex\wx
1096 -start /w tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
1099 $(DOCDIR)/latex/faq/faq.rtf: $(DOCDIR)/latex/faq/faq.tex
1100 cd $(DOCDIR)\latex\faq
1101 -start /w tex2rtf $(DOCDIR)/latex/faq/faq.tex $(DOCDIR)/latex/faq/faq.rtf -twice -winhelp
1104 $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
1105 cd $(DOCDIR)\latex\techref
1106 -start /w tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp
1109 $(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
1110 cd $(DOCDIR)\latex\wx
1111 -mkdir $(DOCDIR)\html\wx
1112 -start /w tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html -macros $(DOCDIR)\tex2rtf.ini
1113 -erase $(DOCDIR)\html\wx\*.con
1114 -erase $(DOCDIR)\html\wx\*.ref
1115 -erase $(DOCDIR)\latex\wx\*.con
1116 -erase $(DOCDIR)\latex\wx\*.ref
1119 $(DOCDIR)\html\faq\faq.htm: $(DOCDIR)\latex\faq\faq.tex
1120 cd $(DOCDIR)\latex\faq
1121 -mkdir $(DOCDIR)\html\faq
1122 -start /w tex2rtf $(DOCDIR)\latex\faq\faq.tex $(DOCDIR)\html\faq\faq.htm -twice -html -macros $(DOCDIR)\tex2rtf.ini
1123 -erase $(DOCDIR)\html\faq\*.con
1124 -erase $(DOCDIR)\html\faq\*.ref
1125 -erase $(DOCDIR)\latex\faq\*.con
1126 -erase $(DOCDIR)\latexfaq\*.ref
1129 $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
1130 cd $(WXDIR)\docs\latex\wx
1139 $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
1140 cd $(WXDIR)\docs\latex\wx
1141 -dvips32 -o wx.ps manual
1142 move wx.ps $(WXDIR)\docs\ps\wx.ps
1145 $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
1146 cd $(WXDIR)\docs\latex\wx
1155 $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
1156 cd $(WXDIR)\docs\latex\wx
1157 -dvips32 -o referenc.ps referenc
1158 move referenc.ps $(WXDIR)\docs\ps\referenc.ps
1161 $(WXDIR)\docs\latex\faq\faq.dvi: $(DOCDIR)/latex/faq/faq.tex
1162 cd $(WXDIR)\docs\latex\faq
1170 $(WXDIR)\docs\ps\faq.ps: $(WXDIR)\docs\latex\faq\faq.dvi
1171 cd $(WXDIR)\docs\latex\faq
1172 -dvips32 -o faq.ps faq
1173 move faq.ps $(WXDIR)\docs\ps\faq.ps