4 # $(INSTALL_DATA) $(INCDIR)/wx/window.h $(includedir)/wx/window.h
6 # foreach $file (sort keys %wxINCLUDE) {
7 # next if $wxINCLUDE{$file} =~ /\b(GTK|MSW|MOT|PM|MAC|GEN|HTM|UNX)\b/;
9 # $project{"WXINSTALLWX"} .= "$(INSTALL_DATA)" . " " . "\$(INCDIR)/wx/" . $file . " \$(includedir)/wx/" . $file . "\n"
14 # This file was automatically generated by tmake at 13:53, 1999/08/10
15 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE UNX.T!
19 # Author: Julian Smart, Robert Roebling, Vadim Zeitlin
22 # Copyright:(c) 1993, AIAI, University of Edinburgh,
23 # Copyright:(c) 1999, Vadim Zeitlin
24 # Copyright:(c) 1999, Robert Roebling
26 # Makefile for libwx_gtk.a, libwx_motif.a and libwx_msw.a
28 ########################### VERSION #################################
36 ########################### VERSION #################################
38 WX_MAJOR_VERSION_NUMBER = @WX_MAJOR_VERSION_NUMBER@
39 WX_MINOR_VERSION_NUMBER = @WX_MINOR_VERSION_NUMBER@
40 WX_RELEASE_NUMBER = @WX_RELEASE_NUMBER@
42 ########################### Misc #################################
46 ########################### Paths #################################
48 srcdir = @srcdir@/src/@TOOLKIT_DIR@
50 top_srcdir = @top_srcdir@
52 exec_prefix = @exec_prefix@
56 libexecdir = @libexecdir@
58 sysconfdir = @sysconfdir@
59 sharedstatedir = @sharedstatedir@
60 localstatedir = @localstatedir@
64 includedir = @includedir@
65 oldincludedir = /usr/include
69 pkgdatadir = $(datadir)/@PACKAGE@
70 pkglibdir = $(libdir)/@PACKAGE@
71 pkgincludedir = $(includedir)/@PACKAGE@
76 INSTALL_PROGRAM = @INSTALL_PROGRAM@
77 INSTALL_DATA = @INSTALL_DATA@
78 INSTALL_SCRIPT = @INSTALL_SCRIPT@
79 transform = @program_transform_name@
87 build_alias = @build_alias@
88 build_triplet = @build@
89 host_alias = @host_alias@
91 target_alias = @target_alias@
92 target_triplet = @target@
94 EXTRA_VPATH = @EXTRA_VPATH@
96 VPATH = .:${srcdir}:${srcdir}/../common:${srcdir}/../generic:${srcdir}/../html:${EXTRA_VPATH}
98 ########################### Programs #################################
108 # Compiler for lex/yacc .c programs
122 MAKEINFO = @MAKEINFO@
124 ########################### Flags #################################
126 CFLAGS = @TOOLKIT_DEF@ @WXDEBUG_DEFINE@ @CFLAGS@
127 CPPFLAGS = @TOOLKIT_DEF@ @WXDEBUG_DEFINE@ @CXXFLAGS@
129 ########################### Rules #################################
131 # Clears all default suffixes
132 .SUFFIXES: .o .cpp .c
135 $(CCC) -c $(CFLAGS) -o $@ $<
138 $(CC) -c $(CPPFLAGS) -o $@ $<
140 ########################### Files #################################
142 WXDIR = $(srcdir)/../..
144 # Subordinate library possibilities
146 GENDIR = $(WXDIR)/src/generic
147 COMMDIR = $(WXDIR)/src/common
148 HTMLDIR = $(WXDIR)/src/html
149 UNIXDIR = $(WXDIR)/src/unix
150 PNGDIR = $(WXDIR)/src/png
151 JPEGDIR = $(WXDIR)/src/jpeg
152 ZLIBDIR = $(WXDIR)/src/zlib
153 GTKDIR = $(WXDIR)/src/gtk
154 MOTIFDIR = $(WXDIR)/src/motif
155 INCDIR = $(WXDIR)/include
157 DOCDIR = $(WXDIR)\docs
327 MOTIF_GENERICOBJS = \
602 OBJECTS = $(@GUIOBJS@) $(@COMMONOBJS@) $(@GENERICOBJS@) $(HTMLOBJS) $(UNIXOBJS) \
603 $(JPEGOBJS) $(PNGOBJS) $(ZLIBOBJS)
605 all: $(OBJECTS) $(WXLIB)
608 $AR) $(AROPTIONS) $@ $(OBJECTS)
611 $(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h $(WXDIR)/include/wx/setup.h
613 parser.o: parser.c lexer.c
614 $(CCLEX) -c $(CFLAGS) -o $@ parser.c
616 parser.c: $(COMMDIR)/parser.y lexer.c
617 $(YACC) $(COMMDIR)/parser.y
618 @sed -e "s;$(COMMDIR)/y.tab.c;parser.y;g" < y.tab.c | \
619 sed -e "s/BUFSIZ/5000/g" | \
620 sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
621 sed -e "s/yy/PROIO_yy/g" | \
622 sed -e "s/input/PROIO_input/g" | \
623 sed -e "s/unput/PROIO_unput/g" > parser.c
626 lexer.c: $(COMMDIR)/lexer.l
627 $(LEX) $(COMMDIR)/lexer.l
628 @sed -e "s;$(COMMDIR)/lex.yy.c;lexer.l;g" < lex.yy.c | \
629 sed -e "s/yy/PROIO_yy/g" | \
630 sed -e "s/input/PROIO_input/g" | \
631 sed -e "s/unput/PROIO_unput/g" > lexer.c