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)\dropsrc.obj \
184 $(OLEDIR)\dataobj.obj \
185 $(OLEDIR)\oleutils.obj \
188 # $(MSWDIR)\registry.obj \
190 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS)
192 # Normal, static library
193 all: $(DUMMYOBJ) $(WXDIR)\lib\wx1.lib $(WXDIR)\lib\wx2.lib $(WXDIR)\lib\wx3.lib
196 #$(WXDIR)\lib\wx.lib: dummy.obj $(OBJECTS) $(PERIPH_LIBS)
197 # -erase $(LIBTARGET)
198 # lib /PAGESIZE:128 @<<
201 #$(OBJECTS) $(PERIPH_LIBS)
206 $(WXDIR)\lib\wx1.lib: $(COMMONOBJS) $(PERIPH_LIBS)
207 -erase $(WXDIR)\lib\wx1.lib
208 lib /PAGESIZE:128 @<<
211 $(COMMONOBJS) $(PERIPH_LIBS)
216 $(WXDIR)\lib\wx2.lib: $(GENERICOBJS)
217 -erase $(WXDIR)\lib\wx2.lib
218 lib /PAGESIZE:128 @<<
226 $(WXDIR)\lib\wx3.lib: $(MSWOBJS)
227 -erase $(WXDIR)\lib\wx3.lib
228 lib /PAGESIZE:128 @<<
236 ########################################################
237 # Windows-specific objects
239 dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
241 cl $(CPPFLAGS) /YcWX/WXPREC.H $(DEBUG_FLAGS) /c /Tp $*.$(SRCSUFF)
244 #dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
245 # cl $(CPPFLAGS) /YcWX/WXPREC.H $(DEBUG_FLAGS) /c /Tp $*.$(SRCSUFF)
247 dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
249 $(CPPFLAGS) /YcWX/WXPREC.H /c /Tp $*.$(SRCSUFF)
252 $(MSWDIR)/app.obj: $*.$(SRCSUFF)
254 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
257 $(MSWDIR)/bitmap.obj: $*.$(SRCSUFF)
259 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
262 $(MSWDIR)/bmpbuttn.obj: $*.$(SRCSUFF)
264 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
267 $(MSWDIR)/brush.obj: $*.$(SRCSUFF)
269 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
272 $(MSWDIR)/button.obj: $*.$(SRCSUFF)
274 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
277 $(MSWDIR)/choice.obj: $*.$(SRCSUFF)
279 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
282 $(MSWDIR)/checkbox.obj: $*.$(SRCSUFF)
284 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
287 $(MSWDIR)/checklst.obj: $*.$(SRCSUFF)
289 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
292 $(MSWDIR)/clipbrd.obj: $*.$(SRCSUFF)
294 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
297 $(MSWDIR)/colordlg.obj: $*.$(SRCSUFF)
299 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
302 $(MSWDIR)/colour.obj: $*.$(SRCSUFF)
304 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
307 $(MSWDIR)/combobox.obj: $*.$(SRCSUFF)
309 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
312 $(MSWDIR)/control.obj: $*.$(SRCSUFF)
314 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
317 $(MSWDIR)/curico.obj: $*.$(SRCSUFF)
319 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
322 $(MSWDIR)/cursor.obj: $*.$(SRCSUFF)
324 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
327 $(MSWDIR)/data.obj: $*.$(SRCSUFF)
329 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
332 $(MSWDIR)/dc.obj: $*.$(SRCSUFF)
334 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
337 $(MSWDIR)/dde.obj: $*.$(SRCSUFF)
339 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
342 $(MSWDIR)/dcmemory.obj: $*.$(SRCSUFF)
344 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
347 $(MSWDIR)/dcclient.obj: $*.$(SRCSUFF)
349 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
352 $(MSWDIR)/dcprint.obj: $*.$(SRCSUFF)
354 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
357 $(MSWDIR)/dcscreen.obj: $*.$(SRCSUFF)
359 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
362 $(MSWDIR)/dialog.obj: $*.$(SRCSUFF)
364 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
367 $(MSWDIR)/dib.obj: $*.$(SRCSUFF)
369 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
372 $(MSWDIR)/dirdlg.obj: $*.$(SRCSUFF)
374 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
377 $(MSWDIR)/filedlg.obj: $*.$(SRCSUFF)
379 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
382 $(MSWDIR)/font.obj: $*.$(SRCSUFF)
384 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
387 $(MSWDIR)/fontdlg.obj: $*.$(SRCSUFF)
389 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
392 $(MSWDIR)/frame.obj: $*.$(SRCSUFF)
394 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
397 $(MSWDIR)/gauge.obj: $*.$(SRCSUFF)
399 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
402 $(MSWDIR)/gdiobj.obj: $*.$(SRCSUFF)
404 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
407 $(MSWDIR)/helpwin.obj: $*.$(SRCSUFF)
409 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
412 $(MSWDIR)/icon.obj: $*.$(SRCSUFF)
414 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
417 $(MSWDIR)/imaglist.obj: $*.$(SRCSUFF)
419 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
422 $(MSWDIR)/joystick.obj: $*.$(SRCSUFF)
424 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
427 $(MSWDIR)/listbox.obj: $*.$(SRCSUFF)
429 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
432 $(MSWDIR)/listctrl.obj: $*.$(SRCSUFF)
434 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
437 $(MSWDIR)/main.obj: $*.$(SRCSUFF)
439 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
442 $(MSWDIR)/mdi.obj: $*.$(SRCSUFF)
444 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
447 $(MSWDIR)/menu.obj: $*.$(SRCSUFF)
449 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
452 $(MSWDIR)/menuitem.obj: $*.$(SRCSUFF)
454 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
457 $(MSWDIR)/metafile.obj: $*.$(SRCSUFF)
459 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
462 $(MSWDIR)/minifram.obj: $*.$(SRCSUFF)
464 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
467 $(MSWDIR)/msgdlg.obj: $*.$(SRCSUFF)
469 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
472 $(MSWDIR)/nativdlg.obj: $*.$(SRCSUFF)
474 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
477 $(MSWDIR)/ownerdrw.obj: $*.$(SRCSUFF)
479 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
482 $(MSWDIR)/palette.obj: $*.$(SRCSUFF)
484 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
487 $(MSWDIR)/pen.obj: $*.$(SRCSUFF)
489 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
492 $(MSWDIR)/penwin.obj: $*.$(SRCSUFF)
494 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
497 $(MSWDIR)/printdlg.obj: $*.$(SRCSUFF)
499 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
502 $(MSWDIR)/printwin.obj: $*.$(SRCSUFF)
504 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
507 $(MSWDIR)/radiobox.obj: $*.$(SRCSUFF)
509 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
512 $(MSWDIR)/radiobut.obj: $*.$(SRCSUFF)
514 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
517 $(MSWDIR)/region.obj: $*.$(SRCSUFF)
519 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
522 $(MSWDIR)/registry.obj: $*.$(SRCSUFF)
524 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
527 $(MSWDIR)/scrolbar.obj: $*.$(SRCSUFF)
529 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
532 $(MSWDIR)/settings.obj: $*.$(SRCSUFF)
534 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
537 $(MSWDIR)/slider.obj: $*.$(SRCSUFF)
539 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
542 $(MSWDIR)/spinbutt.obj: $*.$(SRCSUFF)
544 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
547 $(MSWDIR)/statbmp.obj: $*.$(SRCSUFF)
549 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
552 $(MSWDIR)/statbox.obj: $*.$(SRCSUFF)
554 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
557 $(MSWDIR)/stattext.obj: $*.$(SRCSUFF)
559 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
562 $(MSWDIR)/tbar95.obj: $*.$(SRCSUFF)
564 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
567 $(MSWDIR)/tbarmsw.obj: $*.$(SRCSUFF)
569 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
572 $(MSWDIR)/textctrl.obj: $*.$(SRCSUFF)
574 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
577 $(MSWDIR)/timer.obj: $*.$(SRCSUFF)
579 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
582 $(MSWDIR)/treectrl.obj: $*.$(SRCSUFF)
584 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
587 $(MSWDIR)/utils.obj: $*.$(SRCSUFF)
589 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
592 $(MSWDIR)/wave.obj: $*.$(SRCSUFF)
594 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
597 $(MSWDIR)/window.obj: $*.$(SRCSUFF)
599 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
602 $(OLEDIR)/droptgt.obj: $*.$(SRCSUFF)
604 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
607 $(OLEDIR)/dropsrc.obj: $*.$(SRCSUFF)
609 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
612 $(OLEDIR)/dataobj.obj: $*.$(SRCSUFF)
614 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
617 $(OLEDIR)/oleutils.obj: $*.$(SRCSUFF)
619 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
622 $(OLEDIR)/uuid.obj: $*.$(SRCSUFF)
624 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
627 ########################################################
628 # Common objects (always compiled)
630 $(COMMDIR)/config.obj: $*.$(SRCSUFF)
632 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
635 $(COMMDIR)/cmndata.obj: $*.$(SRCSUFF)
637 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
640 $(COMMDIR)/docview.obj: $*.$(SRCSUFF)
642 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
645 $(COMMDIR)/dynarray.obj: $*.$(SRCSUFF)
647 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
650 $(COMMDIR)/event.obj: $*.$(SRCSUFF)
652 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
655 $(COMMDIR)/file.obj: $*.$(SRCSUFF)
657 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
660 $(COMMDIR)/fileconf.obj: $*.$(SRCSUFF)
662 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
665 $(COMMDIR)/filefn.obj: $*.$(SRCSUFF)
667 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
670 $(COMMDIR)/gdicmn.obj: $*.$(SRCSUFF)
672 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
675 $(COMMDIR)/helpbase.obj: $*.$(SRCSUFF)
677 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
680 $(COMMDIR)/intl.obj: $*.$(SRCSUFF)
682 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
685 $(COMMDIR)/ipcbase.obj: $*.$(SRCSUFF)
687 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
690 $(COMMDIR)/layout.obj: $*.$(SRCSUFF)
692 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
695 $(COMMDIR)/log.obj: $*.$(SRCSUFF)
697 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
700 $(COMMDIR)/memory.obj: $*.$(SRCSUFF)
702 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
705 $(COMMDIR)/module.obj: $*.$(SRCSUFF)
707 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
710 $(COMMDIR)/object.obj: $*.$(SRCSUFF)
712 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
715 $(COMMDIR)/odbc.obj: $*.$(SRCSUFF)
717 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
720 $(COMMDIR)/postscrp.obj: $*.$(SRCSUFF)
722 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
725 $(COMMDIR)/prntbase.obj: $*.$(SRCSUFF)
727 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
730 $(COMMDIR)/resource.obj: $*.$(SRCSUFF)
732 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
735 $(COMMDIR)/tbarbase.obj: $*.$(SRCSUFF)
737 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
740 $(COMMDIR)/tbarsmpl.obj: $*.$(SRCSUFF)
742 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
745 $(COMMDIR)/textfile.obj: $*.$(SRCSUFF)
747 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
750 $(COMMDIR)/timercmn.obj: $*.$(SRCSUFF)
752 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
755 $(COMMDIR)/utilscmn.obj: $*.$(SRCSUFF)
757 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
760 $(COMMDIR)/validate.obj: $*.$(SRCSUFF)
762 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
765 $(COMMDIR)/valtext.obj: $*.$(SRCSUFF)
767 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
770 $(COMMDIR)/date.obj: $*.$(SRCSUFF)
772 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
775 $(COMMDIR)/wxexpr.obj: $*.$(SRCSUFF)
777 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
780 $(COMMDIR)/hash.obj: $*.$(SRCSUFF)
782 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
785 $(COMMDIR)/list.obj: $*.$(SRCSUFF)
787 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
790 $(COMMDIR)/string.obj: $*.$(SRCSUFF)
792 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
795 $(COMMDIR)/matrix.obj: $*.$(SRCSUFF)
797 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
800 $(COMMDIR)/wxstrgnu/wxstrgnu.obj: $*.$(SRCSUFF)
802 $(CPPFLAGS2) /Fo$@ /c /Tp $*.$(SRCSUFF)
805 $(COMMDIR)/wxstrgnu/wxregex.obj: $*.$(SRCSUFF)
807 $(CPPFLAGS2) /Fo$@ /c /Tp $*.$(SRCSUFF)
810 $(COMMDIR)/time.obj: $*.$(SRCSUFF)
812 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
815 $(COMMDIR)/y_tab.obj: $*.c $(COMMDIR)/lex_yy.c
817 $(CPPFLAGS2) -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ /I ..\common /c $*.c
820 $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c
821 copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c
823 $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
824 copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c
826 ########################################################
827 # Generic objects (not always compiled, depending on
828 # whether platforms have native implementations)
830 $(GENDIR)/choicdgg.obj: $*.$(SRCSUFF)
832 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
835 $(GENDIR)/colrdlgg.obj: $*.$(SRCSUFF)
837 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
840 $(GENDIR)/fontdlgg.obj: $*.$(SRCSUFF)
842 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
845 $(GENDIR)/gridg.obj: $*.$(SRCSUFF)
847 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
850 $(GENDIR)/helpxlp.obj: $*.$(SRCSUFF)
852 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
855 $(GENDIR)/msgdlgg.obj: $*.$(SRCSUFF)
857 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
860 $(GENDIR)/panelg.obj: $*.$(SRCSUFF)
862 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
865 $(GENDIR)/printps.obj: $*.$(SRCSUFF)
867 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
870 $(GENDIR)/prntdlgg.obj: $*.$(SRCSUFF)
872 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
875 $(GENDIR)/scrolwin.obj: $*.$(SRCSUFF)
877 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
880 $(GENDIR)/splitter.obj: $*.$(SRCSUFF)
882 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
885 $(GENDIR)/statusbr.obj: $*.$(SRCSUFF)
887 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
890 $(GENDIR)/tabg.obj: $*.$(SRCSUFF)
892 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
895 $(GENDIR)/textdlgg.obj: $*.$(SRCSUFF)
897 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
900 $(OBJECTS): $(WXDIR)/include/wx/setup.h
902 # Peripheral components
905 cd $(WXDIR)\contrib\wxxpm
906 nmake -f makefile.dos FINAL=$(FINAL)
910 cd $(WXDIR)\contrib\wxxpm
911 nmake -f makefile.dos clean
914 clean: $(PERIPH_CLEAN_TARGET)
920 cd $(WXDIR)\src\generic
924 cd $(WXDIR)\src\common
928 cd $(WXDIR)\src\msw\ole
938 hlp: wxhlp faqhlp refhlp
939 wxhlp: $(DOCDIR)/winhelp/wx.hlp
940 faqhlp: $(DOCDIR)/winhelp/faq.hlp
941 refhlp: $(DOCDIR)/winhelp/techref.hlp
942 rtf: $(DOCDIR)/winhelp/wx.rtf
943 faqrtf: $(DOCDIR)/winhelp/faq.rtf
945 wxhtml: $(DOCDIR)\html\wx\wx.htm
946 faqhtml: $(DOCDIR)\html\faq\faq.htm
947 ps: faqps wxps referencps
948 wxps: $(WXDIR)\docs\ps\wx.ps
949 faqps: $(WXDIR)\docs\ps\faq.ps
950 referencps: $(WXDIR)\docs\ps\referenc.ps
952 alldocs: allhlp allhtml allps
955 nmake -f makefile.dos hlp
956 cd $(WXDIR)\utils\wxprop\src
957 nmake -f makefile.dos hlp
958 cd $(WXDIR)\utils\dialoged\src
959 nmake -f makefile.dos hlp
962 # cd $(WXDIR)\utils\wxhelp\src
963 # nmake -f makefile.dos hlp
964 # cd $(WXDIR)\utils\wxhelp2\src
965 # nmake -f makefile.dos hlp
966 # cd $(WXDIR)\utils\prologio\src
967 # nmake -f makefile.dos hlp
968 # cd $(WXDIR)\utils\tex2rtf\src
969 # nmake -f makefile.dos hlp
970 # cd $(WXDIR)\utils\wxgraph\src
971 # nmake -f makefile.dos hlp
972 # cd $(WXDIR)\utils\wxchart\src
973 # nmake -f makefile.dos hlp
974 # cd $(WXDIR)\utils\wxtree\src
975 # nmake -f makefile.dos hlp
976 # cd $(WXDIR)\utils\wxbuild\src
977 # nmake -f makefile.dos hlp
978 # cd $(WXDIR)\utils\wxgrid\src
979 # nmake -f makefile.dos hlp
980 # cd $(WXDIR)\utils\wxtab\src
981 # nmake -f makefile.dos hlp
983 # cd $(WXDIR)\utils\wxclips\src
984 # nmake -f makefile.dos hlp
985 # cd $(WXDIR)\utils\clips2c\src
986 # nmake -f makefile.dos hlp
988 allhtml: wxhtml faqhtml
989 nmake -f makefile.dos html
990 cd $(WXDIR)\utils\wxprop\src
993 # nmake -f makefile.dos html
994 # cd $(WXDIR)\utils\dialoged\src
995 # nmake -f makefile.dos html
996 # cd $(WXDIR)\utils\hytext\src
997 # nmake -f makefile.dos html
998 # cd $(WXDIR)\utils\wxhelp\src
999 # nmake -f makefile.dos html
1000 # cd $(WXDIR)\utils\wxhelp2\src
1001 # nmake -f makefile.dos html
1002 # cd $(WXDIR)\utils\prologio\src
1003 # nmake -f makefile.dos html
1004 # cd $(WXDIR)\utils\tex2rtf\src
1005 # nmake -f makefile.dos html
1006 # cd $(WXDIR)\utils\wxgraph\src
1007 # nmake -f makefile.dos html
1008 # cd $(WXDIR)\utils\wxchart\src
1009 # nmake -f makefile.dos html
1010 # cd $(WXDIR)\utils\wxtree\src
1011 # nmake -f makefile.dos html
1012 # cd $(WXDIR)\utils\wxtab\src
1013 # nmake -f makefile.dos html
1015 # cd $(WXDIR)\utils\wxclips\src
1016 # nmake -f makefile.dos html
1017 # cd $(WXDIR)\utils\clips2c\src
1018 # nmake -f makefile.dos html
1021 nmake -f makefile.dos ps
1022 cd $(WXDIR)\utils\wxhelp\src
1023 nmake -f makefile.dos ps
1024 cd $(WXDIR)\utils\wxhelp2\src
1025 nmake -f makefile.dos ps
1026 cd $(WXDIR)\utils\tex2rtf\src
1027 nmake -f makefile.dos ps
1028 cd $(WXDIR)\utils\wxgraph\src
1029 nmake -f makefile.dos ps
1030 cd $(WXDIR)\utils\wxchart\src
1031 nmake -f makefile.dos ps
1032 cd $(WXDIR)\utils\wxtree\src
1033 nmake -f makefile.dos ps
1034 cd $(WXDIR)\utils\wxprop\src
1035 nmake -f makefile.dos ps
1036 cd $(WXDIR)\utils\dialoged\src
1037 nmake -f makefile.dos ps
1040 # cd $(WXDIR)\utils\wxtab\src
1041 # nmake -f makefile.dos ps
1042 # cd $(WXDIR)\utils\prologio\src
1043 # nmake -f makefile.dos ps
1044 # cd $(WXDIR)\utils\wxclips\src
1045 # nmake -f makefile.dos ps
1046 # cd $(WXDIR)\utils\clips2c\src
1047 # nmake -f makefile.dos ps
1049 $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
1050 cd $(DOCDIR)/latex/wx
1053 move wx.hlp $(DOCDIR)\winhelp\wx.hlp
1054 move wx.cnt $(DOCDIR)\winhelp\wx.cnt
1057 $(DOCDIR)/winhelp/faq.hlp: $(DOCDIR)/latex/faq/faq.rtf $(DOCDIR)/latex/faq/faq.hpj
1058 cd $(DOCDIR)/latex/faq
1061 move faq.hlp $(DOCDIR)\winhelp\faq.hlp
1062 move faq.cnt $(DOCDIR)\winhelp\faq.cnt
1065 $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj
1066 cd $(DOCDIR)/latex/techref
1069 move techref.hlp $(DOCDIR)\winhelp\techref.hlp
1070 move techref.cnt $(DOCDIR)\winhelp\techref.cnt
1073 $(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
1074 cd $(DOCDIR)\latex\wx
1075 -start /w tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
1078 $(DOCDIR)/latex/faq/faq.rtf: $(DOCDIR)/latex/faq/faq.tex
1079 cd $(DOCDIR)\latex\faq
1080 -start /w tex2rtf $(DOCDIR)/latex/faq/faq.tex $(DOCDIR)/latex/faq/faq.rtf -twice -winhelp
1083 $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
1084 cd $(DOCDIR)\latex\techref
1085 -start /w tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp
1088 $(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
1089 cd $(DOCDIR)\latex\wx
1090 -mkdir $(DOCDIR)\html\wx
1091 -start /w tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html -macros $(DOCDIR)\tex2rtf.ini
1092 -erase $(DOCDIR)\html\wx\*.con
1093 -erase $(DOCDIR)\html\wx\*.ref
1094 -erase $(DOCDIR)\latex\wx\*.con
1095 -erase $(DOCDIR)\latex\wx\*.ref
1098 $(DOCDIR)\html\faq\faq.htm: $(DOCDIR)\latex\faq\faq.tex
1099 cd $(DOCDIR)\latex\faq
1100 -mkdir $(DOCDIR)\html\faq
1101 -start /w tex2rtf $(DOCDIR)\latex\faq\faq.tex $(DOCDIR)\html\faq\faq.htm -twice -html -macros $(DOCDIR)\tex2rtf.ini
1102 -erase $(DOCDIR)\html\faq\*.con
1103 -erase $(DOCDIR)\html\faq\*.ref
1104 -erase $(DOCDIR)\latex\faq\*.con
1105 -erase $(DOCDIR)\latexfaq\*.ref
1108 $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
1109 cd $(WXDIR)\docs\latex\wx
1118 $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
1119 cd $(WXDIR)\docs\latex\wx
1120 -dvips32 -o wx.ps manual
1121 move wx.ps $(WXDIR)\docs\ps\wx.ps
1124 $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
1125 cd $(WXDIR)\docs\latex\wx
1134 $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
1135 cd $(WXDIR)\docs\latex\wx
1136 -dvips32 -o referenc.ps referenc
1137 move referenc.ps $(WXDIR)\docs\ps\referenc.ps
1140 $(WXDIR)\docs\latex\faq\faq.dvi: $(DOCDIR)/latex/faq/faq.tex
1141 cd $(WXDIR)\docs\latex\faq
1149 $(WXDIR)\docs\ps\faq.ps: $(WXDIR)\docs\latex\faq\faq.dvi
1150 cd $(WXDIR)\docs\latex\faq
1151 -dvips32 -o faq.ps faq
1152 move faq.ps $(WXDIR)\docs\ps\faq.ps