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