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