6 # Copyright: (c) 1997, Julian Smart
10 # Makefile : Builds wxWindows library wx.lib for VC++ (32-bit)
13 # FINAL=1 argument to nmake to build version with no debugging info.
14 # dll builds a library (wxdll.lib) suitable for creating DLLs
15 # * Note that the dll target is experimental - see docs/dll.txt.
17 !include <..\ntwxwin.mak>
19 THISDIR=$(WXWIN)\src\msw
21 !if "$(WXMAKINGDLL)" == "1"
22 LIBTARGET=$(WXDIR)\lib\wx200.dll
29 # Please set these according to the settings in wx_setup.h, so we can include
30 # the appropriate libraries in wx.lib
32 # This one overrides the others, to be consistent with the settings in wx_setup.h
33 MINIMAL_WXWINDOWS_SETUP=0
37 !if "$(MINIMAL_WXWINDOWS_SETUP)" == "1"
45 !if "$(USE_XPM_IN_MSW)" == "1"
46 PERIPH_LIBS=$(WXDIR)\contrib\wxxpm\xpm.lib $(PERIPH_LIBS)
47 PERIPH_TARGET=xpm $(PERIPH_TARGET)
48 PERIPH_CLEAN_TARGET=clean_xpm $(PERIPH_CLEAN_TARGET)
56 DOCDIR = $(WXDIR)\docs
59 $(GENDIR)\choicdgg.obj \
60 $(GENDIR)\colrdlgg.obj \
61 $(GENDIR)\fontdlgg.obj \
63 $(GENDIR)\helpxlp.obj \
64 $(GENDIR)\msgdlgg.obj \
65 $(GENDIR)\panelg.obj \
66 $(GENDIR)\printps.obj \
67 $(GENDIR)\prntdlgg.obj \
68 $(GENDIR)\scrolwin.obj \
69 $(GENDIR)\splitter.obj \
70 $(GENDIR)\statusbr.obj \
72 $(GENDIR)\textdlgg.obj
75 $(COMMDIR)\cmndata.obj \
76 $(COMMDIR)\config.obj \
77 $(COMMDIR)\docview.obj \
78 $(COMMDIR)\dynarray.obj \
79 $(COMMDIR)\event.obj \
81 $(COMMDIR)\fileconf.obj \
82 $(COMMDIR)\filefn.obj \
83 $(COMMDIR)\gdicmn.obj \
85 $(COMMDIR)\ipcbase.obj \
86 $(COMMDIR)\helpbase.obj \
87 $(COMMDIR)\layout.obj \
89 $(COMMDIR)\memory.obj \
90 $(COMMDIR)\module.obj \
91 $(COMMDIR)\object.obj \
93 $(COMMDIR)\postscrp.obj \
94 $(COMMDIR)\prntbase.obj \
95 $(COMMDIR)\resource.obj \
96 $(COMMDIR)\tbarbase.obj \
97 $(COMMDIR)\tbarsmpl.obj \
98 $(COMMDIR)\textfile.obj \
99 $(COMMDIR)\timercmn.obj \
100 $(COMMDIR)\utilscmn.obj \
101 $(COMMDIR)\validate.obj \
102 $(COMMDIR)\valtext.obj \
103 $(COMMDIR)\date.obj \
104 $(COMMDIR)\hash.obj \
105 $(COMMDIR)\list.obj \
106 $(COMMDIR)\string.obj \
107 $(COMMDIR)\time.obj \
108 $(COMMDIR)\wxexpr.obj \
111 # $(COMMDIR)\wxstrgnu\wxstrgnu.obj \
112 # $(COMMDIR)\wxstrgnu\wxregex.obj \
113 # $(COMMDIR)\matrix.obj \
117 $(MSWDIR)\bitmap.obj \
118 $(MSWDIR)\bmpbuttn.obj \
119 $(MSWDIR)\brush.obj \
120 $(MSWDIR)\button.obj \
121 $(MSWDIR)\checkbox.obj \
122 $(MSWDIR)\checklst.obj \
123 $(MSWDIR)\choice.obj \
124 $(MSWDIR)\clipbrd.obj \
125 $(MSWDIR)\colordlg.obj \
126 $(MSWDIR)\colour.obj \
127 $(MSWDIR)\combobox.obj \
128 $(MSWDIR)\control.obj \
129 $(MSWDIR)\curico.obj \
130 $(MSWDIR)\cursor.obj \
133 $(MSWDIR)\dcmemory.obj \
134 $(MSWDIR)\dcclient.obj \
135 $(MSWDIR)\dcprint.obj \
136 $(MSWDIR)\dcscreen.obj \
138 $(MSWDIR)\dialog.obj \
140 $(MSWDIR)\dibutils.obj \
141 $(MSWDIR)\dirdlg.obj \
142 $(MSWDIR)\filedlg.obj \
144 $(MSWDIR)\fontdlg.obj \
145 $(MSWDIR)\frame.obj \
146 $(MSWDIR)\gauge.obj \
147 $(MSWDIR)\gdiobj.obj \
148 $(MSWDIR)\helpwin.obj \
150 $(MSWDIR)\imaglist.obj \
151 $(MSWDIR)\joystick.obj \
152 $(MSWDIR)\listbox.obj \
153 $(MSWDIR)\listctrl.obj \
157 $(MSWDIR)\menuitem.obj \
158 $(MSWDIR)\metafile.obj \
159 $(MSWDIR)\minifram.obj \
160 $(MSWDIR)\msgdlg.obj \
161 $(MSWDIR)\nativdlg.obj \
162 $(MSWDIR)\ownerdrw.obj \
163 $(MSWDIR)\palette.obj \
165 $(MSWDIR)\penwin.obj \
166 $(MSWDIR)\pnghand.obj \
167 $(MSWDIR)\printdlg.obj \
168 $(MSWDIR)\printwin.obj \
169 $(MSWDIR)\radiobox.obj \
170 $(MSWDIR)\radiobut.obj \
171 $(MSWDIR)\region.obj \
172 $(MSWDIR)\registry.obj \
173 $(MSWDIR)\scrolbar.obj \
174 $(MSWDIR)\settings.obj \
175 $(MSWDIR)\slider.obj \
176 $(MSWDIR)\spinbutt.obj \
177 $(MSWDIR)\statbmp.obj \
178 $(MSWDIR)\statbox.obj \
179 $(MSWDIR)\statbr95.obj \
180 $(MSWDIR)\stattext.obj \
181 $(MSWDIR)\tabctrl.obj \
182 $(MSWDIR)\taskbar.obj \
183 $(MSWDIR)\tbar95.obj \
184 $(MSWDIR)\tbarmsw.obj \
185 $(MSWDIR)\textctrl.obj \
186 $(MSWDIR)\thread.obj \
187 $(MSWDIR)\timer.obj \
188 $(MSWDIR)\treectrl.obj \
189 $(MSWDIR)\utils.obj \
191 $(MSWDIR)\window.obj \
192 $(OLEDIR)\droptgt.obj \
193 $(OLEDIR)\oleutils.obj \
196 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS)
198 # Normal, static library
199 all: $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET)
201 # wxWindows library as DLL
203 nmake -f makefile.nt all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1
205 # wxWindows + app as DLL. Only affects main.cpp.
207 nmake -f makefile.nt all FINAL=$(FINAL) DLL=1
209 # wxWindows + app as DLL, for Netscape plugin - remove DllMain.
211 nmake -f makefile.nt all NOMAIN=1 FINAL=$(FINAL) DLL=1
213 # Use this to make dummy.obj and generate a PCH.
214 # You might use the dll target, then the pch target, in order to
215 # generate a DLL, then a PCH/dummy.obj for compiling your applications with.
217 # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
218 # are associated with wx.lib. When using a DLL version of wxWindows, however,
219 # the DLL is compiled without a PCH, so you only need it for compiling the app.
220 # In fact headers are compiled differently depending on whether a DLL is being made
221 # or an app is calling the DLL exported functionality (WXDLLEXPORT is different
222 # in each case) so you couldn't use the same PCH.
224 nmake -f makefile.nt pch1 WXUSINGDLL=1
228 $(WXDIR)\lib\wx.lib: dummy.obj $(OBJECTS) $(PERIPH_LIBS)
233 $(OBJECTS) $(PERIPH_LIBS)
236 # Update the import library
237 $(WXDIR)\lib\wx200.lib: $(DUMMYOBJ) $(OBJECTS)
241 $(DUMMYOBJ) $(OBJECTS)
242 -out:$(WXDIR)\lib\wx200.lib
245 # Update the dynamic link library
246 $(WXDIR)\lib\wx200.dll: $(DUMMYOBJ) $(OBJECTS) $(WXDIR)\lib\wx200.lib
249 -out:$(WXDIR)\lib\wx200.dll
250 $(DUMMYOBJ) $(OBJECTS) $(guilibsdll) shell32.lib comctl32.lib ctl3d32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib
253 ########################################################
254 # Windows-specific objects
256 dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
257 cl $(CPPFLAGS) $(MAKEPRECOMP) /c /Tp $*.$(SRCSUFF)
259 dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
261 $(CPPFLAGS) $(MAKEPRECOMP) /c /Tp $*.$(SRCSUFF)
264 $(MSWDIR)/app.obj: $*.$(SRCSUFF)
266 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
269 $(MSWDIR)/bitmap.obj: $*.$(SRCSUFF)
271 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
274 $(MSWDIR)/bmpbuttn.obj: $*.$(SRCSUFF)
276 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
279 $(MSWDIR)/brush.obj: $*.$(SRCSUFF)
281 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
284 $(MSWDIR)/button.obj: $*.$(SRCSUFF)
286 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
289 $(MSWDIR)/choice.obj: $*.$(SRCSUFF)
291 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
294 $(MSWDIR)/checkbox.obj: $*.$(SRCSUFF)
296 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
299 $(MSWDIR)/checklst.obj: $*.$(SRCSUFF)
301 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
304 $(MSWDIR)/clipbrd.obj: $*.$(SRCSUFF)
306 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
309 $(MSWDIR)/colordlg.obj: $*.$(SRCSUFF)
311 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
314 $(MSWDIR)/colour.obj: $*.$(SRCSUFF)
316 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
319 $(MSWDIR)/combobox.obj: $*.$(SRCSUFF)
321 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
324 $(MSWDIR)/control.obj: $*.$(SRCSUFF)
326 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
329 $(MSWDIR)/curico.obj: $*.$(SRCSUFF)
331 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
334 $(MSWDIR)/cursor.obj: $*.$(SRCSUFF)
336 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
339 $(MSWDIR)/data.obj: $*.$(SRCSUFF)
341 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
344 $(MSWDIR)/dde.obj: $*.$(SRCSUFF)
346 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
349 $(MSWDIR)/dc.obj: $*.$(SRCSUFF)
351 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
354 $(MSWDIR)/dcmemory.obj: $*.$(SRCSUFF)
356 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
359 $(MSWDIR)/dcclient.obj: $*.$(SRCSUFF)
361 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
364 $(MSWDIR)/dcprint.obj: $*.$(SRCSUFF)
366 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
369 $(MSWDIR)/dcscreen.obj: $*.$(SRCSUFF)
371 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
374 $(MSWDIR)/dialog.obj: $*.$(SRCSUFF)
376 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
379 $(MSWDIR)/dib.obj: $*.$(SRCSUFF)
381 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
384 $(MSWDIR)/dibutils.obj: $*.$(SRCSUFF)
386 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
389 $(MSWDIR)/dirdlg.obj: $*.$(SRCSUFF)
391 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
394 $(MSWDIR)/filedlg.obj: $*.$(SRCSUFF)
396 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
399 $(MSWDIR)/font.obj: $*.$(SRCSUFF)
401 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
404 $(MSWDIR)/fontdlg.obj: $*.$(SRCSUFF)
406 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
409 $(MSWDIR)/frame.obj: $*.$(SRCSUFF)
411 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
414 $(MSWDIR)/gauge.obj: $*.$(SRCSUFF)
416 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
419 $(MSWDIR)/gdiobj.obj: $*.$(SRCSUFF)
421 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
424 $(MSWDIR)/icon.obj: $*.$(SRCSUFF)
426 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
429 $(MSWDIR)/imaglist.obj: $*.$(SRCSUFF)
431 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
434 $(MSWDIR)/joystick.obj: $*.$(SRCSUFF)
436 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
439 $(MSWDIR)/listbox.obj: $*.$(SRCSUFF)
441 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
444 $(MSWDIR)/listctrl.obj: $*.$(SRCSUFF)
446 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
449 $(MSWDIR)/main.obj: $*.$(SRCSUFF)
451 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
454 $(MSWDIR)/mdi.obj: $*.$(SRCSUFF)
456 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
459 $(MSWDIR)/menu.obj: $*.$(SRCSUFF)
461 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
464 $(MSWDIR)/menuitem.obj: $*.$(SRCSUFF)
466 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
469 $(MSWDIR)/metafile.obj: $*.$(SRCSUFF)
471 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
474 $(MSWDIR)/minifram.obj: $*.$(SRCSUFF)
476 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
479 $(MSWDIR)/msgdlg.obj: $*.$(SRCSUFF)
481 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
484 $(MSWDIR)/nativdlg.obj: $*.$(SRCSUFF)
486 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
489 $(MSWDIR)/ownerdrw.obj: $*.$(SRCSUFF)
491 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
494 $(MSWDIR)/palette.obj: $*.$(SRCSUFF)
496 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
499 $(MSWDIR)/pen.obj: $*.$(SRCSUFF)
501 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
504 $(MSWDIR)/penwin.obj: $*.$(SRCSUFF)
506 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
509 $(MSWDIR)/pnghand.obj: $*.$(SRCSUFF)
511 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
514 $(MSWDIR)/printdlg.obj: $*.$(SRCSUFF)
516 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
519 $(MSWDIR)/printwin.obj: $*.$(SRCSUFF)
521 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
524 $(MSWDIR)/radiobox.obj: $*.$(SRCSUFF)
526 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
529 $(MSWDIR)/radiobut.obj: $*.$(SRCSUFF)
531 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
534 $(MSWDIR)/region.obj: $*.$(SRCSUFF)
536 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
539 $(MSWDIR)/registry.obj: $*.$(SRCSUFF)
541 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
544 $(MSWDIR)/scrolbar.obj: $*.$(SRCSUFF)
546 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
549 $(MSWDIR)/settings.obj: $*.$(SRCSUFF)
551 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
554 $(MSWDIR)/slider.obj: $*.$(SRCSUFF)
556 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
559 $(MSWDIR)/spinbutt.obj: $*.$(SRCSUFF)
561 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
564 $(MSWDIR)/statbmp.obj: $*.$(SRCSUFF)
566 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
569 $(MSWDIR)/statbox.obj: $*.$(SRCSUFF)
571 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
574 $(MSWDIR)/statbr95.obj: $*.$(SRCSUFF)
576 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
579 $(MSWDIR)/stattext.obj: $*.$(SRCSUFF)
581 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
584 $(MSWDIR)/tabctrl.obj: $*.$(SRCSUFF)
586 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
589 $(MSWDIR)/taskbar.obj: $*.$(SRCSUFF)
591 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
594 $(MSWDIR)/tbar95.obj: $*.$(SRCSUFF)
596 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
599 $(MSWDIR)/tbarmsw.obj: $*.$(SRCSUFF)
601 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
604 $(MSWDIR)/textctrl.obj: $*.$(SRCSUFF)
606 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
609 $(MSWDIR)/thread.obj: $*.$(SRCSUFF)
611 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
614 $(MSWDIR)/timer.obj: $*.$(SRCSUFF)
616 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
619 $(MSWDIR)/treectrl.obj: $*.$(SRCSUFF)
621 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
624 $(MSWDIR)/utils.obj: $*.$(SRCSUFF)
626 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
629 $(MSWDIR)/wave.obj: $*.$(SRCSUFF)
632 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
635 $(MSWDIR)/window.obj: $*.$(SRCSUFF)
638 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
641 $(OLEDIR)/droptgt.obj: $*.$(SRCSUFF)
644 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
647 $(OLEDIR)/oleutils.obj: $*.$(SRCSUFF)
650 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
653 $(OLEDIR)/uuid.obj: $*.$(SRCSUFF)
656 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
659 ########################################################
660 # Common objects (always compiled)
662 $(COMMDIR)/cmndata.obj: $*.$(SRCSUFF)
665 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
668 $(COMMDIR)/config.obj: $*.$(SRCSUFF)
671 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
674 $(COMMDIR)/docview.obj: $*.$(SRCSUFF)
676 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
679 $(COMMDIR)/dynarray.obj: $*.$(SRCSUFF)
681 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
684 $(COMMDIR)/event.obj: $*.$(SRCSUFF)
686 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
689 $(COMMDIR)/file.obj: $*.$(SRCSUFF)
691 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
694 $(COMMDIR)/fileconf.obj: $*.$(SRCSUFF)
696 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
699 $(COMMDIR)/filefn.obj: $*.$(SRCSUFF)
701 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
704 $(COMMDIR)/gdicmn.obj: $*.$(SRCSUFF)
706 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
709 $(COMMDIR)/intl.obj: $*.$(SRCSUFF)
711 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
714 $(COMMDIR)/ipcbase.obj: $*.$(SRCSUFF)
716 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
719 $(COMMDIR)/helpbase.obj: $*.$(SRCSUFF)
721 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
724 $(COMMDIR)/layout.obj: $*.$(SRCSUFF)
726 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
729 $(COMMDIR)/log.obj: $*.$(SRCSUFF)
731 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
734 $(COMMDIR)/memory.obj: $*.$(SRCSUFF)
736 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
739 $(COMMDIR)/module.obj: $*.$(SRCSUFF)
741 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
744 $(COMMDIR)/object.obj: $*.$(SRCSUFF)
746 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
749 $(COMMDIR)/odbc.obj: $*.$(SRCSUFF)
751 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
754 $(COMMDIR)/postscrp.obj: $*.$(SRCSUFF)
756 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
759 $(COMMDIR)/prntbase.obj: $*.$(SRCSUFF)
761 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
764 $(COMMDIR)/resource.obj: $*.$(SRCSUFF)
766 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
769 $(COMMDIR)/tbarbase.obj: $*.$(SRCSUFF)
771 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
774 $(COMMDIR)/tbarsmpl.obj: $*.$(SRCSUFF)
776 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
779 $(COMMDIR)/textfile.obj: $*.$(SRCSUFF)
781 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
784 $(COMMDIR)/timercmn.obj: $*.$(SRCSUFF)
786 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
789 $(COMMDIR)/utilscmn.obj: $*.$(SRCSUFF)
791 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
794 $(COMMDIR)/validate.obj: $*.$(SRCSUFF)
796 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
799 $(COMMDIR)/valtext.obj: $*.$(SRCSUFF)
801 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
804 $(COMMDIR)/date.obj: $*.$(SRCSUFF)
806 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
809 $(COMMDIR)/wxexpr.obj: $*.$(SRCSUFF)
812 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
815 $(COMMDIR)/hash.obj: $*.$(SRCSUFF)
817 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
820 $(COMMDIR)/list.obj: $*.$(SRCSUFF)
822 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
825 $(COMMDIR)/string.obj: $*.$(SRCSUFF)
827 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
830 $(COMMDIR)/matrix.obj: $*.$(SRCSUFF)
832 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
835 #$(COMMDIR)/wxstrgnu/wxstrgnu.obj: $*.$(SRCSUFF)
837 #$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF) /Fo$@
840 #$(COMMDIR)/wxstrgnu/wxregex.obj: $*.$(SRCSUFF)
842 #$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF) /Fo$@
845 $(COMMDIR)/time.obj: $*.$(SRCSUFF)
847 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
850 $(COMMDIR)/y_tab.obj: $*.c $(COMMDIR)/lex_yy.c
852 $(CPPFLAGS2) /c $*.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
855 $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c
856 copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c
858 $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
859 copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c
861 ########################################################
862 # Generic objects (not always compiled, depending on
863 # whether platforms have native implementations)
865 $(GENDIR)/choicdgg.obj: $*.$(SRCSUFF)
867 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
870 $(GENDIR)/colrdlgg.obj: $*.$(SRCSUFF)
872 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
875 $(GENDIR)/fontdlgg.obj: $*.$(SRCSUFF)
877 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
880 $(GENDIR)/gridg.obj: $*.$(SRCSUFF)
882 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
885 $(GENDIR)/helpxlp.obj: $*.$(SRCSUFF)
887 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
890 $(GENDIR)/msgdlgg.obj: $*.$(SRCSUFF)
892 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
895 $(GENDIR)/panelg.obj: $*.$(SRCSUFF)
897 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
900 $(GENDIR)/printps.obj: $*.$(SRCSUFF)
902 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
905 $(GENDIR)/prntdlgg.obj: $*.$(SRCSUFF)
907 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
910 $(GENDIR)/scrolwin.obj: $*.$(SRCSUFF)
912 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
915 $(GENDIR)/splitter.obj: $*.$(SRCSUFF)
917 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
920 $(GENDIR)/statusbr.obj: $*.$(SRCSUFF)
922 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
925 $(GENDIR)/tabg.obj: $*.$(SRCSUFF)
927 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
930 $(GENDIR)/textdlgg.obj: $*.$(SRCSUFF)
932 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
935 #test: $(DUMMYOBJ) $(COMMDIR)/string.obj
938 $(OBJECTS): $(WXDIR)/include/wx/setup.h
940 # Peripheral components
943 cd $(WXDIR)\contrib\wxxpm
944 nmake -f makefile.nt FINAL=$(FINAL)
948 cd $(WXDIR)\contrib\wxxpm
949 nmake -f makefile.nt clean
953 cd $(WXDIR)\utils\rcparser\src
954 nmake -f makefile.nt FINAL=$(FINAL)
958 cd $(WXDIR)\contrib\wxstring
959 nmake -f makefile.nt OPTIONS="$(OPTIONS)" DEBUG="$(DEBUG)" FINAL=$(FINAL)
963 cd $(WXDIR)\contrib\wxstring
964 nmake -f makefile.nt clean
968 cd $(WXDIR)\utils\rcparser\src
969 nmake -f makefile.nt clean
972 clean: $(PERIPH_CLEAN_TARGET)
975 -erase ..\..\lib\wx200.dll
976 -erase ..\..\lib\wx200.lib
977 -erase ..\..\lib\wx200.exp
978 -erase ..\..\lib\wx200.pdb
979 -erase ..\..\lib\wx200.ilk
1001 # -erase ..\common\wxstrgnu\*.obj
1002 # -erase ..\common\lex_yy.c
1003 # -erase ..\common\y_tab.c
1009 hlp: wxhlp refhlp portinghlp # faqhlp
1010 wxhlp: $(DOCDIR)/winhelp/wx.hlp
1011 faqhlp: $(DOCDIR)/winhelp/faq.hlp
1012 refhlp: $(DOCDIR)/winhelp/techref.hlp
1013 rtf: $(DOCDIR)/winhelp/wx.rtf
1014 faqrtf: $(DOCDIR)/winhelp/faq.rtf
1015 pdfrtf: $(DOCDIR)/pdf/wx.rtf
1016 faqpdfrtf: $(DOCDIR)/pdf/faq.rtf
1017 refpdfrtf: $(DOCDIR)/pdf/techref.rtf
1018 html: wxhtml # faqhtml
1019 wxhtml: $(DOCDIR)\html\wx\wx.htm
1020 faqhtml: $(DOCDIR)\html\faq\faq.htm
1021 ps: wxps referencps # faqps
1022 wxps: $(WXDIR)\docs\ps\wx.ps
1023 faqps: $(WXDIR)\docs\ps\faq.ps
1024 referencps: $(WXDIR)\docs\ps\referenc.ps
1026 portinghtml: $(DOCDIR)\html\porting\port.htm
1027 portingrtf: $(DOCDIR)/winhelp/porting.rtf
1028 portinghlp: $(DOCDIR)/winhelp/porting.hlp
1029 portingpdfrtf: $(DOCDIR)/pdf/porting.rtf
1030 portingps: $(WXDIR)\docs\ps\porting.ps
1032 alldocs: allhlp allhtml allpdfrtf # allps # TeX can't cope with references!
1034 allhlp: wxhlp portinghlp # faqhlp
1035 cd $(WXDIR)\utils\wxprop\src
1036 nmake -f makefile.nt hlp
1037 cd $(WXDIR)\utils\dialoged\src
1038 nmake -f makefile.nt hlp
1041 # cd $(WXDIR)\utils\wxhelp\src
1042 # nmake -f makefile.nt hlp
1043 # cd $(WXDIR)\utils\wxhelp2\src
1044 # nmake -f makefile.nt hlp
1045 # cd $(WXDIR)\utils\prologio\src
1046 # nmake -f makefile.nt hlp
1047 # cd $(WXDIR)\utils\tex2rtf\src
1048 # nmake -f makefile.nt hlp
1049 # cd $(WXDIR)\utils\wxgraph\src
1050 # nmake -f makefile.nt hlp
1051 # cd $(WXDIR)\utils\wxchart\src
1052 # nmake -f makefile.nt hlp
1053 # cd $(WXDIR)\utils\wxtree\src
1054 # nmake -f makefile.nt hlp
1055 # cd $(WXDIR)\utils\wxbuild\src
1056 # nmake -f makefile.nt hlp
1057 # cd $(WXDIR)\utils\wxgrid\src
1058 # nmake -f makefile.nt hlp
1059 # cd $(WXDIR)\utils\wxtab\src
1060 # nmake -f makefile.nt hlp
1062 # cd $(WXDIR)\utils\wxclips\src
1063 # nmake -f makefile.nt hlp
1064 # cd $(WXDIR)\utils\clips2c\src
1065 # nmake -f makefile.nt hlp
1067 allhtml: wxhtml portinghtml # faqhtml
1068 cd $(WXDIR)\utils\wxprop\src
1069 nmake -f makefile.nt html
1070 cd $(WXDIR)\utils\dialoged\src
1071 nmake -f makefile.nt html
1074 # nmake -f makefile.nt html
1075 # cd $(WXDIR)\utils\dialoged\src
1076 # nmake -f makefile.nt html
1077 # cd $(WXDIR)\utils\hytext\src
1078 # nmake -f makefile.nt html
1079 # cd $(WXDIR)\utils\wxhelp\src
1080 # nmake -f makefile.nt html
1081 # cd $(WXDIR)\utils\wxhelp2\src
1082 # nmake -f makefile.nt html
1083 # cd $(WXDIR)\utils\prologio\src
1084 # nmake -f makefile.nt html
1085 # cd $(WXDIR)\utils\tex2rtf\src
1086 # nmake -f makefile.nt html
1087 # cd $(WXDIR)\utils\wxgraph\src
1088 # nmake -f makefile.nt html
1089 # cd $(WXDIR)\utils\wxchart\src
1090 # nmake -f makefile.nt html
1091 # cd $(WXDIR)\utils\wxtree\src
1092 # nmake -f makefile.nt html
1093 # cd $(WXDIR)\utils\wxtab\src
1094 # nmake -f makefile.nt html
1096 # cd $(WXDIR)\utils\wxclips\src
1097 # nmake -f makefile.nt html
1098 # cd $(WXDIR)\utils\clips2c\src
1099 # nmake -f makefile.nt html
1101 allps: wxps referencps portingps # faqps
1102 cd $(WXDIR)\utils\wxprop\src
1103 nmake -f makefile.nt ps
1104 cd $(WXDIR)\utils\dialoged\src
1105 nmake -f makefile.nt ps
1108 allpdfrtf: pdfrtf portingpdfrtf # faqpdfrtf
1109 cd $(WXDIR)\utils\wxprop\src
1110 nmake -f makefile.nt pdfrtf
1111 cd $(WXDIR)\utils\dialoged\src
1112 nmake -f makefile.nt pdfrtf
1115 # cd $(WXDIR)\utils\wxhelp\src
1116 # nmake -f makefile.nt ps
1117 # cd $(WXDIR)\utils\wxhelp2\src
1118 # nmake -f makefile.nt ps
1119 # cd $(WXDIR)\utils\tex2rtf\src
1120 # nmake -f makefile.nt ps
1121 # cd $(WXDIR)\utils\wxgraph\src
1122 # nmake -f makefile.nt ps
1123 # cd $(WXDIR)\utils\wxchart\src
1124 # nmake -f makefile.nt ps
1125 # cd $(WXDIR)\utils\wxtree\src
1126 # nmake -f makefile.nt ps
1129 # cd $(WXDIR)\utils\wxtab\src
1130 # nmake -f makefile.nt ps
1131 # cd $(WXDIR)\utils\prologio\src
1132 # nmake -f makefile.nt ps
1133 # cd $(WXDIR)\utils\wxclips\src
1134 # nmake -f makefile.nt ps
1135 # cd $(WXDIR)\utils\clips2c\src
1136 # nmake -f makefile.nt ps
1138 $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
1139 cd $(DOCDIR)/latex/wx
1142 move wx.hlp $(DOCDIR)\winhelp\wx.hlp
1143 move wx.cnt $(DOCDIR)\winhelp\wx.cnt
1146 $(DOCDIR)/winhelp/porting.hlp: $(DOCDIR)/latex/porting/porting.rtf $(DOCDIR)/latex/porting/porting.hpj
1147 cd $(DOCDIR)/latex/porting
1150 move porting.hlp $(DOCDIR)\winhelp\porting.hlp
1151 move porting.cnt $(DOCDIR)\winhelp\porting.cnt
1154 $(DOCDIR)/winhelp/faq.hlp: $(DOCDIR)/latex/faq/faq.rtf $(DOCDIR)/latex/faq/faq.hpj
1155 cd $(DOCDIR)/latex/faq
1158 move faq.hlp $(DOCDIR)\winhelp\faq.hlp
1159 move faq.cnt $(DOCDIR)\winhelp\faq.cnt
1162 $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj
1163 cd $(DOCDIR)/latex/techref
1166 move techref.hlp $(DOCDIR)\winhelp\techref.hlp
1167 move techref.cnt $(DOCDIR)\winhelp\techref.cnt
1170 $(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
1171 cd $(DOCDIR)\latex\wx
1172 -start /w tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
1175 $(DOCDIR)/latex/porting/porting.rtf: $(DOCDIR)/latex/porting/porting.tex
1176 cd $(DOCDIR)\latex\porting
1177 -start /w tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/latex/porting/porting.rtf -twice -winhelp
1180 $(DOCDIR)/latex/faq/faq.rtf: $(DOCDIR)/latex/faq/faq.tex
1181 cd $(DOCDIR)\latex\faq
1182 -start /w tex2rtf $(DOCDIR)/latex/faq/faq.tex $(DOCDIR)/latex/faq/faq.rtf -twice -winhelp
1185 $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
1186 cd $(DOCDIR)\latex\techref
1187 -start /w tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp
1190 $(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
1191 cd $(DOCDIR)\latex\wx
1192 -copy *.bmp *.wmf $(DOCDIR)\pdf
1193 -start /w tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
1196 $(DOCDIR)/pdf/porting.rtf: $(DOCDIR)/latex/porting/porting.tex
1197 cd $(DOCDIR)\latex\porting
1198 -copy *.bmp *.wmf $(DOCDIR)\pdf
1199 -start /w tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/pdf/porting.rtf -twice -rtf
1202 $(DOCDIR)/pdf/faq.rtf: $(DOCDIR)/latex/faq/faq.tex
1203 cd $(DOCDIR)\latex\faq
1204 -copy *.bmp *.wmf $(DOCDIR)\pdf
1205 -start /w tex2rtf $(DOCDIR)/latex/faq/faq.tex $(DOCDIR)/pdf/faq.rtf -twice -rtf
1208 $(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
1209 cd $(DOCDIR)\latex\techref
1210 -copy *.bmp *.wmf $(DOCDIR)\pdf
1211 -start /w tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf
1214 $(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
1215 cd $(DOCDIR)\latex\wx
1216 -mkdir $(DOCDIR)\html\wx
1217 -start /w tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html
1218 -erase $(DOCDIR)\html\wx\*.con
1219 -erase $(DOCDIR)\html\wx\*.ref
1220 -erase $(DOCDIR)\latex\wx\*.con
1221 -erase $(DOCDIR)\latex\wx\*.ref
1224 $(DOCDIR)\html\porting\port.htm: $(DOCDIR)\latex\porting\porting.tex
1225 cd $(DOCDIR)\latex\porting
1226 -mkdir $(DOCDIR)\html\porting
1227 -start /w tex2rtf $(DOCDIR)\latex\porting\porting.tex $(DOCDIR)\html\porting\port.htm -twice -html
1228 -erase $(DOCDIR)\html\porting\*.con
1229 -erase $(DOCDIR)\html\porting\*.ref
1230 -erase $(DOCDIR)\latex\porting\*.con
1231 -erase $(DOCDIR)\latex\porting\*.ref
1234 $(DOCDIR)\html\faq\faq.htm: $(DOCDIR)\latex\faq\faq.tex
1235 cd $(DOCDIR)\latex\faq
1236 -mkdir $(DOCDIR)\html\faq
1237 -start /w tex2rtf $(DOCDIR)\latex\faq\faq.tex $(DOCDIR)\html\faq\faq.htm -twice -html
1238 -erase $(DOCDIR)\html\faq\*.con
1239 -erase $(DOCDIR)\html\faq\*.ref
1240 -erase $(DOCDIR)\latex\faq\*.con
1241 -erase $(DOCDIR)\latexfaq\*.ref
1244 $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
1245 cd $(WXDIR)\docs\latex\wx
1254 $(WXDIR)\docs\latex\porting\porting.dvi: $(DOCDIR)/latex/porting/porting.tex
1255 cd $(WXDIR)\docs\latex\porting
1264 $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
1265 cd $(WXDIR)\docs\latex\wx
1266 -dvips32 -o wx.ps manual
1267 move wx.ps $(WXDIR)\docs\ps\wx.ps
1270 $(WXDIR)\docs\ps\porting.ps: $(WXDIR)\docs\latex\porting\porting.dvi
1271 cd $(WXDIR)\docs\latex\porting
1272 -dvips32 -o porting.ps porting
1273 move porting.ps $(WXDIR)\docs\ps\porting.ps
1276 $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
1277 cd $(WXDIR)\docs\latex\wx
1286 $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
1287 cd $(WXDIR)\docs\latex\wx
1288 -dvips32 -o referenc.ps referenc
1289 move referenc.ps $(WXDIR)\docs\ps\referenc.ps
1292 $(WXDIR)\docs\latex\faq\faq.dvi: $(DOCDIR)/latex/faq/faq.tex
1293 cd $(WXDIR)\docs\latex\faq
1301 $(WXDIR)\docs\ps\faq.ps: $(WXDIR)\docs\latex\faq\faq.dvi
1302 cd $(WXDIR)\docs\latex\faq
1303 -dvips32 -o faq.ps faq
1304 move faq.ps $(WXDIR)\docs\ps\faq.ps