3 # This file was automatically generated by tmake at 00:12, 1999/07/29
4 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE G95.T!
8 # Author: Julian Smart, Robert Roebling, Vadim Zeitlin
11 # Copyright:(c) 1993, AIAI, University of Edinburgh,
12 # Copyright:(c) 1999, Vadim Zeitlin
13 # Copyright:(c) 1999, Robert Roebling
15 # Makefile for libwx.a
17 # Replace this with your own path if necessary
20 # All common compiler flags and options are now in
21 # this central makefile.
22 include $(WXDIR)/src/makeg95.env
24 # Subordinate library possibilities
28 GENDIR = $(WXDIR)/src/generic
29 COMMDIR = $(WXDIR)/src/common
30 HTMLDIR = $(WXDIR)/src/html
31 XPMDIR = $(WXDIR)/src/xpm
32 PNGDIR = $(WXDIR)/src/png
33 JPEGDIR = $(WXDIR)/src/jpeg
34 ZLIBDIR = $(WXDIR)/src/zlib
35 OLEDIR = $(WXDIR)/src/msw/ole
36 MSWDIR = $(WXDIR)/src/msw
38 DOCDIR = $(WXDIR)\docs
41 $(GENDIR)/busyinfo.$(OBJSUFF) \
42 $(GENDIR)/choicdgg.$(OBJSUFF) \
43 $(GENDIR)/dirdlgg.$(OBJSUFF) \
44 $(GENDIR)/extdlgg.$(OBJSUFF) \
45 $(GENDIR)/gridg.$(OBJSUFF) \
46 $(GENDIR)/laywin.$(OBJSUFF) \
47 $(GENDIR)/numdlgg.$(OBJSUFF) \
48 $(GENDIR)/panelg.$(OBJSUFF) \
49 $(GENDIR)/progdlgg.$(OBJSUFF) \
50 $(GENDIR)/prop.$(OBJSUFF) \
51 $(GENDIR)/propform.$(OBJSUFF) \
52 $(GENDIR)/proplist.$(OBJSUFF) \
53 $(GENDIR)/sashwin.$(OBJSUFF) \
54 $(GENDIR)/scrolwin.$(OBJSUFF) \
55 $(GENDIR)/splitter.$(OBJSUFF) \
56 $(GENDIR)/statusbr.$(OBJSUFF) \
57 $(GENDIR)/tabg.$(OBJSUFF) \
58 $(GENDIR)/textdlgg.$(OBJSUFF) \
59 $(GENDIR)/tipdlg.$(OBJSUFF)
62 $(COMMDIR)/y_tab.$(OBJSUFF) \
63 $(COMMDIR)/choiccmn.$(OBJSUFF) \
64 $(COMMDIR)/cmndata.$(OBJSUFF) \
65 $(COMMDIR)/config.$(OBJSUFF) \
66 $(COMMDIR)/ctrlcmn.$(OBJSUFF) \
67 $(COMMDIR)/date.$(OBJSUFF) \
68 $(COMMDIR)/datstrm.$(OBJSUFF) \
69 $(COMMDIR)/db.$(OBJSUFF) \
70 $(COMMDIR)/dbtable.$(OBJSUFF) \
71 $(COMMDIR)/dcbase.$(OBJSUFF) \
72 $(COMMDIR)/dlgcmn.$(OBJSUFF) \
73 $(COMMDIR)/docmdi.$(OBJSUFF) \
74 $(COMMDIR)/docview.$(OBJSUFF) \
75 $(COMMDIR)/dynarray.$(OBJSUFF) \
76 $(COMMDIR)/dynlib.$(OBJSUFF) \
77 $(COMMDIR)/event.$(OBJSUFF) \
78 $(COMMDIR)/extended.$(OBJSUFF) \
79 $(COMMDIR)/ffile.$(OBJSUFF) \
80 $(COMMDIR)/file.$(OBJSUFF) \
81 $(COMMDIR)/fileconf.$(OBJSUFF) \
82 $(COMMDIR)/filefn.$(OBJSUFF) \
83 $(COMMDIR)/filesys.$(OBJSUFF) \
84 $(COMMDIR)/framecmn.$(OBJSUFF) \
85 $(COMMDIR)/fs_inet.$(OBJSUFF) \
86 $(COMMDIR)/fs_zip.$(OBJSUFF) \
87 $(COMMDIR)/ftp.$(OBJSUFF) \
88 $(COMMDIR)/gdicmn.$(OBJSUFF) \
89 $(COMMDIR)/hash.$(OBJSUFF) \
90 $(COMMDIR)/helpbase.$(OBJSUFF) \
91 $(COMMDIR)/http.$(OBJSUFF) \
92 $(COMMDIR)/imagbmp.$(OBJSUFF) \
93 $(COMMDIR)/image.$(OBJSUFF) \
94 $(COMMDIR)/imaggif.$(OBJSUFF) \
95 $(COMMDIR)/imagjpeg.$(OBJSUFF) \
96 $(COMMDIR)/imagpng.$(OBJSUFF) \
97 $(COMMDIR)/intl.$(OBJSUFF) \
98 $(COMMDIR)/ipcbase.$(OBJSUFF) \
99 $(COMMDIR)/layout.$(OBJSUFF) \
100 $(COMMDIR)/list.$(OBJSUFF) \
101 $(COMMDIR)/log.$(OBJSUFF) \
102 $(COMMDIR)/memory.$(OBJSUFF) \
103 $(COMMDIR)/mimetype.$(OBJSUFF) \
104 $(COMMDIR)/module.$(OBJSUFF) \
105 $(COMMDIR)/mstream.$(OBJSUFF) \
106 $(COMMDIR)/object.$(OBJSUFF) \
107 $(COMMDIR)/objstrm.$(OBJSUFF) \
108 $(COMMDIR)/paper.$(OBJSUFF) \
109 $(COMMDIR)/prntbase.$(OBJSUFF) \
110 $(COMMDIR)/process.$(OBJSUFF) \
111 $(COMMDIR)/protocol.$(OBJSUFF) \
112 $(COMMDIR)/resource.$(OBJSUFF) \
113 $(COMMDIR)/sckaddr.$(OBJSUFF) \
114 $(COMMDIR)/sckfile.$(OBJSUFF) \
115 $(COMMDIR)/sckipc.$(OBJSUFF) \
116 $(COMMDIR)/sckstrm.$(OBJSUFF) \
117 $(COMMDIR)/socket.$(OBJSUFF) \
118 $(COMMDIR)/stream.$(OBJSUFF) \
119 $(COMMDIR)/string.$(OBJSUFF) \
120 $(COMMDIR)/tbarbase.$(OBJSUFF) \
121 $(COMMDIR)/textcmn.$(OBJSUFF) \
122 $(COMMDIR)/textfile.$(OBJSUFF) \
123 $(COMMDIR)/time.$(OBJSUFF) \
124 $(COMMDIR)/timercmn.$(OBJSUFF) \
125 $(COMMDIR)/tokenzr.$(OBJSUFF) \
126 $(COMMDIR)/txtstrm.$(OBJSUFF) \
127 $(COMMDIR)/unzip.$(OBJSUFF) \
128 $(COMMDIR)/url.$(OBJSUFF) \
129 $(COMMDIR)/utilscmn.$(OBJSUFF) \
130 $(COMMDIR)/valgen.$(OBJSUFF) \
131 $(COMMDIR)/validate.$(OBJSUFF) \
132 $(COMMDIR)/valtext.$(OBJSUFF) \
133 $(COMMDIR)/variant.$(OBJSUFF) \
134 $(COMMDIR)/wfstream.$(OBJSUFF) \
135 $(COMMDIR)/wincmn.$(OBJSUFF) \
136 $(COMMDIR)/wxchar.$(OBJSUFF) \
137 $(COMMDIR)/wxexpr.$(OBJSUFF) \
138 $(COMMDIR)/zipstream.$(OBJSUFF) \
139 $(COMMDIR)/zstream.$(OBJSUFF)
144 $(MSWDIR)/accel.$(OBJSUFF) \
145 $(MSWDIR)/app.$(OBJSUFF) \
146 $(MSWDIR)/bitmap.$(OBJSUFF) \
147 $(MSWDIR)/bmpbuttn.$(OBJSUFF) \
148 $(MSWDIR)/brush.$(OBJSUFF) \
149 $(MSWDIR)/button.$(OBJSUFF) \
150 $(MSWDIR)/caret.$(OBJSUFF) \
151 $(MSWDIR)/checkbox.$(OBJSUFF) \
152 $(MSWDIR)/checklst.$(OBJSUFF) \
153 $(MSWDIR)/choice.$(OBJSUFF) \
154 $(MSWDIR)/clipbrd.$(OBJSUFF) \
155 $(MSWDIR)/colordlg.$(OBJSUFF) \
156 $(MSWDIR)/colour.$(OBJSUFF) \
157 $(MSWDIR)/combobox.$(OBJSUFF) \
158 $(MSWDIR)/control.$(OBJSUFF) \
159 $(MSWDIR)/curico.$(OBJSUFF) \
160 $(MSWDIR)/cursor.$(OBJSUFF) \
161 $(MSWDIR)/data.$(OBJSUFF) \
162 $(MSWDIR)/dc.$(OBJSUFF) \
163 $(MSWDIR)/dcclient.$(OBJSUFF) \
164 $(MSWDIR)/dcmemory.$(OBJSUFF) \
165 $(MSWDIR)/dcprint.$(OBJSUFF) \
166 $(MSWDIR)/dcscreen.$(OBJSUFF) \
167 $(MSWDIR)/dde.$(OBJSUFF) \
168 $(MSWDIR)/dialog.$(OBJSUFF) \
169 $(MSWDIR)/dib.$(OBJSUFF) \
170 $(MSWDIR)/dibutils.$(OBJSUFF) \
171 $(MSWDIR)/dragimag.$(OBJSUFF) \
172 $(MSWDIR)/filedlg.$(OBJSUFF) \
173 $(MSWDIR)/font.$(OBJSUFF) \
174 $(MSWDIR)/fontdlg.$(OBJSUFF) \
175 $(MSWDIR)/frame.$(OBJSUFF) \
176 $(MSWDIR)/gauge95.$(OBJSUFF) \
177 $(MSWDIR)/gdiobj.$(OBJSUFF) \
178 $(MSWDIR)/helpwin.$(OBJSUFF) \
179 $(MSWDIR)/icon.$(OBJSUFF) \
180 $(MSWDIR)/imaglist.$(OBJSUFF) \
181 $(MSWDIR)/joystick.$(OBJSUFF) \
182 $(MSWDIR)/listbox.$(OBJSUFF) \
183 $(MSWDIR)/listctrl.$(OBJSUFF) \
184 $(MSWDIR)/main.$(OBJSUFF) \
185 $(MSWDIR)/mdi.$(OBJSUFF) \
186 $(MSWDIR)/menu.$(OBJSUFF) \
187 $(MSWDIR)/menuitem.$(OBJSUFF) \
188 $(MSWDIR)/metafile.$(OBJSUFF) \
189 $(MSWDIR)/minifram.$(OBJSUFF) \
190 $(MSWDIR)/msgdlg.$(OBJSUFF) \
191 $(MSWDIR)/nativdlg.$(OBJSUFF) \
192 $(MSWDIR)/notebook.$(OBJSUFF) \
193 $(MSWDIR)/ownerdrw.$(OBJSUFF) \
194 $(MSWDIR)/palette.$(OBJSUFF) \
195 $(MSWDIR)/pen.$(OBJSUFF) \
196 $(MSWDIR)/penwin.$(OBJSUFF) \
197 $(MSWDIR)/pnghand.$(OBJSUFF) \
198 $(MSWDIR)/printdlg.$(OBJSUFF) \
199 $(MSWDIR)/printwin.$(OBJSUFF) \
200 $(MSWDIR)/radiobox.$(OBJSUFF) \
201 $(MSWDIR)/radiobut.$(OBJSUFF) \
202 $(MSWDIR)/regconf.$(OBJSUFF) \
203 $(MSWDIR)/region.$(OBJSUFF) \
204 $(MSWDIR)/registry.$(OBJSUFF) \
205 $(MSWDIR)/scrolbar.$(OBJSUFF) \
206 $(MSWDIR)/settings.$(OBJSUFF) \
207 $(MSWDIR)/slider95.$(OBJSUFF) \
208 $(MSWDIR)/spinbutt.$(OBJSUFF) \
209 $(MSWDIR)/statbmp.$(OBJSUFF) \
210 $(MSWDIR)/statbox.$(OBJSUFF) \
211 $(MSWDIR)/statbr95.$(OBJSUFF) \
212 $(MSWDIR)/statline.$(OBJSUFF) \
213 $(MSWDIR)/stattext.$(OBJSUFF) \
214 $(MSWDIR)/tabctrl.$(OBJSUFF) \
215 $(MSWDIR)/taskbar.$(OBJSUFF) \
216 $(MSWDIR)/tbar95.$(OBJSUFF) \
217 $(MSWDIR)/textctrl.$(OBJSUFF) \
218 $(MSWDIR)/thread.$(OBJSUFF) \
219 $(MSWDIR)/timer.$(OBJSUFF) \
220 $(MSWDIR)/tooltip.$(OBJSUFF) \
221 $(MSWDIR)/treectrl.$(OBJSUFF) \
222 $(MSWDIR)/utils.$(OBJSUFF) \
223 $(MSWDIR)/utilsexc.$(OBJSUFF) \
224 $(MSWDIR)/wave.$(OBJSUFF) \
225 $(MSWDIR)/window.$(OBJSUFF) \
226 $(MSWDIR)/xpmhand.$(OBJSUFF)
229 $(ZLIBDIR)/adler32.$(OBJSUFF) \
230 $(ZLIBDIR)/compress.$(OBJSUFF) \
231 $(ZLIBDIR)/crc32.$(OBJSUFF) \
232 $(ZLIBDIR)/gzio.$(OBJSUFF) \
233 $(ZLIBDIR)/uncompr.$(OBJSUFF) \
234 $(ZLIBDIR)/deflate.$(OBJSUFF) \
235 $(ZLIBDIR)/trees.$(OBJSUFF) \
236 $(ZLIBDIR)/zutil.$(OBJSUFF) \
237 $(ZLIBDIR)/inflate.$(OBJSUFF) \
238 $(ZLIBDIR)/infblock.$(OBJSUFF) \
239 $(ZLIBDIR)/inftrees.$(OBJSUFF) \
240 $(ZLIBDIR)/infcodes.$(OBJSUFF) \
241 $(ZLIBDIR)/infutil.$(OBJSUFF) \
242 $(ZLIBDIR)/inffast.$(OBJSUFF)
245 $(PNGDIR)/png.$(OBJSUFF) \
246 $(PNGDIR)/pngread.$(OBJSUFF) \
247 $(PNGDIR)/pngrtran.$(OBJSUFF) \
248 $(PNGDIR)/pngrutil.$(OBJSUFF) \
249 $(PNGDIR)/pngpread.$(OBJSUFF) \
250 $(PNGDIR)/pngtrans.$(OBJSUFF) \
251 $(PNGDIR)/pngwrite.$(OBJSUFF) \
252 $(PNGDIR)/pngwtran.$(OBJSUFF) \
253 $(PNGDIR)/pngwutil.$(OBJSUFF) \
254 $(PNGDIR)/pngerror.$(OBJSUFF) \
255 $(PNGDIR)/pngmem.$(OBJSUFF) \
256 $(PNGDIR)/pngwio.$(OBJSUFF) \
257 $(PNGDIR)/pngrio.$(OBJSUFF) \
258 $(PNGDIR)/pngget.$(OBJSUFF) \
259 $(PNGDIR)/pngset.$(OBJSUFF)
263 $(JPEGDIR)/jcomapi.$(OBJSUFF) \
264 $(JPEGDIR)/jutils.$(OBJSUFF) \
265 $(JPEGDIR)/jerror.$(OBJSUFF) \
266 $(JPEGDIR)/jmemmgr.$(OBJSUFF) \
267 $(JPEGDIR)/jmemnobs.$(OBJSUFF) \
268 $(JPEGDIR)/jcapimin.$(OBJSUFF) \
269 $(JPEGDIR)/jcapistd.$(OBJSUFF) \
270 $(JPEGDIR)/jctrans.$(OBJSUFF) \
271 $(JPEGDIR)/jcparam.$(OBJSUFF) \
272 $(JPEGDIR)/jdatadst.$(OBJSUFF) \
273 $(JPEGDIR)/jcinit.$(OBJSUFF) \
274 $(JPEGDIR)/jcmaster.$(OBJSUFF) \
275 $(JPEGDIR)/jcmarker.$(OBJSUFF) \
276 $(JPEGDIR)/jcmainct.$(OBJSUFF) \
277 $(JPEGDIR)/jcprepct.$(OBJSUFF) \
278 $(JPEGDIR)/jccoefct.$(OBJSUFF) \
279 $(JPEGDIR)/jccolor.$(OBJSUFF) \
280 $(JPEGDIR)/jcsample.$(OBJSUFF) \
281 $(JPEGDIR)/jchuff.$(OBJSUFF) \
282 $(JPEGDIR)/jcphuff.$(OBJSUFF) \
283 $(JPEGDIR)/jcdctmgr.$(OBJSUFF) \
284 $(JPEGDIR)/jfdctfst.$(OBJSUFF) \
285 $(JPEGDIR)/jfdctflt.$(OBJSUFF) \
286 $(JPEGDIR)/jfdctint.$(OBJSUFF) \
287 $(JPEGDIR)/jdapimin.$(OBJSUFF) \
288 $(JPEGDIR)/jdapistd.$(OBJSUFF) \
289 $(JPEGDIR)/jdtrans.$(OBJSUFF) \
290 $(JPEGDIR)/jdatasrc.$(OBJSUFF) \
291 $(JPEGDIR)/jdmaster.$(OBJSUFF) \
292 $(JPEGDIR)/jdinput.$(OBJSUFF) \
293 $(JPEGDIR)/jdmarker.$(OBJSUFF) \
294 $(JPEGDIR)/jdhuff.$(OBJSUFF) \
295 $(JPEGDIR)/jdphuff.$(OBJSUFF) \
296 $(JPEGDIR)/jdmainct.$(OBJSUFF) \
297 $(JPEGDIR)/jdcoefct.$(OBJSUFF) \
298 $(JPEGDIR)/jdpostct.$(OBJSUFF) \
299 $(JPEGDIR)/jddctmgr.$(OBJSUFF) \
300 $(JPEGDIR)/jidctfst.$(OBJSUFF) \
301 $(JPEGDIR)/jidctflt.$(OBJSUFF) \
302 $(JPEGDIR)/jidctint.$(OBJSUFF) \
303 $(JPEGDIR)/jidctred.$(OBJSUFF) \
304 $(JPEGDIR)/jdsample.$(OBJSUFF) \
305 $(JPEGDIR)/jdcolor.$(OBJSUFF) \
306 $(JPEGDIR)/jquant1.$(OBJSUFF) \
307 $(JPEGDIR)/jquant2.$(OBJSUFF) \
308 $(JPEGDIR)/jdmerge.$(OBJSUFF)
310 XPMOBJECTS = $(XPMDIR)/crbuffri.o\
311 $(XPMDIR)/crdatfri.o\
312 $(XPMDIR)/create.o $(XPMDIR)/crifrbuf.o\
313 $(XPMDIR)/crifrdat.o\
315 $(XPMDIR)/hashtab.o $(XPMDIR)/misc.o\
316 $(XPMDIR)/parse.o $(XPMDIR)/rdftodat.o\
318 $(XPMDIR)/rgb.o $(XPMDIR)/scan.o\
319 $(XPMDIR)/simx.o $(XPMDIR)/wrffrdat.o\
320 $(XPMDIR)/wrffrp.o $(XPMDIR)/wrffri.o
322 OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) \
323 $(JPEGOBJS) $(PNGOBJS) $(ZLIBOBJS) # $(XPMOBJECTS)
325 all: $(OBJECTS) $(WXLIB)
327 $(WXLIB): $(OBJECTS) $(EXTRAOBJS)
328 ar $(AROPTIONS) $@ $(EXTRAOBJS) $(OBJECTS)
331 $(OBJECTS): $(WXINC)/wx/defs.h $(WXINC)/wx/object.h $(WXINC)/wx/setup.h
333 $(COMMDIR)/y_tab.$(OBJSUFF): $(COMMDIR)/y_tab.c $(COMMDIR)/lex_yy.c
334 $(CCLEX) -c $(CPPFLAGS) -DUSE_DEFINE -DYY_USE_PROTOS -o $@ $(COMMDIR)/y_tab.c
336 $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c
337 copy ..\common\dosyacc.c ..\common\y_tab.c
339 $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
340 copy ..\common\doslex.c ..\common\lex_yy.c
342 # Replace lex with flex if you run into compilation
343 # problems with lex_yy.c. See also note about LEX_SCANNER
345 # $(COMMDIR)/lex_yy.c: $(COMMDIR)/lexer.l
346 # $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l
348 # Try one of these if the above line doesn't work.
349 # Alternative syntax (1)
350 # $(LEX) -t -L $(COMMDIR)/lexer.l > $(COMMDIR)/lex_yy.c
351 # Alternative syntax (2)
352 # $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l
354 # sed -e "s/BUFSIZ/5000/g" < lex.yy.c | \
355 # sed -e "s/yyoutput(c)/void yyoutput(c)/g" | \
356 # sed -e "s/YYLMAX 200/YYLMAX 5000/g" > lex_yy.c
359 # Replace yacc with bison if you run into compilation
360 # problems with y_tab.c.
362 # $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y
363 # $(YACC) -o $(COMMDIR)/y_tab.c $(COMMDIR)/parser.y
365 # If you use e.g. gcc on Unix, uncomment these lines
366 # and comment out the above.
368 # $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y
369 # $(YACC) $(COMMDIR)/parser.y
370 # mv y.tab.c $(COMMDIR)/y_tab.c
375 -erase ..\common\y_tab.c
376 -erase ..\common\lex_yy.c
378 -erase ..\generic\*.o
383 -erase ..\..\lib\libwx$(GUISUFFIX).a
388 makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
389 cd $(WXWIN)\distrib\msw\tmake
390 tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
391 copy makefile.$(MFTYPE) $(WXWIN)\src\msw