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!
7 # Author: Julian Smart, Robert Roebling, Vadim Zeitlin
10 # Copyright:(c) 1993, AIAI, University of Edinburgh,
11 # Copyright:(c) 1999, Vadim Zeitlin
12 # Copyright:(c) 1999, Robert Roebling
14 # Makefile for libwx_gtk.a, libwx_motif.a and libwx_msw.a
16 ########################### VERSION #################################
24 ########################### VERSION #################################
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@
30 ########################### Misc #################################
34 ########################### Paths #################################
36 srcdir = @srcdir@/src/gtk
38 top_srcdir = @top_srcdir@
40 exec_prefix = @exec_prefix@
44 libexecdir = @libexecdir@
46 sysconfdir = @sysconfdir@
47 sharedstatedir = @sharedstatedir@
48 localstatedir = @localstatedir@
52 includedir = @includedir@
53 oldincludedir = /usr/include
57 pkgdatadir = $(datadir)/@PACKAGE@
58 pkglibdir = $(libdir)/@PACKAGE@
59 pkgincludedir = $(includedir)/@PACKAGE@
64 INSTALL_PROGRAM = @INSTALL_PROGRAM@
65 INSTALL_DATA = @INSTALL_DATA@
66 INSTALL_SCRIPT = @INSTALL_SCRIPT@
67 transform = @program_transform_name@
75 build_alias = @build_alias@
76 build_triplet = @build@
77 host_alias = @host_alias@
79 target_alias = @target_alias@
80 target_triplet = @target@
82 EXTRA_VPATH = @EXTRA_VPATH_MF@
84 VPATH = .:${srcdir}:${srcdir}/src/common:${srcdir}/src/generic:${srcdir}/src/html:${EXTRA_VPATH}
86 ########################### Programs #################################
96 # Compiler for lex/yacc .c programs
110 MAKEINFO = @MAKEINFO@
112 ########################### Flags #################################
114 CFLAGS = @TOOLKIT_DEF@ @WXDEBUG_DEFINE@ @CFLAGS@
115 CPPFLAGS = @TOOLKIT_DEF@ @WXDEBUG_DEFINE@ @CXXFLAGS@
117 ########################### Rules #################################
119 # Clears all default suffixes
120 .SUFFIXES: .o .cpp .c
123 $(CCC) -c $(CFLAGS) -o $@ $<
126 $(CC) -c $(CPPFLAGS) -o $@ $<
128 ########################### Files #################################
130 WXDIR = $(srcdir)/../..
132 # Subordinate library possibilities
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
143 DOCDIR = $(WXDIR)\docs
418 OBJECTS = $(GTKOBJS) $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJ) $(UNIXOBJS) \
419 $(JPEGOBJS) $(PNGOBJS) $(ZLIBOBJS)
421 all: $(OBJECTS) $(WXLIB)
424 $AR) $(AROPTIONS) $@ $(OBJECTS)
427 $(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h $(WXDIR)/include/wx/setup.h
429 parser.o: parser.c lexer.c
430 $(CCLEX) -c $(CFLAGS) -o $@ parser.c
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
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