5 SWIGFILES = ['wx.i', 'windows.i', 'windows2.i', 'windows3.i', 'events.i',
6 'misc.i', 'misc2.i', 'gdi.i', 'mdi.i', 'controls.i',
7 'controls2.i', 'cmndlgs.i', 'stattool.i', 'frames.i',
8 'image.i', 'printfw.i',
11 PYFILES = ['__init__.py']
14 if sys.platform == 'win32':
16 SOURCES = ['helpers.cpp', 'libpy.c']
21 wxPython\distrib\zipit.bat $(VERSION)
25 DEFAULTRULE = 'default: $(GENCODEDIR) lib$(HELPERLIB)$(SO) $(TARGET)'
26 OTHERINSTALLTARGETS = 'installHelpers installLibDemo'
30 lib$(HELPERLIB)$(SO) : helpers.o libpy.o
31 $(LDSHARED) helpers.o libpy.o $(LFLAGS) -o $@
33 installHelpers: $(HELPERLIBDIR)/lib$(HELPERLIB)$(SO)
35 $(HELPERLIBDIR)/lib$(HELPERLIB)$(SO) : lib$(HELPERLIB)$(SO)
37 @echo ---------------------------------------------------------
38 @echo You may have to run ldconfig, or set an environment
39 @echo variable in order for $(HELPERLIBDIR)/lib$(HELPERLIB)$(SO)
40 @echo to be found at runtime. See your man pages for ld.so or
42 @echo ---------------------------------------------------------
46 @if [ "$(TARGETDIR)" != ".." -a "$(TARGETDIR)" != "$(WXWIN)/utils/wxPython" ]; then \\
47 mkdir $(TARGETDIR)/lib; \\
48 mkdir $(TARGETDIR)/lib/sizers; \\
49 mkdir $(TARGETDIR)/demo; \\
50 mkdir $(TARGETDIR)/demo/bitmaps; \\
51 cp ../lib/*.py $(TARGETDIR)/lib; \\
52 cp ../lib/sizers/*.py $(TARGETDIR)/lib/sizers; \\
53 cp ../demo/*.py $(TARGETDIR)/demo; \\
54 cp ../lib/*.txt $(TARGETDIR)/lib; \\
55 cp ../lib/sizers/*.txt $(TARGETDIR)/lib/sizers; \\
56 cp ../demo/*.txt $(TARGETDIR)/demo; \\
57 cp ../demo/bitmaps/[a-z]* $(TARGETDIR)/demo/bitmaps; \\
58 $(EXECPREFIX)/bin/python $(PYLIB)/compileall.py -l $(TARGETDIR); \\
59 $(EXECPREFIX)/bin/python -O $(PYLIB)/compileall.py -l $(TARGETDIR); \\
66 cd ../..; wxPython/distrib/maketgz $(VERSION)
69 cd ../distrib; ./makerpm $(VERSION)