]> git.saurik.com Git - wxWidgets.git/blame - wxPython/wxSWIG/SWIG/makefile.vc
Fixed mouse handling for captured windows
[wxWidgets.git] / wxPython / wxSWIG / SWIG / makefile.vc
CommitLineData
c90f71dd
RD
1# Modified from automatic creation by Kevin Butler (butler@byu.edu)
2# for Microsoft Visual C++ (11/22/96)
3#
4#######################################################################
5# $Header$
6# Simplified Wrapper and Interface Generator (SWIG)
7#
8# Makefile for version 1.1
9# Dave Beazley
10# March 12, 1997
11#
12# This makefile is now mostly constructed by ./configure.
13#
14# $Log$
15# Revision 1.1 2002/04/29 19:56:48 RD
16# Since I have made several changes to SWIG over the years to accomodate
17# special cases and other things in wxPython, and since I plan on making
18# several more, I've decided to put the SWIG sources in wxPython's CVS
19# instead of relying on maintaining patches. This effectivly becomes a
20# fork of an obsolete version of SWIG, :-( but since SWIG 1.3 still
21# doesn't have some things I rely on in 1.1, not to mention that my
22# custom patches would all have to be redone, I felt that this is the
23# easier road to take.
24#
25# Revision 1.1.1.1 1999/02/28 02:00:52 beazley
26# Swig1.1
27#
28# Revision 1.1 1996/08/12 01:55:02 dmb
29# Initial revision
30#
31#######################################################################
32
33#.KEEP_STATE:
34
35rootdir = ..
36!include <..\make_win.in>
37
38
39########################################################################
40# Normally, you shouldn't have to change anything below this point #
41########################################################################
42
43LIBOBJS = main.obj scanner.obj symbol.obj include.obj types.obj parms.obj emit.obj newdoc.obj ascii.obj \
44 html.obj latex.obj cplus.obj lang.obj hash.obj sstring.obj wrapfunc.obj getopt.obj comment.obj typemap.obj naming.obj
45
46LIBSRCS = main.cxx scanner.cxx symbol.cxx include.cxx types.cxx parms.cxx emit.cxx \
47 newdoc.cxx ascii.cxx html.cxx latex.cxx cplus.cxx lang.cxx hash.cxx \
48 sstring.cxx wrapfunc.cxx getopt.cxx comment.cxx typemap.cxx naming.cxx
49
50LIBHEADERS = internal.h $(rootdir)/Include/swig.h latex.h ascii.h html.h nodoc.h
51LIBNAME = $(rootdir)\libswig.lib
52
53
54#
55# Rules for creation of a .obj file from .cxx
56.SUFFIXES: .cxx
57.cxx.obj:
58 $(CC) $(INCFLAGS) $(CFLAGS) -c -o $*.obj $<
59
60all: $(LIBNAME)
61
62$(LIBNAME): parser.obj $(LIBOBJS)
63 @echo "Building library"
64 @$(LD) $(LD_FLAGS) -out:$(LIBNAME) $(LIBOBJS) parser.obj
65
66parser.obj: parser.cxx $(LIBHEADERS)
67 $(CC) $(INCFLAGS) $(CFLAGS) parser.cxx -c -o parser.obj
68
69parser.cxx: $(PARSER)
70 @echo "Must rebuild the parser with yacc"
71
72parser::
73 @cp y.tab.c.bison parser.cxx
74 @cp y.tab.h.bison parser.h
75 @cp y.tab.h.bison y.tab.h
76 $(CC) $(CFLAGS) parser.cxx -c -o parser.obj
77
78main.obj: main.cxx
79scanner.obj: scanner.cxx
80wrapper.obj: wrapper.cxx
81include.obj: include.cxx
82types.obj: types.cxx
83emit.obj: emit.cxx
84cplus.obj: cplus.cxx
85misc.obj: misc.cxx
86hash.obj: hash.cxx
87sstring.obj: sstring.cxx
88getopt.obj: getopt.cxx
89wrapfunc.obj: wrapfunc.cxx
90swigmain.obj: swigmain.cxx
91symbol.obj: symbol.cxx
92parms.obj: parms.cxx
93newdoc.obj: newdoc.cxx
94lang.obj: lang.cxx
95comment.obj: comment.cxx
96latex.obj: latex.cxx
97ascii.obj: ascii.cxx
98html.obj: html.cxx
99typemap.obj: typemap.cxx
100naming.obj: naming.cxx
101
102clean::
103 @del *.obj
104 @del $(LIBNAME)
105
106
107