]>
Commit | Line | Data |
---|---|---|
f56b8330 RR |
1 | |
2 | # This file was automatically generated by tmake at 23:03, 1999/07/29 | |
3 | # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE UNX.T! | |
4 | ||
5 | # | |
6 | # File: makefile.unx | |
7 | # Author: Julian Smart, Robert Roebling, Vadim Zeitlin | |
8 | # Created: 1993 | |
9 | # Updated: 1999 | |
10 | # Copyright:(c) 1993, AIAI, University of Edinburgh, | |
11 | # Copyright:(c) 1999, Vadim Zeitlin | |
12 | # Copyright:(c) 1999, Robert Roebling | |
13 | # | |
14 | # Makefile for libwx_gtk.a, libwx_motif.a and libwx_msw.a | |
15 | ||
16 | ########################### VERSION ################################# | |
17 | ||
18 | LIBS = @LIBS@ | |
19 | ||
20 | TOOLKIT = @TOOLKIT@ | |
21 | ||
22 | WXLIB = @WX_LIBRARY@ | |
23 | ||
24 | ########################### VERSION ################################# | |
25 | ||
26 | WX_MAJOR_VERSION_NUMBER = @WX_MAJOR_VERSION_NUMBER@ | |
27 | WX_MINOR_VERSION_NUMBER = @WX_MINOR_VERSION_NUMBER@ | |
28 | WX_RELEASE_NUMBER = @WX_RELEASE_NUMBER@ | |
29 | ||
30 | ########################### Misc ################################# | |
31 | ||
32 | SHELL = @SHELL@ | |
33 | ||
34 | ########################### Paths ################################# | |
35 | ||
36 | srcdir = @srcdir@/src/gtk | |
37 | ||
38 | top_srcdir = @top_srcdir@ | |
39 | prefix = @prefix@ | |
40 | exec_prefix = @exec_prefix@ | |
41 | ||
42 | bindir = @bindir@ | |
43 | sbindir = @sbindir@ | |
44 | libexecdir = @libexecdir@ | |
45 | datadir = @datadir@ | |
46 | sysconfdir = @sysconfdir@ | |
47 | sharedstatedir = @sharedstatedir@ | |
48 | localstatedir = @localstatedir@ | |
49 | libdir = @libdir@ | |
50 | infodir = @infodir@ | |
51 | mandir = @mandir@ | |
52 | includedir = @includedir@ | |
53 | oldincludedir = /usr/include | |
54 | ||
55 | DESTDIR = | |
56 | ||
57 | pkgdatadir = $(datadir)/@PACKAGE@ | |
58 | pkglibdir = $(libdir)/@PACKAGE@ | |
59 | pkgincludedir = $(includedir)/@PACKAGE@ | |
60 | ||
61 | top_builddir = . | |
62 | ||
63 | INSTALL = @INSTALL@ | |
64 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
65 | INSTALL_DATA = @INSTALL_DATA@ | |
66 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
67 | transform = @program_transform_name@ | |
68 | ||
69 | NORMAL_INSTALL = : | |
70 | PRE_INSTALL = : | |
71 | POST_INSTALL = : | |
72 | NORMAL_UNINSTALL = : | |
73 | PRE_UNINSTALL = : | |
74 | POST_UNINSTALL = : | |
75 | build_alias = @build_alias@ | |
76 | build_triplet = @build@ | |
77 | host_alias = @host_alias@ | |
78 | host_triplet = @host@ | |
79 | target_alias = @target_alias@ | |
80 | target_triplet = @target@ | |
81 | ||
82 | EXTRA_VPATH = @EXTRA_VPATH_MF@ | |
83 | ||
84 | VPATH = .:${srcdir}:${srcdir}/src/common:${srcdir}/src/generic:${srcdir}/src/html:${EXTRA_VPATH} | |
85 | ||
86 | ########################### Programs ################################# | |
87 | ||
88 | # C++ compiler | |
89 | CC = @CXX@ | |
90 | CCPP = @CXXCPP@ | |
91 | ||
92 | # C compiler | |
93 | CCC = @CC@ | |
94 | CCCPP = @CPP@ | |
95 | ||
96 | # Compiler for lex/yacc .c programs | |
97 | CCLEX = @CC@ | |
98 | ||
99 | LEX = @LEX@ | |
100 | YACC = @YACC@ | |
101 | AR = @AR@ | |
102 | AS = @AS@ | |
103 | NM = @NM@ | |
104 | LN_S = @LN_S@ | |
105 | STRIP = @STRIP@ | |
106 | MAKE = make | |
107 | AROPTIONS = ruv | |
108 | RANLIB = @RANLIB@ | |
109 | LD = @LD@ | |
110 | MAKEINFO = @MAKEINFO@ | |
111 | ||
112 | ########################### Flags ################################# | |
113 | ||
114 | CFLAGS = @TOOLKIT_DEF@ @WXDEBUG_DEFINE@ @CFLAGS@ | |
115 | CPPFLAGS = @TOOLKIT_DEF@ @WXDEBUG_DEFINE@ @CXXFLAGS@ | |
116 | ||
117 | ########################### Rules ################################# | |
118 | ||
119 | # Clears all default suffixes | |
120 | .SUFFIXES: .o .cpp .c | |
121 | ||
122 | .c.o : | |
123 | $(CCC) -c $(CFLAGS) -o $@ $< | |
124 | ||
125 | .cpp.o : | |
126 | $(CC) -c $(CPPFLAGS) -o $@ $< | |
127 | ||
128 | ########################### Files ################################# | |
129 | ||
130 | WXDIR = $(srcdir)/../.. | |
131 | ||
132 | # Subordinate library possibilities | |
133 | ||
134 | GENDIR = $(WXDIR)/src/generic | |
135 | COMMDIR = $(WXDIR)/src/common | |
136 | HTMLDIR = $(WXDIR)/src/html | |
137 | UNIXDIR = $(WXDIR)/src/unix | |
138 | PNGDIR = $(WXDIR)/src/png | |
139 | JPEGDIR = $(WXDIR)/src/jpeg | |
140 | ZLIBDIR = $(WXDIR)/src/zlib | |
141 | GTKDIR = $(WXDIR)/src/gtk | |
142 | ||
143 | DOCDIR = $(WXDIR)\docs | |
144 | ||
145 | GENERICOBJS = \ | |
146 | busyinfo.o \ | |
147 | caret.o \ | |
148 | colrdlgg.o \ | |
149 | dirdlgg.o \ | |
150 | extdlgg.o \ | |
151 | fontdlgg.o \ | |
152 | gridg.o \ | |
153 | imaglist.o \ | |
154 | laywin.o \ | |
155 | listctrl.o \ | |
156 | numdlgg.o \ | |
157 | panelg.o \ | |
158 | printps.o \ | |
159 | prntdlgg.o \ | |
160 | progdlgg.o \ | |
161 | prop.o \ | |
162 | propform.o \ | |
163 | proplist.o \ | |
164 | sashwin.o \ | |
165 | scrolwin.o \ | |
166 | splitter.o \ | |
167 | statusbr.o \ | |
168 | tipdlg.o \ | |
169 | treectrl.o | |
170 | ||
171 | COMMONOBJS = \ | |
172 | parser.o \ | |
173 | cmndata.o \ | |
174 | config.o \ | |
175 | date.o \ | |
176 | datstrm.o \ | |
177 | db.o \ | |
178 | dbtable.o \ | |
179 | dcbase.o \ | |
180 | dlgcmn.o \ | |
181 | docmdi.o \ | |
182 | docview.o \ | |
183 | dynarray.o \ | |
184 | dynlib.o \ | |
185 | event.o \ | |
186 | extended.o \ | |
187 | ffile.o \ | |
188 | file.o \ | |
189 | fileconf.o \ | |
190 | filefn.o \ | |
191 | filesys.o \ | |
192 | framecmn.o \ | |
193 | fs_inet.o \ | |
194 | fs_zip.o \ | |
195 | ftp.o \ | |
196 | gdicmn.o \ | |
197 | hash.o \ | |
198 | helpbase.o \ | |
199 | http.o \ | |
200 | imagbmp.o \ | |
201 | image.o \ | |
202 | imaggif.o \ | |
203 | imagjpeg.o \ | |
204 | imagpng.o \ | |
205 | intl.o \ | |
206 | ipcbase.o \ | |
207 | layout.o \ | |
208 | list.o \ | |
209 | log.o \ | |
210 | memory.o \ | |
211 | mimetype.o \ | |
212 | module.o \ | |
213 | mstream.o \ | |
214 | object.o \ | |
215 | objstrm.o \ | |
216 | paper.o \ | |
217 | prntbase.o \ | |
218 | process.o \ | |
219 | protocol.o \ | |
220 | resource.o \ | |
221 | sckaddr.o \ | |
222 | sckfile.o \ | |
223 | sckipc.o \ | |
224 | sckstrm.o \ | |
225 | socket.o \ | |
226 | stream.o \ | |
227 | string.o \ | |
228 | tbarbase.o \ | |
229 | tbarsmpl.o \ | |
230 | textcmn.o \ | |
231 | textfile.o \ | |
232 | time.o \ | |
233 | timercmn.o \ | |
234 | tokenzr.o \ | |
235 | txtstrm.o \ | |
236 | unzip.o \ | |
237 | url.o \ | |
238 | utilscmn.o \ | |
239 | valgen.o \ | |
240 | validate.o \ | |
241 | valtext.o \ | |
242 | variant.o \ | |
243 | wfstream.o \ | |
244 | wincmn.o \ | |
245 | wxchar.o \ | |
246 | wxexpr.o \ | |
247 | zipstream.o \ | |
248 | zstream.o | |
249 | ||
250 | HTMLOBJS = \ | |
251 | htmlcell.o \ | |
252 | htmlfilter.o \ | |
253 | htmlhelp.o \ | |
254 | htmlhelp_io.o \ | |
255 | htmlparser.o \ | |
256 | htmltag.o \ | |
257 | htmlwin.o \ | |
258 | htmlwinparser.o \ | |
259 | mod_fonts.o \ | |
260 | mod_hline.o \ | |
261 | mod_image.o \ | |
262 | mod_layout.o \ | |
263 | mod_links.cpp \ | |
264 | mod_list.o \ | |
265 | mod_pre.o \ | |
266 | mod_tables.o \ | |
267 | search.o | |
268 | ||
269 | GTKOBJS = \ | |
270 | accel.o \ | |
271 | app.o \ | |
272 | bitmap.o \ | |
273 | bmpbuttn.o \ | |
274 | brush.o \ | |
275 | button.o \ | |
276 | checkbox.o \ | |
277 | checklst.o \ | |
278 | choicdlg.o \ | |
279 | choice.o \ | |
280 | clipbrd.o \ | |
281 | colour.o \ | |
282 | combobox.o \ | |
283 | control.o \ | |
284 | cursor.o \ | |
285 | data.o \ | |
286 | dataobj.o \ | |
287 | dc.o \ | |
288 | dcclient.o \ | |
289 | dcmemory.cpp \ | |
290 | dcscreen.o \ | |
291 | dialog.o \ | |
292 | dnd.o \ | |
293 | filedlg.o \ | |
294 | font.o \ | |
295 | frame.o \ | |
296 | gauge.o \ | |
297 | gdiobj.o \ | |
298 | gsockgtk.o \ | |
299 | icon.o \ | |
300 | listbox.o \ | |
301 | main.o \ | |
302 | mdi.o \ | |
303 | menu.o \ | |
304 | minifram.o \ | |
305 | msgdlg.o \ | |
306 | notebook.o \ | |
307 | palette.o \ | |
308 | pen.o \ | |
309 | radiobox.o \ | |
310 | radiobut.o \ | |
311 | region.o \ | |
312 | scrolbar.o \ | |
313 | settings.o \ | |
314 | slider.o \ | |
315 | spinbutt.o \ | |
316 | statbmp.o \ | |
317 | statbox.o \ | |
318 | statline.o \ | |
319 | stattext.o \ | |
320 | tbargtk.o \ | |
321 | textctrl.o \ | |
322 | textdlg.o \ | |
323 | timer.o \ | |
324 | tooltip.o \ | |
325 | utilsgtk.o \ | |
326 | utilsres.o \ | |
327 | wave.o \ | |
328 | win_gtk.o \ | |
329 | window.o | |
330 | ||
331 | UNIXOBJS = \ | |
332 | gsocket.o \ | |
333 | threadpsx.o \ | |
334 | utilsunx.o | |
335 | ||
336 | ZLIBOBJS = \ | |
337 | adler32.o \ | |
338 | compress.o \ | |
339 | crc32.o \ | |
340 | gzio.o \ | |
341 | uncompr.o \ | |
342 | deflate.o \ | |
343 | trees.o \ | |
344 | zutil.o \ | |
345 | inflate.o \ | |
346 | infblock.o \ | |
347 | inftrees.o \ | |
348 | infcodes.o \ | |
349 | infutil.o \ | |
350 | inffast.o | |
351 | ||
352 | PNGOBJS = \ | |
353 | png.o \ | |
354 | pngread.o \ | |
355 | pngrtran.o \ | |
356 | pngrutil.o \ | |
357 | pngpread.o \ | |
358 | pngtrans.o \ | |
359 | pngwrite.o \ | |
360 | pngwtran.o \ | |
361 | pngwutil.o \ | |
362 | pngerror.o \ | |
363 | pngmem.o \ | |
364 | pngwio.o \ | |
365 | pngrio.o \ | |
366 | pngget.o \ | |
367 | pngset.o | |
368 | ||
369 | ||
370 | JPEGOBJS = \ | |
371 | jcomapi.o \ | |
372 | jutils.o \ | |
373 | jerror.o \ | |
374 | jmemmgr.o \ | |
375 | jmemnobs.o \ | |
376 | jcapimin.o \ | |
377 | jcapistd.o \ | |
378 | jctrans.o \ | |
379 | jcparam.o \ | |
380 | jdatadst.o \ | |
381 | jcinit.o \ | |
382 | jcmaster.o \ | |
383 | jcmarker.o \ | |
384 | jcmainct.o \ | |
385 | jcprepct.o \ | |
386 | jccoefct.o \ | |
387 | jccolor.o \ | |
388 | jcsample.o \ | |
389 | jchuff.o \ | |
390 | jcphuff.o \ | |
391 | jcdctmgr.o \ | |
392 | jfdctfst.o \ | |
393 | jfdctflt.o \ | |
394 | jfdctint.o \ | |
395 | jdapimin.o \ | |
396 | jdapistd.o \ | |
397 | jdtrans.o \ | |
398 | jdatasrc.o \ | |
399 | jdmaster.o \ | |
400 | jdinput.o \ | |
401 | jdmarker.o \ | |
402 | jdhuff.o \ | |
403 | jdphuff.o \ | |
404 | jdmainct.o \ | |
405 | jdcoefct.o \ | |
406 | jdpostct.o \ | |
407 | jddctmgr.o \ | |
408 | jidctfst.o \ | |
409 | jidctflt.o \ | |
410 | jidctint.o \ | |
411 | jidctred.o \ | |
412 | jdsample.o \ | |
413 | jdcolor.o \ | |
414 | jquant1.o \ | |
415 | jquant2.o \ | |
416 | jdmerge.o | |
417 | ||
418 | OBJECTS = $(GTKOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJ) $(UNIXOBJS) \ | |
419 | $(JPEGOBJS) $(PNGOBJS) $(ZLIBOBJS) | |
420 | ||
421 | all: $(OBJECTS) $(WXLIB) | |
422 | ||
423 | $(WXLIB): $(OBJECTS) | |
424 | $AR) $(AROPTIONS) $@ $(OBJECTS) | |
425 | $(RANLIB) $@ | |
426 | ||
427 | $(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h $(WXDIR)/include/wx/setup.h | |
428 | ||
429 | parser.o: parser.c lexer.c | |
430 | $(CCLEX) -c $(CFLAGS) -o $@ parser.c | |
431 | ||
432 | parser.c: $(COMMDIR)/parser.y lexer.c | |
433 | $(YACC) $(COMMDIR)/parser.y | |
434 | @sed -e "s;$(COMMDIR)/y.tab.c;parser.y;g" < y.tab.c | \ | |
435 | sed -e "s/BUFSIZ/5000/g" | \ | |
436 | sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \ | |
437 | sed -e "s/yy/PROIO_yy/g" | \ | |
438 | sed -e "s/input/PROIO_input/g" | \ | |
439 | sed -e "s/unput/PROIO_unput/g" > parser.c | |
440 | @$(RM) y.tab.c | |
441 | ||
442 | lexer.c: $(COMMDIR)/lexer.l | |
443 | $(LEX) $(COMMDIR)/lexer.l | |
444 | @sed -e "s;$(COMMDIR)/lex.yy.c;lexer.l;g" < lex.yy.c | \ | |
445 | sed -e "s/yy/PROIO_yy/g" | \ | |
446 | sed -e "s/input/PROIO_input/g" | \ | |
447 | sed -e "s/unput/PROIO_unput/g" > lexer.c | |
448 | @$(RM) lex.yy.c | |
449 | ||
450 | clean: | |
451 | rm -f *.o | |
452 | rm -f *.lo | |
453 | rm -f parser.c | |
454 | rm -f lexer.c | |
455 | rm -f *.a | |
456 | rm -f *.la | |
457 | ||
458 | cleanall: clean |