-# This file gives the details of what is needed to uild this extension
+# This file gives the details of what is needed to build this extension
# module so the Makefile can be created.
*shared*
CCC=c++
WXWIN=../../..
+GENCODEDIR=gtk
+srcdir=$(GENCODEDIR)
+
+# Depending on how your Python was built, you may have to set this
+# value to use the C++ driver to link with instead of the default
+# C driver. Fo rexample:
+MY_LDSHARED=$(CCC) -shared
+
## Pick one of these, or set your own
#TARGETDIR=$(BINLIBDEST)/site-packages/wxPython
wxpc wxp.cpp helpers.cpp windows.cpp events.cpp misc.cpp gdi.cpp \
mdi.cpp controls.cpp controls2.cpp windows2.cpp cmndlgs.cpp \
- -I$(WXWIN)/include -I/usr/lib/glib/include -I$(WXWIN)/src \
- -DSWIG_GLOBAL -D__WXGTK__ -L$(WXWIN)/lib/Linux -lwx_gtk
+ -I. -I$(WXWIN)/include -I/usr/lib/glib/include -I$(WXWIN)/src \
+# -D__WXDEBUG__ -ldmalloc \
+ -DSWIG_GLOBAL -D__WXGTK__ -L$(WXWIN)/lib/Linux -lwx_gtk \
+ -L/usr/X11R6/lib -lgtk -lgdk -lglib -lXext -lX11