]> git.saurik.com Git - wxWidgets.git/blob - src/stubs/makefile.vc
Removed TABs that had gotten in to the source
[wxWidgets.git] / src / stubs / makefile.vc
1 #
2 # File: makefile.vc
3 # Author: Julian Smart
4 # Created: 1997
5 # Updated:
6 # Copyright: (c) 1997, Julian Smart
7 #
8 # "%W% %G%"
9 #
10 # Makefile : Builds wxWindows stubs library wxstubs.lib for VC++ (32-bit)
11 # Arguments:
12 #
13 # FINAL=1 argument to nmake to build version with no debugging info.
14 #
15
16 !include <ntwin32.mak>
17
18 APPVER=3.50 # 4.0
19 # This means 'enable Windows 95 features' (in wxWindows and in VC++ 4.0).
20 WINVERSION=-DWINVER=0x0400
21
22 # On Alpha machines, change to CPU=ALPHA
23 CPU=i386
24
25 # Suffixes
26 OBJSUFF=obj
27 SRCSUFF=cpp
28
29 WINFLAGS=-c -W3 -Dtry=__try -Dexcept=__except -Dleave=__leave -Dfinally=__finally -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -D_X86_=1 $(WINVERSION) -D__WIN32__ -D__WINDOWS__
30 WINLINKFLAGS=/INCREMENTAL:NO /NOLOGO -align:0x1000 -machine:$(CPU) -subsystem:windows,$(APPVER)
31 WINLIBS=kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib oldnames.lib\
32 comctl32.lib ctl3d32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib # libci.lib # libci.lib required for VC++ 4.2
33
34 # Change this to your WXWIN directory
35 WXDIR=$(WXWIN)
36
37 WXSRC=$(WXDIR)\src\stubs
38 WXINC=$(WXDIR)\include
39 WXBASESRC=$(WXDIR)\src\common
40
41 WXLIB=$(WXDIR)\lib\wxstubs.lib
42
43 EXTRADLLFLAGS=
44
45 INC=-I$(WXINC) -I$(WXDIR)/src/png -I$(WXDIR)/src/zlib $(EXTRAINC)
46 LIBS = $(EXTRALIBS) $(WXLIB) $(WINLIBS)
47
48 !ifndef FINAL
49 FINAL=0
50 DEBUG=1
51 !endif
52
53 # Set this to 1 if you don't want to use precompiled headers
54 NOPCH=1
55
56 OPTIONS=
57
58 !if "$(FINAL)" == "0"
59 OPT = /Od /Gy
60 # ***N.B.*** to save space/time, comment out /FR to avoid browse info (.sbr files) being generated
61 DEBUG_FLAGS= /Zi # /FR
62 LINK_DEBUG_FLAGS=-debug:full -debugtype:cv # /PDB:NONE
63 CRTFLAG=/MD
64 !else
65 # /O1 - smallest code
66 # /O2 - fastest code
67 OPT = /O1 # /O2 # /Od
68 DEBUG_FLAGS=
69 LINK_DEBUG_FLAGS=/RELEASE
70 CRTFLAG=/MD
71 !endif
72
73 PCH=
74 PRECOMP=
75 MAKEPRECOMP=
76
77 CPPFLAGS=$(WINFLAGS) $(DEBUG_FLAGS) $(PRECOMP) $(EXTRAFLAGS) /D__WXSTUBS__ /DDEBUG=1 $(INC) $(OPT) $(CRTFLAG) /GX /D__WXDEBUG__ /DWXDEBUG=1
78 # If you don't include wxprec.h, use CPPFLAGS2
79 CPPFLAGS2=$(WINFLAGS) $(DEBUG_FLAGS) /D__WXSTUBS__ /DDEBUG=1 $(INC) $(EXTRAFLAGS) $(OPT) $(CRTFLAG) /GX /D__WXDEBUG__ /DWXDEBUG=1
80 LINKFLAGS=$(LINK_DEBUG_FLAGS) $(WINLINKFLAGS) -entry:WinMainCRTStartup
81
82 THISDIR=$(WXWIN)\src\stubs
83
84 LIBTARGET=$(WXLIB)
85
86 # Please set these according to the settings in wx_setup.h, so we can include
87 # the appropriate libraries in wx.lib
88
89 PERIPH_LIBS=
90 PERIPH_TARGET=
91 PERIPH_CLEAN_TARGET=
92
93 GENDIR=..\generic
94 COMMDIR=..\common
95 STUBSDIR=.
96
97 DOCDIR = $(WXDIR)\docs
98
99 GENERICOBJS= \
100 $(GENDIR)\choicdgg.obj \
101 $(GENDIR)\colrdlgg.obj \
102 $(GENDIR)\dcpsg.obj \
103 $(GENDIR)\fontdlgg.obj \
104 $(GENDIR)\gridg.obj \
105 $(GENDIR)\msgdlgg.obj \
106 $(GENDIR)\panelg.obj \
107 $(GENDIR)\prop.obj \
108 $(GENDIR)\propform.obj \
109 $(GENDIR)\proplist.obj \
110 $(GENDIR)\printps.obj \
111 $(GENDIR)\prntdlgg.obj \
112 $(GENDIR)\scrolwin.obj \
113 $(GENDIR)\splitter.obj \
114 $(GENDIR)\statusbr.obj \
115 $(GENDIR)\tabg.obj \
116 $(GENDIR)\textdlgg.obj
117
118 # $(GENDIR)\helpxlp.obj \
119
120 COMMONOBJS = \
121 $(COMMDIR)\cmndata.obj \
122 $(COMMDIR)\config.obj \
123 $(COMMDIR)\docview.obj \
124 $(COMMDIR)\docmdi.obj \
125 $(COMMDIR)\dynarray.obj \
126 $(COMMDIR)\event.obj \
127 $(COMMDIR)\file.obj \
128 $(COMMDIR)\filefn.obj \
129 $(COMMDIR)\fileconf.obj \
130 $(COMMDIR)\framecmn.obj \
131 $(COMMDIR)\gdicmn.obj \
132 $(COMMDIR)\intl.obj \
133 $(COMMDIR)\ipcbase.obj \
134 $(COMMDIR)\helpbase.obj \
135 $(COMMDIR)\layout.obj \
136 $(COMMDIR)\log.obj \
137 $(COMMDIR)\memory.obj \
138 $(COMMDIR)\module.obj \
139 $(COMMDIR)\object.obj \
140 $(COMMDIR)\prntbase.obj \
141 $(COMMDIR)\resource.obj \
142 $(COMMDIR)\tbarbase.obj \
143 $(COMMDIR)\tbarsmpl.obj \
144 $(COMMDIR)\textfile.obj \
145 $(COMMDIR)\timercmn.obj \
146 $(COMMDIR)\utilscmn.obj \
147 $(COMMDIR)\validate.obj \
148 $(COMMDIR)\valgen.obj \
149 $(COMMDIR)\valtext.obj \
150 $(COMMDIR)\date.obj \
151 $(COMMDIR)\hash.obj \
152 $(COMMDIR)\list.obj \
153 $(COMMDIR)\string.obj \
154 $(COMMDIR)\time.obj \
155 $(COMMDIR)\wxexpr.obj \
156 $(COMMDIR)\y_tab.obj \
157 $(COMMDIR)\extended.obj \
158 $(COMMDIR)\process.obj \
159 $(COMMDIR)\fstream.obj \
160 $(COMMDIR)\mstream.obj \
161 $(COMMDIR)\zstream.obj \
162 $(COMMDIR)\stream.obj \
163 $(COMMDIR)\datstrm.obj \
164 $(COMMDIR)\wincmn.obj
165
166 # $(COMMDIR)\odbc.obj \
167
168 STUBSOBJS = \
169 $(STUBSDIR)\accel.obj \
170 $(STUBSDIR)\app.obj \
171 $(STUBSDIR)\bitmap.obj \
172 $(STUBSDIR)\bmpbuttn.obj \
173 $(STUBSDIR)\brush.obj \
174 $(STUBSDIR)\button.obj \
175 $(STUBSDIR)\checkbox.obj \
176 $(STUBSDIR)\checklst.obj \
177 $(STUBSDIR)\choice.obj \
178 $(STUBSDIR)\clipbrd.obj \
179 $(STUBSDIR)\colordlg.obj \
180 $(STUBSDIR)\colour.obj \
181 $(STUBSDIR)\combobox.obj \
182 $(STUBSDIR)\control.obj \
183 $(STUBSDIR)\cursor.obj \
184 $(STUBSDIR)\data.obj \
185 $(STUBSDIR)\dc.obj \
186 $(STUBSDIR)\dcmemory.obj \
187 $(STUBSDIR)\dcclient.obj \
188 $(STUBSDIR)\dcscreen.obj \
189 $(STUBSDIR)\dialog.obj \
190 $(STUBSDIR)\dirdlg.obj \
191 $(STUBSDIR)\filedlg.obj \
192 $(STUBSDIR)\font.obj \
193 $(STUBSDIR)\fontdlg.obj \
194 $(STUBSDIR)\frame.obj \
195 $(STUBSDIR)\gauge.obj \
196 $(STUBSDIR)\gdiobj.obj \
197 $(STUBSDIR)\helpxxxx.obj \
198 $(STUBSDIR)\icon.obj \
199 $(STUBSDIR)\imaglist.obj \
200 $(STUBSDIR)\joystick.obj \
201 $(STUBSDIR)\listbox.obj \
202 $(STUBSDIR)\listctrl.obj \
203 $(STUBSDIR)\main.obj \
204 $(STUBSDIR)\mdi.obj \
205 $(STUBSDIR)\menu.obj \
206 $(STUBSDIR)\menuitem.obj \
207 $(STUBSDIR)\metafile.obj \
208 $(STUBSDIR)\minifram.obj \
209 $(STUBSDIR)\msgdlg.obj \
210 $(STUBSDIR)\notebook.obj \
211 $(STUBSDIR)\palette.obj \
212 $(STUBSDIR)\pen.obj \
213 $(STUBSDIR)\printdlg.obj \
214 $(STUBSDIR)\print.obj \
215 $(STUBSDIR)\radiobox.obj \
216 $(STUBSDIR)\radiobut.obj \
217 $(STUBSDIR)\region.obj \
218 $(STUBSDIR)\scrolbar.obj \
219 $(STUBSDIR)\settings.obj \
220 $(STUBSDIR)\slider.obj \
221 $(STUBSDIR)\spinbutt.obj \
222 $(STUBSDIR)\statbmp.obj \
223 $(STUBSDIR)\statbox.obj \
224 $(STUBSDIR)\statusbr.obj \
225 $(STUBSDIR)\stattext.obj \
226 $(STUBSDIR)\tabctrl.obj \
227 $(STUBSDIR)\taskbar.obj \
228 $(STUBSDIR)\toolbar.obj \
229 $(STUBSDIR)\textctrl.obj \
230 $(STUBSDIR)\thread.obj \
231 $(STUBSDIR)\timer.obj \
232 $(STUBSDIR)\treectrl.obj \
233 $(STUBSDIR)\utils.obj \
234 $(STUBSDIR)\utilsexc.obj \
235 $(STUBSDIR)\wave.obj \
236 $(STUBSDIR)\window.obj
237
238
239 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(STUBSOBJS)
240
241 # Normal, static library
242 all: $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET)
243
244 $(WXDIR)\lib\wxstubs.lib: $(OBJECTS) $(PERIPH_LIBS)
245 -erase $(LIBTARGET)
246 $(implib) @<<
247 -out:$@
248 -machine:$(CPU)
249 $(OBJECTS) $(PERIPH_LIBS)
250 <<
251
252 ########################################################
253 # Windows-specific objects
254
255 $(STUBSDIR)/accel.obj: $*.$(SRCSUFF)
256 cl @<<
257 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
258 <<
259
260 $(STUBSDIR)/app.obj: $*.$(SRCSUFF)
261 cl @<<
262 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
263 <<
264
265 $(STUBSDIR)/bitmap.obj: $*.$(SRCSUFF)
266 cl @<<
267 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
268 <<
269
270 $(STUBSDIR)/bmpbuttn.obj: $*.$(SRCSUFF)
271 cl @<<
272 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
273 <<
274
275 $(STUBSDIR)/brush.obj: $*.$(SRCSUFF)
276 cl @<<
277 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
278 <<
279
280 $(STUBSDIR)/button.obj: $*.$(SRCSUFF)
281 cl @<<
282 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
283 <<
284
285 $(STUBSDIR)/choice.obj: $*.$(SRCSUFF)
286 cl @<<
287 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
288 <<
289
290 $(STUBSDIR)/checkbox.obj: $*.$(SRCSUFF)
291 cl @<<
292 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
293 <<
294
295 $(STUBSDIR)/checklst.obj: $*.$(SRCSUFF)
296 cl @<<
297 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
298 <<
299
300 $(STUBSDIR)/clipbrd.obj: $*.$(SRCSUFF)
301 cl @<<
302 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
303 <<
304
305 $(STUBSDIR)/colordlg.obj: $*.$(SRCSUFF)
306 cl @<<
307 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
308 <<
309
310 $(STUBSDIR)/colour.obj: $*.$(SRCSUFF)
311 cl @<<
312 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
313 <<
314
315 $(STUBSDIR)/combobox.obj: $*.$(SRCSUFF)
316 cl @<<
317 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
318 <<
319
320 $(STUBSDIR)/control.obj: $*.$(SRCSUFF)
321 cl @<<
322 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
323 <<
324
325 $(STUBSDIR)/cursor.obj: $*.$(SRCSUFF)
326 cl @<<
327 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
328 <<
329
330 $(STUBSDIR)/data.obj: $*.$(SRCSUFF)
331 cl @<<
332 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
333 <<
334
335 $(STUBSDIR)/dc.obj: $*.$(SRCSUFF)
336 cl @<<
337 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
338 <<
339
340 $(STUBSDIR)/dcmemory.obj: $*.$(SRCSUFF)
341 cl @<<
342 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
343 <<
344
345 $(STUBSDIR)/dcclient.obj: $*.$(SRCSUFF)
346 cl @<<
347 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
348 <<
349
350 $(STUBSDIR)/dcprint.obj: $*.$(SRCSUFF)
351 cl @<<
352 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
353 <<
354
355 $(STUBSDIR)/dcscreen.obj: $*.$(SRCSUFF)
356 cl @<<
357 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
358 <<
359
360 $(STUBSDIR)/dialog.obj: $*.$(SRCSUFF)
361 cl @<<
362 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
363 <<
364
365 $(STUBSDIR)/dirdlg.obj: $*.$(SRCSUFF)
366 cl @<<
367 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
368 <<
369
370 $(STUBSDIR)/filedlg.obj: $*.$(SRCSUFF)
371 cl @<<
372 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
373 <<
374
375 $(STUBSDIR)/font.obj: $*.$(SRCSUFF)
376 cl @<<
377 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
378 <<
379
380 $(STUBSDIR)/fontdlg.obj: $*.$(SRCSUFF)
381 cl @<<
382 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
383 <<
384
385 $(STUBSDIR)/frame.obj: $*.$(SRCSUFF)
386 cl @<<
387 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
388 <<
389
390 $(STUBSDIR)/gauge.obj: $*.$(SRCSUFF)
391 cl @<<
392 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
393 <<
394
395 $(STUBSDIR)/gdiobj.obj: $*.$(SRCSUFF)
396 cl @<<
397 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
398 <<
399
400 $(STUBSDIR)/icon.obj: $*.$(SRCSUFF)
401 cl @<<
402 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
403 <<
404
405 $(STUBSDIR)/imaglist.obj: $*.$(SRCSUFF)
406 cl @<<
407 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
408 <<
409
410 $(STUBSDIR)/joystick.obj: $*.$(SRCSUFF)
411 cl @<<
412 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
413 <<
414
415 $(STUBSDIR)/listbox.obj: $*.$(SRCSUFF)
416 cl @<<
417 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
418 <<
419
420 $(STUBSDIR)/listctrl.obj: $*.$(SRCSUFF)
421 cl @<<
422 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
423 <<
424
425 $(STUBSDIR)/main.obj: $*.$(SRCSUFF)
426 cl @<<
427 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
428 <<
429
430 $(STUBSDIR)/mdi.obj: $*.$(SRCSUFF)
431 cl @<<
432 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
433 <<
434
435 $(STUBSDIR)/menu.obj: $*.$(SRCSUFF)
436 cl @<<
437 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
438 <<
439
440 $(STUBSDIR)/menuitem.obj: $*.$(SRCSUFF)
441 cl @<<
442 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
443 <<
444
445 $(STUBSDIR)/metafile.obj: $*.$(SRCSUFF)
446 cl @<<
447 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
448 <<
449
450 $(STUBSDIR)/minifram.obj: $*.$(SRCSUFF)
451 cl @<<
452 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
453 <<
454
455 $(STUBSDIR)/msgdlg.obj: $*.$(SRCSUFF)
456 cl @<<
457 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
458 <<
459
460 $(STUBSDIR)/notebook.obj: $*.$(SRCSUFF)
461 cl @<<
462 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
463 <<
464
465 $(STUBSDIR)/palette.obj: $*.$(SRCSUFF)
466 cl @<<
467 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
468 <<
469
470 $(STUBSDIR)/pen.obj: $*.$(SRCSUFF)
471 cl @<<
472 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
473 <<
474
475 $(STUBSDIR)/printdlg.obj: $*.$(SRCSUFF)
476 cl @<<
477 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
478 <<
479
480 $(STUBSDIR)/print.obj: $*.$(SRCSUFF)
481 cl @<<
482 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
483 <<
484
485 $(STUBSDIR)/radiobox.obj: $*.$(SRCSUFF)
486 cl @<<
487 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
488 <<
489
490 $(STUBSDIR)/radiobut.obj: $*.$(SRCSUFF)
491 cl @<<
492 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
493 <<
494
495 $(STUBSDIR)/region.obj: $*.$(SRCSUFF)
496 cl @<<
497 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
498 <<
499
500 $(STUBSDIR)/scrolbar.obj: $*.$(SRCSUFF)
501 cl @<<
502 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
503 <<
504
505 $(STUBSDIR)/settings.obj: $*.$(SRCSUFF)
506 cl @<<
507 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
508 <<
509
510 $(STUBSDIR)/slider.obj: $*.$(SRCSUFF)
511 cl @<<
512 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
513 <<
514
515 $(STUBSDIR)/spinbutt.obj: $*.$(SRCSUFF)
516 cl @<<
517 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
518 <<
519
520 $(STUBSDIR)/statbmp.obj: $*.$(SRCSUFF)
521 cl @<<
522 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
523 <<
524
525 $(STUBSDIR)/statbox.obj: $*.$(SRCSUFF)
526 cl @<<
527 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
528 <<
529
530 $(STUBSDIR)/statusbr.obj: $*.$(SRCSUFF)
531 cl @<<
532 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
533 <<
534
535 $(STUBSDIR)/stattext.obj: $*.$(SRCSUFF)
536 cl @<<
537 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
538 <<
539
540 $(STUBSDIR)/tabctrl.obj: $*.$(SRCSUFF)
541 cl @<<
542 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
543 <<
544
545 $(STUBSDIR)/taskbar.obj: $*.$(SRCSUFF)
546 cl @<<
547 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
548 <<
549
550 $(STUBSDIR)/toolbar.obj: $*.$(SRCSUFF)
551 cl @<<
552 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
553 <<
554
555 $(STUBSDIR)/textctrl.obj: $*.$(SRCSUFF)
556 cl @<<
557 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
558 <<
559
560 $(STUBSDIR)/thread.obj: $*.$(SRCSUFF)
561 cl @<<
562 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
563 <<
564
565 $(STUBSDIR)/timer.obj: $*.$(SRCSUFF)
566 cl @<<
567 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
568 <<
569
570 $(STUBSDIR)/treectrl.obj: $*.$(SRCSUFF)
571 cl @<<
572 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
573 <<
574
575 $(STUBSDIR)/utils.obj: $*.$(SRCSUFF)
576 cl @<<
577 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
578 <<
579
580 $(STUBSDIR)/utilsexc.obj: $*.$(SRCSUFF)
581 cl @<<
582 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
583 <<
584
585 $(STUBSDIR)/wave.obj: $*.$(SRCSUFF)
586 echo $(CPPFLAGS)
587 cl @<<
588 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
589 <<
590
591 $(STUBSDIR)/window.obj: $*.$(SRCSUFF)
592 echo $(CPPFLAGS)
593 cl @<<
594 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
595 <<
596
597 ########################################################
598 # Common objects (always compiled)
599
600 $(COMMDIR)/cmndata.obj: $*.$(SRCSUFF)
601 echo $(CPPFLAGS)
602 cl @<<
603 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
604 <<
605
606 $(COMMDIR)/config.obj: $*.$(SRCSUFF)
607 echo $(CPPFLAGS)
608 cl @<<
609 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
610 <<
611
612 $(COMMDIR)/db.obj: $*.$(SRCSUFF)
613 echo $(CPPFLAGS)
614 cl @<<
615 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
616 <<
617
618 $(COMMDIR)/dbtable.obj: $*.$(SRCSUFF)
619 echo $(CPPFLAGS)
620 cl @<<
621 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
622 <<
623
624 $(COMMDIR)/docview.obj: $*.$(SRCSUFF)
625 cl @<<
626 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
627 <<
628
629 $(COMMDIR)/docmdi.obj: $*.$(SRCSUFF)
630 cl @<<
631 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
632 <<
633
634 $(COMMDIR)/dynarray.obj: $*.$(SRCSUFF)
635 cl @<<
636 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
637 <<
638
639 $(COMMDIR)/event.obj: $*.$(SRCSUFF)
640 cl @<<
641 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
642 <<
643
644 $(COMMDIR)/file.obj: $*.$(SRCSUFF)
645 cl @<<
646 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
647 <<
648
649 $(COMMDIR)/fileconf.obj: $*.$(SRCSUFF)
650 cl @<<
651 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
652 <<
653
654 $(COMMDIR)/filefn.obj: $*.$(SRCSUFF)
655 cl @<<
656 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
657 <<
658
659 $(COMMDIR)/framecmn.obj: $*.$(SRCSUFF)
660 cl @<<
661 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
662 <<
663
664 $(COMMDIR)/gdicmn.obj: $*.$(SRCSUFF)
665 cl @<<
666 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
667 <<
668
669 $(COMMDIR)/intl.obj: $*.$(SRCSUFF)
670 cl @<<
671 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
672 <<
673
674 $(COMMDIR)/ipcbase.obj: $*.$(SRCSUFF)
675 cl @<<
676 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
677 <<
678
679 $(COMMDIR)/helpbase.obj: $*.$(SRCSUFF)
680 cl @<<
681 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
682 <<
683
684 $(COMMDIR)/layout.obj: $*.$(SRCSUFF)
685 cl @<<
686 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
687 <<
688
689 $(COMMDIR)/log.obj: $*.$(SRCSUFF)
690 cl @<<
691 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
692 <<
693
694 $(COMMDIR)/memory.obj: $*.$(SRCSUFF)
695 cl @<<
696 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
697 <<
698
699 $(COMMDIR)/module.obj: $*.$(SRCSUFF)
700 cl @<<
701 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
702 <<
703
704 $(COMMDIR)/object.obj: $*.$(SRCSUFF)
705 cl @<<
706 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
707 <<
708
709 $(COMMDIR)/odbc.obj: $*.$(SRCSUFF)
710 cl @<<
711 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
712 <<
713
714 $(COMMDIR)/prntbase.obj: $*.$(SRCSUFF)
715 cl @<<
716 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
717 <<
718
719 $(COMMDIR)/resource.obj: $*.$(SRCSUFF)
720 cl @<<
721 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
722 <<
723
724 $(COMMDIR)/tbarbase.obj: $*.$(SRCSUFF)
725 cl @<<
726 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
727 <<
728
729 $(COMMDIR)/tbarsmpl.obj: $*.$(SRCSUFF)
730 cl @<<
731 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
732 <<
733
734 $(COMMDIR)/textfile.obj: $*.$(SRCSUFF)
735 cl @<<
736 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
737 <<
738
739 $(COMMDIR)/timercmn.obj: $*.$(SRCSUFF)
740 cl @<<
741 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
742 <<
743
744 $(COMMDIR)/utilscmn.obj: $*.$(SRCSUFF)
745 cl @<<
746 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
747 <<
748
749 $(COMMDIR)/validate.obj: $*.$(SRCSUFF)
750 cl @<<
751 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
752 <<
753
754 $(COMMDIR)/valgen.obj: $*.$(SRCSUFF)
755 cl @<<
756 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
757 <<
758
759 $(COMMDIR)/valtext.obj: $*.$(SRCSUFF)
760 cl @<<
761 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
762 <<
763
764 $(COMMDIR)/date.obj: $*.$(SRCSUFF)
765 cl @<<
766 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
767 <<
768
769 $(COMMDIR)/wxexpr.obj: $*.$(SRCSUFF)
770 echo $(CPPFLAGS)
771 cl @<<
772 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
773 <<
774
775 $(COMMDIR)/hash.obj: $*.$(SRCSUFF)
776 cl @<<
777 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
778 <<
779
780 $(COMMDIR)/list.obj: $*.$(SRCSUFF)
781 cl @<<
782 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
783 <<
784
785 $(COMMDIR)/string.obj: $*.$(SRCSUFF)
786 cl @<<
787 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
788 <<
789
790 $(COMMDIR)/matrix.obj: $*.$(SRCSUFF)
791 cl @<<
792 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
793 <<
794
795 #$(COMMDIR)/wxstrgnu/wxstrgnu.obj: $*.$(SRCSUFF)
796 # cl @<<
797 #$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF) /Fo$@
798 #<<
799
800 #$(COMMDIR)/wxstrgnu/wxregex.obj: $*.$(SRCSUFF)
801 # cl @<<
802 #$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF) /Fo$@
803 #<<
804
805 $(COMMDIR)/time.obj: $*.$(SRCSUFF)
806 cl @<<
807 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
808 <<
809
810 $(COMMDIR)\stream.obj: $*.$(SRCSUFF)
811 cl @<<
812 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
813 <<
814
815 $(COMMDIR)\fstream.obj: $*.$(SRCSUFF)
816 cl @<<
817 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
818 <<
819
820 $(COMMDIR)\mstream.obj: $*.$(SRCSUFF)
821 cl @<<
822 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
823 <<
824
825 $(COMMDIR)\zstream.obj: $*.$(SRCSUFF)
826 cl @<<
827 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
828 <<
829
830 $(COMMDIR)\datstrm.obj: $*.$(SRCSUFF)
831 cl @<<
832 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
833 <<
834
835 $(COMMDIR)/extended.obj: $*.c
836 cl @<<
837 $(CPPFLAGS2) /c /Tp $*.c /Fo$@
838 <<
839
840 $(COMMDIR)/process.obj: $*.$(SRCSUFF)
841 cl @<<
842 $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF) /Fo$@
843 <<
844
845 $(COMMDIR)/wincmn.obj: $*.$(SRCSUFF)
846 cl @<<
847 $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF) /Fo$@
848 <<
849
850 $(COMMDIR)/y_tab.obj: $*.c $(COMMDIR)/lex_yy.c
851 cl @<<
852 $(CPPFLAGS2) /c $*.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
853 <<
854
855 $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c
856 copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c
857
858 $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
859 copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c
860
861 ########################################################
862 # Generic objects (not always compiled, depending on
863 # whether platforms have native implementations)
864
865 $(GENDIR)/choicdgg.obj: $*.$(SRCSUFF)
866 cl @<<
867 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
868 <<
869
870 $(GENDIR)/colrdlgg.obj: $*.$(SRCSUFF)
871 cl @<<
872 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
873 <<
874
875 $(GENDIR)/dcpsg.obj: $*.$(SRCSUFF)
876 cl @<<
877 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
878 <<
879
880 $(GENDIR)/fontdlgg.obj: $*.$(SRCSUFF)
881 cl @<<
882 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
883 <<
884
885 $(GENDIR)/gridg.obj: $*.$(SRCSUFF)
886 cl @<<
887 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
888 <<
889
890 $(GENDIR)/helpxlp.obj: $*.$(SRCSUFF)
891 cl @<<
892 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
893 <<
894
895 $(GENDIR)/msgdlgg.obj: $*.$(SRCSUFF)
896 cl @<<
897 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
898 <<
899
900 $(GENDIR)/panelg.obj: $*.$(SRCSUFF)
901 cl @<<
902 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
903 <<
904
905 $(GENDIR)/prop.obj: $*.$(SRCSUFF)
906 cl @<<
907 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
908 <<
909
910 $(GENDIR)/propform.obj: $*.$(SRCSUFF)
911 cl @<<
912 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
913 <<
914
915 $(GENDIR)/proplist.obj: $*.$(SRCSUFF)
916 cl @<<
917 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
918 <<
919
920 $(GENDIR)/printps.obj: $*.$(SRCSUFF)
921 cl @<<
922 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
923 <<
924
925 $(GENDIR)/prntdlgg.obj: $*.$(SRCSUFF)
926 cl @<<
927 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
928 <<
929
930 $(GENDIR)/scrolwin.obj: $*.$(SRCSUFF)
931 cl @<<
932 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
933 <<
934
935 $(GENDIR)/splitter.obj: $*.$(SRCSUFF)
936 cl @<<
937 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
938 <<
939
940 $(GENDIR)/statusbr.obj: $*.$(SRCSUFF)
941 cl @<<
942 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
943 <<
944
945 $(GENDIR)/tabg.obj: $*.$(SRCSUFF)
946 cl @<<
947 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
948 <<
949
950 $(GENDIR)/textdlgg.obj: $*.$(SRCSUFF)
951 cl @<<
952 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
953 <<
954
955 $(OBJECTS): $(WXDIR)/include/wx/stubs/setup.h
956
957 clean: $(PERIPH_CLEAN_TARGET)
958 -erase *.obj
959 -erase $(LIBTARGET)
960 -erase $(WXDIR)\lib\*.pdb
961 -erase *.pdb
962 -erase *.sbr
963 -erase *.pch
964 cd $(WXDIR)\src\stubs
965 cd $(GENDIR)
966 -erase *.pdb
967 -erase *.sbr
968 -erase *.obj
969 cd $(WXDIR)\src\stubs
970 cd $(COMMDIR)
971 -erase *.pdb
972 -erase *.sbr
973 -erase *.obj
974 -erase y_tab.c
975 -erase lex_yy.c
976 cd $(WXDIR)\src\stubs
977
978 cleanall: clean
979