]> git.saurik.com Git - wxWidgets.git/blame - src/msw/makefile.vc
internal browser creates temp file in current dir, safer if /tmp doesn't
[wxWidgets.git] / src / msw / makefile.vc
CommitLineData
2bda0e17
KB
1#
2# File: makefile.nt
3# Author: Julian Smart
4# Created: 1997
3848ffef 5# Updated:
2bda0e17
KB
6# Copyright: (c) 1997, Julian Smart
7#
8# "%W% %G%"
9#
10# Makefile : Builds wxWindows library wx.lib for VC++ (32-bit)
11# Arguments:
12#
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.
16#
48d1144b 17!include <..\makevc.env>
2bda0e17
KB
18
19THISDIR=$(WXWIN)\src\msw
20
21!if "$(WXMAKINGDLL)" == "1"
22LIBTARGET=$(WXDIR)\lib\wx200.dll
23DUMMYOBJ=dummydll.obj
24!else
25LIBTARGET=$(WXLIB)
26DUMMYOBJ=dummy.obj
27!endif
28
29# Please set these according to the settings in wx_setup.h, so we can include
30# the appropriate libraries in wx.lib
31
32# This one overrides the others, to be consistent with the settings in wx_setup.h
33MINIMAL_WXWINDOWS_SETUP=0
34
2bda0e17
KB
35PERIPH_LIBS=
36PERIPH_TARGET=
37PERIPH_CLEAN_TARGET=
38
f97c9854
JS
39# These are absolute paths, so that the compiler
40# generates correct __FILE__ symbols for debugging.
41# Otherwise you don't be able to double-click on a memory
42# error to load that file.
43GENDIR=$(WXDIR)\src\generic
44COMMDIR=$(WXDIR)\src\common
4fabb575 45XPMDIR=$(WXDIR)\src\xpm
2bda0e17 46OLEDIR=ole
f97c9854 47MSWDIR=$(WXDIR)\src\msw
2bda0e17
KB
48
49DOCDIR = $(WXDIR)\docs
50
51GENERICOBJS= \
52 $(GENDIR)\choicdgg.obj \
2bda0e17 53 $(GENDIR)\gridg.obj \
a6d70308 54 $(GENDIR)\laywin.obj \
2bda0e17 55 $(GENDIR)\panelg.obj \
e3a43801
JS
56 $(GENDIR)\prop.obj \
57 $(GENDIR)\propform.obj \
58 $(GENDIR)\proplist.obj \
a6d70308 59 $(GENDIR)\sashwin.obj \
2bda0e17
KB
60 $(GENDIR)\scrolwin.obj \
61 $(GENDIR)\splitter.obj \
62 $(GENDIR)\statusbr.obj \
63 $(GENDIR)\tabg.obj \
64 $(GENDIR)\textdlgg.obj
65
f60d0f94
JS
66# $(GENDIR)\imaglist.obj \
67# $(GENDIR)\treectrl.obj \
68# $(GENDIR)\listctrl.obj \
69# $(GENDIR)\notebook.obj \
70
dfad0599
JS
71# These are generic things that don't need to be compiled on MSW,
72# but sometimes it's useful to do so for testing purposes.
73NONESSENTIALOBJS= \
74 $(GENDIR)\printps.obj \
75 $(GENDIR)\prntdlgg.obj \
76 $(GENDIR)\msgdlgg.obj \
77 $(GENDIR)\helpxlp.obj \
78 $(GENDIR)\colrdlgg.obj \
0a240683 79 $(GENDIR)\fontdlgg.obj
dfad0599 80
2bda0e17
KB
81COMMONOBJS = \
82 $(COMMDIR)\cmndata.obj \
83 $(COMMDIR)\config.obj \
108106cf
JS
84 $(COMMDIR)\db.obj \
85 $(COMMDIR)\dbtable.obj \
2bda0e17 86 $(COMMDIR)\docview.obj \
2108f33a 87 $(COMMDIR)\docmdi.obj \
2bda0e17 88 $(COMMDIR)\dynarray.obj \
0c32066b 89 $(COMMDIR)\dynlib.obj \
2bda0e17
KB
90 $(COMMDIR)\event.obj \
91 $(COMMDIR)\file.obj \
2bda0e17 92 $(COMMDIR)\filefn.obj \
3d8bd7d6
JS
93 $(COMMDIR)\fileconf.obj \
94 $(COMMDIR)\framecmn.obj \
2bda0e17 95 $(COMMDIR)\gdicmn.obj \
e3554471 96 $(COMMDIR)\image.obj \
2bda0e17
KB
97 $(COMMDIR)\intl.obj \
98 $(COMMDIR)\ipcbase.obj \
99 $(COMMDIR)\helpbase.obj \
100 $(COMMDIR)\layout.obj \
101 $(COMMDIR)\log.obj \
102 $(COMMDIR)\memory.obj \
2432b92d 103 $(COMMDIR)\mimetype.obj \
2bda0e17 104 $(COMMDIR)\module.obj \
2bda0e17 105 $(COMMDIR)\odbc.obj \
34138703 106 $(COMMDIR)\object.obj \
2bda0e17
KB
107 $(COMMDIR)\prntbase.obj \
108 $(COMMDIR)\resource.obj \
109 $(COMMDIR)\tbarbase.obj \
110 $(COMMDIR)\tbarsmpl.obj \
111 $(COMMDIR)\textfile.obj \
112 $(COMMDIR)\timercmn.obj \
113 $(COMMDIR)\utilscmn.obj \
114 $(COMMDIR)\validate.obj \
115 $(COMMDIR)\valtext.obj \
116 $(COMMDIR)\date.obj \
117 $(COMMDIR)\hash.obj \
118 $(COMMDIR)\list.obj \
119 $(COMMDIR)\string.obj \
fcc6dddd
JS
120 $(COMMDIR)\socket.obj \
121 $(COMMDIR)\sckaddr.obj \
122 $(COMMDIR)\sckfile.obj \
123 $(COMMDIR)\sckipc.obj \
124 $(COMMDIR)\sckstrm.obj \
125 $(COMMDIR)\url.obj \
126 $(COMMDIR)\http.obj \
127 $(COMMDIR)\protocol.obj \
2bda0e17 128 $(COMMDIR)\time.obj \
fcc6dddd 129 $(COMMDIR)\tokenzr.obj \
2bda0e17 130 $(COMMDIR)\wxexpr.obj \
cf447356 131 $(COMMDIR)\y_tab.obj \
ca7731b7 132 $(COMMDIR)\extended.obj \
3848ffef 133 $(COMMDIR)\process.obj \
25331334 134 $(COMMDIR)\wfstream.obj \
79c3e0e1
GL
135 $(COMMDIR)\mstream.obj \
136 $(COMMDIR)\zstream.obj \
137 $(COMMDIR)\stream.obj \
81d66cf3 138 $(COMMDIR)\datstrm.obj \
fcc6dddd 139 $(COMMDIR)\objstrm.obj \
341287bf 140 $(COMMDIR)\variant.obj \
3d8bd7d6
JS
141 $(COMMDIR)\wincmn.obj
142
2bda0e17 143MSWOBJS = \
57a7b7c1 144 $(MSWDIR)\accel.obj \
2bda0e17
KB
145 $(MSWDIR)\app.obj \
146 $(MSWDIR)\bitmap.obj \
147 $(MSWDIR)\bmpbuttn.obj \
148 $(MSWDIR)\brush.obj \
149 $(MSWDIR)\button.obj \
150 $(MSWDIR)\checkbox.obj \
151 $(MSWDIR)\checklst.obj \
152 $(MSWDIR)\choice.obj \
153 $(MSWDIR)\clipbrd.obj \
154 $(MSWDIR)\colordlg.obj \
155 $(MSWDIR)\colour.obj \
156 $(MSWDIR)\combobox.obj \
157 $(MSWDIR)\control.obj \
158 $(MSWDIR)\curico.obj \
159 $(MSWDIR)\cursor.obj \
160 $(MSWDIR)\data.obj \
161 $(MSWDIR)\dc.obj \
162 $(MSWDIR)\dcmemory.obj \
163 $(MSWDIR)\dcclient.obj \
164 $(MSWDIR)\dcprint.obj \
165 $(MSWDIR)\dcscreen.obj \
166 $(MSWDIR)\dde.obj \
167 $(MSWDIR)\dialog.obj \
168 $(MSWDIR)\dib.obj \
169 $(MSWDIR)\dibutils.obj \
170 $(MSWDIR)\dirdlg.obj \
171 $(MSWDIR)\filedlg.obj \
172 $(MSWDIR)\font.obj \
173 $(MSWDIR)\fontdlg.obj \
174 $(MSWDIR)\frame.obj \
da87a1ca
JS
175 $(MSWDIR)\gauge95.obj \
176 $(MSWDIR)\gaugemsw.obj \
2bda0e17
KB
177 $(MSWDIR)\gdiobj.obj \
178 $(MSWDIR)\helpwin.obj \
179 $(MSWDIR)\icon.obj \
18244936 180 $(MSWDIR)\iniconf.obj \
2bda0e17 181 $(MSWDIR)\joystick.obj \
2fd284a4 182 $(MSWDIR)\imaglist.obj \
2bda0e17 183 $(MSWDIR)\listbox.obj \
2fd284a4 184 $(MSWDIR)\listctrl.obj \
2bda0e17
KB
185 $(MSWDIR)\main.obj \
186 $(MSWDIR)\mdi.obj \
187 $(MSWDIR)\menu.obj \
188 $(MSWDIR)\menuitem.obj \
189 $(MSWDIR)\metafile.obj \
190 $(MSWDIR)\minifram.obj \
191 $(MSWDIR)\msgdlg.obj \
192 $(MSWDIR)\nativdlg.obj \
2fd284a4 193 $(MSWDIR)\notebook.obj \
2bda0e17
KB
194 $(MSWDIR)\ownerdrw.obj \
195 $(MSWDIR)\palette.obj \
196 $(MSWDIR)\pen.obj \
197 $(MSWDIR)\penwin.obj \
198 $(MSWDIR)\pnghand.obj \
199 $(MSWDIR)\printdlg.obj \
200 $(MSWDIR)\printwin.obj \
201 $(MSWDIR)\radiobox.obj \
202 $(MSWDIR)\radiobut.obj \
203 $(MSWDIR)\region.obj \
204 $(MSWDIR)\registry.obj \
6a23cbce 205 $(MSWDIR)\regconf.obj \
2bda0e17
KB
206 $(MSWDIR)\scrolbar.obj \
207 $(MSWDIR)\settings.obj \
da87a1ca
JS
208 $(MSWDIR)\slidrmsw.obj \
209 $(MSWDIR)\slider95.obj \
2bda0e17
KB
210 $(MSWDIR)\spinbutt.obj \
211 $(MSWDIR)\statbmp.obj \
212 $(MSWDIR)\statbox.obj \
213 $(MSWDIR)\statbr95.obj \
214 $(MSWDIR)\stattext.obj \
215 $(MSWDIR)\tabctrl.obj \
216 $(MSWDIR)\taskbar.obj \
217 $(MSWDIR)\tbar95.obj \
218 $(MSWDIR)\tbarmsw.obj \
219 $(MSWDIR)\textctrl.obj \
220 $(MSWDIR)\thread.obj \
221 $(MSWDIR)\timer.obj \
2fd284a4 222 $(MSWDIR)\treectrl.obj \
2bda0e17 223 $(MSWDIR)\utils.obj \
cf447356 224 $(MSWDIR)\utilsexc.obj \
2fd284a4 225 $(OLEDIR)\uuid.obj \
2bda0e17
KB
226 $(MSWDIR)\wave.obj \
227 $(MSWDIR)\window.obj \
2fd284a4
JS
228 $(MSWDIR)\xpmhand.obj \
229 $(OLEDIR)\dataobj.obj \
230 $(OLEDIR)\automtn.obj \
2bda0e17 231 $(OLEDIR)\droptgt.obj \
43d811ea 232 $(OLEDIR)\dropsrc.obj \
2fd284a4 233 $(OLEDIR)\oleutils.obj
43d811ea 234
dfad0599 235# Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
2fd284a4 236OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS)
2bda0e17
KB
237
238# Normal, static library
2fd284a4 239all: $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib xpm $(LIBTARGET)
2bda0e17
KB
240
241# wxWindows library as DLL
242dll:
48d1144b 243 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1
2bda0e17
KB
244
245# wxWindows + app as DLL. Only affects main.cpp.
246dllapp:
48d1144b 247 nmake -f makefile.vc all FINAL=$(FINAL) DLL=1
2bda0e17
KB
248
249# wxWindows + app as DLL, for Netscape plugin - remove DllMain.
250dllnp:
48d1144b 251 nmake -f makefile.vc all NOMAIN=1 FINAL=$(FINAL) DLL=1
2bda0e17
KB
252
253# Use this to make dummy.obj and generate a PCH.
254# You might use the dll target, then the pch target, in order to
255# generate a DLL, then a PCH/dummy.obj for compiling your applications with.
256#
257# Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
258# are associated with wx.lib. When using a DLL version of wxWindows, however,
259# the DLL is compiled without a PCH, so you only need it for compiling the app.
260# In fact headers are compiled differently depending on whether a DLL is being made
261# or an app is calling the DLL exported functionality (WXDLLEXPORT is different
262# in each case) so you couldn't use the same PCH.
263pch:
48d1144b 264 nmake -f makefile.vc pch1 WXUSINGDLL=1
2bda0e17
KB
265
266pch1: $(DUMMYOBJ)
267
268$(WXDIR)\lib\wx.lib: dummy.obj $(OBJECTS) $(PERIPH_LIBS)
269 -erase $(LIBTARGET)
270 $(implib) @<<
271-out:$@
272-machine:$(CPU)
273$(OBJECTS) $(PERIPH_LIBS)
274<<
275
276# Update the import library
277$(WXDIR)\lib\wx200.lib: $(DUMMYOBJ) $(OBJECTS)
278 $(implib) @<<
279 -machine:$(CPU)
280 -def:wx.def
281 $(DUMMYOBJ) $(OBJECTS)
282 -out:$(WXDIR)\lib\wx200.lib
283<<
284
285# Update the dynamic link library
286$(WXDIR)\lib\wx200.dll: $(DUMMYOBJ) $(OBJECTS) $(WXDIR)\lib\wx200.lib
287 $(link) @<<
288 $(LINKFLAGS)
289 -out:$(WXDIR)\lib\wx200.dll
574c0bbf 290 $(DUMMYOBJ) $(OBJECTS) $(guilibsdll) shell32.lib comctl32.lib ctl3d32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib odbc32.lib advapi32.lib winmm.lib $(WXDIR)\lib\winpng.lib $(WXDIR)\lib\zlib.lib $(WXDIR)\lib\xpm.lib
2bda0e17
KB
291<<
292
293########################################################
294# Windows-specific objects
295
296dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
297 cl $(CPPFLAGS) $(MAKEPRECOMP) /c /Tp $*.$(SRCSUFF)
298
299dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h
300 cl @<<
301$(CPPFLAGS) $(MAKEPRECOMP) /c /Tp $*.$(SRCSUFF)
302<<
303
57a7b7c1
JS
304$(MSWDIR)/accel.obj: $*.$(SRCSUFF)
305 cl @<<
306$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
307<<
308
2bda0e17
KB
309$(MSWDIR)/app.obj: $*.$(SRCSUFF)
310 cl @<<
6164d85e 311$(CPPFLAGS) /D__NO_VC_CRTDBG__ /c /Tp $*.$(SRCSUFF) /Fo$@
2bda0e17
KB
312<<
313
314$(MSWDIR)/bitmap.obj: $*.$(SRCSUFF)
315 cl @<<
316$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
317<<
318
319$(MSWDIR)/bmpbuttn.obj: $*.$(SRCSUFF)
320 cl @<<
321$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
322<<
323
324$(MSWDIR)/brush.obj: $*.$(SRCSUFF)
325 cl @<<
326$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
327<<
328
329$(MSWDIR)/button.obj: $*.$(SRCSUFF)
330 cl @<<
331$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
332<<
333
334$(MSWDIR)/choice.obj: $*.$(SRCSUFF)
335 cl @<<
336$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
337<<
338
339$(MSWDIR)/checkbox.obj: $*.$(SRCSUFF)
340 cl @<<
341$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
342<<
343
344$(MSWDIR)/checklst.obj: $*.$(SRCSUFF)
345 cl @<<
346$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
347<<
348
349$(MSWDIR)/clipbrd.obj: $*.$(SRCSUFF)
350 cl @<<
351$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
352<<
353
354$(MSWDIR)/colordlg.obj: $*.$(SRCSUFF)
355 cl @<<
356$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
357<<
358
359$(MSWDIR)/colour.obj: $*.$(SRCSUFF)
360 cl @<<
361$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
362<<
363
364$(MSWDIR)/combobox.obj: $*.$(SRCSUFF)
365 cl @<<
366$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
367<<
368
369$(MSWDIR)/control.obj: $*.$(SRCSUFF)
370 cl @<<
371$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
372<<
373
374$(MSWDIR)/curico.obj: $*.$(SRCSUFF)
375 cl @<<
376$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
377<<
378
379$(MSWDIR)/cursor.obj: $*.$(SRCSUFF)
380 cl @<<
381$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
382<<
383
384$(MSWDIR)/data.obj: $*.$(SRCSUFF)
385 cl @<<
386$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
387<<
388
389$(MSWDIR)/dde.obj: $*.$(SRCSUFF)
390 cl @<<
391$(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
392<<
393
394$(MSWDIR)/dc.obj: $*.$(SRCSUFF)
395 cl @<<
396$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
397<<
398
399$(MSWDIR)/dcmemory.obj: $*.$(SRCSUFF)
400 cl @<<
401$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
402<<
403
404$(MSWDIR)/dcclient.obj: $*.$(SRCSUFF)
405 cl @<<
406$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
407<<
408
409$(MSWDIR)/dcprint.obj: $*.$(SRCSUFF)
410 cl @<<
411$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
412<<
413
414$(MSWDIR)/dcscreen.obj: $*.$(SRCSUFF)
415 cl @<<
416$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
417<<
418
419$(MSWDIR)/dialog.obj: $*.$(SRCSUFF)
420 cl @<<
421$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
422<<
423
424$(MSWDIR)/dib.obj: $*.$(SRCSUFF)
425 cl @<<
426$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
427<<
428
429$(MSWDIR)/dibutils.obj: $*.$(SRCSUFF)
430 cl @<<
431$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
432<<
433
434$(MSWDIR)/dirdlg.obj: $*.$(SRCSUFF)
435 cl @<<
436$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
437<<
438
439$(MSWDIR)/filedlg.obj: $*.$(SRCSUFF)
440 cl @<<
441$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
442<<
443
444$(MSWDIR)/font.obj: $*.$(SRCSUFF)
445 cl @<<
446$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
447<<
448
449$(MSWDIR)/fontdlg.obj: $*.$(SRCSUFF)
450 cl @<<
451$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
452<<
453
454$(MSWDIR)/frame.obj: $*.$(SRCSUFF)
455 cl @<<
456$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
457<<
458
da87a1ca
JS
459$(MSWDIR)/gauge95.obj: $*.$(SRCSUFF)
460 cl @<<
461$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
462<<
463
464$(MSWDIR)/gaugemsw.obj: $*.$(SRCSUFF)
2bda0e17
KB
465 cl @<<
466$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
467<<
468
469$(MSWDIR)/gdiobj.obj: $*.$(SRCSUFF)
470 cl @<<
471$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
472<<
473
474$(MSWDIR)/icon.obj: $*.$(SRCSUFF)
475 cl @<<
476$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
477<<
478
479$(MSWDIR)/imaglist.obj: $*.$(SRCSUFF)
480 cl @<<
481$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
482<<
483
484$(MSWDIR)/joystick.obj: $*.$(SRCSUFF)
485 cl @<<
486$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
487<<
488
489$(MSWDIR)/listbox.obj: $*.$(SRCSUFF)
490 cl @<<
491$(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
492<<
493
494$(MSWDIR)/listctrl.obj: $*.$(SRCSUFF)
495 cl @<<
496$(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
497<<
498
499$(MSWDIR)/main.obj: $*.$(SRCSUFF)
500 cl @<<
501$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
502<<
503
504$(MSWDIR)/mdi.obj: $*.$(SRCSUFF)
505 cl @<<
506$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
507<<
508
509$(MSWDIR)/menu.obj: $*.$(SRCSUFF)
510 cl @<<
511$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
512<<
513
514$(MSWDIR)/menuitem.obj: $*.$(SRCSUFF)
515 cl @<<
516$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
517<<
518
519$(MSWDIR)/metafile.obj: $*.$(SRCSUFF)
520 cl @<<
521$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
522<<
523
524$(MSWDIR)/minifram.obj: $*.$(SRCSUFF)
525 cl @<<
526$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
527<<
528
529$(MSWDIR)/msgdlg.obj: $*.$(SRCSUFF)
530 cl @<<
531$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
532<<
533
534$(MSWDIR)/nativdlg.obj: $*.$(SRCSUFF)
535 cl @<<
536$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
537<<
538
1c089c47
JS
539$(MSWDIR)/notebook.obj: $*.$(SRCSUFF)
540 cl @<<
541$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
542<<
543
2bda0e17
KB
544$(MSWDIR)/ownerdrw.obj: $*.$(SRCSUFF)
545 cl @<<
546$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
547<<
548
549$(MSWDIR)/palette.obj: $*.$(SRCSUFF)
550 cl @<<
551$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
552<<
553
554$(MSWDIR)/pen.obj: $*.$(SRCSUFF)
555 cl @<<
556$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
557<<
558
559$(MSWDIR)/penwin.obj: $*.$(SRCSUFF)
560 cl @<<
561$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
562<<
563
564$(MSWDIR)/pnghand.obj: $*.$(SRCSUFF)
565 cl @<<
566$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
567<<
568
2fd284a4
JS
569$(MSWDIR)/xpmhand.obj: $*.$(SRCSUFF)
570 cl @<<
571$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
572<<
573
2bda0e17
KB
574$(MSWDIR)/printdlg.obj: $*.$(SRCSUFF)
575 cl @<<
576$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
577<<
578
579$(MSWDIR)/printwin.obj: $*.$(SRCSUFF)
580 cl @<<
581$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
582<<
583
584$(MSWDIR)/radiobox.obj: $*.$(SRCSUFF)
585 cl @<<
586$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
587<<
588
589$(MSWDIR)/radiobut.obj: $*.$(SRCSUFF)
590 cl @<<
591$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
592<<
593
594$(MSWDIR)/region.obj: $*.$(SRCSUFF)
595 cl @<<
596$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
597<<
598
599$(MSWDIR)/registry.obj: $*.$(SRCSUFF)
600 cl @<<
601$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
602<<
603
6a23cbce
JS
604$(MSWDIR)/regconf.obj: $*.$(SRCSUFF)
605 cl @<<
606$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
607<<
608
2bda0e17
KB
609$(MSWDIR)/scrolbar.obj: $*.$(SRCSUFF)
610 cl @<<
611$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
612<<
613
614$(MSWDIR)/settings.obj: $*.$(SRCSUFF)
615 cl @<<
616$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
617<<
618
da87a1ca
JS
619$(MSWDIR)/slidrmsw.obj: $*.$(SRCSUFF)
620 cl @<<
621$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
622<<
623
624$(MSWDIR)/slider95.obj: $*.$(SRCSUFF)
2bda0e17
KB
625 cl @<<
626$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
627<<
628
629$(MSWDIR)/spinbutt.obj: $*.$(SRCSUFF)
630 cl @<<
631$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
632<<
633
634$(MSWDIR)/statbmp.obj: $*.$(SRCSUFF)
635 cl @<<
636$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
637<<
638
639$(MSWDIR)/statbox.obj: $*.$(SRCSUFF)
640 cl @<<
641$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
642<<
643
644$(MSWDIR)/statbr95.obj: $*.$(SRCSUFF)
645 cl @<<
646$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
647<<
648
649$(MSWDIR)/stattext.obj: $*.$(SRCSUFF)
650 cl @<<
651$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
652<<
653
654$(MSWDIR)/tabctrl.obj: $*.$(SRCSUFF)
655 cl @<<
656$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
657<<
658
659$(MSWDIR)/taskbar.obj: $*.$(SRCSUFF)
660 cl @<<
661$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
662<<
663
664$(MSWDIR)/tbar95.obj: $*.$(SRCSUFF)
665 cl @<<
666$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
667<<
668
669$(MSWDIR)/tbarmsw.obj: $*.$(SRCSUFF)
670 cl @<<
671$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
672<<
673
674$(MSWDIR)/textctrl.obj: $*.$(SRCSUFF)
675 cl @<<
676$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
677<<
678
679$(MSWDIR)/thread.obj: $*.$(SRCSUFF)
680 cl @<<
681$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
682<<
683
684$(MSWDIR)/timer.obj: $*.$(SRCSUFF)
685 cl @<<
686$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
687<<
688
689$(MSWDIR)/treectrl.obj: $*.$(SRCSUFF)
690 cl @<<
691$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
692<<
693
694$(MSWDIR)/utils.obj: $*.$(SRCSUFF)
695 cl @<<
696$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
697<<
698
cf447356
GL
699$(MSWDIR)/utilsexc.obj: $*.$(SRCSUFF)
700 cl @<<
701$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
702<<
703
2bda0e17
KB
704$(MSWDIR)/wave.obj: $*.$(SRCSUFF)
705 echo $(CPPFLAGS)
706 cl @<<
707$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
708<<
709
710$(MSWDIR)/window.obj: $*.$(SRCSUFF)
711 echo $(CPPFLAGS)
712 cl @<<
713$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
714<<
715
716$(OLEDIR)/droptgt.obj: $*.$(SRCSUFF)
717 echo $(CPPFLAGS)
718 cl @<<
719$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
43d811ea
JS
720<<
721
722$(OLEDIR)/dropsrc.obj: $*.$(SRCSUFF)
723 echo $(CPPFLAGS)
724 cl @<<
725$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
726<<
727
728$(OLEDIR)/dataobj.obj: $*.$(SRCSUFF)
729 echo $(CPPFLAGS)
730 cl @<<
731$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
2bda0e17
KB
732<<
733
734$(OLEDIR)/oleutils.obj: $*.$(SRCSUFF)
735 echo $(CPPFLAGS)
736 cl @<<
737$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
738<<
739
740$(OLEDIR)/uuid.obj: $*.$(SRCSUFF)
741 echo $(CPPFLAGS)
742 cl @<<
743$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
744<<
745
aa0b7e1e
JS
746$(OLEDIR)/automtn.obj: $*.$(SRCSUFF)
747 echo $(CPPFLAGS)
748 cl @<<
749$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
750<<
751
2bda0e17
KB
752########################################################
753# Common objects (always compiled)
754
755$(COMMDIR)/cmndata.obj: $*.$(SRCSUFF)
756 echo $(CPPFLAGS)
757 cl @<<
758$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
759<<
760
761$(COMMDIR)/config.obj: $*.$(SRCSUFF)
762 echo $(CPPFLAGS)
763 cl @<<
764$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
765<<
766
108106cf
JS
767$(COMMDIR)/db.obj: $*.$(SRCSUFF)
768 echo $(CPPFLAGS)
769 cl @<<
770$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
771<<
772
773$(COMMDIR)/dbtable.obj: $*.$(SRCSUFF)
774 echo $(CPPFLAGS)
775 cl @<<
776$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
777<<
778
2bda0e17
KB
779$(COMMDIR)/docview.obj: $*.$(SRCSUFF)
780 cl @<<
781$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
782<<
783
2108f33a
JS
784$(COMMDIR)/docmdi.obj: $*.$(SRCSUFF)
785 cl @<<
786$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
787<<
788
2bda0e17
KB
789$(COMMDIR)/dynarray.obj: $*.$(SRCSUFF)
790 cl @<<
791$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
792<<
793
0c32066b
JS
794$(COMMDIR)/dynlib.obj: $*.$(SRCSUFF)
795 cl @<<
796$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
797<<
798
2bda0e17
KB
799$(COMMDIR)/event.obj: $*.$(SRCSUFF)
800 cl @<<
801$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
802<<
803
804$(COMMDIR)/file.obj: $*.$(SRCSUFF)
805 cl @<<
806$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
807<<
808
809$(COMMDIR)/fileconf.obj: $*.$(SRCSUFF)
810 cl @<<
811$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
812<<
813
814$(COMMDIR)/filefn.obj: $*.$(SRCSUFF)
815 cl @<<
816$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
817<<
818
3d8bd7d6
JS
819$(COMMDIR)/framecmn.obj: $*.$(SRCSUFF)
820 cl @<<
821$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
822<<
823
2bda0e17
KB
824$(COMMDIR)/gdicmn.obj: $*.$(SRCSUFF)
825 cl @<<
826$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
827<<
828
e3554471 829$(COMMDIR)/image.obj: $*.$(SRCSUFF)
18244936
JS
830 cl @<<
831$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
832<<
833
2bda0e17
KB
834$(COMMDIR)/intl.obj: $*.$(SRCSUFF)
835 cl @<<
836$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
837<<
838
839$(COMMDIR)/ipcbase.obj: $*.$(SRCSUFF)
840 cl @<<
841$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
842<<
843
844$(COMMDIR)/helpbase.obj: $*.$(SRCSUFF)
845 cl @<<
846$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
847<<
848
849$(COMMDIR)/layout.obj: $*.$(SRCSUFF)
850 cl @<<
851$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
852<<
853
854$(COMMDIR)/log.obj: $*.$(SRCSUFF)
855 cl @<<
856$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
857<<
858
859$(COMMDIR)/memory.obj: $*.$(SRCSUFF)
860 cl @<<
861$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
862<<
863
2432b92d
JS
864$(COMMDIR)/mimetype.obj: $*.$(SRCSUFF)
865 cl @<<
866$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
867<<
868
2bda0e17
KB
869$(COMMDIR)/module.obj: $*.$(SRCSUFF)
870 cl @<<
871$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
872<<
873
874$(COMMDIR)/object.obj: $*.$(SRCSUFF)
875 cl @<<
876$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
877<<
878
879$(COMMDIR)/odbc.obj: $*.$(SRCSUFF)
880 cl @<<
881$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
882<<
883
2bda0e17
KB
884$(COMMDIR)/prntbase.obj: $*.$(SRCSUFF)
885 cl @<<
886$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
887<<
888
889$(COMMDIR)/resource.obj: $*.$(SRCSUFF)
890 cl @<<
891$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
892<<
893
894$(COMMDIR)/tbarbase.obj: $*.$(SRCSUFF)
895 cl @<<
896$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
897<<
898
899$(COMMDIR)/tbarsmpl.obj: $*.$(SRCSUFF)
900 cl @<<
901$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
902<<
903
904$(COMMDIR)/textfile.obj: $*.$(SRCSUFF)
905 cl @<<
906$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
907<<
908
909$(COMMDIR)/timercmn.obj: $*.$(SRCSUFF)
910 cl @<<
911$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
912<<
913
914$(COMMDIR)/utilscmn.obj: $*.$(SRCSUFF)
915 cl @<<
916$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
917<<
918
919$(COMMDIR)/validate.obj: $*.$(SRCSUFF)
920 cl @<<
921$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
922<<
923
924$(COMMDIR)/valtext.obj: $*.$(SRCSUFF)
925 cl @<<
926$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
927<<
928
929$(COMMDIR)/date.obj: $*.$(SRCSUFF)
930 cl @<<
931$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
932<<
933
934$(COMMDIR)/wxexpr.obj: $*.$(SRCSUFF)
935 echo $(CPPFLAGS)
936 cl @<<
937$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
938<<
939
940$(COMMDIR)/hash.obj: $*.$(SRCSUFF)
941 cl @<<
942$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
943<<
944
945$(COMMDIR)/list.obj: $*.$(SRCSUFF)
946 cl @<<
947$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
948<<
949
950$(COMMDIR)/string.obj: $*.$(SRCSUFF)
951 cl @<<
952$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
953<<
954
fcc6dddd
JS
955$(COMMDIR)/socket.obj: $*.$(SRCSUFF)
956 cl @<<
957$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
958<<
959
960$(COMMDIR)/sckaddr.obj: $*.$(SRCSUFF)
961 cl @<<
962$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
963<<
964
965$(COMMDIR)/sckfile.obj: $*.$(SRCSUFF)
966 cl @<<
967$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
968<<
969
970$(COMMDIR)/sckipc.obj: $*.$(SRCSUFF)
971 cl @<<
972$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
973<<
974
975$(COMMDIR)/sckstrm.obj: $*.$(SRCSUFF)
976 cl @<<
977$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
978<<
979
980$(COMMDIR)/url.obj: $*.$(SRCSUFF)
981 cl @<<
982$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
983<<
984
985$(COMMDIR)/http.obj: $*.$(SRCSUFF)
986 cl @<<
987$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
988<<
989
990$(COMMDIR)/protocol.obj: $*.$(SRCSUFF)
991 cl @<<
992$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
993<<
994
995$(COMMDIR)/tokenzr.obj: $*.$(SRCSUFF)
996 cl @<<
997$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
998<<
999
2bda0e17
KB
1000$(COMMDIR)/matrix.obj: $*.$(SRCSUFF)
1001 cl @<<
1002$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
1003<<
1004
2bda0e17
KB
1005$(COMMDIR)/time.obj: $*.$(SRCSUFF)
1006 cl @<<
1007$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
1008<<
1009
79c3e0e1
GL
1010$(COMMDIR)\stream.obj: $*.$(SRCSUFF)
1011 cl @<<
1012$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
1013<<
1014
25331334 1015$(COMMDIR)\wfstream.obj: $*.$(SRCSUFF)
79c3e0e1
GL
1016 cl @<<
1017$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
1018<<
1019
1020$(COMMDIR)\mstream.obj: $*.$(SRCSUFF)
1021 cl @<<
1022$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
1023<<
1024
1025$(COMMDIR)\zstream.obj: $*.$(SRCSUFF)
1026 cl @<<
1027$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
1028<<
1029
cf447356
GL
1030$(COMMDIR)\datstrm.obj: $*.$(SRCSUFF)
1031 cl @<<
1032$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
1033<<
1034
fcc6dddd
JS
1035$(COMMDIR)\objstrm.obj: $*.$(SRCSUFF)
1036 cl @<<
1037$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
1038<<
1039
cf447356
GL
1040$(COMMDIR)/extended.obj: $*.c
1041 cl @<<
fcc6dddd 1042$(CPPFLAGS2) /c $*.c /Fo$@
cf447356
GL
1043<<
1044
ca7731b7
GL
1045$(COMMDIR)/process.obj: $*.$(SRCSUFF)
1046 cl @<<
341287bf
JS
1047$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
1048<<
1049
1050$(COMMDIR)/variant.obj: $*.$(SRCSUFF)
1051 cl @<<
1052$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
3d8bd7d6
JS
1053<<
1054
1055$(COMMDIR)/wincmn.obj: $*.$(SRCSUFF)
1056 cl @<<
341287bf 1057$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
ca7731b7
GL
1058<<
1059
2bda0e17
KB
1060$(COMMDIR)/y_tab.obj: $*.c $(COMMDIR)/lex_yy.c
1061 cl @<<
1062$(CPPFLAGS2) /c $*.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
1063<<
1064
1065$(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c
1066 copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c
1067
1068$(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
1069 copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c
1070
1071########################################################
1072# Generic objects (not always compiled, depending on
1073# whether platforms have native implementations)
1074
1075$(GENDIR)/choicdgg.obj: $*.$(SRCSUFF)
1076 cl @<<
1077$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
1078<<
1079
1080$(GENDIR)/colrdlgg.obj: $*.$(SRCSUFF)
1081 cl @<<
1082$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
1083<<
1084
1085$(GENDIR)/fontdlgg.obj: $*.$(SRCSUFF)
1086 cl @<<
1087$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
1088<<
1089
1090$(GENDIR)/gridg.obj: $*.$(SRCSUFF)
1091 cl @<<
1092$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
1093<<
1094
1095$(GENDIR)/helpxlp.obj: $*.$(SRCSUFF)
1096 cl @<<
1097$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
1098<<
1099
a6d70308
JS
1100$(GENDIR)/laywin.obj: $*.$(SRCSUFF)
1101 cl @<<
1102$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
1103<<
1104
2bda0e17
KB
1105$(GENDIR)/msgdlgg.obj: $*.$(SRCSUFF)
1106 cl @<<
1107$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
1108<<
1109
1110$(GENDIR)/panelg.obj: $*.$(SRCSUFF)
1111 cl @<<
1112$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
1113<<
1114
e3a43801
JS
1115$(GENDIR)/prop.obj: $*.$(SRCSUFF)
1116 cl @<<
1117$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
1118<<
1119
1120$(GENDIR)/propform.obj: $*.$(SRCSUFF)
1121 cl @<<
1122$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
1123<<
1124
1125$(GENDIR)/proplist.obj: $*.$(SRCSUFF)
1126 cl @<<
1127$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
1128<<
1129
2bda0e17
KB
1130$(GENDIR)/printps.obj: $*.$(SRCSUFF)
1131 cl @<<
1132$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
1133<<
1134
1135$(GENDIR)/prntdlgg.obj: $*.$(SRCSUFF)
1136 cl @<<
1137$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
1138<<
1139
a6d70308
JS
1140$(GENDIR)/sashwin.obj: $*.$(SRCSUFF)
1141 cl @<<
1142$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
1143<<
1144
2bda0e17
KB
1145$(GENDIR)/scrolwin.obj: $*.$(SRCSUFF)
1146 cl @<<
1147$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
1148<<
1149
1150$(GENDIR)/splitter.obj: $*.$(SRCSUFF)
1151 cl @<<
1152$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
1153<<
1154
1155$(GENDIR)/statusbr.obj: $*.$(SRCSUFF)
1156 cl @<<
1157$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
1158<<
1159
1160$(GENDIR)/tabg.obj: $*.$(SRCSUFF)
1161 cl @<<
1162$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
1163<<
1164
1165$(GENDIR)/textdlgg.obj: $*.$(SRCSUFF)
1166 cl @<<
1167$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
1168<<
1169
f60d0f94
JS
1170$(GENDIR)/treectrl.obj: $*.$(SRCSUFF)
1171 cl @<<
1172$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
1173<<
1174
1175$(GENDIR)/imaglist.obj: $*.$(SRCSUFF)
1176 cl @<<
1177$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
1178<<
1179
1180$(GENDIR)/listctrl.obj: $*.$(SRCSUFF)
1181 cl @<<
1182$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
1183<<
1184
1185$(GENDIR)/notebook.obj: $*.$(SRCSUFF)
1186 cl @<<
1187$(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
1188<<
1189
4fabb575 1190$(OBJECTS): $(WXDIR)/include/wx/setup.h
2bda0e17 1191
2bda0e17
KB
1192# Peripheral components
1193
fbcb4166
JS
1194png:
1195 cd $(WXDIR)\src\png
48d1144b 1196 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
fbcb4166
JS
1197 cd $(WXDIR)\src\msw
1198
1199clean_png:
1200 cd $(WXDIR)\src\png
48d1144b 1201 nmake -f makefile.vc clean
fbcb4166
JS
1202 cd $(WXDIR)\src\msw
1203
1204zlib:
1205 cd $(WXDIR)\src\zlib
48d1144b 1206 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
fbcb4166
JS
1207 cd $(WXDIR)\src\msw
1208
1209clean_zlib:
1210 cd $(WXDIR)\src\zlib
48d1144b 1211 nmake -f makefile.vc clean
fbcb4166
JS
1212 cd $(WXDIR)\src\msw
1213
2bda0e17 1214xpm:
2fd284a4 1215 cd $(WXDIR)\src\xpm
48d1144b 1216 nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
2bda0e17
KB
1217 cd $(WXDIR)\src\msw
1218
1219clean_xpm:
2fd284a4 1220 cd $(WXDIR)\src\xpm
48d1144b 1221 nmake -f makefile.vc clean
2bda0e17
KB
1222 cd $(WXDIR)\src\msw
1223
1224rcparser:
1225 cd $(WXDIR)\utils\rcparser\src
48d1144b 1226 nmake -f makefile.vc FINAL=$(FINAL)
2bda0e17
KB
1227 cd $(WXDIR)\src\msw
1228
2fd284a4 1229clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib clean_xpm
2bda0e17
KB
1230 -erase *.obj
1231 -erase $(LIBTARGET)
dabeb021 1232 -erase $(WXDIR)\lib\*.pdb
2bda0e17
KB
1233 -erase ..\..\lib\wx200.dll
1234 -erase ..\..\lib\wx200.lib
1235 -erase ..\..\lib\wx200.exp
1236 -erase ..\..\lib\wx200.pdb
1237 -erase ..\..\lib\wx200.ilk
1238 -erase *.pdb
1239 -erase *.sbr
1240 -erase *.pch
1241 cd $(WXDIR)\src\msw
1242 cd $(GENDIR)
1243 -erase *.pdb
1244 -erase *.sbr
1245 -erase *.obj
1246 cd $(WXDIR)\src\msw
1247 cd $(COMMDIR)
1248 -erase *.pdb
1249 -erase *.sbr
1250 -erase *.obj
1251 -erase y_tab.c
1252 -erase lex_yy.c
1253 cd $(WXDIR)\src\msw
1254 cd $(OLEDIR)
1255 -erase *.pdb
1256 -erase *.sbr
1257 -erase *.obj
1258 cd $(WXDIR)\src\msw
1259# -erase ..\common\wxstrgnu\*.obj
1260# -erase ..\common\lex_yy.c
1261# -erase ..\common\y_tab.c
1262
1263cleanall: clean
1264
1265# Making documents
62448488
JS
1266docs: allhlp allhtml allpdfrtf
1267alldocs: docs
bd0df01f 1268hlp: wxhlp portinghlp # faqhlp
2bda0e17 1269wxhlp: $(DOCDIR)/winhelp/wx.hlp
f3a65071 1270prophlp: $(DOCDIR)/winhelp/prop.hlp
2bda0e17
KB
1271faqhlp: $(DOCDIR)/winhelp/faq.hlp
1272refhlp: $(DOCDIR)/winhelp/techref.hlp
1273rtf: $(DOCDIR)/winhelp/wx.rtf
1274faqrtf: $(DOCDIR)/winhelp/faq.rtf
f3a65071 1275proprtf: $(DOCDIR)/winhelp/prop.rtf
2bda0e17
KB
1276pdfrtf: $(DOCDIR)/pdf/wx.rtf
1277faqpdfrtf: $(DOCDIR)/pdf/faq.rtf
f3a65071 1278proppdfrtf: $(DOCDIR)/pdf/prop.rtf
2bda0e17
KB
1279refpdfrtf: $(DOCDIR)/pdf/techref.rtf
1280html: wxhtml # faqhtml
1281wxhtml: $(DOCDIR)\html\wx\wx.htm
1282faqhtml: $(DOCDIR)\html\faq\faq.htm
f3a65071 1283prophtml: $(DOCDIR)\html\proplist\prop.htm
2bda0e17
KB
1284ps: wxps referencps # faqps
1285wxps: $(WXDIR)\docs\ps\wx.ps
f3a65071 1286propps: $(WXDIR)\docs\ps\prop.ps
2bda0e17
KB
1287faqps: $(WXDIR)\docs\ps\faq.ps
1288referencps: $(WXDIR)\docs\ps\referenc.ps
1289
1290portinghtml: $(DOCDIR)\html\porting\port.htm
1291portingrtf: $(DOCDIR)/winhelp/porting.rtf
1292portinghlp: $(DOCDIR)/winhelp/porting.hlp
1293portingpdfrtf: $(DOCDIR)/pdf/porting.rtf
1294portingps: $(WXDIR)\docs\ps\porting.ps
1295
f3a65071 1296allhlp: wxhlp portinghlp prop # faqhlp
2bda0e17 1297 cd $(WXDIR)\utils\dialoged\src
48d1144b 1298 nmake -f makefile.vc hlp
2bda0e17
KB
1299 cd $(THISDIR)
1300
1301# cd $(WXDIR)\utils\wxhelp\src
48d1144b 1302# nmake -f makefile.vc hlp
2bda0e17 1303# cd $(WXDIR)\utils\wxhelp2\src
48d1144b 1304# nmake -f makefile.vc hlp
2bda0e17 1305# cd $(WXDIR)\utils\prologio\src
48d1144b 1306# nmake -f makefile.vc hlp
2bda0e17 1307# cd $(WXDIR)\utils\tex2rtf\src
48d1144b 1308# nmake -f makefile.vc hlp
2bda0e17 1309# cd $(WXDIR)\utils\wxgraph\src
48d1144b 1310# nmake -f makefile.vc hlp
2bda0e17 1311# cd $(WXDIR)\utils\wxchart\src
48d1144b 1312# nmake -f makefile.vc hlp
2bda0e17 1313# cd $(WXDIR)\utils\wxtree\src
48d1144b 1314# nmake -f makefile.vc hlp
2bda0e17 1315# cd $(WXDIR)\utils\wxbuild\src
48d1144b 1316# nmake -f makefile.vc hlp
2bda0e17 1317# cd $(WXDIR)\utils\wxgrid\src
48d1144b 1318# nmake -f makefile.vc hlp
2bda0e17 1319# cd $(WXDIR)\utils\wxtab\src
48d1144b 1320# nmake -f makefile.vc hlp
2bda0e17
KB
1321
1322# cd $(WXDIR)\utils\wxclips\src
48d1144b 1323# nmake -f makefile.vc hlp
2bda0e17 1324# cd $(WXDIR)\utils\clips2c\src
48d1144b 1325# nmake -f makefile.vc hlp
2bda0e17 1326
f3a65071 1327allhtml: wxhtml portinghtml prophtml # faqhtml
2bda0e17 1328 cd $(WXDIR)\utils\dialoged\src
48d1144b 1329 nmake -f makefile.vc html
2bda0e17
KB
1330 cd $(THISDIR)
1331
48d1144b 1332# nmake -f makefile.vc html
2bda0e17 1333# cd $(WXDIR)\utils\dialoged\src
48d1144b 1334# nmake -f makefile.vc html
2bda0e17 1335# cd $(WXDIR)\utils\hytext\src
48d1144b 1336# nmake -f makefile.vc html
2bda0e17 1337# cd $(WXDIR)\utils\wxhelp\src
48d1144b 1338# nmake -f makefile.vc html
2bda0e17 1339# cd $(WXDIR)\utils\wxhelp2\src
48d1144b 1340# nmake -f makefile.vc html
2bda0e17 1341# cd $(WXDIR)\utils\prologio\src
48d1144b 1342# nmake -f makefile.vc html
2bda0e17 1343# cd $(WXDIR)\utils\tex2rtf\src
48d1144b 1344# nmake -f makefile.vc html
2bda0e17 1345# cd $(WXDIR)\utils\wxgraph\src
48d1144b 1346# nmake -f makefile.vc html
2bda0e17 1347# cd $(WXDIR)\utils\wxchart\src
48d1144b 1348# nmake -f makefile.vc html
2bda0e17 1349# cd $(WXDIR)\utils\wxtree\src
48d1144b 1350# nmake -f makefile.vc html
2bda0e17 1351# cd $(WXDIR)\utils\wxtab\src
48d1144b 1352# nmake -f makefile.vc html
2bda0e17
KB
1353
1354# cd $(WXDIR)\utils\wxclips\src
48d1144b 1355# nmake -f makefile.vc html
2bda0e17 1356# cd $(WXDIR)\utils\clips2c\src
48d1144b 1357# nmake -f makefile.vc html
2bda0e17 1358
f3a65071 1359allps: wxps referencps portingps propps # faqps
2bda0e17 1360 cd $(WXDIR)\utils\dialoged\src
48d1144b 1361 nmake -f makefile.vc ps
2bda0e17
KB
1362 cd $(THISDIR)
1363
f3a65071 1364allpdfrtf: pdfrtf portingpdfrtf proppdfrtf # faqpdfrtf
2bda0e17 1365 cd $(WXDIR)\utils\dialoged\src
48d1144b 1366 nmake -f makefile.vc pdfrtf
2bda0e17
KB
1367 cd $(THISDIR)
1368
1369# cd $(WXDIR)\utils\wxhelp\src
48d1144b 1370# nmake -f makefile.vc ps
2bda0e17 1371# cd $(WXDIR)\utils\wxhelp2\src
48d1144b 1372# nmake -f makefile.vc ps
2bda0e17 1373# cd $(WXDIR)\utils\tex2rtf\src
48d1144b 1374# nmake -f makefile.vc ps
2bda0e17 1375# cd $(WXDIR)\utils\wxgraph\src
48d1144b 1376# nmake -f makefile.vc ps
2bda0e17 1377# cd $(WXDIR)\utils\wxchart\src
48d1144b 1378# nmake -f makefile.vc ps
2bda0e17 1379# cd $(WXDIR)\utils\wxtree\src
48d1144b 1380# nmake -f makefile.vc ps
2bda0e17
KB
1381# cd $(THISDIR)
1382
1383# cd $(WXDIR)\utils\wxtab\src
48d1144b 1384# nmake -f makefile.vc ps
2bda0e17 1385# cd $(WXDIR)\utils\prologio\src
48d1144b 1386# nmake -f makefile.vc ps
2bda0e17 1387# cd $(WXDIR)\utils\wxclips\src
48d1144b 1388# nmake -f makefile.vc ps
2bda0e17 1389# cd $(WXDIR)\utils\clips2c\src
48d1144b 1390# nmake -f makefile.vc ps
2bda0e17
KB
1391
1392$(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj
1393 cd $(DOCDIR)/latex/wx
1394 -erase wx.ph
1395 hc wx
1396 move wx.hlp $(DOCDIR)\winhelp\wx.hlp
1397 move wx.cnt $(DOCDIR)\winhelp\wx.cnt
1398 cd $(THISDIR)
1399
1400$(DOCDIR)/winhelp/porting.hlp: $(DOCDIR)/latex/porting/porting.rtf $(DOCDIR)/latex/porting/porting.hpj
1401 cd $(DOCDIR)/latex/porting
1402 -erase porting.ph
1403 hc porting
1404 move porting.hlp $(DOCDIR)\winhelp\porting.hlp
1405 move porting.cnt $(DOCDIR)\winhelp\porting.cnt
1406 cd $(THISDIR)
1407
1408$(DOCDIR)/winhelp/faq.hlp: $(DOCDIR)/latex/faq/faq.rtf $(DOCDIR)/latex/faq/faq.hpj
1409 cd $(DOCDIR)/latex/faq
1410 -erase faq.ph
1411 hc faq
1412 move faq.hlp $(DOCDIR)\winhelp\faq.hlp
1413 move faq.cnt $(DOCDIR)\winhelp\faq.cnt
1414 cd $(THISDIR)
1415
f3a65071 1416$(DOCDIR)/winhelp/prop.hlp: $(DOCDIR)/latex/proplist/prop.rtf $(DOCDIR)/latex/proplist/prop.hpj
e3a43801 1417 cd $(DOCDIR)/latex/proplist
f3a65071
JS
1418 -erase prop.ph
1419 hc prop
1420 move prop.hlp $(DOCDIR)\winhelp\prop.hlp
1421 move prop.cnt $(DOCDIR)\winhelp\prop.cnt
e3a43801
JS
1422 cd $(THISDIR)
1423
2bda0e17
KB
1424$(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj
1425 cd $(DOCDIR)/latex/techref
1426 -erase techref.ph
1427 hc techref
1428 move techref.hlp $(DOCDIR)\winhelp\techref.hlp
1429 move techref.cnt $(DOCDIR)\winhelp\techref.cnt
1430 cd $(THISDIR)
1431
1432$(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
1433 cd $(DOCDIR)\latex\wx
1434 -start /w tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp
1435 cd $(THISDIR)
1436
1437$(DOCDIR)/latex/porting/porting.rtf: $(DOCDIR)/latex/porting/porting.tex
1438 cd $(DOCDIR)\latex\porting
1439 -start /w tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/latex/porting/porting.rtf -twice -winhelp
1440 cd $(THISDIR)
1441
1442$(DOCDIR)/latex/faq/faq.rtf: $(DOCDIR)/latex/faq/faq.tex
1443 cd $(DOCDIR)\latex\faq
1444 -start /w tex2rtf $(DOCDIR)/latex/faq/faq.tex $(DOCDIR)/latex/faq/faq.rtf -twice -winhelp
1445 cd $(THISDIR)
1446
f3a65071 1447$(DOCDIR)/latex/proplist/prop.rtf: $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/body.tex $(DOCDIR)/latex/proplist/classes.tex $(DOCDIR)/latex/proplist/changes.tex
e3a43801 1448 cd $(DOCDIR)\latex\proplist
f3a65071 1449 -start /w tex2rtf $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/latex/proplist/prop.rtf -twice -winhelp
e3a43801
JS
1450 cd $(THISDIR)
1451
2bda0e17
KB
1452$(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
1453 cd $(DOCDIR)\latex\techref
1454 -start /w tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp
1455 cd $(THISDIR)
1456
1457$(DOCDIR)/pdf/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex
1458 cd $(DOCDIR)\latex\wx
1459 -copy *.bmp *.wmf $(DOCDIR)\pdf
1460 -start /w tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/pdf/wx.rtf -twice -rtf
1461 cd $(THISDIR)
1462
1463$(DOCDIR)/pdf/porting.rtf: $(DOCDIR)/latex/porting/porting.tex
1464 cd $(DOCDIR)\latex\porting
1465 -copy *.bmp *.wmf $(DOCDIR)\pdf
1466 -start /w tex2rtf $(DOCDIR)/latex/porting/porting.tex $(DOCDIR)/pdf/porting.rtf -twice -rtf
1467 cd $(THISDIR)
1468
1469$(DOCDIR)/pdf/faq.rtf: $(DOCDIR)/latex/faq/faq.tex
1470 cd $(DOCDIR)\latex\faq
1471 -copy *.bmp *.wmf $(DOCDIR)\pdf
1472 -start /w tex2rtf $(DOCDIR)/latex/faq/faq.tex $(DOCDIR)/pdf/faq.rtf -twice -rtf
1473 cd $(THISDIR)
1474
f3a65071 1475$(DOCDIR)/pdf/prop.rtf: $(DOCDIR)/latex/proplist/proplist.tex $(DOCDIR)/latex/proplist/body.tex $(DOCDIR)/latex/proplist/classes.tex $(DOCDIR)/latex/proplist/changes.tex
e3a43801
JS
1476 cd $(DOCDIR)\latex\proplist
1477 -copy *.bmp *.wmf $(DOCDIR)\pdf
f3a65071 1478 -start /w tex2rtf $(DOCDIR)/latex/proplist/prop.tex $(DOCDIR)/pdf/prop.rtf -twice -rtf
e3a43801
JS
1479 cd $(THISDIR)
1480
2bda0e17
KB
1481$(DOCDIR)/pdf/techref.rtf: $(DOCDIR)/latex/techref/techref.tex
1482 cd $(DOCDIR)\latex\techref
1483 -copy *.bmp *.wmf $(DOCDIR)\pdf
1484 -start /w tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/pdf/techref.rtf -twice -rtf
1485 cd $(THISDIR)
1486
1487$(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
1488 cd $(DOCDIR)\latex\wx
1489 -mkdir $(DOCDIR)\html\wx
1490 -start /w tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html
1491 -erase $(DOCDIR)\html\wx\*.con
06e43511
JS
1492 -erase $(DOCDIR)\html\wx\*.ref
1493 -erase $(DOCDIR)\latex\wx\*.con
1494 -erase $(DOCDIR)\latex\wx\*.ref
1495 cd $(THISDIR)
2bda0e17
KB
1496
1497$(DOCDIR)\html\porting\port.htm: $(DOCDIR)\latex\porting\porting.tex
1498 cd $(DOCDIR)\latex\porting
1499 -mkdir $(DOCDIR)\html\porting
1500 -start /w tex2rtf $(DOCDIR)\latex\porting\porting.tex $(DOCDIR)\html\porting\port.htm -twice -html
1501 -erase $(DOCDIR)\html\porting\*.con
1502 -erase $(DOCDIR)\html\porting\*.ref
1503 -erase $(DOCDIR)\latex\porting\*.con
1504 -erase $(DOCDIR)\latex\porting\*.ref
1505 cd $(THISDIR)
1506
1507$(DOCDIR)\html\faq\faq.htm: $(DOCDIR)\latex\faq\faq.tex
1508 cd $(DOCDIR)\latex\faq
1509 -mkdir $(DOCDIR)\html\faq
1510 -start /w tex2rtf $(DOCDIR)\latex\faq\faq.tex $(DOCDIR)\html\faq\faq.htm -twice -html
1511 -erase $(DOCDIR)\html\faq\*.con
1512 -erase $(DOCDIR)\html\faq\*.ref
1513 -erase $(DOCDIR)\latex\faq\*.con
e3a43801
JS
1514 -erase $(DOCDIR)\latex\faq\*.ref
1515 cd $(THISDIR)
1516
1517$(DOCDIR)\html\proplist\prop.htm: $(DOCDIR)\latex\proplist\prop.tex $(DOCDIR)\latex\proplist\body.tex $(DOCDIR)\latex\proplist\classes.tex $(DOCDIR)\latex\proplist\changes.tex
1518 cd $(DOCDIR)\latex\proplist
1519 -mkdir $(DOCDIR)\html\proplist
f3a65071 1520 -start /w tex2rtf $(DOCDIR)\latex\proplist\prop.tex $(DOCDIR)\html\proplist\prop.htm -twice -html
e3a43801
JS
1521 -erase $(DOCDIR)\html\proplist\*.con
1522 -erase $(DOCDIR)\html\proplist\*.ref
1523 -erase $(DOCDIR)\latex\proplist\*.con
1524 -erase $(DOCDIR)\latex\proplist\*.ref
2bda0e17
KB
1525 cd $(THISDIR)
1526
1527$(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex
1528 cd $(WXDIR)\docs\latex\wx
1529 -latex manual
1530 -latex manual
1531 -makeindx manual
1532 -bibtex manual
1533 -latex manual
1534 -latex manual
1535 cd $(THISDIR)
1536
1537$(WXDIR)\docs\latex\porting\porting.dvi: $(DOCDIR)/latex/porting/porting.tex
1538 cd $(WXDIR)\docs\latex\porting
1539 -latex porting
1540 -latex porting
1541 -makeindx porting
1542 -bibtex porting
1543 -latex porting
1544 -latex porting
1545 cd $(THISDIR)
1546
1547$(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi
1548 cd $(WXDIR)\docs\latex\wx
1549 -dvips32 -o wx.ps manual
1550 move wx.ps $(WXDIR)\docs\ps\wx.ps
1551 cd $(THISDIR)
1552
1553$(WXDIR)\docs\ps\porting.ps: $(WXDIR)\docs\latex\porting\porting.dvi
1554 cd $(WXDIR)\docs\latex\porting
1555 -dvips32 -o porting.ps porting
1556 move porting.ps $(WXDIR)\docs\ps\porting.ps
1557 cd $(THISDIR)
1558
1559$(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex
1560 cd $(WXDIR)\docs\latex\wx
1561 -latex referenc
1562 -latex referenc
1563 -makeindx referenc
1564 -bibtex referenc
1565 -latex referenc
1566 -latex referenc
1567 cd $(THISDIR)
1568
1569$(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi
1570 cd $(WXDIR)\docs\latex\wx
1571 -dvips32 -o referenc.ps referenc
1572 move referenc.ps $(WXDIR)\docs\ps\referenc.ps
1573 cd $(THISDIR)
1574
1575$(WXDIR)\docs\latex\faq\faq.dvi: $(DOCDIR)/latex/faq/faq.tex
1576 cd $(WXDIR)\docs\latex\faq
1577 -latex faq
1578 -latex faq
1579 -makeindx faq
1580 -latex faq
1581 -latex faq
1582 cd $(THISDIR)
1583
1584$(WXDIR)\docs\ps\faq.ps: $(WXDIR)\docs\latex\faq\faq.dvi
1585 cd $(WXDIR)\docs\latex\faq
1586 -dvips32 -o faq.ps faq
1587 move faq.ps $(WXDIR)\docs\ps\faq.ps
1588 cd $(THISDIR)
1589
da36f544
JS
1590# In order to force document reprocessing
1591touchmanual:
1592 -touch $(WXDIR)\docs\latex\wx\manual.tex
62448488
JS
1593
1594updatedocs: touchmanual alldocs
1595
1596# Start Word, running the GeneratePDF macro. MakeManual.dot should be in the
1597# Office StartUp folder, and PDFMaker should be installed.
1598updatepdf: # touchmanual pdfrtf
1599 start /w "winword d:\wx2\wxWindows\docs\latex\pdf\wx.rtf /mGeneratePDF"
2845ddc2 1600