1 # This file was automatically generated by tmake at 17:17, 2001/07/16
2 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE VC.T!
8 # Copyright: (c) 1997, Julian Smart
12 # Makefile : Builds wxWindows library wx.lib for VC++ (32-bit)
15 # FINAL=1 argument to nmake to build version with no debugging info.
16 # dll builds a library (wxdll.lib) suitable for creating DLLs
18 !include <..\makevc.env>
20 THISDIR=$(WXWIN)\src\msw
22 !if "$(WXMAKINGDLL)" == "1"
23 LIBTARGET=$(WXDIR)\lib\$(WXLIBNAME).dll
24 DUMMYOBJ=$D\dummydll.obj
30 # This one overrides the others, to be consistent with the settings in setup.h
31 MINIMAL_WXWINDOWS_SETUP=0
37 # Set to 0 if not using GLCanvas (only affects DLL build)
40 # These are absolute paths, so that the compiler
41 # generates correct __FILE__ symbols for debugging.
42 # Otherwise you don't be able to double-click on a memory
43 # error to load that file.
44 GENDIR=$(WXDIR)\src\generic
45 COMMDIR=$(WXDIR)\src\common
47 MSWDIR=$(WXDIR)\src\msw
48 DOCDIR = $(WXDIR)\docs
49 HTMLDIR = $(WXDIR)\src\html
50 JPEGDIR = $(WXDIR)\src\jpeg
51 TIFFDIR = $(WXDIR)\src\tiff
53 {$(GENDIR)}.cpp{$(GENDIR)\$D}.obj:
55 $(CPPFLAGS) /Fo$@ /c /Tp $<
58 {$(COMMDIR)}.cpp{$(COMMDIR)\$D}.obj:
60 $(CPPFLAGS) /Fo$@ /c /Tp $<
63 {$(COMMDIR)}.c{$(COMMDIR)\$D}.obj:
65 $(CPPFLAGS2) /Fo$@ /c /Tc $<
68 {$(MSWDIR)}.cpp{$(MSWDIR)\$D}.obj:
70 $(CPPFLAGS) /Fo$@ /c /Tp $<
73 {$(MSWDIR)}.c{$(MSWDIR)\$D}.obj:
75 $(CPPFLAGS2) /Fo$@ /c /Tc $<
78 {$(OLEDIR)}.cpp{$(OLEDIR)\$D}.obj:
80 $(CPPFLAGS) /Fo$@ /c /Tp $<
83 {$(HTMLDIR)}.cpp{$(HTMLDIR)\$D}.obj:
85 $(CPPFLAGS) /Fo$@ /c /Tp $<
88 GENERICOBJS= $(GENDIR)\$D\busyinfo.obj \
89 $(GENDIR)\$D\calctrl.obj \
90 $(GENDIR)\$D\choicdgg.obj \
91 $(GENDIR)\$D\dirctrlg.obj \
92 $(GENDIR)\$D\dragimgg.obj \
93 $(GENDIR)\$D\grid.obj \
94 $(GENDIR)\$D\gridctrl.obj \
95 $(GENDIR)\$D\gridsel.obj \
96 $(GENDIR)\$D\laywin.obj \
97 $(GENDIR)\$D\logg.obj \
98 $(GENDIR)\$D\numdlgg.obj \
99 $(GENDIR)\$D\panelg.obj \
100 $(GENDIR)\$D\progdlgg.obj \
101 $(GENDIR)\$D\prop.obj \
102 $(GENDIR)\$D\propform.obj \
103 $(GENDIR)\$D\proplist.obj \
104 $(GENDIR)\$D\sashwin.obj \
105 $(GENDIR)\$D\scrlwing.obj \
106 $(GENDIR)\$D\spinctlg.obj \
107 $(GENDIR)\$D\splash.obj \
108 $(GENDIR)\$D\splitter.obj \
109 $(GENDIR)\$D\statusbr.obj \
110 $(GENDIR)\$D\tbarsmpl.obj \
111 $(GENDIR)\$D\textdlgg.obj \
112 $(GENDIR)\$D\tipdlg.obj \
113 $(GENDIR)\$D\tipwin.obj \
114 $(GENDIR)\$D\treectlg.obj \
115 $(GENDIR)\$D\treelay.obj \
116 $(GENDIR)\$D\wizard.obj
118 # These are generic things that don't need to be compiled on MSW,
119 # but sometimes it's useful to do so for testing purposes.
120 NONESSENTIALOBJS= $(GENDIR)\$D\colrdlgg.obj \
121 $(GENDIR)\$D\dirdlgg.obj \
122 $(GENDIR)\$D\fontdlgg.obj \
123 $(GENDIR)\$D\helpext.obj \
124 $(GENDIR)\$D\helphtml.obj \
125 $(GENDIR)\$D\helpwxht.obj \
126 $(GENDIR)\$D\imaglist.obj \
127 $(GENDIR)\$D\listctrl.obj \
128 $(GENDIR)\$D\msgdlgg.obj \
129 $(GENDIR)\$D\notebook.obj \
130 $(GENDIR)\$D\tabg.obj
133 $(COMMDIR)\$D\y_tab.obj \
134 $(COMMDIR)\$D\appcmn.obj \
135 $(COMMDIR)\$D\choiccmn.obj \
136 $(COMMDIR)\$D\clipcmn.obj \
137 $(COMMDIR)\$D\cmdline.obj \
138 $(COMMDIR)\$D\cmdproc.obj \
139 $(COMMDIR)\$D\cmndata.obj \
140 $(COMMDIR)\$D\config.obj \
141 $(COMMDIR)\$D\cshelp.obj \
142 $(COMMDIR)\$D\ctrlcmn.obj \
143 $(COMMDIR)\$D\ctrlsub.obj \
144 $(COMMDIR)\$D\datetime.obj \
145 $(COMMDIR)\$D\datstrm.obj \
146 $(COMMDIR)\$D\db.obj \
147 $(COMMDIR)\$D\dbgrid.obj \
148 $(COMMDIR)\$D\dbtable.obj \
149 $(COMMDIR)\$D\dcbase.obj \
150 $(COMMDIR)\$D\dircmn.obj \
151 $(COMMDIR)\$D\dlgcmn.obj \
152 $(COMMDIR)\$D\dndcmn.obj \
153 $(COMMDIR)\$D\dobjcmn.obj \
154 $(COMMDIR)\$D\docmdi.obj \
155 $(COMMDIR)\$D\docview.obj \
156 $(COMMDIR)\$D\dynarray.obj \
157 $(COMMDIR)\$D\dynlib.obj \
158 $(COMMDIR)\$D\effects.obj \
159 $(COMMDIR)\$D\encconv.obj \
160 $(COMMDIR)\$D\event.obj \
161 $(COMMDIR)\$D\extended.obj \
162 $(COMMDIR)\$D\ffile.obj \
163 $(COMMDIR)\$D\file.obj \
164 $(COMMDIR)\$D\fileconf.obj \
165 $(COMMDIR)\$D\filefn.obj \
166 $(COMMDIR)\$D\filename.obj \
167 $(COMMDIR)\$D\filesys.obj \
168 $(COMMDIR)\$D\fontcmn.obj \
169 $(COMMDIR)\$D\fontmap.obj \
170 $(COMMDIR)\$D\framecmn.obj \
171 $(COMMDIR)\$D\fs_inet.obj \
172 $(COMMDIR)\$D\fs_mem.obj \
173 $(COMMDIR)\$D\fs_zip.obj \
174 $(COMMDIR)\$D\ftp.obj \
175 $(COMMDIR)\$D\gaugecmn.obj \
176 $(COMMDIR)\$D\gdicmn.obj \
177 $(COMMDIR)\$D\geometry.obj \
178 $(COMMDIR)\$D\gifdecod.obj \
179 $(COMMDIR)\$D\hash.obj \
180 $(COMMDIR)\$D\helpbase.obj \
181 $(COMMDIR)\$D\http.obj \
182 $(COMMDIR)\$D\imagall.obj \
183 $(COMMDIR)\$D\imagbmp.obj \
184 $(COMMDIR)\$D\image.obj \
185 $(COMMDIR)\$D\imaggif.obj \
186 $(COMMDIR)\$D\imagjpeg.obj \
187 $(COMMDIR)\$D\imagpcx.obj \
188 $(COMMDIR)\$D\imagpng.obj \
189 $(COMMDIR)\$D\imagpnm.obj \
190 $(COMMDIR)\$D\imagtiff.obj \
191 $(COMMDIR)\$D\imagxpm.obj \
192 $(COMMDIR)\$D\intl.obj \
193 $(COMMDIR)\$D\ipcbase.obj \
194 $(COMMDIR)\$D\layout.obj \
195 $(COMMDIR)\$D\lboxcmn.obj \
196 $(COMMDIR)\$D\list.obj \
197 $(COMMDIR)\$D\log.obj \
198 $(COMMDIR)\$D\longlong.obj \
199 $(COMMDIR)\$D\matrix.obj \
200 $(COMMDIR)\$D\memory.obj \
201 $(COMMDIR)\$D\menucmn.obj \
202 $(COMMDIR)\$D\mimecmn.obj \
203 $(COMMDIR)\$D\module.obj \
204 $(COMMDIR)\$D\mstream.obj \
205 $(COMMDIR)\$D\nbkbase.obj \
206 $(COMMDIR)\$D\object.obj \
207 $(COMMDIR)\$D\objstrm.obj \
208 $(COMMDIR)\$D\odbc.obj \
209 $(COMMDIR)\$D\paper.obj \
210 $(COMMDIR)\$D\popupcmn.obj \
211 $(COMMDIR)\$D\prntbase.obj \
212 $(COMMDIR)\$D\process.obj \
213 $(COMMDIR)\$D\protocol.obj \
214 $(COMMDIR)\$D\quantize.obj \
215 $(COMMDIR)\$D\radiocmn.obj \
216 $(COMMDIR)\$D\regex.obj \
217 $(COMMDIR)\$D\resource.obj \
218 $(COMMDIR)\$D\sckaddr.obj \
219 $(COMMDIR)\$D\sckfile.obj \
220 $(COMMDIR)\$D\sckipc.obj \
221 $(COMMDIR)\$D\sckstrm.obj \
222 $(COMMDIR)\$D\serbase.obj \
223 $(COMMDIR)\$D\sizer.obj \
224 $(COMMDIR)\$D\socket.obj \
225 $(COMMDIR)\$D\strconv.obj \
226 $(COMMDIR)\$D\stream.obj \
227 $(COMMDIR)\$D\string.obj \
228 $(COMMDIR)\$D\sysopt.obj \
229 $(COMMDIR)\$D\tbarbase.obj \
230 $(COMMDIR)\$D\textcmn.obj \
231 $(COMMDIR)\$D\textfile.obj \
232 $(COMMDIR)\$D\timercmn.obj \
233 $(COMMDIR)\$D\tokenzr.obj \
234 $(COMMDIR)\$D\treebase.obj \
235 $(COMMDIR)\$D\txtstrm.obj \
236 $(COMMDIR)\$D\unzip.obj \
237 $(COMMDIR)\$D\url.obj \
238 $(COMMDIR)\$D\utilscmn.obj \
239 $(COMMDIR)\$D\valgen.obj \
240 $(COMMDIR)\$D\validate.obj \
241 $(COMMDIR)\$D\valtext.obj \
242 $(COMMDIR)\$D\variant.obj \
243 $(COMMDIR)\$D\wfstream.obj \
244 $(COMMDIR)\$D\wincmn.obj \
245 $(COMMDIR)\$D\wxchar.obj \
246 $(COMMDIR)\$D\wxexpr.obj \
247 $(COMMDIR)\$D\xpmdecod.obj \
248 $(COMMDIR)\$D\zipstrm.obj \
249 $(COMMDIR)\$D\zstream.obj
251 MSWOBJS = $(MSWDIR)\$D\accel.obj \
252 $(MSWDIR)\$D\app.obj \
253 $(OLEDIR)\$D\automtn.obj \
254 $(MSWDIR)\$D\bitmap.obj \
255 $(MSWDIR)\$D\bmpbuttn.obj \
256 $(MSWDIR)\$D\brush.obj \
257 $(MSWDIR)\$D\button.obj \
258 $(MSWDIR)\$D\caret.obj \
259 $(MSWDIR)\$D\checkbox.obj \
260 $(MSWDIR)\$D\checklst.obj \
261 $(MSWDIR)\$D\choice.obj \
262 $(MSWDIR)\$D\clipbrd.obj \
263 $(MSWDIR)\$D\colordlg.obj \
264 $(MSWDIR)\$D\colour.obj \
265 $(MSWDIR)\$D\combobox.obj \
266 $(MSWDIR)\$D\control.obj \
267 $(MSWDIR)\$D\curico.obj \
268 $(MSWDIR)\$D\cursor.obj \
269 $(MSWDIR)\$D\data.obj \
270 $(OLEDIR)\$D\dataobj.obj \
271 $(MSWDIR)\$D\dc.obj \
272 $(MSWDIR)\$D\dcclient.obj \
273 $(MSWDIR)\$D\dcmemory.obj \
274 $(MSWDIR)\$D\dcprint.obj \
275 $(MSWDIR)\$D\dcscreen.obj \
276 $(MSWDIR)\$D\dde.obj \
277 $(MSWDIR)\$D\dialog.obj \
278 $(MSWDIR)\$D\dialup.obj \
279 $(MSWDIR)\$D\dib.obj \
280 $(MSWDIR)\$D\dibutils.obj \
281 $(MSWDIR)\$D\dir.obj \
282 $(MSWDIR)\$D\dirdlg.obj \
283 $(MSWDIR)\$D\dragimag.obj \
284 $(OLEDIR)\$D\dropsrc.obj \
285 $(OLEDIR)\$D\droptgt.obj \
286 $(MSWDIR)\$D\enhmeta.obj \
287 $(MSWDIR)\$D\evtloop.obj \
288 $(MSWDIR)\$D\filedlg.obj \
289 $(MSWDIR)\$D\font.obj \
290 $(MSWDIR)\$D\fontdlg.obj \
291 $(MSWDIR)\$D\fontenum.obj \
292 $(MSWDIR)\$D\fontutil.obj \
293 $(MSWDIR)\$D\frame.obj \
294 $(MSWDIR)\$D\gauge95.obj \
295 $(MSWDIR)\$D\gdiimage.obj \
296 $(MSWDIR)\$D\gdiobj.obj \
297 $(MSWDIR)\$D\glcanvas.obj \
298 $(MSWDIR)\$D\gsocket.obj \
299 $(MSWDIR)\$D\gsockmsw.obj \
300 $(MSWDIR)\$D\helpchm.obj \
301 $(MSWDIR)\$D\helpwin.obj \
302 $(MSWDIR)\$D\icon.obj \
303 $(MSWDIR)\$D\imaglist.obj \
304 $(MSWDIR)\$D\joystick.obj \
305 $(MSWDIR)\$D\listbox.obj \
306 $(MSWDIR)\$D\listctrl.obj \
307 $(MSWDIR)\$D\main.obj \
308 $(MSWDIR)\$D\mdi.obj \
309 $(MSWDIR)\$D\menu.obj \
310 $(MSWDIR)\$D\menuitem.obj \
311 $(MSWDIR)\$D\metafile.obj \
312 $(MSWDIR)\$D\mimetype.obj \
313 $(MSWDIR)\$D\minifram.obj \
314 $(MSWDIR)\$D\msgdlg.obj \
315 $(MSWDIR)\$D\nativdlg.obj \
316 $(MSWDIR)\$D\notebook.obj \
317 $(OLEDIR)\$D\oleutils.obj \
318 $(MSWDIR)\$D\ownerdrw.obj \
319 $(MSWDIR)\$D\palette.obj \
320 $(MSWDIR)\$D\pen.obj \
321 $(MSWDIR)\$D\penwin.obj \
322 $(MSWDIR)\$D\printdlg.obj \
323 $(MSWDIR)\$D\printwin.obj \
324 $(MSWDIR)\$D\radiobox.obj \
325 $(MSWDIR)\$D\radiobut.obj \
326 $(MSWDIR)\$D\regconf.obj \
327 $(MSWDIR)\$D\region.obj \
328 $(MSWDIR)\$D\registry.obj \
329 $(MSWDIR)\$D\scrolbar.obj \
330 $(MSWDIR)\$D\settings.obj \
331 $(MSWDIR)\$D\slider95.obj \
332 $(MSWDIR)\$D\snglinst.obj \
333 $(MSWDIR)\$D\spinbutt.obj \
334 $(MSWDIR)\$D\spinctrl.obj \
335 $(MSWDIR)\$D\statbmp.obj \
336 $(MSWDIR)\$D\statbox.obj \
337 $(MSWDIR)\$D\statbr95.obj \
338 $(MSWDIR)\$D\statline.obj \
339 $(MSWDIR)\$D\stattext.obj \
340 $(MSWDIR)\$D\tabctrl.obj \
341 $(MSWDIR)\$D\taskbar.obj \
342 $(MSWDIR)\$D\tbar95.obj \
343 $(MSWDIR)\$D\textctrl.obj \
344 $(MSWDIR)\$D\tglbtn.obj \
345 $(MSWDIR)\$D\thread.obj \
346 $(MSWDIR)\$D\timer.obj \
347 $(MSWDIR)\$D\tooltip.obj \
348 $(MSWDIR)\$D\treectrl.obj \
349 $(MSWDIR)\$D\utils.obj \
350 $(MSWDIR)\$D\utilsexc.obj \
351 $(OLEDIR)\$D\uuid.obj \
352 $(MSWDIR)\$D\wave.obj \
353 $(MSWDIR)\$D\window.obj
355 HTMLOBJS = $(HTMLDIR)\$D\helpctrl.obj \
356 $(HTMLDIR)\$D\helpdata.obj \
357 $(HTMLDIR)\$D\helpfrm.obj \
358 $(HTMLDIR)\$D\htmlcell.obj \
359 $(HTMLDIR)\$D\htmlfilt.obj \
360 $(HTMLDIR)\$D\htmlpars.obj \
361 $(HTMLDIR)\$D\htmltag.obj \
362 $(HTMLDIR)\$D\htmlwin.obj \
363 $(HTMLDIR)\$D\htmprint.obj \
364 $(HTMLDIR)\$D\m_dflist.obj \
365 $(HTMLDIR)\$D\m_fonts.obj \
366 $(HTMLDIR)\$D\m_hline.obj \
367 $(HTMLDIR)\$D\m_image.obj \
368 $(HTMLDIR)\$D\m_layout.obj \
369 $(HTMLDIR)\$D\m_links.obj \
370 $(HTMLDIR)\$D\m_list.obj \
371 $(HTMLDIR)\$D\m_meta.obj \
372 $(HTMLDIR)\$D\m_pre.obj \
373 $(HTMLDIR)\$D\m_tables.obj \
374 $(HTMLDIR)\$D\winpars.obj
377 # Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
378 # Add $(HTMLOBJS) if wanting wxHTML classes
379 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS)
381 # Normal, static library
382 all: setuph dirs $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib jpeg tiff regex $(LIBTARGET)
385 cd $(WXDIR)\include\wx\msw
386 if not exist setup.h copy setup0.h setup.h
389 dirs: $(MSWDIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(OLEDIR)\$D $(HTMLDIR)\$D $(JPEGDIR)\$D $(TIFFDIR)\$D
415 # wxWindows library as DLL
417 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
420 nmake -f makefile.vc clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
422 # wxWindows + app as DLL. Only affects main.cpp.
424 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1
426 # wxWindows + app as DLL, for Netscape plugin - remove DllMain.
428 nmake -f makefile.vc all NOMAIN=1 FINAL=$(FINAL) DLL=1
430 # Use this to make dummy.obj and generate a PCH.
431 # You might use the dll target, then the pch target, in order to
432 # generate a DLL, then a PCH/dummy.obj for compiling your applications with.
434 # Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
435 # are associated with wx.lib. When using a DLL version of wxWindows, however,
436 # the DLL is compiled without a PCH, so you only need it for compiling the app.
437 # In fact headers are compiled differently depending on whether a DLL is being made
438 # or an app is calling the DLL exported functionality (WXDLLEXPORT is different
439 # in each case) so you couldn't use the same PCH.
441 nmake -f makefile.vc pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
443 pch1: dirs $(DUMMYOBJ)
446 !if "$(WXMAKINGDLL)" != "1"
450 $(WXDIR)\lib\$(WXLIBNAME).lib: $D\dummy.obj $(OBJECTS) $(PERIPH_LIBS)
455 $(OBJECTS) $D\dummy.obj $(PERIPH_LIBS)
460 ### Update the import library
462 $(WXDIR)\lib\$(WXLIBNAME).lib: $(DUMMYOBJ) $(OBJECTS)
466 $(DUMMYOBJ) $(OBJECTS)
467 -out:$(WXDIR)\lib\$(WXLIBNAME).lib
470 !if "$(USE_GLCANVAS)" == "1"
471 GL_LIBS=opengl32.lib glu32.lib
472 # GL_LIBS_DELAY=/delayload:opengl32.dll
475 # Update the dynamic link library
476 $(WXDIR)\lib\$(WXLIBNAME).dll: $(DUMMYOBJ) $(OBJECTS)
479 -out:$(WXDIR)\lib\$(WXLIBNAME).dll
480 $(DUMMYOBJ) $(OBJECTS) $(guilibsdll) shell32.lib comctl32.lib ctl3d32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib odbc32.lib advapi32.lib winmm.lib $(GL_LIBS) $(WXDIR)\lib\png$(LIBEXT).lib $(WXDIR)\lib\zlib$(LIBEXT).lib $(WXDIR)\lib\jpeg$(LIBEXT).lib $(WXDIR)\lib\tiff$(LIBEXT).lib
482 /delayload:ws2_32.dll /delayload:advapi32.dll /delayload:user32.dll /delayload:gdi32.dll
483 /delayload:comdlg32.dll /delayload:shell32.dll /delayload:comctl32.dll /delayload:ole32.dll
484 /delayload:oleaut32.dll /delayload:rpcrt4.dll $(GL_LIBS_DELAY)
489 # /delayload:winmm.dll # Removed because it can cause a crash for some people
491 ########################################################
492 # Windows-specific objects
494 $D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
495 cl $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /c /Tp dummy.cpp
497 $D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
499 $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /c /Tp dummydll.cpp
502 # Compile certain files with no optimization (some files cause a
503 # compiler crash for buggy versions of VC++, e.g. 4.0).
504 # Don't forget to put FINAL=1 on the command line.
507 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\datetime.obj /c /Tp $(COMMDIR)\datetime.cpp
510 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\encconv.obj /c /Tp $(COMMDIR)\encconv.cpp
513 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\fileconf.obj /c /Tp $(COMMDIR)\fileconf.cpp
516 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\hash.obj /c /Tp $(COMMDIR)\hash.cpp
519 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\resource.obj /c /Tp $(COMMDIR)\resource.cpp
522 $(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\textfile.obj /c /Tp $(COMMDIR)\textfile.cpp
525 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\choicdgg.obj /c /Tp $(GENDIR)\choicdgg.cpp
528 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\grid.obj /c /Tp $(GENDIR)\grid.cpp
531 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\gridsel.obj /c /Tp $(GENDIR)\gridsel.cpp
534 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\logg.obj /c /Tp $(GENDIR)\logg.cpp
537 $(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\proplist.obj /c /Tp $(GENDIR)\proplist.cpp
540 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\clipbrd.obj /c /Tp $(MSWDIR)\clipbrd.cpp
543 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\control.obj /c /Tp $(MSWDIR)\control.cpp
546 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\listbox.obj /c /Tp $(MSWDIR)\listbox.cpp
549 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\mdi.obj /c /Tp $(MSWDIR)\mdi.cpp
552 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\menu.obj /c /Tp $(MSWDIR)\menu.cpp
555 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\notebook.obj /c /Tp $(MSWDIR)\notebook.cpp
558 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\tbar95.obj /c /Tp $(MSWDIR)\tbar95.cpp
561 $(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\treectrl.obj /c /Tp $(MSWDIR)\treectrl.cpp
564 $(CPPFLAGS2) /Od /Fo$(HTMLDIR)\$D\helpfrm.obj /c /Tp $(HTMLDIR)\helpfrm.cpp
567 $(COMMDIR)\$D\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c
569 $(CPPFLAGS2) /c $(COMMDIR)\y_tab.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
572 $(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c
573 copy "$(COMMDIR)"\dosyacc.c "$(COMMDIR)"\y_tab.c
575 $(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c
576 copy "$(COMMDIR)"\doslex.c "$(COMMDIR)"\lex_yy.c
578 $(OBJECTS): $(WXDIR)/include/wx/setup.h
580 $(COMMDIR)\$D\unzip.obj: $(COMMDIR)\unzip.c
582 $(CPPFLAGS2) /c $(COMMDIR)\unzip.c /Fo$@
585 # Peripheral components
589 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG)
594 nmake -f makefile.vc clean
599 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG)
604 nmake -f makefile.vc clean
609 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) all
614 nmake -f makefile.vc clean
619 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) all
624 nmake -f makefile.vc clean
628 cd $(WXDIR)\src\regex
629 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG)
633 cd $(WXDIR)\src\regex
634 nmake -f makefile.vc clean
638 cd $(WXDIR)\utils\rcparser\src
639 nmake -f makefile.vc FINAL=$(FINAL)
642 cleanall: clean clean_png clean_zlib clean_jpeg clean_tiff clean_regex
643 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).dll
644 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).lib
645 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).exp
646 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).pdb
647 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).ilk
650 clean: $(PERIPH_CLEAN_TARGET)
652 -erase $(WXDIR)\lib\$(WXLIBNAME).pdb
655 -erase $(WXLIBNAME).pch
656 -erase $(GENDIR)\$D\*.obj
657 -erase $(GENDIR)\$D\*.pdb
658 -erase $(GENDIR)\$D\*.sbr
659 -erase $(COMMDIR)\$D\*.obj
660 -erase $(COMMDIR)\$D\*.pdb
661 -erase $(COMMDIR)\$D\*.sbr
662 -erase $(COMMDIR)\y_tab.c
663 -erase $(COMMDIR)\lex_yy.c
664 -erase $(MSWDIR)\$D\*.obj
665 -erase $(MSWDIR)\$D\*.sbr
666 -erase $(MSWDIR)\$D\*.pdb
667 -erase $(MSWDIR)\$D\*.pch
668 -erase $(OLEDIR)\$D\*.obj
669 -erase $(OLEDIR)\$D\*.sbr
670 -erase $(OLEDIR)\$D\*.pdb
671 -erase $(HTMLDIR)\$D\*.obj
672 -erase $(HTMLDIR)\$D\*.sbr
673 -erase $(HTMLDIR)\$D\*.pdb
674 -erase $(JPEGDIR)\$D\*.obj
675 -erase $(JPEGDIR)\$D\*.sbr
676 -erase $(JPEGDIR)\$D\*.idb
677 -erase $(JPEGDIR)\$D\*.pdb
678 -erase $(TIFFDIR)\$D\*.obj
679 -erase $(TIFFDIR)\$D\*.sbr
680 -erase $(TIFFDIR)\$D\*.pdb
681 -erase $(TIFFDIR)\$D\*.idb
683 -rmdir $(GENDIR)\$(D)
684 -rmdir $(COMMDIR)\$(D)
685 -rmdir $(MSWDIR)\$(D)
686 -rmdir $(OLEDIR)\$(D)
687 -rmdir $(HTMLDIR)\$(D)
688 -rmdir $(JPEGDIR)\$(D)
689 -rmdir $(TIFFDIR)\$(D)
692 docs: allhlp allhtml allpdfrtf allhtb allhtmlhelp
695 wxhlp: $(DOCDIR)/winhelp/wx.hlp
696 refhlp: $(DOCDIR)/winhelp/techref.hlp
697 rtf: $(DOCDIR)/winhelp/wx.rtf
698 pdfrtf: $(DOCDIR)/pdf/wx.rtf
699 refpdfrtf: $(DOCDIR)/pdf/techref.rtf
701 htb: $(DOCDIR)\htb\wx.htb
702 wxhtml: $(DOCDIR)\html\wx\wx.htm
703 htmlhelp: $(DOCDIR)\htmlhelp\wx.chm
705 wxps: $(WXDIR)\docs\ps\wx.ps
706 referencps: $(WXDIR)\docs\ps\referenc.ps
709 cd $(WXDIR)\utils\dialoged\src
710 nmake -f makefile.vc hlp
711 cd $(WXDIR)\utils\tex2rtf\src
712 nmake -f makefile.vc hlp
716 cd $(WXDIR)\utils\dialoged\src
717 nmake -f makefile.vc html
718 cd $(WXDIR)\utils\tex2rtf\src
719 nmake -f makefile.vc html
722 allhtmlhelp: htmlhelp
723 cd $(WXDIR)\utils\dialoged\src
724 nmake -f makefile.vc htmlhelp
725 cd $(WXDIR)\utils\tex2rtf\src
726 nmake -f makefile.vc htmlhelp
730 cd $(WXDIR)\utils\dialoged\src
731 nmake -f makefile.vc htb
732 cd $(WXDIR)\utils\tex2rtf\src
733 nmake -f makefile.vc htb
736 allps: wxps referencps
737 cd $(WXDIR)\utils\dialoged\src
738 nmake -f makefile.vc ps
739 cd $(WXDIR)\utils\tex2rtf\src
740 nmake -f makefile.vc ps
744 cd $(WXDIR)\utils\dialoged\src
745 nmake -f makefile.vc pdfrtf
746 cd $(WXDIR)\utils\tex2rtf\src
747 nmake -f makefile.vc pdfrtf
750 $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
751 cd $(DOCDIR)/latex/wx
754 -erase $(DOCDIR)\winhelp\wx.hlp
755 -erase $(DOCDIR)\winhelp\wx.cnt
756 move wx.hlp $(DOCDIR)\winhelp\wx.hlp
757 move wx.cnt $(DOCDIR)\winhelp\wx.cnt
760 $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj
761 cd $(DOCDIR)/latex/techref
764 move techref.hlp $(DOCDIR)\winhelp\techref.hlp
765 move techref.cnt $(DOCDIR)\winhelp\techref.cnt
768 $(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
769 cd $(DOCDIR)\latex\wx
770 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
773 $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
774 cd $(DOCDIR)\latex\techref
775 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp
778 $(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
779 cd $(DOCDIR)\latex\wx
780 -copy *.wmf $(DOCDIR)\pdf
781 -copy *.bmp $(DOCDIR)\pdf
782 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
785 $(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
786 cd $(DOCDIR)\latex\techref
787 -copy *.wmf $(DOCDIR)\pdf
788 -copy *.bmp $(DOCDIR)\pdf
789 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf
792 $(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
793 cd $(DOCDIR)\latex\wx
794 -mkdir $(DOCDIR)\html\wx
795 copy *.gif $(DOCDIR)\html\wx
796 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html
797 -erase $(DOCDIR)\html\wx\*.con
798 -erase $(DOCDIR)\html\wx\*.ref
799 -erase $(DOCDIR)\latex\wx\*.con
800 -erase $(DOCDIR)\latex\wx\*.ref
803 $(DOCDIR)\htmlhelp\wx.chm : $(DOCDIR)\html\wx\wx.htm $(DOCDIR)\html\wx\wx.hhp
806 -mkdir ..\..\htmlhelp
807 -erase $(DOCDIR)\htmlhelp\wx.chm
808 move wx.chm ..\..\htmlhelp
811 $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
812 cd $(WXDIR)\docs\latex\wx
821 $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
822 cd $(WXDIR)\docs\latex\wx
823 -dvips32 -o wx.ps manual
824 move wx.ps $(WXDIR)\docs\ps\wx.ps
827 $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
828 cd $(WXDIR)\docs\latex\wx
837 $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
838 cd $(WXDIR)\docs\latex\wx
839 -dvips32 -o referenc.ps referenc
840 move referenc.ps $(WXDIR)\docs\ps\referenc.ps
843 # An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk
844 # files, renamed to htb.
845 # This can then be used with e.g. helpview.
846 # Optionally, a cached version of the .hhp file can be generated with hhp2cached.
847 $(DOCDIR)\htb\wx.htb: $(DOCDIR)\html\wx\wx.htm
848 cd $(WXDIR)\docs\html\wx
850 zip wx.zip *.htm *.gif *.hhp *.hhc *.hhk
852 move wx.zip $(DOCDIR)\htb\wx.htb
855 # In order to force document reprocessing
857 -touch $(WXDIR)\docs\latex\wx\manual.tex
859 updatedocs: touchmanual alldocs
862 -erase $(DOCDIR)\winhelp\wx.hlp
863 -erase $(DOCDIR)\winhelp\wx.cnt
864 -erase $(DOCDIR)\html\wx\*.htm
865 -erase $(DOCDIR)\pdf\wx.rtf
866 -erase $(DOCDIR)\latex\wx\wx.rtf
867 -erase $(DOCDIR)\latex\wx\WX.PH
868 -erase $(DOCDIR)\htmlhelp\wx.chm
869 -erase $(DOCDIR)\htb\wx.htb
871 # Start Word, running the GeneratePDF macro. MakeManual.dot should be in the
872 # Office StartUp folder, and PDFMaker should be installed.
873 updatepdf: # touchmanual pdfrtf
874 start $(WAITFLAG) "winword d:\wx2\wxWindows\docs\latex\pdf\wx.rtf /mGeneratePDF"
878 makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
879 cd $(WXWIN)\distrib\msw\tmake
880 tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
881 copy makefile.$(MFTYPE) $(WXWIN)\src\msw