Mercurial > hg > vamp-plugin-sdk
changeset 96:074873a47447
* Apply DESTDIR patch from Alexis Ballier <aballier@gentoo.org>
author | cannam |
---|---|
date | Sun, 18 Nov 2007 10:46:28 +0000 |
parents | cd4425ab7b98 |
children | ca44b3594d2e |
files | Makefile |
diffstat | 1 files changed, 26 insertions(+), 26 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Fri Nov 16 21:19:24 2007 +0000 +++ b/Makefile Sun Nov 18 10:46:28 2007 +0000 @@ -212,43 +212,43 @@ rm -f $(SDK_STATIC) $(SDK_DYNAMIC) $(HOSTSDK_STATIC) $(HOSTSDK_DYNAMIC) $(PLUGIN_TARGET) $(HOST_TARGET) *~ */*~ install: $(SDK_STATIC) $(SDK_DYNAMIC) $(HOSTSDK_STATIC) $(HOSTSDK_DYNAMIC) $(PLUGIN_TARGET) $(HOST_TARGET) - mkdir -p $(INSTALL_API_HEADERS) - mkdir -p $(INSTALL_SDK_HEADERS) - mkdir -p $(INSTALL_HOSTEXT_HEADERS) - mkdir -p $(INSTALL_SDK_LIBS) - mkdir -p $(INSTALL_PKGCONFIG) - cp $(API_HEADERS) $(INSTALL_API_HEADERS) - cp $(SDK_HEADERS) $(INSTALL_SDK_HEADERS) - cp $(HOSTSDK_HEADERS) $(INSTALL_SDK_HEADERS) - cp $(HOSTEXT_HEADERS) $(INSTALL_HOSTEXT_HEADERS) - cp $(SDK_STATIC) $(INSTALL_SDK_LIBS) - cp $(HOSTSDK_STATIC) $(INSTALL_SDK_LIBS) - cp $(SDK_DYNAMIC) $(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LIBNAME) - cp $(HOSTSDK_DYNAMIC) $(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LIBNAME) - rm -f $(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LINK_ABI) - ln -s $(INSTALL_SDK_LIBNAME) $(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LINK_ABI) - rm -f $(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LINK_ABI) - ln -s $(INSTALL_HOSTSDK_LIBNAME) $(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LINK_ABI) - rm -f $(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LINK_DEV) - ln -s $(INSTALL_SDK_LIBNAME) $(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LINK_DEV) - rm -f $(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LINK_DEV) - ln -s $(INSTALL_HOSTSDK_LIBNAME) $(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LINK_DEV) + mkdir -p $(DESTDIR)$(INSTALL_API_HEADERS) + mkdir -p $(DESTDIR)$(INSTALL_SDK_HEADERS) + mkdir -p $(DESTDIR)$(INSTALL_HOSTEXT_HEADERS) + mkdir -p $(DESTDIR)$(INSTALL_SDK_LIBS) + mkdir -p $(DESTDIR)$(INSTALL_PKGCONFIG) + cp $(API_HEADERS) $(DESTDIR)$(INSTALL_API_HEADERS) + cp $(SDK_HEADERS) $(DESTDIR)$(INSTALL_SDK_HEADERS) + cp $(HOSTSDK_HEADERS) $(DESTDIR)$(INSTALL_SDK_HEADERS) + cp $(HOSTEXT_HEADERS) $(DESTDIR)$(INSTALL_HOSTEXT_HEADERS) + cp $(SDK_STATIC) $(DESTDIR)$(INSTALL_SDK_LIBS) + cp $(HOSTSDK_STATIC) $(DESTDIR)$(INSTALL_SDK_LIBS) + cp $(SDK_DYNAMIC) $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LIBNAME) + cp $(HOSTSDK_DYNAMIC) $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LIBNAME) + rm -f $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LINK_ABI) + ln -s $(INSTALL_SDK_LIBNAME) $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LINK_ABI) + rm -f $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LINK_ABI) + ln -s $(INSTALL_HOSTSDK_LIBNAME) $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LINK_ABI) + rm -f $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LINK_DEV) + ln -s $(INSTALL_SDK_LIBNAME) $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LINK_DEV) + rm -f $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LINK_DEV) + ln -s $(INSTALL_HOSTSDK_LIBNAME) $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LINK_DEV) sed "s,%PREFIX%,$(INSTALL_PREFIX)," $(APIDIR)/vamp.pc.in \ - > $(INSTALL_PKGCONFIG)/vamp.pc + > $(DESTDIR)$(INSTALL_PKGCONFIG)/vamp.pc sed "s,%PREFIX%,$(INSTALL_PREFIX)," $(SDKDIR)/vamp-sdk.pc.in \ - > $(INSTALL_PKGCONFIG)/vamp-sdk.pc + > $(DESTDIR)$(INSTALL_PKGCONFIG)/vamp-sdk.pc sed "s,%PREFIX%,$(INSTALL_PREFIX)," $(SDKDIR)/vamp-hostsdk.pc.in \ - > $(INSTALL_PKGCONFIG)/vamp-hostsdk.pc + > $(DESTDIR)$(INSTALL_PKGCONFIG)/vamp-hostsdk.pc sed -e "s,%LIBNAME%,$(INSTALL_SDK_LIBNAME),g" \ -e "s,%LINK_ABI%,$(INSTALL_SDK_LINK_ABI),g" \ -e "s,%LINK_DEV%,$(INSTALL_SDK_LINK_DEV),g" \ -e "s,%STATIC%,$(INSTALL_SDK_STATIC),g" \ -e "s,%LIBS%,$(INSTALL_SDK_LIBS),g" $(SDK_LA).in \ - > $(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LA) + > $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LA) sed -e "s,%LIBNAME%,$(INSTALL_HOSTSDK_LIBNAME),g" \ -e "s,%LINK_ABI%,$(INSTALL_HOSTSDK_LINK_ABI),g" \ -e "s,%LINK_DEV%,$(INSTALL_HOSTSDK_LINK_DEV),g" \ -e "s,%STATIC%,$(INSTALL_HOSTSDK_STATIC),g" \ -e "s,%LIBS%,$(INSTALL_SDK_LIBS),g" $(HOSTSDK_LA).in \ - > $(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LA) + > $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LA)