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