]> git.saurik.com Git - wxWidgets.git/blame - wxPython/wxSWIG/Modules/makefile.vc
wxPython Merge #2 of 2.4 branch --> HEAD (branch tag: wxPy_2_4_merge_2)
[wxWidgets.git] / wxPython / wxSWIG / Modules / 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.0 Final
9# Dave Beazley
10# August 1, 1996
11#
12# This makefile is now mostly constructed by ./configure.
13#
14# $Log$
15# Revision 1.1 2002/04/29 19:56:47 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.2 1999/08/17 03:31:30 beazley
26# Minor cleanup. Removed Perl4
27#
28# Revision 1.1.1.1 1999/02/28 02:00:50 beazley
29# Swig1.1
30#
31# Revision 1.1 1996/08/12 01:55:02 dmb
32# Initial revision
33#
34#######################################################################
35
36#.KEEP_STATE:
37
38rootdir = ..
39!include <..\make_win.in>
40
41
42########################################################################
43# Normally, you shouldn't have to change anything below this point #
44########################################################################
45
46
47
48WRAPOBJS = swigmain.obj tcl.obj tcl8.obj perl5.obj python.obj pycpp.obj debug.obj guile.obj
49WRAPSRCS = swigmain.cxx tcl.cxx tcl8.cxx perl5.cxx python.cxx pycpp.cxx debug.cxx guile.cxx
50WRAPHEADERS = $(rootdir)/Include/swig.h swigtcl.h tcl8.h perl5.h python.h guile.h debug.h \
51 wrap.h
52
53TARGET = $(rootdir)\wxswig.exe
54LIBNAME = $(rootdir)\libswig.lib
55LIBS = $(LIBNAME)
56
57#
58# Rules for creation of a .obj file from .cxx
59.SUFFIXES: .cxx
60.cxx.obj:
61 $(CC) $(INCFLAGS) $(CFLAGS) -c -o $*.obj $<
62
63all: $(TARGET)
64
65$(TARGET): $(WRAPOBJS) $(WRAPHEADERS) $(LIBNAME)
66 $(CC) -o $(TARGET) $(INCFLAGS) $(WRAPOBJS) $(LIBS)
67
68swigmain.obj: swigmain.cxx
69tcl.obj: tcl.cxx
70perl5.obj: perl5.cxx
71python.obj: python.cxx
72pycpp.obj: pycpp.cxx
73guile.obj: guile.cxx
74
75
76clean::
77 del *.obj
78 del $(TARGET)
79