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.
15 # Depending on how your Python was built, you may have to set this
16 # value to use the C++ driver to link with instead of the default
17 # C driver. For example:
18 MY_LDSHARED=$(CCC) -shared
20 # Same as above, but for statically linking Python and wxPython together,
21 # in other words, if you comment out the *shared* above. If this is the
22 # case then you should ensure that the main() function is Python's, not
23 # wxWindows'. You can rebuild $(WXWIN)/src/gtk/app.cpp with NOMAIN defined
28 ## Pick one of these, or set your own. This is where the
29 ## wxPython module should be installed. It should be a
30 ## subdirectory named wxPython.
32 #TARGETDIR=$(BINLIBDEST)/site-packages/wxPython
36 wxc wx.cpp helpers.cpp windows.cpp events.cpp misc.cpp gdi.cpp \
37 mdi.cpp controls.cpp controls2.cpp windows2.cpp cmndlgs.cpp \
38 frames.cpp stattool.cpp windows3.cpp \
40 -I. -I$(WXWIN)/include -I/usr/lib/glib/include -I$(WXWIN)/src \
41 -I/usr/X11R6/include -DSWIG_GLOBAL -D__WXGTK__ \
42 -DWXP_WITH_THREAD $(SEPARATE) \
45 -L$(WXWIN)/lib/Linux -L/usr/X11R6/lib \
46 -lwx_gtk2 -lgtk -lgdk -lglib -lXext -lX11
50 -I. -I$(WXWIN)/include -I/usr/lib/glib/include -I$(WXWIN)/src \
51 -I/usr/X11R6/include -DSWIG_GLOBAL -D__WXGTK__ \
52 -DWXP_WITH_THREAD $(SEPARATE) \
55 -L$(WXWIN)/lib/Linux -L/usr/X11R6/lib \
56 -lwx_gtk2 -lgtk -lgdk -lglib -lXext -lX11