6 # Copyright: (c) 1997, Julian Smart
10 # Makefile : Builds wxWindows stubs library wxstubs.lib for VC++ (32-bit)
13 # FINAL=1 argument to nmake to build version with no debugging info.
16 !include <ntwin32.mak>
19 # This means 'enable Windows 95 features' (in wxWindows and in VC++ 4.0).
20 WINVERSION=-DWINVER=0x0400
22 # On Alpha machines, change to CPU=ALPHA
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
34 # Change this to your WXWIN directory
37 WXSRC=$(WXDIR)\src\stubs
38 WXINC=$(WXDIR)\include
39 WXBASESRC=$(WXDIR)\src\common
41 WXLIB=$(WXDIR)\lib\wxstubs.lib
45 INC=-I$(WXINC) -I$(WXDIR)/src/png -I$(WXDIR)/src/zlib $(EXTRAINC)
46 LIBS = $(EXTRALIBS) $(WXLIB) $(WINLIBS)
53 # Set this to 1 if you don't want to use precompiled headers
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
69 LINK_DEBUG_FLAGS=/RELEASE
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
82 THISDIR=$(WXWIN)\src\stubs
86 # Please set these according to the settings in wx_setup.h, so we can include
87 # the appropriate libraries in wx.lib
97 DOCDIR = $(WXDIR)\docs
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 \
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 \
116 $(GENDIR)\textdlgg.obj
118 # $(GENDIR)\helpxlp.obj \
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 \
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
166 # $(COMMDIR)\odbc.obj \
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 \
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
239 OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(STUBSOBJS)
241 # Normal, static library
242 all: $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET)
244 $(WXDIR)\lib\wxstubs.lib: $(OBJECTS) $(PERIPH_LIBS)
249 $(OBJECTS) $(PERIPH_LIBS)
252 ########################################################
253 # Windows-specific objects
255 $(STUBSDIR)/accel.obj: $*.$(SRCSUFF)
257 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
260 $(STUBSDIR)/app.obj: $*.$(SRCSUFF)
262 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
265 $(STUBSDIR)/bitmap.obj: $*.$(SRCSUFF)
267 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
270 $(STUBSDIR)/bmpbuttn.obj: $*.$(SRCSUFF)
272 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
275 $(STUBSDIR)/brush.obj: $*.$(SRCSUFF)
277 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
280 $(STUBSDIR)/button.obj: $*.$(SRCSUFF)
282 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
285 $(STUBSDIR)/choice.obj: $*.$(SRCSUFF)
287 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
290 $(STUBSDIR)/checkbox.obj: $*.$(SRCSUFF)
292 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
295 $(STUBSDIR)/checklst.obj: $*.$(SRCSUFF)
297 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
300 $(STUBSDIR)/clipbrd.obj: $*.$(SRCSUFF)
302 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
305 $(STUBSDIR)/colordlg.obj: $*.$(SRCSUFF)
307 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
310 $(STUBSDIR)/colour.obj: $*.$(SRCSUFF)
312 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
315 $(STUBSDIR)/combobox.obj: $*.$(SRCSUFF)
317 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
320 $(STUBSDIR)/control.obj: $*.$(SRCSUFF)
322 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
325 $(STUBSDIR)/cursor.obj: $*.$(SRCSUFF)
327 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
330 $(STUBSDIR)/data.obj: $*.$(SRCSUFF)
332 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
335 $(STUBSDIR)/dc.obj: $*.$(SRCSUFF)
337 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
340 $(STUBSDIR)/dcmemory.obj: $*.$(SRCSUFF)
342 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
345 $(STUBSDIR)/dcclient.obj: $*.$(SRCSUFF)
347 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
350 $(STUBSDIR)/dcprint.obj: $*.$(SRCSUFF)
352 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
355 $(STUBSDIR)/dcscreen.obj: $*.$(SRCSUFF)
357 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
360 $(STUBSDIR)/dialog.obj: $*.$(SRCSUFF)
362 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
365 $(STUBSDIR)/dirdlg.obj: $*.$(SRCSUFF)
367 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
370 $(STUBSDIR)/filedlg.obj: $*.$(SRCSUFF)
372 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
375 $(STUBSDIR)/font.obj: $*.$(SRCSUFF)
377 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
380 $(STUBSDIR)/fontdlg.obj: $*.$(SRCSUFF)
382 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
385 $(STUBSDIR)/frame.obj: $*.$(SRCSUFF)
387 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
390 $(STUBSDIR)/gauge.obj: $*.$(SRCSUFF)
392 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
395 $(STUBSDIR)/gdiobj.obj: $*.$(SRCSUFF)
397 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
400 $(STUBSDIR)/icon.obj: $*.$(SRCSUFF)
402 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
405 $(STUBSDIR)/imaglist.obj: $*.$(SRCSUFF)
407 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
410 $(STUBSDIR)/joystick.obj: $*.$(SRCSUFF)
412 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
415 $(STUBSDIR)/listbox.obj: $*.$(SRCSUFF)
417 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
420 $(STUBSDIR)/listctrl.obj: $*.$(SRCSUFF)
422 $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF)
425 $(STUBSDIR)/main.obj: $*.$(SRCSUFF)
427 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
430 $(STUBSDIR)/mdi.obj: $*.$(SRCSUFF)
432 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
435 $(STUBSDIR)/menu.obj: $*.$(SRCSUFF)
437 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
440 $(STUBSDIR)/menuitem.obj: $*.$(SRCSUFF)
442 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
445 $(STUBSDIR)/metafile.obj: $*.$(SRCSUFF)
447 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
450 $(STUBSDIR)/minifram.obj: $*.$(SRCSUFF)
452 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
455 $(STUBSDIR)/msgdlg.obj: $*.$(SRCSUFF)
457 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
460 $(STUBSDIR)/notebook.obj: $*.$(SRCSUFF)
462 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
465 $(STUBSDIR)/palette.obj: $*.$(SRCSUFF)
467 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
470 $(STUBSDIR)/pen.obj: $*.$(SRCSUFF)
472 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
475 $(STUBSDIR)/printdlg.obj: $*.$(SRCSUFF)
477 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
480 $(STUBSDIR)/print.obj: $*.$(SRCSUFF)
482 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
485 $(STUBSDIR)/radiobox.obj: $*.$(SRCSUFF)
487 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
490 $(STUBSDIR)/radiobut.obj: $*.$(SRCSUFF)
492 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
495 $(STUBSDIR)/region.obj: $*.$(SRCSUFF)
497 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
500 $(STUBSDIR)/scrolbar.obj: $*.$(SRCSUFF)
502 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
505 $(STUBSDIR)/settings.obj: $*.$(SRCSUFF)
507 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
510 $(STUBSDIR)/slider.obj: $*.$(SRCSUFF)
512 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
515 $(STUBSDIR)/spinbutt.obj: $*.$(SRCSUFF)
517 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
520 $(STUBSDIR)/statbmp.obj: $*.$(SRCSUFF)
522 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
525 $(STUBSDIR)/statbox.obj: $*.$(SRCSUFF)
527 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
530 $(STUBSDIR)/statusbr.obj: $*.$(SRCSUFF)
532 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
535 $(STUBSDIR)/stattext.obj: $*.$(SRCSUFF)
537 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
540 $(STUBSDIR)/tabctrl.obj: $*.$(SRCSUFF)
542 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
545 $(STUBSDIR)/taskbar.obj: $*.$(SRCSUFF)
547 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
550 $(STUBSDIR)/toolbar.obj: $*.$(SRCSUFF)
552 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
555 $(STUBSDIR)/textctrl.obj: $*.$(SRCSUFF)
557 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
560 $(STUBSDIR)/thread.obj: $*.$(SRCSUFF)
562 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
565 $(STUBSDIR)/timer.obj: $*.$(SRCSUFF)
567 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
570 $(STUBSDIR)/treectrl.obj: $*.$(SRCSUFF)
572 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
575 $(STUBSDIR)/utils.obj: $*.$(SRCSUFF)
577 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
580 $(STUBSDIR)/utilsexc.obj: $*.$(SRCSUFF)
582 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
585 $(STUBSDIR)/wave.obj: $*.$(SRCSUFF)
588 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
591 $(STUBSDIR)/window.obj: $*.$(SRCSUFF)
594 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
597 ########################################################
598 # Common objects (always compiled)
600 $(COMMDIR)/cmndata.obj: $*.$(SRCSUFF)
603 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
606 $(COMMDIR)/config.obj: $*.$(SRCSUFF)
609 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
612 $(COMMDIR)/db.obj: $*.$(SRCSUFF)
615 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
618 $(COMMDIR)/dbtable.obj: $*.$(SRCSUFF)
621 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
624 $(COMMDIR)/docview.obj: $*.$(SRCSUFF)
626 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
629 $(COMMDIR)/docmdi.obj: $*.$(SRCSUFF)
631 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
634 $(COMMDIR)/dynarray.obj: $*.$(SRCSUFF)
636 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
639 $(COMMDIR)/event.obj: $*.$(SRCSUFF)
641 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
644 $(COMMDIR)/file.obj: $*.$(SRCSUFF)
646 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
649 $(COMMDIR)/fileconf.obj: $*.$(SRCSUFF)
651 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
654 $(COMMDIR)/filefn.obj: $*.$(SRCSUFF)
656 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
659 $(COMMDIR)/framecmn.obj: $*.$(SRCSUFF)
661 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
664 $(COMMDIR)/gdicmn.obj: $*.$(SRCSUFF)
666 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
669 $(COMMDIR)/intl.obj: $*.$(SRCSUFF)
671 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
674 $(COMMDIR)/ipcbase.obj: $*.$(SRCSUFF)
676 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
679 $(COMMDIR)/helpbase.obj: $*.$(SRCSUFF)
681 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
684 $(COMMDIR)/layout.obj: $*.$(SRCSUFF)
686 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
689 $(COMMDIR)/log.obj: $*.$(SRCSUFF)
691 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
694 $(COMMDIR)/memory.obj: $*.$(SRCSUFF)
696 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
699 $(COMMDIR)/module.obj: $*.$(SRCSUFF)
701 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
704 $(COMMDIR)/object.obj: $*.$(SRCSUFF)
706 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
709 $(COMMDIR)/odbc.obj: $*.$(SRCSUFF)
711 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
714 $(COMMDIR)/prntbase.obj: $*.$(SRCSUFF)
716 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
719 $(COMMDIR)/resource.obj: $*.$(SRCSUFF)
721 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
724 $(COMMDIR)/tbarbase.obj: $*.$(SRCSUFF)
726 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
729 $(COMMDIR)/tbarsmpl.obj: $*.$(SRCSUFF)
731 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
734 $(COMMDIR)/textfile.obj: $*.$(SRCSUFF)
736 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
739 $(COMMDIR)/timercmn.obj: $*.$(SRCSUFF)
741 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
744 $(COMMDIR)/utilscmn.obj: $*.$(SRCSUFF)
746 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
749 $(COMMDIR)/validate.obj: $*.$(SRCSUFF)
751 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
754 $(COMMDIR)/valgen.obj: $*.$(SRCSUFF)
756 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
759 $(COMMDIR)/valtext.obj: $*.$(SRCSUFF)
761 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
764 $(COMMDIR)/date.obj: $*.$(SRCSUFF)
766 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
769 $(COMMDIR)/wxexpr.obj: $*.$(SRCSUFF)
772 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
775 $(COMMDIR)/hash.obj: $*.$(SRCSUFF)
777 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
780 $(COMMDIR)/list.obj: $*.$(SRCSUFF)
782 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
785 $(COMMDIR)/string.obj: $*.$(SRCSUFF)
787 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
790 $(COMMDIR)/matrix.obj: $*.$(SRCSUFF)
792 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
795 #$(COMMDIR)/wxstrgnu/wxstrgnu.obj: $*.$(SRCSUFF)
797 #$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF) /Fo$@
800 #$(COMMDIR)/wxstrgnu/wxregex.obj: $*.$(SRCSUFF)
802 #$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF) /Fo$@
805 $(COMMDIR)/time.obj: $*.$(SRCSUFF)
807 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
810 $(COMMDIR)\stream.obj: $*.$(SRCSUFF)
812 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
815 $(COMMDIR)\fstream.obj: $*.$(SRCSUFF)
817 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
820 $(COMMDIR)\mstream.obj: $*.$(SRCSUFF)
822 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
825 $(COMMDIR)\zstream.obj: $*.$(SRCSUFF)
827 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
830 $(COMMDIR)\datstrm.obj: $*.$(SRCSUFF)
832 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
835 $(COMMDIR)/extended.obj: $*.c
837 $(CPPFLAGS2) /c /Tp $*.c /Fo$@
840 $(COMMDIR)/process.obj: $*.$(SRCSUFF)
842 $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF) /Fo$@
845 $(COMMDIR)/wincmn.obj: $*.$(SRCSUFF)
847 $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF) /Fo$@
850 $(COMMDIR)/y_tab.obj: $*.c $(COMMDIR)/lex_yy.c
852 $(CPPFLAGS2) /c $*.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@
855 $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c
856 copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c
858 $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
859 copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c
861 ########################################################
862 # Generic objects (not always compiled, depending on
863 # whether platforms have native implementations)
865 $(GENDIR)/choicdgg.obj: $*.$(SRCSUFF)
867 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
870 $(GENDIR)/colrdlgg.obj: $*.$(SRCSUFF)
872 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
875 $(GENDIR)/dcpsg.obj: $*.$(SRCSUFF)
877 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
880 $(GENDIR)/fontdlgg.obj: $*.$(SRCSUFF)
882 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
885 $(GENDIR)/gridg.obj: $*.$(SRCSUFF)
887 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
890 $(GENDIR)/helpxlp.obj: $*.$(SRCSUFF)
892 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
895 $(GENDIR)/msgdlgg.obj: $*.$(SRCSUFF)
897 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
900 $(GENDIR)/panelg.obj: $*.$(SRCSUFF)
902 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
905 $(GENDIR)/prop.obj: $*.$(SRCSUFF)
907 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
910 $(GENDIR)/propform.obj: $*.$(SRCSUFF)
912 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
915 $(GENDIR)/proplist.obj: $*.$(SRCSUFF)
917 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
920 $(GENDIR)/printps.obj: $*.$(SRCSUFF)
922 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
925 $(GENDIR)/prntdlgg.obj: $*.$(SRCSUFF)
927 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
930 $(GENDIR)/scrolwin.obj: $*.$(SRCSUFF)
932 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
935 $(GENDIR)/splitter.obj: $*.$(SRCSUFF)
937 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
940 $(GENDIR)/statusbr.obj: $*.$(SRCSUFF)
942 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
945 $(GENDIR)/tabg.obj: $*.$(SRCSUFF)
947 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
950 $(GENDIR)/textdlgg.obj: $*.$(SRCSUFF)
952 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF) /Fo$@
955 $(OBJECTS): $(WXDIR)/include/wx/stubs/setup.h
957 clean: $(PERIPH_CLEAN_TARGET)
960 -erase $(WXDIR)\lib\*.pdb
964 cd $(WXDIR)\src\stubs
969 cd $(WXDIR)\src\stubs
976 cd $(WXDIR)\src\stubs