]> git.saurik.com Git - wxWidgets.git/blame - src/msw/makefile.vc
Up-ported code to make tree item visible when programmatically
[wxWidgets.git] / src / msw / makefile.vc
CommitLineData
2bda9cc8 1# This file was automatically generated by tmake at 20:55, 2001/07/13
a1b82138
VZ
2# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE VC.T!
3
4# File: makefile.vc
5# Author: Julian Smart
6# Created: 1997
3848ffef 7# Updated:
a1b82138 8# Copyright: (c) 1997, Julian Smart
2bda0e17
KB
9#
10# "%W% %G%"
11#
12# Makefile : Builds wxWindows library wx.lib for VC++ (32-bit)
13# Arguments:
14#
15# FINAL=1 argument to nmake to build version with no debugging info.
16# dll builds a library (wxdll.lib) suitable for creating DLLs
2bda0e17 17#
48d1144b 18!include <..\makevc.env>
2bda0e17
KB
19
20THISDIR=$(WXWIN)\src\msw
21
22!if "$(WXMAKINGDLL)" == "1"
ca5c8b2d
JS
23LIBTARGET=$(WXDIR)\lib\$(WXLIBNAME).dll
24DUMMYOBJ=$D\dummydll.obj
2bda0e17
KB
25!else
26LIBTARGET=$(WXLIB)
ca5c8b2d 27DUMMYOBJ=$D\dummy.obj
2bda0e17
KB
28!endif
29
fb6261e9
JS
30# This one overrides the others, to be consistent with the settings in setup.h
31MINIMAL_WXWINDOWS_SETUP=0
32
2bda0e17
KB
33PERIPH_LIBS=
34PERIPH_TARGET=
35PERIPH_CLEAN_TARGET=
36
3ca6a5f0
BP
37# Set to 0 if not using GLCanvas (only affects DLL build)
38USE_GLCANVAS=1
39
f97c9854
JS
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.
44GENDIR=$(WXDIR)\src\generic
45COMMDIR=$(WXDIR)\src\common
2bda0e17 46OLEDIR=ole
f97c9854 47MSWDIR=$(WXDIR)\src\msw
ca5c8b2d 48DOCDIR = $(WXDIR)\docs
4705ee2d 49HTMLDIR = $(WXDIR)\src\html
8773bc76
VZ
50JPEGDIR = $(WXDIR)\src\jpeg
51TIFFDIR = $(WXDIR)\src\tiff
2bda0e17 52
0cbff120 53{$(GENDIR)}.cpp{$(GENDIR)\$D}.obj:
8e97b17b 54 cl @<<
ca5c8b2d 55$(CPPFLAGS) /Fo$@ /c /Tp $<
2bda0e17
KB
56<<
57
0cbff120 58{$(COMMDIR)}.cpp{$(COMMDIR)\$D}.obj:
8e97b17b 59 cl @<<
ca5c8b2d 60$(CPPFLAGS) /Fo$@ /c /Tp $<
89c684ef
JS
61<<
62
0cbff120 63{$(COMMDIR)}.c{$(COMMDIR)\$D}.obj:
8e97b17b 64 cl @<<
cc9efb9b 65$(CPPFLAGS2) /Fo$@ /c /Tc $<
530e7fa3
VZ
66<<
67
0cbff120 68{$(MSWDIR)}.cpp{$(MSWDIR)\$D}.obj:
8e97b17b 69 cl @<<
ca5c8b2d 70$(CPPFLAGS) /Fo$@ /c /Tp $<
2bda0e17
KB
71<<
72
0cbff120 73{$(MSWDIR)}.c{$(MSWDIR)\$D}.obj:
8e97b17b 74 cl @<<
2bbf4618
RD
75$(CPPFLAGS2) /Fo$@ /c /Tc $<
76<<
77
0cbff120 78{$(OLEDIR)}.cpp{$(OLEDIR)\$D}.obj:
8e97b17b 79 cl @<<
ca5c8b2d 80$(CPPFLAGS) /Fo$@ /c /Tp $<
2bda0e17
KB
81<<
82
0cbff120 83{$(HTMLDIR)}.cpp{$(HTMLDIR)\$D}.obj:
8e97b17b 84 cl @<<
4705ee2d
RS
85$(CPPFLAGS) /Fo$@ /c /Tp $<
86<<
87
0cbff120
JS
88GENERICOBJS= $(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
2bda0e17 117
ca5c8b2d
JS
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.
0cbff120
JS
120NONESSENTIALOBJS= $(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
2bda0e17 131
ca5c8b2d 132COMMONOBJS = \
0cbff120
JS
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 \
2bda9cc8 210 $(COMMDIR)\$D\popupcmn.obj \
0cbff120
JS
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 \
2bda9cc8 216 $(COMMDIR)\$D\regex.obj \
0cbff120
JS
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
250
251MSWOBJS = $(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
354
355HTMLOBJS = $(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
2131a664 375
4705ee2d 376
ca5c8b2d 377# Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
4705ee2d 378# Add $(HTMLOBJS) if wanting wxHTML classes
2bbf4618 379OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS)
fcc6dddd 380
ca5c8b2d 381# Normal, static library
ab85e6cd 382all: setuph dirs $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib jpeg tiff $(LIBTARGET)
8816486e
GT
383
384setuph:
385 cd $(WXDIR)\include\wx\msw
386 if not exist setup.h copy setup0.h setup.h
387 cd $(WXDIR)\src\msw
fcc6dddd 388
8773bc76 389dirs: $(MSWDIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(OLEDIR)\$D $(HTMLDIR)\$D $(JPEGDIR)\$D $(TIFFDIR)\$D
4705ee2d 390
ca5c8b2d 391$D:
162999bf 392 mkdir $D
fcc6dddd 393
ca5c8b2d 394$(COMMDIR)\$D:
162999bf 395 mkdir $(COMMDIR)\$D
fcc6dddd 396
ca5c8b2d 397$(MSWDIR)\$D:
162999bf 398 mkdir $(MSWDIR)\$D
fcc6dddd 399
ca5c8b2d 400$(GENDIR)\$D:
162999bf 401 mkdir $(GENDIR)\$D
fcc6dddd 402
ca5c8b2d 403$(OLEDIR)\$D:
162999bf 404 mkdir $(OLEDIR)\$D
fcc6dddd 405
4705ee2d 406$(HTMLDIR)\$D:
162999bf 407 mkdir $(HTMLDIR)\$D
4705ee2d 408
8773bc76
VZ
409$(JPEGDIR)\$D:
410 mkdir $(JPEGDIR)\$D
411
412$(TIFFDIR)\$D:
413 mkdir $(TIFFDIR)\$D
414
ca5c8b2d
JS
415# wxWindows library as DLL
416dll:
a4fe6524 417 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
2bda0e17 418
ca5c8b2d 419cleandll:
a4fe6524 420 nmake -f makefile.vc clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
2bda0e17 421
ca5c8b2d
JS
422# wxWindows + app as DLL. Only affects main.cpp.
423dllapp:
424 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1
79c3e0e1 425
ca5c8b2d
JS
426# wxWindows + app as DLL, for Netscape plugin - remove DllMain.
427dllnp:
428 nmake -f makefile.vc all NOMAIN=1 FINAL=$(FINAL) DLL=1
79c3e0e1 429
ca5c8b2d
JS
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.
433#
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.
e12f91dc 440pch:
a4fe6524 441 nmake -f makefile.vc pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
79c3e0e1 442
ca5c8b2d
JS
443pch1: dirs $(DUMMYOBJ)
444 echo $(DUMMYOBJ)
79c3e0e1 445
ca5c8b2d 446!if "$(WXMAKINGDLL)" != "1"
cf447356 447
ca5c8b2d 448### Static library
fcc6dddd 449
ca5c8b2d 450$(WXDIR)\lib\$(WXLIBNAME).lib: $D\dummy.obj $(OBJECTS) $(PERIPH_LIBS)
918a745c 451 -erase $(LIBTARGET)
8e97b17b 452 $(implib) @<<
ca5c8b2d
JS
453-out:$@
454-machine:$(CPU)
7fee680b 455$(OBJECTS) $D\dummy.obj $(PERIPH_LIBS)
cf447356
GL
456<<
457
ca5c8b2d 458!else
341287bf 459
ca5c8b2d 460### Update the import library
3d8bd7d6 461
ca5c8b2d
JS
462$(WXDIR)\lib\$(WXLIBNAME).lib: $(DUMMYOBJ) $(OBJECTS)
463 $(implib) @<<
464 -machine:$(CPU)
465 -def:wx.def
466 $(DUMMYOBJ) $(OBJECTS)
467 -out:$(WXDIR)\lib\$(WXLIBNAME).lib
ca7731b7
GL
468<<
469
ee284519
RD
470!if "$(USE_GLCANVAS)" == "1"
471GL_LIBS=opengl32.lib glu32.lib
20a2bdc9 472# GL_LIBS_DELAY=/delayload:opengl32.dll
ee284519
RD
473!endif
474
ca5c8b2d 475# Update the dynamic link library
a9221a95 476$(WXDIR)\lib\$(WXLIBNAME).dll: $(DUMMYOBJ) $(OBJECTS)
ca5c8b2d
JS
477 $(link) @<<
478 $(LINKFLAGS)
479 -out:$(WXDIR)\lib\$(WXLIBNAME).dll
0537351f 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
f6bcfd97
BP
481 delayimp.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
9e85f5ec 484 /delayload:oleaut32.dll /delayload:rpcrt4.dll $(GL_LIBS_DELAY)
2bda0e17
KB
485<<
486
ca5c8b2d 487!endif
2bda0e17 488
9e85f5ec 489# /delayload:winmm.dll # Removed because it can cause a crash for some people
2bda0e17
KB
490
491########################################################
ca5c8b2d 492# Windows-specific objects
2bda0e17 493
ca5c8b2d
JS
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
2bda0e17 496
ca5c8b2d 497$D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\msw\setup.h
2bda0e17 498 cl @<<
ca5c8b2d 499$(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /c /Tp dummydll.cpp
2bda0e17
KB
500<<
501
a2327a9f 502# Compile certain files with no optimization (some files cause a
f6bcfd97 503# compiler crash for buggy versions of VC++, e.g. 4.0).
7fee680b 504# Don't forget to put FINAL=1 on the command line.
a2327a9f 505noopt:
8e97b17b 506 cl @<<
a2327a9f
JS
507$(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\datetime.obj /c /Tp $(COMMDIR)\datetime.cpp
508<<
8e97b17b 509 cl @<<
a2327a9f
JS
510$(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\encconv.obj /c /Tp $(COMMDIR)\encconv.cpp
511<<
8e97b17b 512 cl @<<
a2327a9f 513$(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\fileconf.obj /c /Tp $(COMMDIR)\fileconf.cpp
669f7a11
JS
514<<
515 cl @<<
516$(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\hash.obj /c /Tp $(COMMDIR)\hash.cpp
a2327a9f 517<<
8e97b17b 518 cl @<<
a2327a9f
JS
519$(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\resource.obj /c /Tp $(COMMDIR)\resource.cpp
520<<
8e97b17b 521 cl @<<
a2327a9f
JS
522$(CPPFLAGS2) /Od /Fo$(COMMDIR)\$D\textfile.obj /c /Tp $(COMMDIR)\textfile.cpp
523<<
8e97b17b 524 cl @<<
a2327a9f
JS
525$(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\choicdgg.obj /c /Tp $(GENDIR)\choicdgg.cpp
526<<
8e97b17b 527 cl @<<
a2327a9f 528$(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\grid.obj /c /Tp $(GENDIR)\grid.cpp
669f7a11
JS
529<<
530 cl @<<
531$(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\gridsel.obj /c /Tp $(GENDIR)\gridsel.cpp
a2327a9f 532<<
8e97b17b 533 cl @<<
a2327a9f
JS
534$(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\logg.obj /c /Tp $(GENDIR)\logg.cpp
535<<
8e97b17b 536 cl @<<
a2327a9f
JS
537$(CPPFLAGS2) /Od /Fo$(GENDIR)\$D\proplist.obj /c /Tp $(GENDIR)\proplist.cpp
538<<
8e97b17b 539 cl @<<
a2327a9f
JS
540$(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\clipbrd.obj /c /Tp $(MSWDIR)\clipbrd.cpp
541<<
8e97b17b 542 cl @<<
a2327a9f
JS
543$(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\control.obj /c /Tp $(MSWDIR)\control.cpp
544<<
8e97b17b 545 cl @<<
a2327a9f
JS
546$(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\listbox.obj /c /Tp $(MSWDIR)\listbox.cpp
547<<
8e97b17b 548 cl @<<
a2327a9f
JS
549$(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\mdi.obj /c /Tp $(MSWDIR)\mdi.cpp
550<<
8e97b17b 551 cl @<<
a2327a9f
JS
552$(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\menu.obj /c /Tp $(MSWDIR)\menu.cpp
553<<
8e97b17b 554 cl @<<
a2327a9f
JS
555$(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\notebook.obj /c /Tp $(MSWDIR)\notebook.cpp
556<<
8e97b17b 557 cl @<<
a2327a9f
JS
558$(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\tbar95.obj /c /Tp $(MSWDIR)\tbar95.cpp
559<<
8e97b17b 560 cl @<<
a2327a9f
JS
561$(CPPFLAGS2) /Od /Fo$(MSWDIR)\$D\treectrl.obj /c /Tp $(MSWDIR)\treectrl.cpp
562<<
8e97b17b 563 cl @<<
a2327a9f
JS
564$(CPPFLAGS2) /Od /Fo$(HTMLDIR)\$D\helpfrm.obj /c /Tp $(HTMLDIR)\helpfrm.cpp
565<<
566
0cbff120 567$(COMMDIR)\$D\y_tab.obj: $(COMMDIR)\y_tab.c $(COMMDIR)\lex_yy.c
f60d0f94 568 cl @<<
0cbff120 569$(CPPFLAGS2) /c $(COMMDIR)\y_tab.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
f60d0f94
JS
570<<
571
0cbff120
JS
572$(COMMDIR)\y_tab.c: $(COMMDIR)\dosyacc.c
573 copy "$(COMMDIR)"\dosyacc.c "$(COMMDIR)"\y_tab.c
f60d0f94 574
0cbff120
JS
575$(COMMDIR)\lex_yy.c: $(COMMDIR)\doslex.c
576 copy "$(COMMDIR)"\doslex.c "$(COMMDIR)"\lex_yy.c
f60d0f94 577
8e97b17b 578$(OBJECTS): $(WXDIR)/include/wx/setup.h
2bda0e17 579
0cbff120 580$(COMMDIR)\$D\unzip.obj: $(COMMDIR)\unzip.c
4705ee2d
RS
581 cl @<<
582$(CPPFLAGS2) /c $(COMMDIR)\unzip.c /Fo$@
583<<
584
2bda0e17
KB
585# Peripheral components
586
fbcb4166
JS
587png:
588 cd $(WXDIR)\src\png
3156ba6e 589 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG)
fbcb4166
JS
590 cd $(WXDIR)\src\msw
591
592clean_png:
593 cd $(WXDIR)\src\png
48d1144b 594 nmake -f makefile.vc clean
fbcb4166
JS
595 cd $(WXDIR)\src\msw
596
597zlib:
598 cd $(WXDIR)\src\zlib
3156ba6e 599 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG)
fbcb4166
JS
600 cd $(WXDIR)\src\msw
601
602clean_zlib:
603 cd $(WXDIR)\src\zlib
48d1144b 604 nmake -f makefile.vc clean
fbcb4166
JS
605 cd $(WXDIR)\src\msw
606
0f3e3e0c
JS
607jpeg:
608 cd $(WXDIR)\src\jpeg
3156ba6e 609 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) all
0f3e3e0c
JS
610 cd $(WXDIR)\src\msw
611
612clean_jpeg:
613 cd $(WXDIR)\src\jpeg
614 nmake -f makefile.vc clean
615 cd $(WXDIR)\src\msw
616
112d35a2
VZ
617tiff:
618 cd $(WXDIR)\src\tiff
619 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) all
620 cd $(WXDIR)\src\msw
621
622clean_tiff:
623 cd $(WXDIR)\src\tiff
624 nmake -f makefile.vc clean
625 cd $(WXDIR)\src\msw
626
2bda0e17
KB
627rcparser:
628 cd $(WXDIR)\utils\rcparser\src
48d1144b 629 nmake -f makefile.vc FINAL=$(FINAL)
2bda0e17
KB
630 cd $(WXDIR)\src\msw
631
ab85e6cd 632cleanall: clean clean_png clean_zlib clean_jpeg clean_tiff
918a745c
VZ
633 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).dll
634 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).lib
635 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).exp
636 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).pdb
637 -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).ilk
8e97b17b
VZ
638
639
640clean: $(PERIPH_CLEAN_TARGET)
918a745c
VZ
641 -erase $(LIBTARGET)
642 -erase $(WXDIR)\lib\$(WXLIBNAME).pdb
643 -erase *.pdb
644 -erase *.sbr
645 -erase $(WXLIBNAME).pch
646 -erase $(GENDIR)\$D\*.obj
647 -erase $(GENDIR)\$D\*.pdb
648 -erase $(GENDIR)\$D\*.sbr
649 -erase $(COMMDIR)\$D\*.obj
650 -erase $(COMMDIR)\$D\*.pdb
651 -erase $(COMMDIR)\$D\*.sbr
652 -erase $(COMMDIR)\y_tab.c
653 -erase $(COMMDIR)\lex_yy.c
654 -erase $(MSWDIR)\$D\*.obj
655 -erase $(MSWDIR)\$D\*.sbr
656 -erase $(MSWDIR)\$D\*.pdb
8773bc76 657 -erase $(MSWDIR)\$D\*.pch
918a745c
VZ
658 -erase $(OLEDIR)\$D\*.obj
659 -erase $(OLEDIR)\$D\*.sbr
660 -erase $(OLEDIR)\$D\*.pdb
661 -erase $(HTMLDIR)\$D\*.obj
662 -erase $(HTMLDIR)\$D\*.sbr
663 -erase $(HTMLDIR)\$D\*.pdb
8773bc76
VZ
664 -erase $(JPEGDIR)\$D\*.obj
665 -erase $(JPEGDIR)\$D\*.sbr
666 -erase $(JPEGDIR)\$D\*.idb
667 -erase $(JPEGDIR)\$D\*.pdb
668 -erase $(TIFFDIR)\$D\*.obj
669 -erase $(TIFFDIR)\$D\*.sbr
670 -erase $(TIFFDIR)\$D\*.pdb
671 -erase $(TIFFDIR)\$D\*.idb
ca5c8b2d 672 -rmdir $(D)
8773bc76
VZ
673 -rmdir $(GENDIR)\$(D)
674 -rmdir $(COMMDIR)\$(D)
675 -rmdir $(MSWDIR)\$(D)
676 -rmdir $(OLEDIR)\$(D)
677 -rmdir $(HTMLDIR)\$(D)
678 -rmdir $(JPEGDIR)\$(D)
679 -rmdir $(TIFFDIR)\$(D)
2bda0e17 680
2bda0e17 681# Making documents
ab85e6cd 682docs: allhlp allhtml allpdfrtf allhtb allhtmlhelp
62448488 683alldocs: docs
9d9b7755 684hlp: wxhlp
2bda0e17 685wxhlp: $(DOCDIR)/winhelp/wx.hlp
2bda0e17
KB
686refhlp: $(DOCDIR)/winhelp/techref.hlp
687rtf: $(DOCDIR)/winhelp/wx.rtf
2bda0e17 688pdfrtf: $(DOCDIR)/pdf/wx.rtf
2bda0e17 689refpdfrtf: $(DOCDIR)/pdf/techref.rtf
8e97b17b 690html: wxhtml
f6bcfd97 691htb: $(DOCDIR)\htb\wx.htb
8e97b17b 692wxhtml: $(DOCDIR)\html\wx\wx.htm
f6bcfd97 693htmlhelp: $(DOCDIR)\htmlhelp\wx.chm
20e85460 694ps: wxps referencps
8e97b17b
VZ
695wxps: $(WXDIR)\docs\ps\wx.ps
696referencps: $(WXDIR)\docs\ps\referenc.ps
2bda0e17 697
9d9b7755 698allhlp: wxhlp
2bda0e17 699 cd $(WXDIR)\utils\dialoged\src
48d1144b 700 nmake -f makefile.vc hlp
ab85e6cd
JS
701 cd $(WXDIR)\utils\tex2rtf\src
702 nmake -f makefile.vc hlp
2bda0e17
KB
703 cd $(THISDIR)
704
9d9b7755 705allhtml: wxhtml
2bda0e17 706 cd $(WXDIR)\utils\dialoged\src
48d1144b 707 nmake -f makefile.vc html
ab85e6cd
JS
708 cd $(WXDIR)\utils\tex2rtf\src
709 nmake -f makefile.vc html
710 cd $(THISDIR)
711
712allhtmlhelp: htmlhelp
713 cd $(WXDIR)\utils\dialoged\src
714 nmake -f makefile.vc htmlhelp
715 cd $(WXDIR)\utils\tex2rtf\src
716 nmake -f makefile.vc htmlhelp
717 cd $(THISDIR)
718
719allhtb: htb
720 cd $(WXDIR)\utils\dialoged\src
721 nmake -f makefile.vc htb
722 cd $(WXDIR)\utils\tex2rtf\src
723 nmake -f makefile.vc htb
2bda0e17
KB
724 cd $(THISDIR)
725
9d9b7755 726allps: wxps referencps
2bda0e17 727 cd $(WXDIR)\utils\dialoged\src
48d1144b 728 nmake -f makefile.vc ps
ab85e6cd
JS
729 cd $(WXDIR)\utils\tex2rtf\src
730 nmake -f makefile.vc ps
2bda0e17
KB
731 cd $(THISDIR)
732
9d9b7755 733allpdfrtf: pdfrtf
2bda0e17 734 cd $(WXDIR)\utils\dialoged\src
48d1144b 735 nmake -f makefile.vc pdfrtf
ab85e6cd
JS
736 cd $(WXDIR)\utils\tex2rtf\src
737 nmake -f makefile.vc pdfrtf
2bda0e17
KB
738 cd $(THISDIR)
739
2bda0e17
KB
740$(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
741 cd $(DOCDIR)/latex/wx
918a745c 742 -erase wx.ph
2bda0e17 743 hc wx
918a745c
VZ
744 -erase $(DOCDIR)\winhelp\wx.hlp
745 -erase $(DOCDIR)\winhelp\wx.cnt
2bda0e17
KB
746 move wx.hlp $(DOCDIR)\winhelp\wx.hlp
747 move wx.cnt $(DOCDIR)\winhelp\wx.cnt
748 cd $(THISDIR)
749
2bda0e17
KB
750$(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj
751 cd $(DOCDIR)/latex/techref
918a745c 752 -erase techref.ph
2bda0e17
KB
753 hc techref
754 move techref.hlp $(DOCDIR)\winhelp\techref.hlp
755 move techref.cnt $(DOCDIR)\winhelp\techref.cnt
756 cd $(THISDIR)
757
758$(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
759 cd $(DOCDIR)\latex\wx
e12f91dc 760 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
2bda0e17
KB
761 cd $(THISDIR)
762
2bda0e17
KB
763$(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
764 cd $(DOCDIR)\latex\techref
e12f91dc 765 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp
2bda0e17
KB
766 cd $(THISDIR)
767
768$(DOCDIR)/pdf/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
48c12cb1
PA
770 -copy *.wmf $(DOCDIR)\pdf
771 -copy *.bmp $(DOCDIR)\pdf
e12f91dc 772 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
2bda0e17
KB
773 cd $(THISDIR)
774
2bda0e17
KB
775$(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
776 cd $(DOCDIR)\latex\techref
48c12cb1
PA
777 -copy *.wmf $(DOCDIR)\pdf
778 -copy *.bmp $(DOCDIR)\pdf
e12f91dc 779 -start $(WAITFLAG) tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf
2bda0e17
KB
780 cd $(THISDIR)
781
782$(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
783 cd $(DOCDIR)\latex\wx
162999bf 784 -mkdir $(DOCDIR)\html\wx
f6bcfd97 785 copy *.gif $(DOCDIR)\html\wx
e12f91dc 786 -start $(WAITFLAG) tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html
918a745c
VZ
787 -erase $(DOCDIR)\html\wx\*.con
788 -erase $(DOCDIR)\html\wx\*.ref
789 -erase $(DOCDIR)\latex\wx\*.con
790 -erase $(DOCDIR)\latex\wx\*.ref
06e43511 791 cd $(THISDIR)
2bda0e17 792
f6bcfd97 793$(DOCDIR)\htmlhelp\wx.chm : $(DOCDIR)\html\wx\wx.htm $(DOCDIR)\html\wx\wx.hhp
8e97b17b
VZ
794 cd $(DOCDIR)\html\wx
795 -hhc wx.hhp
f6bcfd97 796 -mkdir ..\..\htmlhelp
918a745c 797 -erase $(DOCDIR)\htmlhelp\wx.chm
f6bcfd97 798 move wx.chm ..\..\htmlhelp
8e97b17b 799 cd $(THISDIR)
a8db5b6a 800
8e97b17b
VZ
801$(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
802 cd $(WXDIR)\docs\latex\wx
2bda0e17
KB
803 -latex manual
804 -latex manual
805 -makeindx manual
806 -bibtex manual
807 -latex manual
808 -latex manual
809 cd $(THISDIR)
810
8e97b17b
VZ
811$(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
812 cd $(WXDIR)\docs\latex\wx
2bda0e17
KB
813 -dvips32 -o wx.ps manual
814 move wx.ps $(WXDIR)\docs\ps\wx.ps
815 cd $(THISDIR)
816
8e97b17b
VZ
817$(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
818 cd $(WXDIR)\docs\latex\wx
2bda0e17
KB
819 -latex referenc
820 -latex referenc
821 -makeindx referenc
822 -bibtex referenc
823 -latex referenc
824 -latex referenc
825 cd $(THISDIR)
826
8e97b17b
VZ
827$(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
828 cd $(WXDIR)\docs\latex\wx
2bda0e17
KB
829 -dvips32 -o referenc.ps referenc
830 move referenc.ps $(WXDIR)\docs\ps\referenc.ps
831 cd $(THISDIR)
832
fac26663
JS
833# An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk
834# files, renamed to htb.
835# This can then be used with e.g. helpview.
836# Optionally, a cached version of the .hhp file can be generated with hhp2cached.
f6bcfd97 837$(DOCDIR)\htb\wx.htb: $(DOCDIR)\html\wx\wx.htm
fac26663 838 cd $(WXDIR)\docs\html\wx
918a745c 839 -erase wx.zip wx.htb
f1d93f0b 840 zip wx.zip *.htm *.gif *.hhp *.hhc *.hhk
f6bcfd97
BP
841 -mkdir $(DOCDIR)\htb
842 move wx.zip $(DOCDIR)\htb\wx.htb
fac26663
JS
843 cd $(THISDIR)
844
da36f544
JS
845# In order to force document reprocessing
846touchmanual:
847 -touch $(WXDIR)\docs\latex\wx\manual.tex
62448488
JS
848
849updatedocs: touchmanual alldocs
850
f6bcfd97 851cleandocs:
918a745c
VZ
852 -erase $(DOCDIR)\winhelp\wx.hlp
853 -erase $(DOCDIR)\winhelp\wx.cnt
854 -erase $(DOCDIR)\html\wx\*.htm
855 -erase $(DOCDIR)\pdf\wx.rtf
856 -erase $(DOCDIR)\latex\wx\wx.rtf
857 -erase $(DOCDIR)\latex\wx\WX.PH
858 -erase $(DOCDIR)\htmlhelp\wx.chm
859 -erase $(DOCDIR)\htb\wx.htb
f6bcfd97 860
62448488
JS
861# Start Word, running the GeneratePDF macro. MakeManual.dot should be in the
862# Office StartUp folder, and PDFMaker should be installed.
863updatepdf: # touchmanual pdfrtf
e12f91dc 864 start $(WAITFLAG) "winword d:\wx2\wxWindows\docs\latex\pdf\wx.rtf /mGeneratePDF"
2845ddc2 865
9be9b974
RD
866
867MFTYPE=vc
868makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
8e97b17b
VZ
869 cd $(WXWIN)\distrib\msw\tmake
870 tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
871 copy makefile.$(MFTYPE) $(WXWIN)\src\msw
9be9b974 872