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