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