]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/src/Setup.in
A few tweaks
[wxWidgets.git] / utils / wxPython / src / Setup.in
index 914c32139611e1869645979e45b6e614482c84bc..5213f7d9ddd7fda38430941bf52162b5b0310a94 100644 (file)
@@ -1,10 +1,18 @@
-# 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
@@ -12,7 +20,9 @@ TARGETDIR=..
 
 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