X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fd4ff3bf16b71f8d3896dd17ff9a579a07e3a088..18ba9da6b94a34129b6b04494033905a213a0114:/utils/wxPython/src/build.cfg diff --git a/utils/wxPython/src/build.cfg b/utils/wxPython/src/build.cfg index 47bfffa6b4..1e4d482c66 100644 --- a/utils/wxPython/src/build.cfg +++ b/utils/wxPython/src/build.cfg @@ -10,6 +10,8 @@ SWIGFILES = ['wx.i', 'windows.i', 'windows2.i', 'windows3.i', 'events.i', PYFILES = ['__init__.py'] +SWIGDEPS = '_defs.i my_typemaps.i' +OTHERDEPS = 'helpers.h' if sys.platform == 'win32': RESFILE = 1 @@ -24,14 +26,17 @@ dist: else: DEFAULTRULE = 'default: $(GENCODEDIR) lib$(HELPERLIB)$(SO) $(TARGET)' OTHERINSTALLTARGETS = 'installLibDemo installHelpers ' + OTHERUNINSTALLTARGETS = 'uninstallLibDemo uninstallHelpers ' OTHERRULES = """ lib$(HELPERLIB)$(SO) : helpers.o libpy.o $(LDSHARED) helpers.o libpy.o $(LFLAGS) -o $@ + installHelpers: $(HELPERLIBDIR)/lib$(HELPERLIB)$(SO) + $(HELPERLIBDIR)/lib$(HELPERLIB)$(SO) : lib$(HELPERLIB)$(SO) cp $< $@ @echo --------------------------------------------------------- @@ -60,6 +65,20 @@ installLibDemo: fi + +uninstallLibDemo: + @if [ "$(TARGETDIR)" != ".." -a "$(TARGETDIR)" != "$(WXWIN)/utils/wxPython" ]; then \\ + rm -rf $(TARGETDIR)/lib; \\ + rm -rf $(TARGETDIR)/demo; \\ + fi + + +uninstallHelpers: + rm -f $(HELPERLIBDIR)/lib$(HELPERLIB)$(SO) + + +#---------------------------------------------------------------------- + dist: tgz rpm tgz: