]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/src/Setup.in
minimal now works in Unicode mode
[wxWidgets.git] / utils / wxPython / src / Setup.in
CommitLineData
9d358552 1# This file gives the details of what is needed to build this extension
7bf85405
RD
2# module so the Makefile can be created.
3
f57d7932
RD
4###
5### This file should be created by configure. Currently it is tweaked by hand.
6###
7
08127323 8*shared*
7bf85405
RD
9
10CCC=c++
11WXWIN=../../..
b62bdb48 12GENCODEDIR=gtk
9d358552
RD
13srcdir=$(GENCODEDIR)
14
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
f57d7932 17# C driver. For example:
08127323 18MY_LDSHARED=$(CCC) -shared
0d6f9504
RD
19
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
24# to force this...
25MY_LINKCC=$(CCC)
9d358552 26
fb5e0af0 27
f57d7932
RD
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.
7bf85405 31TARGETDIR=..
f57d7932
RD
32#TARGETDIR=$(BINLIBDEST)/site-packages/wxPython
33
34
08127323 35wxc wx.cpp helpers.cpp windows.cpp events.cpp misc.cpp gdi.cpp \
f57d7932 36 mdi.cpp controls.cpp controls2.cpp windows2.cpp cmndlgs.cpp \
08127323 37 frames.cpp stattool.cpp utils.cpp windows3.cpp \
f57d7932 38 # CFLAGS
08127323
RD
39 -I. -I$(WXWIN)/include -I/usr/lib/glib/include -I$(WXWIN)/src \
40 -I/usr/X11R6/include -DSWIG_GLOBAL -D__WXGTK__ \
b26e2dc4 41 #-D__WXDEBUG__ \
f57d7932 42 # LFLAGS
08127323
RD
43 -L$(WXWIN)/lib/Linux -L/usr/X11R6/lib \
44 -lwx_gtk2 -lgtk -lgdk -lglib -lXext -lX11