X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/853b255a6b035f9448b4ca7e07a453be7bd2f892..8f89cfc11e188337eca21972a98b5be8fcab0c10:/utils/wxPython/src/Setup.in diff --git a/utils/wxPython/src/Setup.in b/utils/wxPython/src/Setup.in index 914c321396..5213f7d9dd 100644 --- a/utils/wxPython/src/Setup.in +++ b/utils/wxPython/src/Setup.in @@ -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