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 = 'installLibDemo installHelpers '
27 OTHERUNINSTALLTARGETS = 'uninstallLibDemo uninstallHelpers '
31 lib$(HELPERLIB)$(SO) : helpers.o libpy.o
32 $(LDSHARED) helpers.o libpy.o $(LFLAGS) -o $@
35 installHelpers: $(HELPERLIBDIR)/lib$(HELPERLIB)$(SO)
38 $(HELPERLIBDIR)/lib$(HELPERLIB)$(SO) : lib$(HELPERLIB)$(SO)
40 @echo ---------------------------------------------------------
41 @echo You may have to run ldconfig, or set an environment
42 @echo variable in order for $(HELPERLIBDIR)/lib$(HELPERLIB)$(SO)
43 @echo to be found at runtime. See your man pages for ld.so or
45 @echo ---------------------------------------------------------
49 @if [ "$(TARGETDIR)" != ".." -a "$(TARGETDIR)" != "$(WXWIN)/utils/wxPython" ]; then \\
50 mkdir $(TARGETDIR)/lib; \\
51 mkdir $(TARGETDIR)/lib/sizers; \\
52 mkdir $(TARGETDIR)/demo; \\
53 mkdir $(TARGETDIR)/demo/bitmaps; \\
54 cp ../lib/*.py $(TARGETDIR)/lib; \\
55 cp ../lib/sizers/*.py $(TARGETDIR)/lib/sizers; \\
56 cp ../demo/*.py $(TARGETDIR)/demo; \\
57 cp ../lib/*.txt $(TARGETDIR)/lib; \\
58 cp ../lib/sizers/*.txt $(TARGETDIR)/lib/sizers; \\
59 cp ../demo/*.txt $(TARGETDIR)/demo; \\
60 cp ../demo/bitmaps/[a-z]* $(TARGETDIR)/demo/bitmaps; \\
61 $(EXECPREFIX)/bin/python $(PYLIB)/compileall.py $(TARGETDIR); \\
62 $(EXECPREFIX)/bin/python -O $(PYLIB)/compileall.py $(TARGETDIR); \\
68 @if [ "$(TARGETDIR)" != ".." -a "$(TARGETDIR)" != "$(WXWIN)/utils/wxPython" ]; then \\
69 rm -rf $(TARGETDIR)/lib; \\
70 rm -rf $(TARGETDIR)/demo; \\
75 rm -f $(HELPERLIBDIR)/lib$(HELPERLIB)$(SO)
78 #----------------------------------------------------------------------
83 cd ../..; wxPython/distrib/maketgz $(VERSION)
86 cd ../distrib; ./makerpm $(VERSION)