]> git.saurik.com Git - wxWidgets.git/blame - contrib/src/deprecated/Makefile.in
undisable many warnings for VC++ in defs.h and fixed several thousands of them in...
[wxWidgets.git] / contrib / src / deprecated / Makefile.in
CommitLineData
4a3bdee6
JS
1# $Id$
2
3top_srcdir = @top_srcdir@/..
4top_builddir = ../../..
5libsrc_dir = contrib/src/deprecated
6
7c9955d1 7TARGET_LIBNAME=lib@WX_LIBRARY_BASENAME@_wxdeprecated-@WX_RELEASE@
4a3bdee6
JS
8
9LIBVERSION_CURRENT=@WX_CURRENT@
10LIBVERSION_REVISION=@WX_REVISION@
11LIBVERSION_AGE=@WX_AGE@
12
4a3bdee6
JS
13HEADER_PATH=$(top_srcdir)/contrib/include/wx
14HEADER_SUBDIR=deprecated
15
16HEADERS=prop.h propform.h proplist.h resource.h treelay.h wxexpr.h treelay.h
17
7c9955d1 18OBJECTS=prop.o propform.o proplist.o wxexpr.o parser.o resource.o treelay.o
4a3bdee6
JS
19DEPFILES=$(OBJECTS:.o=.d)
20
21APPEXTRADEFS=-I$(top_srcdir)/contrib/include
22
23include $(top_builddir)/src/makelib.env
24
25-include $(DEPFILES)
f2638c97
JS
26
27WXDIR = $(top_srcdir)
28
29SRCDIR = $(WXDIR)/src
30GENDIR = $(WXDIR)/src/generic
31COMMDIR = $(WXDIR)/src/common
32
33parser.o: parser.c lexer.c
34 $(CCLEX) -c $(CFLAGS) -I. $(PICFLAGS) -o $@ parser.c
35
36parser.c: $(COMMDIR)/parser.y lexer.c
37 $(YACC) $(COMMDIR)/parser.y
38 @sed -e "s;$(COMMDIR)/y.tab.c;parser.y;g" < y.tab.c | \
39 sed -e "s/BUFSIZ/5000/g" | \
40 sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
41 sed -e "s/yy/PROIO_yy/g" | \
42 sed -e "s/input/PROIO_input/g" | \
43 sed -e "s/unput/PROIO_unput/g" > parser.c
44 @$(RM) y.tab.c
45
46lexer.c: $(COMMDIR)/lexer.l
47 $(LEX) $(COMMDIR)/lexer.l
48 @sed -e "s;$(COMMDIR)/@LEX_STEM@.c;lexer.l;g" < @LEX_STEM@.c | \
49 sed -e "s/yy/PROIO_yy/g" | \
50 sed -e "s/input/PROIO_input/g" | \
51 sed -e "s/unput/PROIO_unput/g" > lexer.c
52 @$(RM) @LEX_STEM@.c
53