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