aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-12-13 07:19:00 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-12-13 07:19:00 +0000
commit681a8002d7d9182388a23437085bb8b1a198d432 (patch)
tree2dadcc255274be9e3d252657448f175ba388686b
parentbd6a0a80428ef3f7bb9a6f94c4f3ff8480d16db6 (diff)
purge old Pd-extended cruft
svn path=/trunk/; revision=14622
-rw-r--r--packages/Makefile173
1 files changed, 1 insertions, 172 deletions
diff --git a/packages/Makefile b/packages/Makefile
index c6969520..bbae8121 100644
--- a/packages/Makefile
+++ b/packages/Makefile
@@ -175,7 +175,7 @@ endif
# this is used for installing into a pre-build Pd binary
extended_install: abstractions_install doc_install \
-gem_install externals_install readme_install welcome_install \
+externals_install readme_install welcome_install \
license_install noncvs_install
@@ -457,89 +457,6 @@ doc_format:
#
#==============================================================================#
-devsymlinks: devsymlinks_$(OS_NAME)
-
-
-
-devsymlinks_windows:
-
-
-devsymlinks_linux:
-
-
-TCLTK_VERSION=8.4
-devsymlinks_darwin: devsymlinks_clean
-# this makes /usr/local symlinks to the Tcl/Tk frameworks so that ./configure
-# can find them.
-# headers
- test -e /Library/Frameworks/Tcl.framework/Versions/$(TCLTK_VERSION)/Headers/tcl.h && \
- sudo ln -s \
- /Library/Frameworks/Tcl.framework/Versions/$(TCLTK_VERSION)/Headers/tcl.h \
- /usr/local/include/tcl.h
- test -e /Library/Frameworks/Tcl.framework/Versions/$(TCLTK_VERSION)/Headers/tclDecls.h && \
- sudo ln -s \
- /Library/Frameworks/Tcl.framework/Versions/$(TCLTK_VERSION)/Headers/tclDecls.h \
- /usr/local/include/tclDecls.h
- test -e /Library/Frameworks/Tcl.framework/Versions/$(TCLTK_VERSION)/Headers/tclPlatDecls.h && \
- sudo ln -s \
- /Library/Frameworks/Tcl.framework/Versions/$(TCLTK_VERSION)/Headers/tclPlatDecls.h \
- /usr/local/include/tclPlatDecls.h
-# libs
- test -e /Library/Frameworks/Tcl.framework/tclConfig.sh && \
- sudo ln -s /Library/Frameworks/Tcl.framework/tclConfig.sh /usr/local/lib
- test -e /Library/Frameworks/Tcl.framework/Versions/$(TCLTK_VERSION)/Tcl && \
- sudo ln -s \
- /Library/Frameworks/Tcl.framework/Versions/$(TCLTK_VERSION)/Tcl \
- /usr/local/lib/libtcl$(TCLTK_VERSION).dylib
- test -e /Library/Frameworks/Tcl.framework/Versions/$(TCLTK_VERSION)/libtclstub$(TCLTK_VERSION).a && \
- sudo ln -s \
- /Library/Frameworks/Tcl.framework/Versions/$(TCLTK_VERSION)/libtclstub$(TCLTK_VERSION).a \
- /usr/local/lib/libtclstub$(TCLTK_VERSION).a
- test -e /usr/local/lib/libtcl$(TCLTK_VERSION).dylib && \
- sudo ln -s /usr/local/lib/libtcl$(TCLTK_VERSION).dylib /usr/local/lib/libtcl.dylib
-# headers
- test -e /Library/Frameworks/Tk.framework/Versions/$(TCLTK_VERSION)/Headers/tk.h && \
- sudo ln -s \
- /Library/Frameworks/Tk.framework/Versions/$(TCLTK_VERSION)/Headers/tk.h \
- /usr/local/include/tk.h
- test -e /Library/Frameworks/Tk.framework/Versions/$(TCLTK_VERSION)/Headers/tkDecls.h && \
- sudo ln -s \
- /Library/Frameworks/Tk.framework/Versions/$(TCLTK_VERSION)/Headers/tkDecls.h \
- /usr/local/include/tkDecls.h
- test -e /Library/Frameworks/Tk.framework/Versions/$(TCLTK_VERSION)/Headers/tkIntXlibDecls.h && \
- sudo ln -s \
- /Library/Frameworks/Tk.framework/Versions/$(TCLTK_VERSION)/Headers/tkIntXlibDecls.h \
- /usr/local/include/tkIntXlibDecls.h
- test -e /Library/Frameworks/Tk.framework/Versions/$(TCLTK_VERSION)/Headers/tkMacOSX.h && \
- sudo ln -s \
- /Library/Frameworks/Tk.framework/Versions/$(TCLTK_VERSION)/Headers/tkMacOSX.h \
- /usr/local/include/tkMacOSX.h
- test -e /Library/Frameworks/Tk.framework/Versions/$(TCLTK_VERSION)/Headers/tkPlatDecls.h && \
- sudo ln -s \
- /Library/Frameworks/Tk.framework/Versions/$(TCLTK_VERSION)/Headers/tkPlatDecls.h \
- /usr/local/include/tkPlatDecls.h
-# libs
- test -e /Library/Frameworks/Tk.framework/tkConfig.sh && \
- sudo ln -s /Library/Frameworks/Tk.framework/tkConfig.sh /usr/local/lib
- test -e /Library/Frameworks/Tk.framework/Versions/$(TCLTK_VERSION)/Tk && \
- sudo ln -s /Library/Frameworks/Tk.framework/Versions/$(TCLTK_VERSION)/Tk \
- /usr/local/lib/libtk$(TCLTK_VERSION).dylib
- test -e /Library/Frameworks/Tk.framework/Versions/$(TCLTK_VERSION)/libtkstub$(TCLTK_VERSION).a && \
- sudo ln -s \
- /Library/Frameworks/Tk.framework/Versions/$(TCLTK_VERSION)/libtkstub$(TCLTK_VERSION).a \
- /usr/local/lib/libtkstub$(TCLTK_VERSION).a
- test -e /usr/local/lib/libtk$(TCLTK_VERSION).dylib && \
- sudo ln -s /usr/local/lib/libtk$(TCLTK_VERSION).dylib /usr/local/lib/libtk.dylib
-
-
-
-devsymlinks_clean:
- -sudo rm -f /usr/local/include/tcl*.h /usr/local/include/tk*.h
- -sudo rm -f /usr/local/lib/tclConfig.sh /usr/local/lib/tkConfig.sh
- -sudo rm -f /usr/local/lib/libtcl*.dylib /usr/local/lib/libtk*.dylib
- -sudo rm -f /usr/local/lib/libtclstub*.a /usr/local/lib/libtkstub*.a
-
-
set_version:
# change Pd's version number to reflect the extended build
# this needs the complete_version_defines patch to work
@@ -555,94 +472,6 @@ unset_version:
m_pd.h > m_pd.h.tmp && \
mv m_pd.h.tmp m_pd.h
-
-patch_pd:
- @echo pd_src $(pd_src)
-# apply all platform-neutral patches
- for patch in $(shell ls -1 $(CWD)/patches/*.patch); do \
- echo "Applying $$patch"; \
- cd $(pd_src)/src/ && patch -p0 < $$patch; \
- done
-# apply all platform-specific patches (is broken on MINGW/Windows)
-ifneq ($(OS_NAME),windows)
- for patch in $(shell ls -1 $(CWD)/patches/$(OS_NAME)/*.patch); do \
- echo "Applying $$patch"; \
- cd $(pd_src)/src/ && patch -p0 < $$patch; \
- done
-endif
- -rm -f -- $(pd_src)/src/configure $(pd_src)/src/makefile
- @echo " "
- @echo "patching completed."
-
-
-unpatch_pd:
-# apply all platform-specific patches (is broken on MINGW/Windows)
-ifneq ($(OS_NAME),windows)
- for patch in $(shell ls -1r $(CWD)/patches/$(OS_NAME)/*.patch); do \
- echo "Applying $$patch"; \
- cd $(pd_src)/src/ && patch -p0 -R < $$patch; \
- done
-endif
-# apply all platform-neutral patches
- for patch in $(shell ls -1r $(CWD)/patches/*.patch); do \
- echo "Applying $$patch"; \
- cd $(pd_src)/src/ && patch -p0 -R < $$patch; \
- done
- -rm -f -- $(pd_src)/src/configure $(pd_src)/src/makefile \
- $(pd_src)/src/makefile.dependencies
- @echo " "
- @echo "unpatching completed."
-
-
-patch: patch_pd set_version
-
-unpatch: unset_version unpatch_pd
-
-
-
-patch_pd_devel:
- @echo pd_src $(pd_src)
-# apply all platform-neutral patches
- for patch in $(shell ls -1 $(CWD)/patches/*.patch); do \
- echo "Applying $$patch"; \
- cd $(pd_src)/src/ && patch -p0 < $$patch; \
- done
-# apply all platform-specific patches
- for patch in $(shell ls -1 $(CWD)/patches/$(OS_NAME)/*.patch); do \
- echo "Applying $$patch"; \
- cd $(pd_src)/src/ && patch -p0 < $$patch; \
- done
- -rm -f -- $(pd_src)/src/configure $(pd_src)/src/makefile
-# change Pd's version number to reflect the extended build
-# this needs the complete_version_defines patch to work
- cd $(pd_src)/src/ && \
- sed 's|^\(#define PD_TEST_VERSION "\).*"|\1$(PD-EXTENDED_VERSION)"|' m_pd.h > \
- m_pd.h.tmp && mv m_pd.h.tmp m_pd.h
- @echo " "
- @echo "patching completed."
-
-
-unpatch_pd_devel:
-# change the version number back to the original
-# this needs the complete_version_defines patch to work
- cd $(pd_src)/src && \
- sed 's|^\(#define PD_TEST_VERSION ".*\)$(PD-EXTENDED_VERSION)"|\1"|' \
- m_pd.h > m_pd.h.tmp && \
- mv m_pd.h.tmp m_pd.h
-# apply all platform-specific patches
- for patch in $(shell ls -1r $(CWD)/patches/$(OS_NAME)/*.patch); do \
- echo "Applying $$patch"; \
- cd $(pd_src)/src/ && patch -p0 -R < $$patch; \
- done
-# apply all platform-neutral patches
- for patch in $(shell ls -1r $(CWD)/patches/*.patch); do \
- echo "Applying $$patch"; \
- cd $(pd_src)/src/ && patch -p0 -R < $$patch; \
- done
- -rm -f -- $(pd_src)/src/configure $(pd_src)/src/makefile
- @echo " "
- @echo "unpatching completed."
-
#==============================================================================#
#
# CLEAN TARGETS