3 # This file was automatically generated by tmake at 00:42, 1999/07/27
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 XPMDIR = $(WXDIR)/src/xpm
31 PNGDIR = $(WXDIR)/src/png
32 JPEGDIR = $(WXDIR)/src/jpeg
33 ZLIBDIR = $(WXDIR)/src/zlib
34 OLEDIR = $(WXDIR)/src/msw/ole
35 MSWDIR = $(WXDIR)/src/msw
37 DOCDIR = $(WXDIR)\docs
40 $(GENDIR)/busyinfo.$(OBJSUFF) \
41 $(GENDIR)/choicdgg.$(OBJSUFF) \
42 $(GENDIR)/dirdlgg.$(OBJSUFF) \
43 $(GENDIR)/extdlgg.$(OBJSUFF) \
44 $(GENDIR)/gridg.$(OBJSUFF) \
45 $(GENDIR)/laywin.$(OBJSUFF) \
46 $(GENDIR)/numdlgg.$(OBJSUFF) \
47 $(GENDIR)/panelg.$(OBJSUFF) \
48 $(GENDIR)/progdlgg.$(OBJSUFF) \
49 $(GENDIR)/prop.$(OBJSUFF) \
50 $(GENDIR)/propform.$(OBJSUFF) \
51 $(GENDIR)/proplist.$(OBJSUFF) \
52 $(GENDIR)/sashwin.$(OBJSUFF) \
53 $(GENDIR)/scrolwin.$(OBJSUFF) \
54 $(GENDIR)/splitter.$(OBJSUFF) \
55 $(GENDIR)/statusbr.$(OBJSUFF) \
56 $(GENDIR)/tabg.$(OBJSUFF) \
57 $(GENDIR)/textdlgg.$(OBJSUFF) \
58 $(GENDIR)/tipdlg.$(OBJSUFF)
61 $(COMMDIR)/y_tab.$(OBJSUFF) \
62 $(COMMDIR)/choiccmn.$(OBJSUFF) \
63 $(COMMDIR)/cmndata.$(OBJSUFF) \
64 $(COMMDIR)/config.$(OBJSUFF) \
65 $(COMMDIR)/ctrlcmn.$(OBJSUFF) \
66 $(COMMDIR)/date.$(OBJSUFF) \
67 $(COMMDIR)/datstrm.$(OBJSUFF) \
68 $(COMMDIR)/db.$(OBJSUFF) \
69 $(COMMDIR)/dbtable.$(OBJSUFF) \
70 $(COMMDIR)/dcbase.$(OBJSUFF) \
71 $(COMMDIR)/dlgcmn.$(OBJSUFF) \
72 $(COMMDIR)/docmdi.$(OBJSUFF) \
73 $(COMMDIR)/docview.$(OBJSUFF) \
74 $(COMMDIR)/dynarray.$(OBJSUFF) \
75 $(COMMDIR)/dynlib.$(OBJSUFF) \
76 $(COMMDIR)/event.$(OBJSUFF) \
77 $(COMMDIR)/extended.$(OBJSUFF) \
78 $(COMMDIR)/ffile.$(OBJSUFF) \
79 $(COMMDIR)/file.$(OBJSUFF) \
80 $(COMMDIR)/fileconf.$(OBJSUFF) \
81 $(COMMDIR)/filefn.$(OBJSUFF) \
82 $(COMMDIR)/filesys.$(OBJSUFF) \
83 $(COMMDIR)/framecmn.$(OBJSUFF) \
84 $(COMMDIR)/fs_inet.$(OBJSUFF) \
85 $(COMMDIR)/fs_zip.$(OBJSUFF) \
86 $(COMMDIR)/ftp.$(OBJSUFF) \
87 $(COMMDIR)/gdicmn.$(OBJSUFF) \
88 $(COMMDIR)/hash.$(OBJSUFF) \
89 $(COMMDIR)/helpbase.$(OBJSUFF) \
90 $(COMMDIR)/http.$(OBJSUFF) \
91 $(COMMDIR)/imagbmp.$(OBJSUFF) \
92 $(COMMDIR)/image.$(OBJSUFF) \
93 $(COMMDIR)/imaggif.$(OBJSUFF) \
94 $(COMMDIR)/imagjpeg.$(OBJSUFF) \
95 $(COMMDIR)/imagpng.$(OBJSUFF) \
96 $(COMMDIR)/intl.$(OBJSUFF) \
97 $(COMMDIR)/ipcbase.$(OBJSUFF) \
98 $(COMMDIR)/layout.$(OBJSUFF) \
99 $(COMMDIR)/list.$(OBJSUFF) \
100 $(COMMDIR)/log.$(OBJSUFF) \
101 $(COMMDIR)/memory.$(OBJSUFF) \
102 $(COMMDIR)/mimetype.$(OBJSUFF) \
103 $(COMMDIR)/module.$(OBJSUFF) \
104 $(COMMDIR)/mstream.$(OBJSUFF) \
105 $(COMMDIR)/object.$(OBJSUFF) \
106 $(COMMDIR)/objstrm.$(OBJSUFF) \
107 $(COMMDIR)/paper.$(OBJSUFF) \
108 $(COMMDIR)/prntbase.$(OBJSUFF) \
109 $(COMMDIR)/process.$(OBJSUFF) \
110 $(COMMDIR)/protocol.$(OBJSUFF) \
111 $(COMMDIR)/resource.$(OBJSUFF) \
112 $(COMMDIR)/sckaddr.$(OBJSUFF) \
113 $(COMMDIR)/sckfile.$(OBJSUFF) \
114 $(COMMDIR)/sckipc.$(OBJSUFF) \
115 $(COMMDIR)/sckstrm.$(OBJSUFF) \
116 $(COMMDIR)/socket.$(OBJSUFF) \
117 $(COMMDIR)/stream.$(OBJSUFF) \
118 $(COMMDIR)/string.$(OBJSUFF) \
119 $(COMMDIR)/tbarbase.$(OBJSUFF) \
120 $(COMMDIR)/textcmn.$(OBJSUFF) \
121 $(COMMDIR)/textfile.$(OBJSUFF) \
122 $(COMMDIR)/time.$(OBJSUFF) \
123 $(COMMDIR)/timercmn.$(OBJSUFF) \
124 $(COMMDIR)/tokenzr.$(OBJSUFF) \
125 $(COMMDIR)/txtstrm.$(OBJSUFF) \
126 $(COMMDIR)/unzip.$(OBJSUFF) \
127 $(COMMDIR)/url.$(OBJSUFF) \
128 $(COMMDIR)/utilscmn.$(OBJSUFF) \
129 $(COMMDIR)/valgen.$(OBJSUFF) \
130 $(COMMDIR)/validate.$(OBJSUFF) \
131 $(COMMDIR)/valtext.$(OBJSUFF) \
132 $(COMMDIR)/variant.$(OBJSUFF) \
133 $(COMMDIR)/wfstream.$(OBJSUFF) \
134 $(COMMDIR)/wincmn.$(OBJSUFF) \
135 $(COMMDIR)/wxchar.$(OBJSUFF) \
136 $(COMMDIR)/wxexpr.$(OBJSUFF) \
137 $(COMMDIR)/zipstream.$(OBJSUFF) \
138 $(COMMDIR)/zstream.$(OBJSUFF)
144 bmpbuttn.$(OBJSUFF) \
148 checkbox.$(OBJSUFF) \
149 checklst.$(OBJSUFF) \
152 colordlg.$(OBJSUFF) \
154 combobox.$(OBJSUFF) \
160 dcclient.$(OBJSUFF) \
161 dcmemory.$(OBJSUFF) \
163 dcscreen.$(OBJSUFF) \
167 dibutils.$(OBJSUFF) \
168 dragimag.$(OBJSUFF) \
177 imaglist.$(OBJSUFF) \
178 joystick.$(OBJSUFF) \
180 listctrl.$(OBJSUFF) \
184 menuitem.$(OBJSUFF) \
185 metafile.$(OBJSUFF) \
186 minifram.$(OBJSUFF) \
188 nativdlg.$(OBJSUFF) \
189 notebook.$(OBJSUFF) \
190 ownerdrw.$(OBJSUFF) \
195 printdlg.$(OBJSUFF) \
196 printwin.$(OBJSUFF) \
197 radiobox.$(OBJSUFF) \
198 radiobut.$(OBJSUFF) \
201 registry.$(OBJSUFF) \
202 scrolbar.$(OBJSUFF) \
203 settings.$(OBJSUFF) \
204 slider95.$(OBJSUFF) \
205 spinbutt.$(OBJSUFF) \
208 statbr95.$(OBJSUFF) \
209 statline.$(OBJSUFF) \
210 stattext.$(OBJSUFF) \
214 textctrl.$(OBJSUFF) \
218 treectrl.$(OBJSUFF) \
220 utilsexc.$(OBJSUFF) \
226 $(ZLIBDIR)/adler32.$(OBJSUFF) \
227 $(ZLIBDIR)/compress.$(OBJSUFF) \
228 $(ZLIBDIR)/crc32.$(OBJSUFF) \
229 $(ZLIBDIR)/gzio.$(OBJSUFF) \
230 $(ZLIBDIR)/uncompr.$(OBJSUFF) \
231 $(ZLIBDIR)/deflate.$(OBJSUFF) \
232 $(ZLIBDIR)/trees.$(OBJSUFF) \
233 $(ZLIBDIR)/zutil.$(OBJSUFF) \
234 $(ZLIBDIR)/inflate.$(OBJSUFF) \
235 $(ZLIBDIR)/infblock.$(OBJSUFF) \
236 $(ZLIBDIR)/inftrees.$(OBJSUFF) \
237 $(ZLIBDIR)/infcodes.$(OBJSUFF) \
238 $(ZLIBDIR)/infutil.$(OBJSUFF) \
239 $(ZLIBDIR)/inffast.$(OBJSUFF)
242 $(PNGDIR)/png.$(OBJSUFF) \
243 $(PNGDIR)/pngread.$(OBJSUFF) \
244 $(PNGDIR)/pngrtran.$(OBJSUFF) \
245 $(PNGDIR)/pngrutil.$(OBJSUFF) \
246 $(PNGDIR)/pngpread.$(OBJSUFF) \
247 $(PNGDIR)/pngtrans.$(OBJSUFF) \
248 $(PNGDIR)/pngwrite.$(OBJSUFF) \
249 $(PNGDIR)/pngwtran.$(OBJSUFF) \
250 $(PNGDIR)/pngwutil.$(OBJSUFF) \
251 $(PNGDIR)/pngerror.$(OBJSUFF) \
252 $(PNGDIR)/pngmem.$(OBJSUFF) \
253 $(PNGDIR)/pngwio.$(OBJSUFF) \
254 $(PNGDIR)/pngrio.$(OBJSUFF) \
255 $(PNGDIR)/pngget.$(OBJSUFF) \
256 $(PNGDIR)/pngset.$(OBJSUFF)
260 $(JPEGDIR)/jcomapi.$(OBJSUFF) \
261 $(JPEGDIR)/jutils.$(OBJSUFF) \
262 $(JPEGDIR)/jerror.$(OBJSUFF) \
263 $(JPEGDIR)/jmemmgr.$(OBJSUFF) \
264 $(JPEGDIR)/jmemnobs.$(OBJSUFF) \
265 $(JPEGDIR)/jcapimin.$(OBJSUFF) \
266 $(JPEGDIR)/jcapistd.$(OBJSUFF) \
267 $(JPEGDIR)/jctrans.$(OBJSUFF) \
268 $(JPEGDIR)/jcparam.$(OBJSUFF) \
269 $(JPEGDIR)/jdatadst.$(OBJSUFF) \
270 $(JPEGDIR)/jcinit.$(OBJSUFF) \
271 $(JPEGDIR)/jcmaster.$(OBJSUFF) \
272 $(JPEGDIR)/jcmarker.$(OBJSUFF) \
273 $(JPEGDIR)/jcmainct.$(OBJSUFF) \
274 $(JPEGDIR)/jcprepct.$(OBJSUFF) \
275 $(JPEGDIR)/jccoefct.$(OBJSUFF) \
276 $(JPEGDIR)/jccolor.$(OBJSUFF) \
277 $(JPEGDIR)/jcsample.$(OBJSUFF) \
278 $(JPEGDIR)/jchuff.$(OBJSUFF) \
279 $(JPEGDIR)/jcphuff.$(OBJSUFF) \
280 $(JPEGDIR)/jcdctmgr.$(OBJSUFF) \
281 $(JPEGDIR)/jfdctfst.$(OBJSUFF) \
282 $(JPEGDIR)/jfdctflt.$(OBJSUFF) \
283 $(JPEGDIR)/jfdctint.$(OBJSUFF) \
284 $(JPEGDIR)/jdapimin.$(OBJSUFF) \
285 $(JPEGDIR)/jdapistd.$(OBJSUFF) \
286 $(JPEGDIR)/jdtrans.$(OBJSUFF) \
287 $(JPEGDIR)/jdatasrc.$(OBJSUFF) \
288 $(JPEGDIR)/jdmaster.$(OBJSUFF) \
289 $(JPEGDIR)/jdinput.$(OBJSUFF) \
290 $(JPEGDIR)/jdmarker.$(OBJSUFF) \
291 $(JPEGDIR)/jdhuff.$(OBJSUFF) \
292 $(JPEGDIR)/jdphuff.$(OBJSUFF) \
293 $(JPEGDIR)/jdmainct.$(OBJSUFF) \
294 $(JPEGDIR)/jdcoefct.$(OBJSUFF) \
295 $(JPEGDIR)/jdpostct.$(OBJSUFF) \
296 $(JPEGDIR)/jddctmgr.$(OBJSUFF) \
297 $(JPEGDIR)/jidctfst.$(OBJSUFF) \
298 $(JPEGDIR)/jidctflt.$(OBJSUFF) \
299 $(JPEGDIR)/jidctint.$(OBJSUFF) \
300 $(JPEGDIR)/jidctred.$(OBJSUFF) \
301 $(JPEGDIR)/jdsample.$(OBJSUFF) \
302 $(JPEGDIR)/jdcolor.$(OBJSUFF) \
303 $(JPEGDIR)/jquant1.$(OBJSUFF) \
304 $(JPEGDIR)/jquant2.$(OBJSUFF) \
305 $(JPEGDIR)/jdmerge.$(OBJSUFF)
307 XPMOBJECTS = $(XPMDIR)/crbuffri.o\
308 $(XPMDIR)/crdatfri.o\
309 $(XPMDIR)/create.o $(XPMDIR)/crifrbuf.o\
310 $(XPMDIR)/crifrdat.o\
312 $(XPMDIR)/hashtab.o $(XPMDIR)/misc.o\
313 $(XPMDIR)/parse.o $(XPMDIR)/rdftodat.o\
315 $(XPMDIR)/rgb.o $(XPMDIR)/scan.o\
316 $(XPMDIR)/simx.o $(XPMDIR)/wrffrdat.o\
317 $(XPMDIR)/wrffrp.o $(XPMDIR)/wrffri.o
319 OBJECTS = $(MSWOBJS) $(COMMONOBJS) $(GENERICOBJS) \
320 $(JPEGOBJS) $(PNGOBJS) $(ZLIBOBJS) # $(XPMOBJECTS)
322 all: $(OBJECTS) $(WXLIB)
324 $(WXLIB): $(OBJECTS) $(EXTRAOBJS)
325 ar $(AROPTIONS) $@ $(EXTRAOBJS) $(OBJECTS)
328 $(OBJECTS): $(WXINC)/wx/defs.h $(WXINC)/wx/object.h $(WXINC)/wx/setup.h
330 $(COMMDIR)/y_tab.$(OBJSUFF): $(COMMDIR)/y_tab.c $(COMMDIR)/lex_yy.c
331 $(CCLEX) -c $(CPPFLAGS) -DUSE_DEFINE -DYY_USE_PROTOS -o $@ $(COMMDIR)/y_tab.c
333 $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c
334 copy ..\common\dosyacc.c ..\common\y_tab.c
336 $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c
337 copy ..\common\doslex.c ..\common\lex_yy.c
339 # Replace lex with flex if you run into compilation
340 # problems with lex_yy.c. See also note about LEX_SCANNER
342 # $(COMMDIR)/lex_yy.c: $(COMMDIR)/lexer.l
343 # $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l
345 # Try one of these if the above line doesn't work.
346 # Alternative syntax (1)
347 # $(LEX) -t -L $(COMMDIR)/lexer.l > $(COMMDIR)/lex_yy.c
348 # Alternative syntax (2)
349 # $(LEX) -L -o$(COMMDIR)/lex_yy.c $(COMMDIR)/lexer.l
351 # sed -e "s/BUFSIZ/5000/g" < lex.yy.c | \
352 # sed -e "s/yyoutput(c)/void yyoutput(c)/g" | \
353 # sed -e "s/YYLMAX 200/YYLMAX 5000/g" > lex_yy.c
356 # Replace yacc with bison if you run into compilation
357 # problems with y_tab.c.
359 # $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y
360 # $(YACC) -o $(COMMDIR)/y_tab.c $(COMMDIR)/parser.y
362 # If you use e.g. gcc on Unix, uncomment these lines
363 # and comment out the above.
365 # $(COMMDIR)/y_tab.c: $(COMMDIR)/parser.y
366 # $(YACC) $(COMMDIR)/parser.y
367 # mv y.tab.c $(COMMDIR)/y_tab.c
372 -erase ..\common\y_tab.c
373 -erase ..\common\lex_yy.c
375 -erase ..\generic\*.o
379 -erase ..\..\lib\libwx$(GUISUFFIX).a
384 makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
385 cd $(WXWIN)\distrib\msw\tmake
386 tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
387 copy makefile.$(MFTYPE) $(WXWIN)\src\msw