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