diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-12-22 01:08:03 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-12-22 01:08:03 +0000 |
commit | 0af22a2ed687745b24083703a4e9100b1f36e6af (patch) | |
tree | 389b1ae093b28b03b644ad6cc6790b159f961bfc | |
parent | 742215d6e906053234af59a186a43aaa1b76812f (diff) |
make aliases for zexy hex-named objects: <~ >~ ||~ &&~ ==~ . so they load easily (on Windows, a different kludge is used)
svn path=/trunk/; revision=16733
-rw-r--r-- | externals/Makefile | 26 |
1 files changed, 25 insertions, 1 deletions
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 |