/[pcsx2_0.9.7]/trunk/3rdparty/wxWidgets/src/msw/makebase.b32
ViewVC logotype

Contents of /trunk/3rdparty/wxWidgets/src/msw/makebase.b32

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10 - (show annotations) (download)
Mon Sep 6 11:40:06 2010 UTC (9 years, 5 months ago) by william
File size: 11236 byte(s)
exported r3113 from ./upstream/trunk
1 # This file was automatically generated by tmake
2 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE B32.T!
3
4 #
5 # File: makebase.b32
6 # Author: Julian Smart
7 # Created: 1998
8 # Updated: Michael Fielding, 2002
9 # Copyright:
10 #
11 # "%W% %G%"
12 #
13 # Makefile : Builds wxWindows library wxbase.lib for MS Windows,
14 # and Borland C++ (32-bit).
15
16 # BCCDIR now defined in ../makeb32.env
17
18 !if "$(WXWIN)" == ""
19 !error You must define the WXWIN variable in autoexec.bat, e.g. WXWIN=c:\wx
20 !endif
21
22 WXDIR = $(WXWIN)
23 THISDIR = $(WXDIR)\src\msw
24
25 # Set all these to 1 if you want to build a dynamic library
26 !if "$(DLL)" == "1"
27 WXMAKINGDLL=1
28 WXBUILDDLL=1
29 !endif
30
31 wxUSE_GUI=0
32
33 !include $(WXDIR)\src\makeb32.env
34
35 PERIPH_LIBS=
36 PERIPH_TARGET=zlib regex $(PERIPH_TARGET)
37 PERIPH_CLEAN_TARGET=clean_zlib clean_regex $(PERIPH_CLEAN_TARGET)
38
39 !if "$(DLL)" == "0"
40 DUMMY=dummy
41 !else
42 DUMMY=dummydll
43 LIBS= cw32mti import32 ole2w32 odbc32 zlib regex
44 !endif
45
46 LIBTARGET=$(WXLIB)
47
48 GENDIR=..\generic
49 COMMDIR=..\common
50 HTMLDIR=..\html
51 OLEDIR=.\ole
52 MSWDIR=.
53
54 DOCDIR = $(WXDIR)\docs
55
56 COMMONOBJS = \
57 $(OBJ_PATH)\appbase.obj \
58 $(OBJ_PATH)\clntdata.obj \
59 $(OBJ_PATH)\cmdline.obj \
60 $(OBJ_PATH)\config.obj \
61 $(OBJ_PATH)\datetime.obj \
62 $(OBJ_PATH)\datstrm.obj \
63 $(OBJ_PATH)\db.obj \
64 $(OBJ_PATH)\dbtable.obj \
65 $(OBJ_PATH)\dircmn.obj \
66 $(OBJ_PATH)\dynarray.obj \
67 $(OBJ_PATH)\dynlib.obj \
68 $(OBJ_PATH)\dynload.obj \
69 $(OBJ_PATH)\encconv.obj \
70 $(OBJ_PATH)\event.obj \
71 $(OBJ_PATH)\extended.obj \
72 $(OBJ_PATH)\ffile.obj \
73 $(OBJ_PATH)\file.obj \
74 $(OBJ_PATH)\fileconf.obj \
75 $(OBJ_PATH)\filefn.obj \
76 $(OBJ_PATH)\filename.obj \
77 $(OBJ_PATH)\filesys.obj \
78 $(OBJ_PATH)\fmapbase.obj \
79 $(OBJ_PATH)\fs_inet.obj \
80 $(OBJ_PATH)\fs_mem.obj \
81 $(OBJ_PATH)\fs_zip.obj \
82 $(OBJ_PATH)\ftp.obj \
83 $(OBJ_PATH)\hash.obj \
84 $(OBJ_PATH)\hashmap.obj \
85 $(OBJ_PATH)\http.obj \
86 $(OBJ_PATH)\intl.obj \
87 $(OBJ_PATH)\ipcbase.obj \
88 $(OBJ_PATH)\list.obj \
89 $(OBJ_PATH)\log.obj \
90 $(OBJ_PATH)\longlong.obj \
91 $(OBJ_PATH)\memory.obj \
92 $(OBJ_PATH)\mimecmn.obj \
93 $(OBJ_PATH)\module.obj \
94 $(OBJ_PATH)\msgout.obj \
95 $(OBJ_PATH)\mstream.obj \
96 $(OBJ_PATH)\object.obj \
97 $(OBJ_PATH)\process.obj \
98 $(OBJ_PATH)\protocol.obj \
99 $(OBJ_PATH)\regex.obj \
100 $(OBJ_PATH)\sckaddr.obj \
101 $(OBJ_PATH)\sckfile.obj \
102 $(OBJ_PATH)\sckipc.obj \
103 $(OBJ_PATH)\sckstrm.obj \
104 $(OBJ_PATH)\socket.obj \
105 $(OBJ_PATH)\stopwatch.obj \
106 $(OBJ_PATH)\strconv.obj \
107 $(OBJ_PATH)\stream.obj \
108 $(OBJ_PATH)\string.obj \
109 $(OBJ_PATH)\sysopt.obj \
110 $(OBJ_PATH)\textbuf.obj \
111 $(OBJ_PATH)\textfile.obj \
112 $(OBJ_PATH)\tokenzr.obj \
113 $(OBJ_PATH)\txtstrm.obj \
114 $(OBJ_PATH)\unzip.obj \
115 $(OBJ_PATH)\url.obj \
116 $(OBJ_PATH)\utilscmn.obj \
117 $(OBJ_PATH)\variant.obj \
118 $(OBJ_PATH)\wfstream.obj \
119 $(OBJ_PATH)\wxchar.obj \
120 $(OBJ_PATH)\zipstrm.obj \
121 $(OBJ_PATH)\zstream.obj \
122 $(OBJ_PATH)\init.obj
123
124 MSWOBJS = $(OBJ_PATH)\basemsw.obj \
125 $(OBJ_PATH)\dde.obj \
126 $(OBJ_PATH)\dir.obj \
127 $(OBJ_PATH)\gsocket.obj \
128 $(OBJ_PATH)\gsockmsw.obj \
129 $(OBJ_PATH)\main.obj \
130 $(OBJ_PATH)\mimetype.obj \
131 $(OBJ_PATH)\mslu.obj \
132 $(OBJ_PATH)\regconf.obj \
133 $(OBJ_PATH)\registry.obj \
134 $(OBJ_PATH)\snglinst.obj \
135 $(OBJ_PATH)\thread.obj \
136 $(OBJ_PATH)\utils.obj \
137 $(OBJ_PATH)\utilsexc.obj \
138 $(OBJ_PATH)\volume.obj
139
140 OBJECTS = $(COMMONOBJS) $(MSWOBJS)
141
142 default: wx
143
144 wx: $(ARCHINCDIR)\wx makesetuph makearchsetuph makeoutdir $(CFG) $(DUMMY).obj $(OBJECTS) $(PERIPH_TARGET) $(LIBTARGET)
145
146 all: wx
147
148 makeoutdir:
149 -mkdir $(OBJ_PATH)
150
151 # Copy the in-CVS setup0.h to setup.h if necessary
152 makesetuph:
153 cd $(WXDIR)\include\wx\msw
154 if not exist setup.h copy setup0.h setup.h
155 cd $(WXDIR)\src\msw
156
157 # Copy include\wx\msw\setup.h to the architecture-specific location
158 makearchsetuph:
159 copy $(WXDIR)\include\wx\msw\setup.h $(ARCHSETUPH)
160 cd $(WXDIR)\src\msw
161
162 $(ARCHINCDIR)\wx:
163 -mkdir $(ARCHINCDIR)
164 -mkdir $(ARCHINCDIR)\wx
165 -erase $(CFG)
166
167 !if "$(DLL)" == "0"
168
169 $(LIBTARGET): $(DUMMY).obj $(OBJECTS)
170 -erase $(WXLIB)
171 tlib "$(WXLIB)" /P1024 @&&!
172 +$(OBJECTS:.obj =.obj +) +$(PERIPH_LIBS:.lib =.lib +)
173 !
174
175 !else
176
177 $(LIBTARGET): $(DUMMY).obj $(OBJECTS)
178 -erase $(WXLIB)
179 -erase $(WXDLL)
180 $(LINK) $(LINK_FLAGS) /L$(WXLIBDIR);$(BCCDIR)\lib;$(BCCDIR)\lib\psdk /v @&&!
181 c0d32.obj $(OBJECTS)
182 $(WXLIBDIR)\$(WXLIBNAME)
183 nul
184 $(PERIPH_LIBS) $(LIBS)
185 wxb32
186 !
187 implib -c $(LIBTARGET) $(WXLIBDIR)\$(WXLIBNAME).dll
188 !endif
189
190 dummy.obj: dummy.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h
191 dummydll.obj: dummydll.$(SRCSUFF) $(LOCALHEADERS) $(BASEHEADERS) $(WXDIR)\include\wx\wx.h version.res
192
193 version.res:
194 brc32 -r -i$(WXDIR)\include\ $(MSWDIR)\version.rc
195
196 $(OBJ_PATH)\basemsw.obj: $(MSWDIR)\basemsw.$(SRCSUFF)
197
198 $(OBJ_PATH)\dde.obj: $(MSWDIR)\dde.$(SRCSUFF)
199
200 $(OBJ_PATH)\dir.obj: $(MSWDIR)\dir.$(SRCSUFF)
201
202 $(OBJ_PATH)\gsocket.obj: $(MSWDIR)\gsocket.c
203
204 $(OBJ_PATH)\gsockmsw.obj: $(MSWDIR)\gsockmsw.c
205
206 $(OBJ_PATH)\main.obj: $(MSWDIR)\main.$(SRCSUFF)
207
208 $(OBJ_PATH)\mimetype.obj: $(MSWDIR)\mimetype.$(SRCSUFF)
209
210 $(OBJ_PATH)\mslu.obj: $(MSWDIR)\mslu.$(SRCSUFF)
211
212 $(OBJ_PATH)\regconf.obj: $(MSWDIR)\regconf.$(SRCSUFF)
213
214 $(OBJ_PATH)\registry.obj: $(MSWDIR)\registry.$(SRCSUFF)
215
216 $(OBJ_PATH)\snglinst.obj: $(MSWDIR)\snglinst.$(SRCSUFF)
217
218 $(OBJ_PATH)\thread.obj: $(MSWDIR)\thread.$(SRCSUFF)
219
220 $(OBJ_PATH)\utils.obj: $(MSWDIR)\utils.$(SRCSUFF)
221
222 $(OBJ_PATH)\utilsexc.obj: $(MSWDIR)\utilsexc.$(SRCSUFF)
223
224 $(OBJ_PATH)\volume.obj: $(MSWDIR)\volume.$(SRCSUFF)
225
226
227
228 ########################################################
229 # Common objects (always compiled)
230
231 $(OBJ_PATH)\appbase.obj: $(COMMDIR)\appbase.$(SRCSUFF)
232
233 $(OBJ_PATH)\clntdata.obj: $(COMMDIR)\clntdata.$(SRCSUFF)
234
235 $(OBJ_PATH)\cmdline.obj: $(COMMDIR)\cmdline.$(SRCSUFF)
236
237 $(OBJ_PATH)\config.obj: $(COMMDIR)\config.$(SRCSUFF)
238
239 $(OBJ_PATH)\datetime.obj: $(COMMDIR)\datetime.$(SRCSUFF)
240
241 $(OBJ_PATH)\datstrm.obj: $(COMMDIR)\datstrm.$(SRCSUFF)
242
243 $(OBJ_PATH)\db.obj: $(COMMDIR)\db.$(SRCSUFF)
244
245 $(OBJ_PATH)\dbtable.obj: $(COMMDIR)\dbtable.$(SRCSUFF)
246
247 $(OBJ_PATH)\dircmn.obj: $(COMMDIR)\dircmn.$(SRCSUFF)
248
249 $(OBJ_PATH)\dynarray.obj: $(COMMDIR)\dynarray.$(SRCSUFF)
250
251 $(OBJ_PATH)\dynlib.obj: $(COMMDIR)\dynlib.$(SRCSUFF)
252
253 $(OBJ_PATH)\dynload.obj: $(COMMDIR)\dynload.$(SRCSUFF)
254
255 $(OBJ_PATH)\encconv.obj: $(COMMDIR)\encconv.$(SRCSUFF)
256
257 $(OBJ_PATH)\event.obj: $(COMMDIR)\event.$(SRCSUFF)
258
259 $(OBJ_PATH)\extended.obj: $(COMMDIR)\extended.c
260
261 $(OBJ_PATH)\ffile.obj: $(COMMDIR)\ffile.$(SRCSUFF)
262
263 $(OBJ_PATH)\file.obj: $(COMMDIR)\file.$(SRCSUFF)
264
265 $(OBJ_PATH)\fileconf.obj: $(COMMDIR)\fileconf.$(SRCSUFF)
266
267 $(OBJ_PATH)\filefn.obj: $(COMMDIR)\filefn.$(SRCSUFF)
268
269 $(OBJ_PATH)\filename.obj: $(COMMDIR)\filename.$(SRCSUFF)
270
271 $(OBJ_PATH)\filesys.obj: $(COMMDIR)\filesys.$(SRCSUFF)
272
273 $(OBJ_PATH)\fmapbase.obj: $(COMMDIR)\fmapbase.$(SRCSUFF)
274
275 $(OBJ_PATH)\fs_inet.obj: $(COMMDIR)\fs_inet.$(SRCSUFF)
276
277 $(OBJ_PATH)\fs_mem.obj: $(COMMDIR)\fs_mem.$(SRCSUFF)
278
279 $(OBJ_PATH)\fs_zip.obj: $(COMMDIR)\fs_zip.$(SRCSUFF)
280
281 $(OBJ_PATH)\ftp.obj: $(COMMDIR)\ftp.$(SRCSUFF)
282
283 $(OBJ_PATH)\hash.obj: $(COMMDIR)\hash.$(SRCSUFF)
284
285 $(OBJ_PATH)\hashmap.obj: $(COMMDIR)\hashmap.$(SRCSUFF)
286
287 $(OBJ_PATH)\http.obj: $(COMMDIR)\http.$(SRCSUFF)
288
289 $(OBJ_PATH)\intl.obj: $(COMMDIR)\intl.$(SRCSUFF)
290
291 $(OBJ_PATH)\ipcbase.obj: $(COMMDIR)\ipcbase.$(SRCSUFF)
292
293 $(OBJ_PATH)\list.obj: $(COMMDIR)\list.$(SRCSUFF)
294
295 $(OBJ_PATH)\log.obj: $(COMMDIR)\log.$(SRCSUFF)
296
297 $(OBJ_PATH)\longlong.obj: $(COMMDIR)\longlong.$(SRCSUFF)
298
299 $(OBJ_PATH)\memory.obj: $(COMMDIR)\memory.$(SRCSUFF)
300
301 $(OBJ_PATH)\mimecmn.obj: $(COMMDIR)\mimecmn.$(SRCSUFF)
302
303 $(OBJ_PATH)\module.obj: $(COMMDIR)\module.$(SRCSUFF)
304
305 $(OBJ_PATH)\msgout.obj: $(COMMDIR)\msgout.$(SRCSUFF)
306
307 $(OBJ_PATH)\mstream.obj: $(COMMDIR)\mstream.$(SRCSUFF)
308
309 $(OBJ_PATH)\object.obj: $(COMMDIR)\object.$(SRCSUFF)
310
311 $(OBJ_PATH)\process.obj: $(COMMDIR)\process.$(SRCSUFF)
312
313 $(OBJ_PATH)\protocol.obj: $(COMMDIR)\protocol.$(SRCSUFF)
314
315 $(OBJ_PATH)\regex.obj: $(COMMDIR)\regex.$(SRCSUFF)
316
317 $(OBJ_PATH)\sckaddr.obj: $(COMMDIR)\sckaddr.$(SRCSUFF)
318
319 $(OBJ_PATH)\sckfile.obj: $(COMMDIR)\sckfile.$(SRCSUFF)
320
321 $(OBJ_PATH)\sckipc.obj: $(COMMDIR)\sckipc.$(SRCSUFF)
322
323 $(OBJ_PATH)\sckstrm.obj: $(COMMDIR)\sckstrm.$(SRCSUFF)
324
325 $(OBJ_PATH)\socket.obj: $(COMMDIR)\socket.$(SRCSUFF)
326
327 $(OBJ_PATH)\stopwatch.obj: $(COMMDIR)\stopwatch.$(SRCSUFF)
328
329 $(OBJ_PATH)\strconv.obj: $(COMMDIR)\strconv.$(SRCSUFF)
330
331 $(OBJ_PATH)\stream.obj: $(COMMDIR)\stream.$(SRCSUFF)
332
333 $(OBJ_PATH)\string.obj: $(COMMDIR)\string.$(SRCSUFF)
334
335 $(OBJ_PATH)\sysopt.obj: $(COMMDIR)\sysopt.$(SRCSUFF)
336
337 $(OBJ_PATH)\textbuf.obj: $(COMMDIR)\textbuf.$(SRCSUFF)
338
339 $(OBJ_PATH)\textfile.obj: $(COMMDIR)\textfile.$(SRCSUFF)
340
341 $(OBJ_PATH)\tokenzr.obj: $(COMMDIR)\tokenzr.$(SRCSUFF)
342
343 $(OBJ_PATH)\txtstrm.obj: $(COMMDIR)\txtstrm.$(SRCSUFF)
344
345 $(OBJ_PATH)\unzip.obj: $(COMMDIR)\unzip.c
346
347 $(OBJ_PATH)\url.obj: $(COMMDIR)\url.$(SRCSUFF)
348
349 $(OBJ_PATH)\utilscmn.obj: $(COMMDIR)\utilscmn.$(SRCSUFF)
350
351 $(OBJ_PATH)\variant.obj: $(COMMDIR)\variant.$(SRCSUFF)
352
353 $(OBJ_PATH)\wfstream.obj: $(COMMDIR)\wfstream.$(SRCSUFF)
354
355 $(OBJ_PATH)\wxchar.obj: $(COMMDIR)\wxchar.$(SRCSUFF)
356
357 $(OBJ_PATH)\zipstrm.obj: $(COMMDIR)\zipstrm.$(SRCSUFF)
358
359 $(OBJ_PATH)\zstream.obj: $(COMMDIR)\zstream.$(SRCSUFF)
360
361 $(OBJ_PATH)\init.obj: $(COMMDIR)\init.$(SRCSUFF)
362
363
364
365
366 all_utils:
367 cd $(WXDIR)\utils
368 ${MAKE} -f makefile.b32
369 cd $(WXDIR)\src\msw
370
371 all_samples:
372 cd $(WXDIR)\samples
373 ${MAKE} -f makefile.b32
374 cd $(WXDIR)\src\msw
375
376 all_execs:
377 cd $(WXDIR)\utils
378 ${MAKE} -f makefile.b32 all_execs
379 cd $(WXDIR)\src\msw
380
381
382
383 zlib: $(CFG)
384 cd $(WXDIR)\src\zlib
385 ${MAKE} -f makefile.b32 wxUSE_GUI=0 lib
386 cd $(WXDIR)\src\msw
387
388 clean_zlib:
389 cd $(WXDIR)\src\zlib
390 ${MAKE} -f makefile.b32 clean
391 cd $(WXDIR)\src\msw
392
393
394 regex: $(CFG)
395 cd $(WXDIR)\src\regex
396 ${MAKE} -f makefile.b32 wxUSE_GUI=0 lib
397 cd $(WXDIR)\src\msw
398
399 clean_regex:
400 cd $(WXDIR)\src\regex
401 ${MAKE} -f makefile.b32 clean
402 cd $(WXDIR)\src\msw
403
404
405
406 $(CFG): makebase.b32
407 copy &&!
408 -Hc
409 -H=$(WXDIR)\src\msw\wx32.csm
410 -3
411 -d
412 -a1 # byte alignment
413 -R-
414 -X
415 -w-par
416 -w-aus
417 -w-hid # virtual function A hides virtual function B
418 -tWM
419 -tWC
420
421 -I$(ARCHINCDIR);$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/tiff;$(THISDIR)
422 -I$(WXDIR)\include\wx\msw\gnuwin32
423
424 -L$(BCCDIR)\lib;$(BCCDIR)\lib\psdk
425 -D__WXWIN__
426 -D__WXMSW__
427 -D__WINDOWS__
428 -DWIN32
429 $(OPT)
430 $(DEBUG_FLAGS)
431 $(WIN95FLAG)
432 ! $(CFG)
433
434 clean: $(PERIPH_CLEAN_TARGET)
435 -$(RM) $(WXLIBDIR)\*.tds
436 -$(RM) $(WXLIBDIR)\*.il?
437 -$(RM) $(OBJ_PATH)\*.obj
438 -$(RM) $(OBJ_PATH)\*.pch
439 -$(RM) $(OBJ_PATH)\*.csm
440 -$(RM) $(OBJ_PATH)\"wx32.#??"
441
442 cleancfg:
443 -$(RM) $(OBJ_PATH)\*.cfg
444
445
446 cleanall: clean cleancfg
447
448
449 self:
450 cd $(WXWIN)\distrib\msw\tmake
451 perl -S tmake -tb32base wxwin.pro -o makebase.b32
452 copy makebase.b32 $(WXWIN)\src\msw

  ViewVC Help
Powered by ViewVC 1.1.22