]> git.saurik.com Git - wxWidgets.git/blob - src/msw/makefile.g95
1. compilation fix for wxDir
[wxWidgets.git] / src / msw / makefile.g95
1 # This file was automatically generated by tmake at 23:50, 1999/12/15
2 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE G95.T!
3
4 #
5 # File: makefile.g95
6 # Author: Julian Smart, Robert Roebling, Vadim Zeitlin
7 # Created: 1993
8 # Updated: 1999
9 # Copyright:(c) 1993, AIAI, University of Edinburgh,
10 # Copyright:(c) 1999, Vadim Zeitlin
11 # Copyright:(c) 1999, Robert Roebling
12 #
13 # Makefile for libwx.a
14
15 # Replace this with your own path if necessary
16 WXDIR = ../..
17
18 # All common compiler flags and options are now in
19 # this central makefile.
20 include $(WXDIR)/src/makeg95.env
21
22 # Subordinate library possibilities
23
24 EXTRAOBJS=
25
26 GENDIR = $(WXDIR)/src/generic
27 COMMDIR = $(WXDIR)/src/common
28 HTMLDIR = $(WXDIR)/src/html
29 XPMDIR = $(WXDIR)/src/xpm
30 PNGDIR = $(WXDIR)/src/png
31 JPEGDIR = $(WXDIR)/src/jpeg
32 ZLIBDIR = $(WXDIR)/src/zlib
33 OLEDIR = $(WXDIR)/src/msw/ole
34 MSWDIR = $(WXDIR)/src/msw
35
36 PNGLIB = $(WXDIR)/lib/libpng.a
37 ZLIBLIB = $(WXDIR)/lib/libzlib.a
38 JPEGLIB = $(WXDIR)/lib/libjpeg.a
39
40 DOCDIR = $(WXDIR)\docs
41
42 # Only use the WIN32 wxDirDialog if we have a recent
43 # version of Mingw32
44 ifeq ($(MINGW32),1)
45 ifeq ($(MINGW32VERSION),2.95)
46 DIRDLGOBJ = $(MSWDIR)/dirdlg.$(OBJSUFF)
47 else
48 DIRDLGOBJ = $(GENDIR)/dirdlgg.$(OBJSUFF)
49 endif
50 else
51 DIRDLGOBJ = $(GENDIR)/dirdlgg.$(OBJSUFF)
52 endif
53
54 GENERICOBJS = \
55 $(GENDIR)/busyinfo.$(OBJSUFF) \
56 $(GENDIR)/choicdgg.$(OBJSUFF) \
57 $(GENDIR)/grid.$(OBJSUFF) \
58 $(GENDIR)/laywin.$(OBJSUFF) \
59 $(GENDIR)/logg.$(OBJSUFF) \
60 $(GENDIR)/numdlgg.$(OBJSUFF) \
61 $(GENDIR)/panelg.$(OBJSUFF) \
62 $(GENDIR)/progdlgg.$(OBJSUFF) \
63 $(GENDIR)/prop.$(OBJSUFF) \
64 $(GENDIR)/propform.$(OBJSUFF) \
65 $(GENDIR)/proplist.$(OBJSUFF) \
66 $(GENDIR)/sashwin.$(OBJSUFF) \
67 $(GENDIR)/scrolwin.$(OBJSUFF) \
68 $(GENDIR)/splitter.$(OBJSUFF) \
69 $(GENDIR)/statusbr.$(OBJSUFF) \
70 $(GENDIR)/tbarsmpl.$(OBJSUFF) \
71 $(GENDIR)/textdlgg.$(OBJSUFF) \
72 $(GENDIR)/tipdlg.$(OBJSUFF) \
73 $(GENDIR)/wizard.$(OBJSUFF)
74
75 COMMONOBJS = \
76 $(COMMDIR)/y_tab.$(OBJSUFF) \
77 $(COMMDIR)/appcmn.$(OBJSUFF) \
78 $(COMMDIR)/choiccmn.$(OBJSUFF) \
79 $(COMMDIR)/clipcmn.$(OBJSUFF) \
80 $(COMMDIR)/cmndata.$(OBJSUFF) \
81 $(COMMDIR)/config.$(OBJSUFF) \
82 $(COMMDIR)/ctrlcmn.$(OBJSUFF) \
83 $(COMMDIR)/ctrlsub.$(OBJSUFF) \
84 $(COMMDIR)/date.$(OBJSUFF) \
85 $(COMMDIR)/datetime.$(OBJSUFF) \
86 $(COMMDIR)/datstrm.$(OBJSUFF) \
87 $(COMMDIR)/db.$(OBJSUFF) \
88 $(COMMDIR)/dbtable.$(OBJSUFF) \
89 $(COMMDIR)/dcbase.$(OBJSUFF) \
90 $(COMMDIR)/dlgcmn.$(OBJSUFF) \
91 $(COMMDIR)/dobjcmn.$(OBJSUFF) \
92 $(COMMDIR)/docmdi.$(OBJSUFF) \
93 $(COMMDIR)/docview.$(OBJSUFF) \
94 $(COMMDIR)/dynarray.$(OBJSUFF) \
95 $(COMMDIR)/dynlib.$(OBJSUFF) \
96 $(COMMDIR)/event.$(OBJSUFF) \
97 $(COMMDIR)/extended.$(OBJSUFF) \
98 $(COMMDIR)/ffile.$(OBJSUFF) \
99 $(COMMDIR)/file.$(OBJSUFF) \
100 $(COMMDIR)/fileconf.$(OBJSUFF) \
101 $(COMMDIR)/filefn.$(OBJSUFF) \
102 $(COMMDIR)/filesys.$(OBJSUFF) \
103 $(COMMDIR)/fontcmn.$(OBJSUFF) \
104 $(COMMDIR)/fontmap.$(OBJSUFF) \
105 $(COMMDIR)/framecmn.$(OBJSUFF) \
106 $(COMMDIR)/fs_inet.$(OBJSUFF) \
107 $(COMMDIR)/fs_zip.$(OBJSUFF) \
108 $(COMMDIR)/ftp.$(OBJSUFF) \
109 $(COMMDIR)/gdicmn.$(OBJSUFF) \
110 $(COMMDIR)/gifdecod.$(OBJSUFF) \
111 $(COMMDIR)/hash.$(OBJSUFF) \
112 $(COMMDIR)/helpbase.$(OBJSUFF) \
113 $(COMMDIR)/http.$(OBJSUFF) \
114 $(COMMDIR)/imagall.$(OBJSUFF) \
115 $(COMMDIR)/imagbmp.$(OBJSUFF) \
116 $(COMMDIR)/image.$(OBJSUFF) \
117 $(COMMDIR)/imaggif.$(OBJSUFF) \
118 $(COMMDIR)/imagjpeg.$(OBJSUFF) \
119 $(COMMDIR)/imagpcx.$(OBJSUFF) \
120 $(COMMDIR)/imagpng.$(OBJSUFF) \
121 $(COMMDIR)/imagpnm.$(OBJSUFF) \
122 $(COMMDIR)/imagtiff.$(OBJSUFF) \
123 $(COMMDIR)/intl.$(OBJSUFF) \
124 $(COMMDIR)/ipcbase.$(OBJSUFF) \
125 $(COMMDIR)/layout.$(OBJSUFF) \
126 $(COMMDIR)/lboxcmn.$(OBJSUFF) \
127 $(COMMDIR)/list.$(OBJSUFF) \
128 $(COMMDIR)/log.$(OBJSUFF) \
129 $(COMMDIR)/longlong.$(OBJSUFF) \
130 $(COMMDIR)/memory.$(OBJSUFF) \
131 $(COMMDIR)/menucmn.$(OBJSUFF) \
132 $(COMMDIR)/mimetype.$(OBJSUFF) \
133 $(COMMDIR)/module.$(OBJSUFF) \
134 $(COMMDIR)/mstream.$(OBJSUFF) \
135 $(COMMDIR)/object.$(OBJSUFF) \
136 $(COMMDIR)/objstrm.$(OBJSUFF) \
137 $(COMMDIR)/paper.$(OBJSUFF) \
138 $(COMMDIR)/prntbase.$(OBJSUFF) \
139 $(COMMDIR)/process.$(OBJSUFF) \
140 $(COMMDIR)/protocol.$(OBJSUFF) \
141 $(COMMDIR)/resource.$(OBJSUFF) \
142 $(COMMDIR)/sckaddr.$(OBJSUFF) \
143 $(COMMDIR)/sckfile.$(OBJSUFF) \
144 $(COMMDIR)/sckipc.$(OBJSUFF) \
145 $(COMMDIR)/sckstrm.$(OBJSUFF) \
146 $(COMMDIR)/serbase.$(OBJSUFF) \
147 $(COMMDIR)/sizer.$(OBJSUFF) \
148 $(COMMDIR)/socket.$(OBJSUFF) \
149 $(COMMDIR)/strconv.$(OBJSUFF) \
150 $(COMMDIR)/stream.$(OBJSUFF) \
151 $(COMMDIR)/string.$(OBJSUFF) \
152 $(COMMDIR)/tbarbase.$(OBJSUFF) \
153 $(COMMDIR)/textcmn.$(OBJSUFF) \
154 $(COMMDIR)/textfile.$(OBJSUFF) \
155 $(COMMDIR)/time.$(OBJSUFF) \
156 $(COMMDIR)/timercmn.$(OBJSUFF) \
157 $(COMMDIR)/tokenzr.$(OBJSUFF) \
158 $(COMMDIR)/txtstrm.$(OBJSUFF) \
159 $(COMMDIR)/unzip.$(OBJSUFF) \
160 $(COMMDIR)/url.$(OBJSUFF) \
161 $(COMMDIR)/utilscmn.$(OBJSUFF) \
162 $(COMMDIR)/valgen.$(OBJSUFF) \
163 $(COMMDIR)/validate.$(OBJSUFF) \
164 $(COMMDIR)/valtext.$(OBJSUFF) \
165 $(COMMDIR)/variant.$(OBJSUFF) \
166 $(COMMDIR)/wfstream.$(OBJSUFF) \
167 $(COMMDIR)/wincmn.$(OBJSUFF) \
168 $(COMMDIR)/wxchar.$(OBJSUFF) \
169 $(COMMDIR)/wxexpr.$(OBJSUFF) \
170 $(COMMDIR)/zipstrm.$(OBJSUFF) \
171 $(COMMDIR)/zstream.$(OBJSUFF)
172
173 HTMLOBJS = \
174 $(HTMLDIR)/helpctrl.$(OBJSUFF) \
175 $(HTMLDIR)/helpdata.$(OBJSUFF) \
176 $(HTMLDIR)/helpfrm.$(OBJSUFF) \
177 $(HTMLDIR)/htmlcell.$(OBJSUFF) \
178 $(HTMLDIR)/htmlfilt.$(OBJSUFF) \
179 $(HTMLDIR)/htmlpars.$(OBJSUFF) \
180 $(HTMLDIR)/htmltag.$(OBJSUFF) \
181 $(HTMLDIR)/htmlwin.$(OBJSUFF) \
182 $(HTMLDIR)/htmprint.$(OBJSUFF) \
183 $(HTMLDIR)/m_fonts.$(OBJSUFF) \
184 $(HTMLDIR)/m_hline.$(OBJSUFF) \
185 $(HTMLDIR)/m_image.$(OBJSUFF) \
186 $(HTMLDIR)/m_layout.$(OBJSUFF) \
187 $(HTMLDIR)/m_links.$(OBJSUFF) \
188 $(HTMLDIR)/m_list.$(OBJSUFF) \
189 $(HTMLDIR)/m_pre.$(OBJSUFF) \
190 $(HTMLDIR)/m_tables.$(OBJSUFF) \
191 $(HTMLDIR)/winpars.$(OBJSUFF)
192
193 MSWOBJS = \
194 $(MSWDIR)/accel.$(OBJSUFF) \
195 $(MSWDIR)/app.$(OBJSUFF) \
196 $(MSWDIR)/bitmap.$(OBJSUFF) \
197 $(MSWDIR)/bmpbuttn.$(OBJSUFF) \
198 $(MSWDIR)/brush.$(OBJSUFF) \
199 $(MSWDIR)/button.$(OBJSUFF) \
200 $(MSWDIR)/caret.$(OBJSUFF) \
201 $(MSWDIR)/checkbox.$(OBJSUFF) \
202 $(MSWDIR)/checklst.$(OBJSUFF) \
203 $(MSWDIR)/choice.$(OBJSUFF) \
204 $(MSWDIR)/clipbrd.$(OBJSUFF) \
205 $(MSWDIR)/colordlg.$(OBJSUFF) \
206 $(MSWDIR)/colour.$(OBJSUFF) \
207 $(MSWDIR)/combobox.$(OBJSUFF) \
208 $(MSWDIR)/control.$(OBJSUFF) \
209 $(MSWDIR)/curico.$(OBJSUFF) \
210 $(MSWDIR)/cursor.$(OBJSUFF) \
211 $(MSWDIR)/data.$(OBJSUFF) \
212 $(MSWDIR)/dc.$(OBJSUFF) \
213 $(MSWDIR)/dcclient.$(OBJSUFF) \
214 $(MSWDIR)/dcmemory.$(OBJSUFF) \
215 $(MSWDIR)/dcprint.$(OBJSUFF) \
216 $(MSWDIR)/dcscreen.$(OBJSUFF) \
217 $(MSWDIR)/dde.$(OBJSUFF) \
218 $(MSWDIR)/dialog.$(OBJSUFF) \
219 $(MSWDIR)/dialup.$(OBJSUFF) \
220 $(MSWDIR)/dib.$(OBJSUFF) \
221 $(MSWDIR)/dibutils.$(OBJSUFF) \
222 $(MSWDIR)/dir.$(OBJSUFF) \
223 $(MSWDIR)/dragimag.$(OBJSUFF) \
224 $(MSWDIR)/filedlg.$(OBJSUFF) \
225 $(MSWDIR)/font.$(OBJSUFF) \
226 $(MSWDIR)/fontdlg.$(OBJSUFF) \
227 $(MSWDIR)/fontenum.$(OBJSUFF) \
228 $(MSWDIR)/fontutil.$(OBJSUFF) \
229 $(MSWDIR)/frame.$(OBJSUFF) \
230 $(MSWDIR)/gauge95.$(OBJSUFF) \
231 $(MSWDIR)/gdiimage.$(OBJSUFF) \
232 $(MSWDIR)/gdiobj.$(OBJSUFF) \
233 $(MSWDIR)/gsocket.$(OBJSUFF) \
234 $(MSWDIR)/helpwin.$(OBJSUFF) \
235 $(MSWDIR)/icon.$(OBJSUFF) \
236 $(MSWDIR)/imaglist.$(OBJSUFF) \
237 $(MSWDIR)/joystick.$(OBJSUFF) \
238 $(MSWDIR)/listbox.$(OBJSUFF) \
239 $(MSWDIR)/listctrl.$(OBJSUFF) \
240 $(MSWDIR)/main.$(OBJSUFF) \
241 $(MSWDIR)/mdi.$(OBJSUFF) \
242 $(MSWDIR)/menu.$(OBJSUFF) \
243 $(MSWDIR)/menuitem.$(OBJSUFF) \
244 $(MSWDIR)/metafile.$(OBJSUFF) \
245 $(MSWDIR)/minifram.$(OBJSUFF) \
246 $(MSWDIR)/msgdlg.$(OBJSUFF) \
247 $(MSWDIR)/nativdlg.$(OBJSUFF) \
248 $(MSWDIR)/notebook.$(OBJSUFF) \
249 $(MSWDIR)/ownerdrw.$(OBJSUFF) \
250 $(MSWDIR)/palette.$(OBJSUFF) \
251 $(MSWDIR)/pen.$(OBJSUFF) \
252 $(MSWDIR)/penwin.$(OBJSUFF) \
253 $(MSWDIR)/printdlg.$(OBJSUFF) \
254 $(MSWDIR)/printwin.$(OBJSUFF) \
255 $(MSWDIR)/radiobox.$(OBJSUFF) \
256 $(MSWDIR)/radiobut.$(OBJSUFF) \
257 $(MSWDIR)/regconf.$(OBJSUFF) \
258 $(MSWDIR)/region.$(OBJSUFF) \
259 $(MSWDIR)/registry.$(OBJSUFF) \
260 $(MSWDIR)/scrolbar.$(OBJSUFF) \
261 $(MSWDIR)/settings.$(OBJSUFF) \
262 $(MSWDIR)/slider95.$(OBJSUFF) \
263 $(MSWDIR)/spinbutt.$(OBJSUFF) \
264 $(MSWDIR)/spinctrl.$(OBJSUFF) \
265 $(MSWDIR)/statbmp.$(OBJSUFF) \
266 $(MSWDIR)/statbox.$(OBJSUFF) \
267 $(MSWDIR)/statbr95.$(OBJSUFF) \
268 $(MSWDIR)/statline.$(OBJSUFF) \
269 $(MSWDIR)/stattext.$(OBJSUFF) \
270 $(MSWDIR)/tabctrl.$(OBJSUFF) \
271 $(MSWDIR)/taskbar.$(OBJSUFF) \
272 $(MSWDIR)/tbar95.$(OBJSUFF) \
273 $(MSWDIR)/textctrl.$(OBJSUFF) \
274 $(MSWDIR)/thread.$(OBJSUFF) \
275 $(MSWDIR)/timer.$(OBJSUFF) \
276 $(MSWDIR)/tooltip.$(OBJSUFF) \
277 $(MSWDIR)/treectrl.$(OBJSUFF) \
278 $(MSWDIR)/utils.$(OBJSUFF) \
279 $(MSWDIR)/utilsexc.$(OBJSUFF) \
280 $(MSWDIR)/wave.$(OBJSUFF) \
281 $(MSWDIR)/window.$(OBJSUFF) \
282 $(MSWDIR)/xpmhand.$(OBJSUFF)
283
284 ADVANCEDOBJS = \
285 $(COMMDIR)/odbc.$(OBJSUFF) \
286 $(MSWDIR)/ole/automtn.$(OBJSUFF) \
287 $(MSWDIR)/ole/dataobj.$(OBJSUFF) \
288 $(MSWDIR)/ole/dropsrc.$(OBJSUFF) \
289 $(MSWDIR)/ole/droptgt.$(OBJSUFF) \
290 $(MSWDIR)/ole/oleutils.$(OBJSUFF) \
291 $(MSWDIR)/ole/uuid.$(OBJSUFF)
292
293 ZLIBOBJS = \
294 $(ZLIBDIR)/adler32.$(OBJSUFF) \
295 $(ZLIBDIR)/compress.$(OBJSUFF) \
296 $(ZLIBDIR)/crc32.$(OBJSUFF) \
297 $(ZLIBDIR)/gzio.$(OBJSUFF) \
298 $(ZLIBDIR)/uncompr.$(OBJSUFF) \
299 $(ZLIBDIR)/deflate.$(OBJSUFF) \
300 $(ZLIBDIR)/trees.$(OBJSUFF) \
301 $(ZLIBDIR)/zutil.$(OBJSUFF) \
302 $(ZLIBDIR)/inflate.$(OBJSUFF) \
303 $(ZLIBDIR)/infblock.$(OBJSUFF) \
304 $(ZLIBDIR)/inftrees.$(OBJSUFF) \
305 $(ZLIBDIR)/infcodes.$(OBJSUFF) \
306 $(ZLIBDIR)/infutil.$(OBJSUFF) \
307 $(ZLIBDIR)/inffast.$(OBJSUFF)
308
309 PNGOBJS = \
310 $(PNGDIR)/png.$(OBJSUFF) \
311 $(PNGDIR)/pngread.$(OBJSUFF) \
312 $(PNGDIR)/pngrtran.$(OBJSUFF) \
313 $(PNGDIR)/pngrutil.$(OBJSUFF) \
314 $(PNGDIR)/pngpread.$(OBJSUFF) \
315 $(PNGDIR)/pngtrans.$(OBJSUFF) \
316 $(PNGDIR)/pngwrite.$(OBJSUFF) \
317 $(PNGDIR)/pngwtran.$(OBJSUFF) \
318 $(PNGDIR)/pngwutil.$(OBJSUFF) \
319 $(PNGDIR)/pngerror.$(OBJSUFF) \
320 $(PNGDIR)/pngmem.$(OBJSUFF) \
321 $(PNGDIR)/pngwio.$(OBJSUFF) \
322 $(PNGDIR)/pngrio.$(OBJSUFF) \
323 $(PNGDIR)/pngget.$(OBJSUFF) \
324 $(PNGDIR)/pngset.$(OBJSUFF)
325
326
327 JPEGOBJS = \
328 $(JPEGDIR)/jcomapi.$(OBJSUFF) \
329 $(JPEGDIR)/jutils.$(OBJSUFF) \
330 $(JPEGDIR)/jerror.$(OBJSUFF) \
331 $(JPEGDIR)/jmemmgr.$(OBJSUFF) \
332 $(JPEGDIR)/jmemnobs.$(OBJSUFF) \
333 $(JPEGDIR)/jcapimin.$(OBJSUFF) \
334 $(JPEGDIR)/jcapistd.$(OBJSUFF) \
335 $(JPEGDIR)/jctrans.$(OBJSUFF) \
336 $(JPEGDIR)/jcparam.$(OBJSUFF) \
337 $(JPEGDIR)/jdatadst.$(OBJSUFF) \
338 $(JPEGDIR)/jcinit.$(OBJSUFF) \
339 $(JPEGDIR)/jcmaster.$(OBJSUFF) \
340 $(JPEGDIR)/jcmarker.$(OBJSUFF) \
341 $(JPEGDIR)/jcmainct.$(OBJSUFF) \
342 $(JPEGDIR)/jcprepct.$(OBJSUFF) \
343 $(JPEGDIR)/jccoefct.$(OBJSUFF) \
344 $(JPEGDIR)/jccolor.$(OBJSUFF) \
345 $(JPEGDIR)/jcsample.$(OBJSUFF) \
346 $(JPEGDIR)/jchuff.$(OBJSUFF) \
347 $(JPEGDIR)/jcphuff.$(OBJSUFF) \
348 $(JPEGDIR)/jcdctmgr.$(OBJSUFF) \
349 $(JPEGDIR)/jfdctfst.$(OBJSUFF) \
350 $(JPEGDIR)/jfdctflt.$(OBJSUFF) \
351 $(JPEGDIR)/jfdctint.$(OBJSUFF) \
352 $(JPEGDIR)/jdapimin.$(OBJSUFF) \
353 $(JPEGDIR)/jdapistd.$(OBJSUFF) \
354 $(JPEGDIR)/jdtrans.$(OBJSUFF) \
355 $(JPEGDIR)/jdatasrc.$(OBJSUFF) \
356 $(JPEGDIR)/jdmaster.$(OBJSUFF) \
357 $(JPEGDIR)/jdinput.$(OBJSUFF) \
358 $(JPEGDIR)/jdmarker.$(OBJSUFF) \
359 $(JPEGDIR)/jdhuff.$(OBJSUFF) \
360 $(JPEGDIR)/jdphuff.$(OBJSUFF) \
361 $(JPEGDIR)/jdmainct.$(OBJSUFF) \
362 $(JPEGDIR)/jdcoefct.$(OBJSUFF) \
363 $(JPEGDIR)/jdpostct.$(OBJSUFF) \
364 $(JPEGDIR)/jddctmgr.$(OBJSUFF) \
365 $(JPEGDIR)/jidctfst.$(OBJSUFF) \
366 $(JPEGDIR)/jidctflt.$(OBJSUFF) \
367 $(JPEGDIR)/jidctint.$(OBJSUFF) \
368 $(JPEGDIR)/jidctred.$(OBJSUFF) \
369 $(JPEGDIR)/jdsample.$(OBJSUFF) \
370 $(JPEGDIR)/jdcolor.$(OBJSUFF) \
371 $(JPEGDIR)/jquant1.$(OBJSUFF) \
372 $(JPEGDIR)/jquant2.$(OBJSUFF) \
373 $(JPEGDIR)/jdmerge.$(OBJSUFF)
374
375 XPMOBJECTS = $(XPMDIR)/crbuffri.o\
376 $(XPMDIR)/crdatfri.o\
377 $(XPMDIR)/create.o $(XPMDIR)/crifrbuf.o\
378 $(XPMDIR)/crifrdat.o\
379 $(XPMDIR)/data.o\
380 $(XPMDIR)/hashtab.o $(XPMDIR)/misc.o\
381 $(XPMDIR)/parse.o $(XPMDIR)/rdftodat.o\
382 $(XPMDIR)/rdftoi.o\
383 $(XPMDIR)/rgb.o $(XPMDIR)/scan.o\
384 $(XPMDIR)/simx.o $(XPMDIR)/wrffrdat.o\
385 $(XPMDIR)/wrffrp.o $(XPMDIR)/wrffri.o
386
387 ifeq ($(MINGW32),1)
388 ifeq ($(MINGW32VERSION),2.95)
389 OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ) $(ADVANCEDOBJS) # $(XPMOBJECTS)
390 else
391 OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ) # $(XPMOBJECTS)
392 endif
393 else
394 OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(DIRDLGOBJ) # $(XPMOBJECTS)
395 endif
396
397 all: $(OBJECTS) $(WXLIB) $(ZLIBLIB) $(JPEGLIB) $(PNGLIB)
398
399 $(WXLIB): $(OBJECTS) $(EXTRAOBJS)
400 ar $(AROPTIONS) $@ $(EXTRAOBJS) $(OBJECTS)
401 $(RANLIB) $@
402
403 $(ZLIBLIB): $(ZLIBOBJS)
404 ar $(AROPTIONS) $@ $(ZLIBOBJS)
405 $(RANLIB) $@
406
407 $(PNGLIB): $(PNGOBJS)
408 ar $(AROPTIONS) $@ $(PNGOBJS)
409 $(RANLIB) $@
410
411 $(JPEGLIB): $(JPEGOBJS)
412 ar $(AROPTIONS) $@ $(JPEGOBJS)
413 $(RANLIB) $@
414
415 $(OBJECTS): $(WXINC)/wx/defs.h $(WXINC)/wx/object.h $(WXINC)/wx/setup.h
416
417 $(COMMDIR)/y_tab.$(OBJSUFF): $(COMMDIR)/y_tab.c $(COMMDIR)/lex_yy.c
418 $(CCLEX) -c $(CPPFLAGS) -DUSE_DEFINE -DYY_USE_PROTOS -o $@ $(COMMDIR)/y_tab.c
419
420 $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c
421 $(COPY) ..\\common\\dosyacc.c ..\\common\\y_tab.c
422
423 $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
424 $(COPY) ..\\common\\doslex.c ..\\common\\lex_yy.c
425
426 # Replace lex with flex if you run into compilation
427 # problems with lex_yy.c. See also note about LEX_SCANNER
428 # above.
429 # $(COMMDIR)/lex_yy.c: $(COMMDIR)/lexer.l
430 # $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l
431 #
432 # Try one of these if the above line doesn't work.
433 # Alternative syntax (1)
434 # $(LEX) -t -L $(COMMDIR)/lexer.l > $(COMMDIR)/lex_yy.c
435 # Alternative syntax (2)
436 # $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l
437 #
438 # sed -e "s/BUFSIZ/5000/g" < lex.yy.c | \
439 # sed -e "s/yyoutput(c)/void yyoutput(c)/g" | \
440 # sed -e "s/YYLMAX 200/YYLMAX 5000/g" > lex_yy.c
441 # rm -f lex.yy.c
442 #
443 # Replace yacc with bison if you run into compilation
444 # problems with y_tab.c.
445 #
446 # $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y
447 # $(YACC) -o $(COMMDIR)/y_tab.c $(COMMDIR)/parser.y
448 #
449 # If you use e.g. gcc on Unix, uncomment these lines
450 # and comment out the above.
451 #
452 # $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y
453 # $(YACC) $(COMMDIR)/parser.y
454 # mv y.tab.c $(COMMDIR)/y_tab.c
455
456 clean:
457 -$(RM) *.o
458 -$(RM) ole/*.o
459 -$(RM) *.bak
460 -$(RM) core
461 -$(RM) ../common/y_tab.c
462 -$(RM) ../common/lex_yy.c
463 -$(RM) ../common/*.o
464 -$(RM) ../common/*.bak
465 -$(RM) ../generic/*.o
466 -$(RM) ../generic/*.bak
467 -$(RM) ../html/*.o
468 -$(RM) ../png/*.o
469 -$(RM) ../png/*.bak
470 -$(RM) ../zlib/*.o
471 -$(RM) ../zlib/*.bak
472 -$(RM) ../jpeg/*.o
473 -$(RM) ../../lib/libwx.a
474
475 cleanall: clean