]> git.saurik.com Git - wxWidgets.git/blame - wxPython/wxSWIG/makefile.vc
fix text scrolling in GTK2 (patch 703988)
[wxWidgets.git] / wxPython / wxSWIG / makefile.vc
CommitLineData
c90f71dd
RD
1#######################################################################
2# $Header$
3# Simplified Wrapper and Interface Generator (SWIG)
4#
5# Makefile for version 1.1
6# Dave Beazley
7# March 12, 1997
8#
9# Modified for Visual C++
10# Kevin Butler
11# 1/10/97
12#
13# $Log$
14# Revision 1.1 2002/04/29 19:56:47 RD
15# Since I have made several changes to SWIG over the years to accomodate
16# special cases and other things in wxPython, and since I plan on making
17# several more, I've decided to put the SWIG sources in wxPython's CVS
18# instead of relying on maintaining patches. This effectivly becomes a
19# fork of an obsolete version of SWIG, :-( but since SWIG 1.3 still
20# doesn't have some things I rely on in 1.1, not to mention that my
21# custom patches would all have to be redone, I felt that this is the
22# easier road to take.
23#
24# Revision 1.3 1999/11/01 15:24:53 beazley
25# Removed perl4
26#
27# Revision 1.2 1999/08/10 16:50:30 beazley
28# Windows Runtime
29#
30# Revision 1.1.1.1 1999/02/28 02:00:53 beazley
31# Swig1.1
32#
33# Revision 1.1 1996/08/12 01:55:02 dmb
34# Initial revision
35#
36#######################################################################
37
38
39!include <make_win.in>
40
41srcdir = .
42
43all: wxswig
44
45wxswig: wxswig.exe
46
47wxswig.exe:
48 @echo "Making the SWIG Parser..."
49 cd SWIG
50 $(MAKE)
51 @echo "Make Modules..."
52 cd ..\Modules
53 $(MAKE)
54 cd ..
55
56clean:
57 del *.lib
58 del *.obj
59 del swig.exe
60 @cd SWIG
61 @$(MAKE) clean
62 @cd ..\Modules
63 @$(MAKE) clean
64 @cd ..
65
66doc: swig
67 @echo "Building Documentation for SWIG library..."
68 .\swig -Iswig_lib -d Doc/swiglib -I./swig_lib ./swig_lib/autodoc.i
69
70runtime: swig
71 @cd Runtime
72 $(MAKE)
73
74## # Install the SWIG program
75##
76## INSTALL = copy
77##
78## install: install-main install-lib install-runtime
79## @echo "Installation complete"
80##
81## install-runtime:
82## @cd ..\..\Runtime
83## $(MAKE) install
84##
85## install95: install-main95 install-lib95 install-runtime95
86## @echo "Installation complete"
87##
88## install-runtime95:
89## @ ..\..\Runtime
90## $(MAKE) install95
91##
92## smallinstall: install-main
93##
94## install-main: swig
95## @if not exist $(dprefix) mkdir $(dprefix)
96## @echo "Installing $(dSWIG_EXE)"
97## @copy ..\swig.exe $(dSWIG_EXE)
98## install-lib:
99## @if not exist $(dSWIG_LIB) mkdir $(dSWIG_LIB)
100## @echo "$(dSWIG_LIB)"
101## @echo "Installing the SWIG library"
102## @cd ..\swig_lib
103## @xcopy *.i $(dSWIG_LIB)
104## @xcopy *.swg $(dSWIG_LIB)
105## @if not exist $(dSWIG_LIB)\tcl mkdir $(dSWIG_LIB)\tcl
106## @cd tcl
107## @xcopy *.i $(dSWIG_LIB)\tcl
108## @xcopy *.swg $(dSWIG_LIB)\tcl
109## @if not exist $(dSWIG_LIB)\perl5 mkdir $(dSWIG_LIB)\perl5
110## @cd ..\perl5
111## @xcopy *.i $(dSWIG_LIB)\perl5
112## @xcopy *.swg $(dSWIG_LIB)\perl5
113## @if not exist $(dSWIG_LIB)\python mkdir $(dSWIG_LIB)\python
114## @cd ..\python
115## @xcopy *.i $(dSWIG_LIB)\python
116## @xcopy *.swg $(dSWIG_LIB)\python
117## @if not exist $(dSWIG_LIB)\guile mkdir $(dSWIG_LIB)\guile
118## @cd ..\guile
119## @xcopy *.i $(dSWIG_LIB)\guile
120## @xcopy *.swg $(dSWIG_LIB)\guile
121##
122## install-main95: swig
123## @if not exist $(dprefix) mkdir $(dprefix)
124## @echo "Installing $(dSWIG_EXE)"
125## @copy ..\swig.exe $(dSWIG_EXE) /Y
126## install-lib95:
127## @if not exist $(dSWIG_LIB) mkdir $(dSWIG_LIB)
128## @echo "$(dSWIG_LIB)"
129## @echo "Installing the SWIG library"
130## @cd ..\swig_lib
131## @xcopy *.i $(dSWIG_LIB) /Y
132## @xcopy *.swg $(dSWIG_LIB) /Y
133## @mkdir $(dSWIG_LIB)\tcl
134## @cd tcl
135## @xcopy *.i $(dSWIG_LIB)\tcl /Y
136## @xcopy *.swg $(dSWIG_LIB)\tcl /Y
137## @mkdir $(dSWIG_LIB)\perl5
138## @cd ..\perl5
139## @xcopy *.i $(dSWIG_LIB)\perl5 /Y
140## @xcopy *.swg $(dSWIG_LIB)\perl5 /Y
141## @mkdir $(dSWIG_LIB)\python
142## @cd ..\python
143## @xcopy *.i $(dSWIG_LIB)\python /Y
144## @xcopy *.swg $(dSWIG_LIB)\python /Y
145## @mkdir $(dSWIG_LIB)\guile
146## @cd ..\guile
147## @xcopy *.i $(dSWIG_LIB)\guile /Y
148## @xcopy *.swg $(dSWIG_LIB)\guile /Y
149
150#Makefile.template has not been ported to NT
151# @echo "Installing Makefile"
152# $(INSTALL_DATA) Makefile.template $(dSWIG_LIB)/Makefile
153
154
155