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