From 0af22a2ed687745b24083703a4e9100b1f36e6af Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 22 Dec 2012 01:08:03 +0000 Subject: make aliases for zexy hex-named objects: <~ >~ ||~ &&~ ==~ . so they load easily (on Windows, a different kludge is used) svn path=/trunk/; revision=16733 --- externals/Makefile | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'externals/Makefile') diff --git a/externals/Makefile b/externals/Makefile index 0d07df2b..e453819c 100644 --- a/externals/Makefile +++ b/externals/Makefile @@ -1788,8 +1788,32 @@ zexy: $(zexy_src)/Makefile zexy_install: zexy $(MAKE) -C $(zexy_src) DESTDIR=$(DESTDIR) prefix=$(prefix) \ libdir=$(objectsdir) pkglibdir=$(objectsdir)/$(ZEXY_NAME) install - # remove all .la files (libtool archives) created by autotools +# remove all .la files (libtool archives) created by autotools find $(DESTDIR)$(objectsdir)/$(ZEXY_NAME) -name "*.la" -exec rm {} \; + find $(DESTDIR)$(objectsdir)/$(ZEXY_NAME) -name "*.dll.a" -exec rm {} \; +# add missing aliases +# can't do these on Windows because FAT, NTFS don't support these chars in filenames +# on Windows, these are faked in by loading them as libs +ifneq ($(OS_NAME),windows) + test -e $(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/..$(EXTENSION) || \ + ln -s 0x2e.$(EXTENSION) \ + $(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/..$(EXTENSION) + test -e '$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/&&~.$(EXTENSION)' || \ + ln -s 0x260x260x7e.$(EXTENSION) \ + '$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/&&~.$(EXTENSION)' + test -e '$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/<~.$(EXTENSION)' || \ + ln -s 0x3c0x7e.$(EXTENSION) \ + '$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/<~.$(EXTENSION)' + test -e '$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/==~.$(EXTENSION)' || \ + ln -s 0x3d0x3d0x7e.$(EXTENSION) \ + '$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/==~.$(EXTENSION)' + test -e '$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/>~.$(EXTENSION)' || \ + ln -s 0x3e0x7e.$(EXTENSION) \ + '$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/>~.$(EXTENSION)' + test -e '$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/||~.$(EXTENSION)' || \ + ln -s 0x7c0x7c0x7e.$(EXTENSION) \ + '$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/||~.$(EXTENSION)' +endif zexy_clean: -$(MAKE) -C $(externals_src)/zexy clean -- cgit v1.2.1