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