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