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