1 # This file gives the details of what is needed to build this extension
2 # module so the Makefile can be created.
5 ### This file should be created by configure. Currently it is tweaked by hand.
14 WX_CONFIG_CFLAGS=`wx-config --cflags` `gtk-config --cflags`
15 WX_CONFIG_LIBS=`wx-config --libs`
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:
20 MY_LDSHARED=$(CCC) -shared $(WX_CONFIG_LIBS)
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
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.
34 #TARGETDIR=$(BINLIBDEST)/site-packages/wxPython
35 TARGETDIR=$(BINLIBDEST)/wxPython
37 wxc wx.cpp helpers.cpp windows.cpp events.cpp misc.cpp gdi.cpp \
38 mdi.cpp controls.cpp controls2.cpp windows2.cpp cmndlgs.cpp \
39 frames.cpp stattool.cpp windows3.cpp image.cpp \
41 ## comment out the next line to disable wxGLCanvas
42 ##_glcanvas.cpp glcanvas.cpp -DWITH_GLCANVAS -lGL -lGLU \
43 -I. $(WX_CONFIG_CFLAGS) -I/usr/local/lib/glib/include \
44 -DSWIG_GLOBAL -DWXP_WITH_THREAD $(SEPARATE) -Xlinker $(WX_CONFIG_LIBS)