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