]> git.saurik.com Git - wxWidgets.git/blame - wxPython/wxSWIG/Modules/Makefile.in
the Russian translations were somehow corrupted, fixed
[wxWidgets.git] / wxPython / wxSWIG / Modules / Makefile.in
CommitLineData
c90f71dd
RD
1#######################################################################
2# $Header$
3# Simplified Wrapper and Interface Generator (SWIG)
4#
5# Makefile for version 1.0 Final
6# Dave Beazley
7# August 1, 1996
8#
9# This makefile is now mostly constructed by ./configure.
10#
11# $Log$
12# Revision 1.1 2002/04/29 19:56:47 RD
13# Since I have made several changes to SWIG over the years to accomodate
14# special cases and other things in wxPython, and since I plan on making
15# several more, I've decided to put the SWIG sources in wxPython's CVS
16# instead of relying on maintaining patches. This effectivly becomes a
17# fork of an obsolete version of SWIG, :-( but since SWIG 1.3 still
18# doesn't have some things I rely on in 1.1, not to mention that my
19# custom patches would all have to be redone, I felt that this is the
20# easier road to take.
21#
22# Revision 1.2 1999/08/17 03:31:30 beazley
23# Minor cleanup. Removed Perl4
24#
25# Revision 1.1.1.1 1999/02/28 02:00:50 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
35
36srcdir = @srcdir@
37VPATH = @srcdir@
38
39# Set your C++ compiler here. g++ works on most machines,
40# but you might have to change it depending on your installation.
41#
42CC = @CXX@
43
44#
45# Set the prefix below to indicate where you want SWIG to install its
46# files. Normally this is /usr/local
47#
48
49prefix = @prefix@
50
51# Location of the SWIG library. Is normally put in /usr/local/lib/swig_lib
52# The SWIG library contains configuration files and library modules
53# so you should install it someplace where it can be easily accessed.
54
55SWIG_LIB = $(prefix)/lib/swig_lib
56
57########################################################################
58# Normally, you shouldn't have to change anything below this point #
59########################################################################
60
61WRAPOBJS = swigmain.o tcl.o tcl8.o perl5.o python.o pycpp.o guile.o debug.o
62WRAPSRCS = swigmain.cxx tcl.cxx tcl8.cxx perl5.cxx python.cxx pycpp.cxx guile.cxx debug.cxx
63WRAPHEADERS = ../Include/swig.h swigtcl.h perl5.h python.h guile.h debug.h wrap.h
64
65TARGET = ../wxswig
66##-DSWIG_LIB='"$(SWIG_LIB)"'
67CFLAGS = @CFLAGS@ -DSWIG_CC='"$(CC)"' @DEFS@
68INCLUDE = -I../Include -I../SWIG
69LIBS = -L.. -lswig
70SHELL = /bin/sh
71
72#
73#
74#
75# Rules for creation of a .o file from .cxx
76.SUFFIXES: .cxx
77.cxx.o:
78 $(CC) $(INCLUDE) $(CFLAGS) -c -o $*.o $<
79
80all: $(TARGET)
81
82$(TARGET): $(WRAPOBJS) $(WRAPHEADERS) ../libswig.a
83 $(CC) $(INCLUDE) $(WRAPOBJS) $(LIBS) -o $(TARGET)
84
85swigmain.o: swigmain.cxx
86tcl.o: tcl.cxx
87perl5.o: perl5.cxx
88python.o: python.cxx
89pycpp.o: pycpp.cxx
90guile.o: guile.cxx
91
92Makefile: $(srcdir)/Makefile.in ../config.status
93 (cd ..; CONFIG_FILES=Modules/Makefile $(SHELL) config.status)
94
95.PRECIOUS: Makefile
96
97clean::
98 rm -f *.o $(TARGET)
99
100nuke::
101 rm -f Makefile *~ #* core a.out
102
103wc::
104 wc $(WRAPSRCS) *.h
105