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