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)\prntbase.obj \
93 $(COMMDIR)\resource.obj \
94 $(COMMDIR)\tbarbase.obj \
95 $(COMMDIR)\tbarsmpl.obj \
96 $(COMMDIR)\textfile.obj \
97 $(COMMDIR)\timercmn.obj \
98 $(COMMDIR)\utilscmn.obj \
99 $(COMMDIR)\validate.obj \
100 $(COMMDIR)\valtext.obj \
101 $(COMMDIR)\date.obj \
102 $(COMMDIR)\wxexpr.obj \
103 $(COMMDIR)\hash.obj \
104 $(COMMDIR)\list.obj \
105 $(COMMDIR)\string.obj \
106 $(COMMDIR)\time.obj \
109 # Nested classes: won't comple
110 # $(COMMDIR)\fileconf.obj \
114 $(MSWDIR)\bitmap.obj \
115 $(MSWDIR)\bmpbuttn.obj \
116 $(MSWDIR)\brush.obj \
117 $(MSWDIR)\button.obj \
118 $(MSWDIR)\checkbox.obj \
119 $(MSWDIR)\checklst.obj \
120 $(MSWDIR)\choice.obj \
121 $(MSWDIR)\clipbrd.obj \
122 $(MSWDIR)\colordlg.obj \
123 $(MSWDIR)\colour.obj \
124 $(MSWDIR)\combobox.obj \
125 $(MSWDIR)\control.obj \
126 $(MSWDIR)\curico.obj \
127 $(MSWDIR)\cursor.obj \
130 $(MSWDIR)\dcmemory.obj \
131 $(MSWDIR)\dcclient.obj \
132 $(MSWDIR)\dcprint.obj \
133 $(MSWDIR)\dcscreen.obj \
135 $(MSWDIR)\dialog.obj \
137 $(MSWDIR)\dirdlg.obj \
138 $(MSWDIR)\filedlg.obj \
140 $(MSWDIR)\fontdlg.obj \
141 $(MSWDIR)\frame.obj \
142 $(MSWDIR)\gauge.obj \
143 $(MSWDIR)\gdiobj.obj \
144 $(MSWDIR)\helpwin.obj \
146 $(MSWDIR)\imaglist.obj \
147 $(MSWDIR)\joystick.obj \
148 $(MSWDIR)\listbox.obj \
149 $(MSWDIR)\listctrl.obj \
153 $(MSWDIR)\menuitem.obj \
154 $(MSWDIR)\metafile.obj \
155 $(MSWDIR)\minifram.obj \
156 $(MSWDIR)\msgdlg.obj \
157 $(MSWDIR)\nativdlg.obj \
158 $(MSWDIR)\ownerdrw.obj \
159 $(MSWDIR)\palette.obj \
161 $(MSWDIR)\penwin.obj \
162 $(MSWDIR)\printdlg.obj \
163 $(MSWDIR)\printwin.obj \
164 $(MSWDIR)\radiobox.obj \
165 $(MSWDIR)\radiobut.obj \
166 $(MSWDIR)\region.obj \
167 $(MSWDIR)\scrolbar.obj \
168 $(MSWDIR)\settings.obj \
169 $(MSWDIR)\slider.obj \
170 $(MSWDIR)\spinbutt.obj \
171 $(MSWDIR)\statbmp.obj \
172 $(MSWDIR)\statbox.obj \
173 $(MSWDIR)\stattext.obj \
174 $(MSWDIR)\tbar95.obj \
175 $(MSWDIR)\tbarmsw.obj \
176 $(MSWDIR)\textctrl.obj \
177 $(MSWDIR)\timer.obj \
178 $(MSWDIR)\treectrl.obj \
179 $(MSWDIR)\utils.obj \
181 $(MSWDIR)\window.obj \
182 $(OLEDIR)\droptgt.obj \
183 $(OLEDIR)\oleutils.obj \
186 # $(MSWDIR)\registry.obj \
188 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS)
190 # Normal, static library
191 all: $(DUMMYOBJ) $(WXDIR)\lib\wx1.lib $(WXDIR)\lib\wx2.lib $(WXDIR)\lib\wx3.lib
194 #$(WXDIR)\lib\wx.lib: dummy.obj $(OBJECTS) $(PERIPH_LIBS)
195 # -erase $(LIBTARGET)
196 # lib /PAGESIZE:128 @<<
199 #$(OBJECTS) $(PERIPH_LIBS)
204 $(WXDIR)\lib\wx1.lib: $(COMMONOBJS) $(PERIPH_LIBS)
205 -erase $(WXDIR)\lib\wx1.lib
206 lib /PAGESIZE:128 @<<
209 $(COMMONOBJS) $(PERIPH_LIBS)
214 $(WXDIR)\lib\wx2.lib: $(GENERICOBJS)
215 -erase $(WXDIR)\lib\wx2.lib
216 lib /PAGESIZE:128 @<<
224 $(WXDIR)\lib\wx3.lib: $(MSWOBJS)
225 -erase $(WXDIR)\lib\wx3.lib
226 lib /PAGESIZE:128 @<<
234 ########################################################
235 # Windows-specific objects
237 dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
239 cl $(CPPFLAGS) /YcWX/WXPREC.H $(DEBUG_FLAGS) /c /Tp $*.$(SRCSUFF)
242 #dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
243 # cl $(CPPFLAGS) /YcWX/WXPREC.H $(DEBUG_FLAGS) /c /Tp $*.$(SRCSUFF)
245 dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
247 $(CPPFLAGS) /YcWX/WXPREC.H /c /Tp $*.$(SRCSUFF)
250 $(MSWDIR)/app.obj: $*.$(SRCSUFF)
252 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
255 $(MSWDIR)/bitmap.obj: $*.$(SRCSUFF)
257 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
260 $(MSWDIR)/bmpbuttn.obj: $*.$(SRCSUFF)
262 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
265 $(MSWDIR)/brush.obj: $*.$(SRCSUFF)
267 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
270 $(MSWDIR)/button.obj: $*.$(SRCSUFF)
272 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
275 $(MSWDIR)/choice.obj: $*.$(SRCSUFF)
277 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
280 $(MSWDIR)/checkbox.obj: $*.$(SRCSUFF)
282 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
285 $(MSWDIR)/checklst.obj: $*.$(SRCSUFF)
287 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
290 $(MSWDIR)/clipbrd.obj: $*.$(SRCSUFF)
292 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
295 $(MSWDIR)/colordlg.obj: $*.$(SRCSUFF)
297 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
300 $(MSWDIR)/colour.obj: $*.$(SRCSUFF)
302 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
305 $(MSWDIR)/combobox.obj: $*.$(SRCSUFF)
307 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
310 $(MSWDIR)/control.obj: $*.$(SRCSUFF)
312 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
315 $(MSWDIR)/curico.obj: $*.$(SRCSUFF)
317 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
320 $(MSWDIR)/cursor.obj: $*.$(SRCSUFF)
322 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
325 $(MSWDIR)/data.obj: $*.$(SRCSUFF)
327 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
330 $(MSWDIR)/dc.obj: $*.$(SRCSUFF)
332 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
335 $(MSWDIR)/dde.obj: $*.$(SRCSUFF)
337 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
340 $(MSWDIR)/dcmemory.obj: $*.$(SRCSUFF)
342 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
345 $(MSWDIR)/dcclient.obj: $*.$(SRCSUFF)
347 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
350 $(MSWDIR)/dcprint.obj: $*.$(SRCSUFF)
352 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
355 $(MSWDIR)/dcscreen.obj: $*.$(SRCSUFF)
357 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
360 $(MSWDIR)/dialog.obj: $*.$(SRCSUFF)
362 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
365 $(MSWDIR)/dib.obj: $*.$(SRCSUFF)
367 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
370 $(MSWDIR)/dirdlg.obj: $*.$(SRCSUFF)
372 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
375 $(MSWDIR)/filedlg.obj: $*.$(SRCSUFF)
377 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
380 $(MSWDIR)/font.obj: $*.$(SRCSUFF)
382 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
385 $(MSWDIR)/fontdlg.obj: $*.$(SRCSUFF)
387 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
390 $(MSWDIR)/frame.obj: $*.$(SRCSUFF)
392 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
395 $(MSWDIR)/gauge.obj: $*.$(SRCSUFF)
397 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
400 $(MSWDIR)/gdiobj.obj: $*.$(SRCSUFF)
402 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
405 $(MSWDIR)/helpwin.obj: $*.$(SRCSUFF)
407 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
410 $(MSWDIR)/icon.obj: $*.$(SRCSUFF)
412 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
415 $(MSWDIR)/imaglist.obj: $*.$(SRCSUFF)
417 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
420 $(MSWDIR)/joystick.obj: $*.$(SRCSUFF)
422 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
425 $(MSWDIR)/listbox.obj: $*.$(SRCSUFF)
427 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
430 $(MSWDIR)/listctrl.obj: $*.$(SRCSUFF)
432 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
435 $(MSWDIR)/main.obj: $*.$(SRCSUFF)
437 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
440 $(MSWDIR)/mdi.obj: $*.$(SRCSUFF)
442 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
445 $(MSWDIR)/menu.obj: $*.$(SRCSUFF)
447 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
450 $(MSWDIR)/menuitem.obj: $*.$(SRCSUFF)
452 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
455 $(MSWDIR)/metafile.obj: $*.$(SRCSUFF)
457 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
460 $(MSWDIR)/minifram.obj: $*.$(SRCSUFF)
462 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
465 $(MSWDIR)/msgdlg.obj: $*.$(SRCSUFF)
467 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
470 $(MSWDIR)/nativdlg.obj: $*.$(SRCSUFF)
472 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
475 $(MSWDIR)/ownerdrw.obj: $*.$(SRCSUFF)
477 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
480 $(MSWDIR)/palette.obj: $*.$(SRCSUFF)
482 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
485 $(MSWDIR)/pen.obj: $*.$(SRCSUFF)
487 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
490 $(MSWDIR)/penwin.obj: $*.$(SRCSUFF)
492 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
495 $(MSWDIR)/printdlg.obj: $*.$(SRCSUFF)
497 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
500 $(MSWDIR)/printwin.obj: $*.$(SRCSUFF)
502 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
505 $(MSWDIR)/radiobox.obj: $*.$(SRCSUFF)
507 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
510 $(MSWDIR)/radiobut.obj: $*.$(SRCSUFF)
512 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
515 $(MSWDIR)/region.obj: $*.$(SRCSUFF)
517 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
520 $(MSWDIR)/registry.obj: $*.$(SRCSUFF)
522 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
525 $(MSWDIR)/scrolbar.obj: $*.$(SRCSUFF)
527 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
530 $(MSWDIR)/settings.obj: $*.$(SRCSUFF)
532 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
535 $(MSWDIR)/slider.obj: $*.$(SRCSUFF)
537 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
540 $(MSWDIR)/spinbutt.obj: $*.$(SRCSUFF)
542 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
545 $(MSWDIR)/statbmp.obj: $*.$(SRCSUFF)
547 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
550 $(MSWDIR)/statbox.obj: $*.$(SRCSUFF)
552 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
555 $(MSWDIR)/stattext.obj: $*.$(SRCSUFF)
557 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
560 $(MSWDIR)/tbar95.obj: $*.$(SRCSUFF)
562 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
565 $(MSWDIR)/tbarmsw.obj: $*.$(SRCSUFF)
567 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
570 $(MSWDIR)/textctrl.obj: $*.$(SRCSUFF)
572 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
575 $(MSWDIR)/timer.obj: $*.$(SRCSUFF)
577 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
580 $(MSWDIR)/treectrl.obj: $*.$(SRCSUFF)
582 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
585 $(MSWDIR)/utils.obj: $*.$(SRCSUFF)
587 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
590 $(MSWDIR)/wave.obj: $*.$(SRCSUFF)
592 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
595 $(MSWDIR)/window.obj: $*.$(SRCSUFF)
597 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
600 $(OLEDIR)/droptgt.obj: $*.$(SRCSUFF)
602 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
605 $(OLEDIR)/oleutils.obj: $*.$(SRCSUFF)
607 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
610 $(OLEDIR)/uuid.obj: $*.$(SRCSUFF)
612 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
615 ########################################################
616 # Common objects (always compiled)
618 $(COMMDIR)/config.obj: $*.$(SRCSUFF)
620 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
623 $(COMMDIR)/cmndata.obj: $*.$(SRCSUFF)
625 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
628 $(COMMDIR)/docview.obj: $*.$(SRCSUFF)
630 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
633 $(COMMDIR)/dynarray.obj: $*.$(SRCSUFF)
635 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
638 $(COMMDIR)/event.obj: $*.$(SRCSUFF)
640 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
643 $(COMMDIR)/file.obj: $*.$(SRCSUFF)
645 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
648 $(COMMDIR)/fileconf.obj: $*.$(SRCSUFF)
650 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
653 $(COMMDIR)/filefn.obj: $*.$(SRCSUFF)
655 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
658 $(COMMDIR)/gdicmn.obj: $*.$(SRCSUFF)
660 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
663 $(COMMDIR)/helpbase.obj: $*.$(SRCSUFF)
665 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
668 $(COMMDIR)/intl.obj: $*.$(SRCSUFF)
670 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
673 $(COMMDIR)/ipcbase.obj: $*.$(SRCSUFF)
675 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
678 $(COMMDIR)/layout.obj: $*.$(SRCSUFF)
680 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
683 $(COMMDIR)/log.obj: $*.$(SRCSUFF)
685 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
688 $(COMMDIR)/memory.obj: $*.$(SRCSUFF)
690 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
693 $(COMMDIR)/module.obj: $*.$(SRCSUFF)
695 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
698 $(COMMDIR)/object.obj: $*.$(SRCSUFF)
700 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
703 $(COMMDIR)/odbc.obj: $*.$(SRCSUFF)
705 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
708 $(COMMDIR)/postscrp.obj: $*.$(SRCSUFF)
710 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
713 $(COMMDIR)/prntbase.obj: $*.$(SRCSUFF)
715 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
718 $(COMMDIR)/resource.obj: $*.$(SRCSUFF)
720 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
723 $(COMMDIR)/tbarbase.obj: $*.$(SRCSUFF)
725 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
728 $(COMMDIR)/tbarsmpl.obj: $*.$(SRCSUFF)
730 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
733 $(COMMDIR)/textfile.obj: $*.$(SRCSUFF)
735 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
738 $(COMMDIR)/timercmn.obj: $*.$(SRCSUFF)
740 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
743 $(COMMDIR)/utilscmn.obj: $*.$(SRCSUFF)
745 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
748 $(COMMDIR)/validate.obj: $*.$(SRCSUFF)
750 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
753 $(COMMDIR)/valtext.obj: $*.$(SRCSUFF)
755 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
758 $(COMMDIR)/date.obj: $*.$(SRCSUFF)
760 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
763 $(COMMDIR)/wxexpr.obj: $*.$(SRCSUFF)
765 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
768 $(COMMDIR)/hash.obj: $*.$(SRCSUFF)
770 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
773 $(COMMDIR)/list.obj: $*.$(SRCSUFF)
775 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
778 $(COMMDIR)/string.obj: $*.$(SRCSUFF)
780 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
783 $(COMMDIR)/matrix.obj: $*.$(SRCSUFF)
785 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
788 $(COMMDIR)/wxstrgnu/wxstrgnu.obj: $*.$(SRCSUFF)
790 $(CPPFLAGS2) /Fo$@ /c /Tp $*.$(SRCSUFF)
793 $(COMMDIR)/wxstrgnu/wxregex.obj: $*.$(SRCSUFF)
795 $(CPPFLAGS2) /Fo$@ /c /Tp $*.$(SRCSUFF)
798 $(COMMDIR)/time.obj: $*.$(SRCSUFF)
800 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
803 $(COMMDIR)/y_tab.obj: $*.c $(COMMDIR)/lex_yy.c
805 $(CPPFLAGS2) -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ /I ..\common /c $*.c
808 $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c
809 copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c
811 $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
812 copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c
814 ########################################################
815 # Generic objects (not always compiled, depending on
816 # whether platforms have native implementations)
818 $(GENDIR)/choicdgg.obj: $*.$(SRCSUFF)
820 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
823 $(GENDIR)/colrdlgg.obj: $*.$(SRCSUFF)
825 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
828 $(GENDIR)/fontdlgg.obj: $*.$(SRCSUFF)
830 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
833 $(GENDIR)/gridg.obj: $*.$(SRCSUFF)
835 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
838 $(GENDIR)/helpxlp.obj: $*.$(SRCSUFF)
840 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
843 $(GENDIR)/msgdlgg.obj: $*.$(SRCSUFF)
845 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
848 $(GENDIR)/panelg.obj: $*.$(SRCSUFF)
850 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
853 $(GENDIR)/printps.obj: $*.$(SRCSUFF)
855 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
858 $(GENDIR)/prntdlgg.obj: $*.$(SRCSUFF)
860 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
863 $(GENDIR)/scrolwin.obj: $*.$(SRCSUFF)
865 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
868 $(GENDIR)/splitter.obj: $*.$(SRCSUFF)
870 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
873 $(GENDIR)/statusbr.obj: $*.$(SRCSUFF)
875 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
878 $(GENDIR)/tabg.obj: $*.$(SRCSUFF)
880 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
883 $(GENDIR)/textdlgg.obj: $*.$(SRCSUFF)
885 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
888 $(OBJECTS): $(WXDIR)/include/wx/setup.h
890 # Peripheral components
893 cd $(WXDIR)\contrib\wxxpm
894 nmake -f makefile.dos FINAL=$(FINAL)
898 cd $(WXDIR)\contrib\wxxpm
899 nmake -f makefile.dos clean
902 clean: $(PERIPH_CLEAN_TARGET)
908 cd $(WXDIR)\src\generic
912 cd $(WXDIR)\src\common
916 cd $(WXDIR)\src\msw\ole
926 hlp: wxhlp faqhlp refhlp
927 wxhlp: $(DOCDIR)/winhelp/wx.hlp
928 faqhlp: $(DOCDIR)/winhelp/faq.hlp
929 refhlp: $(DOCDIR)/winhelp/techref.hlp
930 rtf: $(DOCDIR)/winhelp/wx.rtf
931 faqrtf: $(DOCDIR)/winhelp/faq.rtf
933 wxhtml: $(DOCDIR)\html\wx\wx.htm
934 faqhtml: $(DOCDIR)\html\faq\faq.htm
935 ps: faqps wxps referencps
936 wxps: $(WXDIR)\docs\ps\wx.ps
937 faqps: $(WXDIR)\docs\ps\faq.ps
938 referencps: $(WXDIR)\docs\ps\referenc.ps
940 alldocs: allhlp allhtml allps
943 nmake -f makefile.dos hlp
944 cd $(WXDIR)\utils\wxprop\src
945 nmake -f makefile.dos hlp
946 cd $(WXDIR)\utils\dialoged\src
947 nmake -f makefile.dos hlp
950 # cd $(WXDIR)\utils\wxhelp\src
951 # nmake -f makefile.dos hlp
952 # cd $(WXDIR)\utils\wxhelp2\src
953 # nmake -f makefile.dos hlp
954 # cd $(WXDIR)\utils\prologio\src
955 # nmake -f makefile.dos hlp
956 # cd $(WXDIR)\utils\tex2rtf\src
957 # nmake -f makefile.dos hlp
958 # cd $(WXDIR)\utils\wxgraph\src
959 # nmake -f makefile.dos hlp
960 # cd $(WXDIR)\utils\wxchart\src
961 # nmake -f makefile.dos hlp
962 # cd $(WXDIR)\utils\wxtree\src
963 # nmake -f makefile.dos hlp
964 # cd $(WXDIR)\utils\wxbuild\src
965 # nmake -f makefile.dos hlp
966 # cd $(WXDIR)\utils\wxgrid\src
967 # nmake -f makefile.dos hlp
968 # cd $(WXDIR)\utils\wxtab\src
969 # nmake -f makefile.dos hlp
971 # cd $(WXDIR)\utils\wxclips\src
972 # nmake -f makefile.dos hlp
973 # cd $(WXDIR)\utils\clips2c\src
974 # nmake -f makefile.dos hlp
976 allhtml: wxhtml faqhtml
977 nmake -f makefile.dos html
978 cd $(WXDIR)\utils\wxprop\src
981 # nmake -f makefile.dos html
982 # cd $(WXDIR)\utils\dialoged\src
983 # nmake -f makefile.dos html
984 # cd $(WXDIR)\utils\hytext\src
985 # nmake -f makefile.dos html
986 # cd $(WXDIR)\utils\wxhelp\src
987 # nmake -f makefile.dos html
988 # cd $(WXDIR)\utils\wxhelp2\src
989 # nmake -f makefile.dos html
990 # cd $(WXDIR)\utils\prologio\src
991 # nmake -f makefile.dos html
992 # cd $(WXDIR)\utils\tex2rtf\src
993 # nmake -f makefile.dos html
994 # cd $(WXDIR)\utils\wxgraph\src
995 # nmake -f makefile.dos html
996 # cd $(WXDIR)\utils\wxchart\src
997 # nmake -f makefile.dos html
998 # cd $(WXDIR)\utils\wxtree\src
999 # nmake -f makefile.dos html
1000 # cd $(WXDIR)\utils\wxtab\src
1001 # nmake -f makefile.dos html
1003 # cd $(WXDIR)\utils\wxclips\src
1004 # nmake -f makefile.dos html
1005 # cd $(WXDIR)\utils\clips2c\src
1006 # nmake -f makefile.dos html
1009 nmake -f makefile.dos ps
1010 cd $(WXDIR)\utils\wxhelp\src
1011 nmake -f makefile.dos ps
1012 cd $(WXDIR)\utils\wxhelp2\src
1013 nmake -f makefile.dos ps
1014 cd $(WXDIR)\utils\tex2rtf\src
1015 nmake -f makefile.dos ps
1016 cd $(WXDIR)\utils\wxgraph\src
1017 nmake -f makefile.dos ps
1018 cd $(WXDIR)\utils\wxchart\src
1019 nmake -f makefile.dos ps
1020 cd $(WXDIR)\utils\wxtree\src
1021 nmake -f makefile.dos ps
1022 cd $(WXDIR)\utils\wxprop\src
1023 nmake -f makefile.dos ps
1024 cd $(WXDIR)\utils\dialoged\src
1025 nmake -f makefile.dos ps
1028 # cd $(WXDIR)\utils\wxtab\src
1029 # nmake -f makefile.dos ps
1030 # cd $(WXDIR)\utils\prologio\src
1031 # nmake -f makefile.dos ps
1032 # cd $(WXDIR)\utils\wxclips\src
1033 # nmake -f makefile.dos ps
1034 # cd $(WXDIR)\utils\clips2c\src
1035 # nmake -f makefile.dos ps
1037 $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
1038 cd $(DOCDIR)/latex/wx
1041 move wx.hlp $(DOCDIR)\winhelp\wx.hlp
1042 move wx.cnt $(DOCDIR)\winhelp\wx.cnt
1045 $(DOCDIR)/winhelp/faq.hlp: $(DOCDIR)/latex/faq/faq.rtf $(DOCDIR)/latex/faq/faq.hpj
1046 cd $(DOCDIR)/latex/faq
1049 move faq.hlp $(DOCDIR)\winhelp\faq.hlp
1050 move faq.cnt $(DOCDIR)\winhelp\faq.cnt
1053 $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj
1054 cd $(DOCDIR)/latex/techref
1057 move techref.hlp $(DOCDIR)\winhelp\techref.hlp
1058 move techref.cnt $(DOCDIR)\winhelp\techref.cnt
1061 $(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
1062 cd $(DOCDIR)\latex\wx
1063 -start /w tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
1066 $(DOCDIR)/latex/faq/faq.rtf: $(DOCDIR)/latex/faq/faq.tex
1067 cd $(DOCDIR)\latex\faq
1068 -start /w tex2rtf $(DOCDIR)/latex/faq/faq.tex $(DOCDIR)/latex/faq/faq.rtf -twice -winhelp
1071 $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
1072 cd $(DOCDIR)\latex\techref
1073 -start /w tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp
1076 $(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
1077 cd $(DOCDIR)\latex\wx
1078 -mkdir $(DOCDIR)\html\wx
1079 -start /w tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html -macros $(DOCDIR)\tex2rtf.ini
1080 -erase $(DOCDIR)\html\wx\*.con
1081 -erase $(DOCDIR)\html\wx\*.ref
1082 -erase $(DOCDIR)\latex\wx\*.con
1083 -erase $(DOCDIR)\latex\wx\*.ref
1086 $(DOCDIR)\html\faq\faq.htm: $(DOCDIR)\latex\faq\faq.tex
1087 cd $(DOCDIR)\latex\faq
1088 -mkdir $(DOCDIR)\html\faq
1089 -start /w tex2rtf $(DOCDIR)\latex\faq\faq.tex $(DOCDIR)\html\faq\faq.htm -twice -html -macros $(DOCDIR)\tex2rtf.ini
1090 -erase $(DOCDIR)\html\faq\*.con
1091 -erase $(DOCDIR)\html\faq\*.ref
1092 -erase $(DOCDIR)\latex\faq\*.con
1093 -erase $(DOCDIR)\latexfaq\*.ref
1096 $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
1097 cd $(WXDIR)\docs\latex\wx
1106 $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
1107 cd $(WXDIR)\docs\latex\wx
1108 -dvips32 -o wx.ps manual
1109 move wx.ps $(WXDIR)\docs\ps\wx.ps
1112 $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
1113 cd $(WXDIR)\docs\latex\wx
1122 $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
1123 cd $(WXDIR)\docs\latex\wx
1124 -dvips32 -o referenc.ps referenc
1125 move referenc.ps $(WXDIR)\docs\ps\referenc.ps
1128 $(WXDIR)\docs\latex\faq\faq.dvi: $(DOCDIR)/latex/faq/faq.tex
1129 cd $(WXDIR)\docs\latex\faq
1137 $(WXDIR)\docs\ps\faq.ps: $(WXDIR)\docs\latex\faq\faq.dvi
1138 cd $(WXDIR)\docs\latex\faq
1139 -dvips32 -o faq.ps faq
1140 move faq.ps $(WXDIR)\docs\ps\faq.ps