]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/src/Setup
wxPython updates (SWIG really works, cannot believe it)
[wxWidgets.git] / utils / wxPython / src / Setup
CommitLineData
aeeb6a44
RR
1# This file gives the details of what is needed to build this extension
2# module so the Makefile can be created.
3
4###
5### This file should be created by configure. Currently it is tweaked by hand.
6###
7
8*shared*
9
10CCC=g++
11WXWIN=~/wxWindows
12GENCODEDIR=gtk
13srcdir=$(GENCODEDIR)
14WX_CONFIG_CFLAGS=`wx-config --cflags`
15WX_CONFIG_LIBS=`wx-config --libs`
16
17# Depending on how your Python was built, you may have to set this
18# value to use the C++ driver to link with instead of the default
19# C driver. For example:
20MY_LDSHARED=$(CCC) -shared $(WX_CONFIG_LIBS)
21
22# Same as above, but for statically linking Python and wxPython together,
23# in other words, if you comment out the *shared* above. If this is the
24# case then you should ensure that the main() function is Python's, not
25# wxWindows'. You can rebuild $(WXWIN)/src/gtk/app.cpp with NOMAIN defined
26# to force this...
27MY_LINKCC=$(CCC)
28
29
30## Pick one of these, or set your own. This is where the
31## wxPython module should be installed. It should be a
32## subdirectory named wxPython.
d3b4d113 33#TARGETDIR=..
aeeb6a44 34#TARGETDIR=$(BINLIBDEST)/site-packages/wxPython
d3b4d113 35TARGETDIR=$(BINLIBDEST)/wxPython
aeeb6a44
RR
36
37
38wxc wx.cpp helpers.cpp windows.cpp events.cpp misc.cpp gdi.cpp \
39 mdi.cpp controls.cpp controls2.cpp windows2.cpp cmndlgs.cpp \
40 frames.cpp stattool.cpp utils.cpp \
41 -I. $(WX_CONFIG_CFLAGS) -DSWIG_GLOBAL
42