Commit f65e3b98 authored by Albert Gräf's avatar Albert Gräf
Browse files

Update externals Makefile for new zexy.

parent 7e20d9f4
......@@ -1876,72 +1876,17 @@ windowing_clean:
ZEXY_NAME = zexy
zexy_src := $(externals_src)/$(ZEXY_NAME)
$(zexy_src)/configure: $(zexy_src)/configure.ac
cd $(zexy_src) && ./autogen.sh
$(zexy_src)/Makefile: $(zexy_src)/configure $(zexy_src)/Makefile.am $(zexy_src)/src/Makefile.am
cd $(zexy_src) && ./configure --disable-library \
--with-extension=$(EXTENSION) \
--prefix=$(prefix) \
--libdir=$(objectsdir) \
--with-pd=$(pd_src)
zexy: $(zexy_src)/Makefile
$(MAKE) -C $(zexy_src)
$(MAKE) -C $(zexy_src) PDINCLUDEDIR=$(pd_src)/src PDBINDIR=$(pd_src)/src
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
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 0x260x26_tilde.$(EXTENSION) \
# '$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/&&~.$(EXTENSION)'
# test -e '$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/<~.$(EXTENSION)' || \
# ln -s 0x3c_tilde.$(EXTENSION) \
# '$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/<~.$(EXTENSION)'
# test -e '$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/==~.$(EXTENSION)' || \
# ln -s 0x3d0x3d_tilde.$(EXTENSION) \
# '$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/==~.$(EXTENSION)'
# test -e '$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/>~.$(EXTENSION)' || \
# ln -s 0x3e_tilde.$(EXTENSION) \
# '$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/>~.$(EXTENSION)'
# test -e '$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/||~.$(EXTENSION)' || \
# ln -s 0x7c0x7c_tilde.$(EXTENSION) \
# '$(DESTDIR)$(objectsdir)/$(ZEXY_NAME)/||~.$(EXTENSION)'
#endif
libdir=$(objectsdir) pkglibdir=$(objectsdir) install
zexy_clean:
cd $(externals_src)/zexy
-$(MAKE) -C $(externals_src)/zexy clean
-rm -rf -- $(externals_src)/zexy/autom4te.cache
-rm -f -- $(externals_src)/zexy/aclocal.m4
-rm -f -- $(externals_src)/zexy/libtool
-rm -f -- $(externals_src)/zexy/ltmain.sh
-rm -f -- $(externals_src)/zexy/m4/lt*.m4
-rm -f -- $(externals_src)/zexy/m4/libtool.m4
-rm -f -- $(externals_src)/zexy/configure
-rm -f -- $(externals_src)/zexy/src/*.o
-rm -f -- $(externals_src)/zexy/Makefile
-rm -f -- $(externals_src)/zexy/Makefile.in
-rm -f -- $(externals_src)/zexy/*/Makefile
-rm -f -- $(externals_src)/zexy/*/Makefile.in
-rm -f -- $(externals_src)/zexy/compile
-rm -f -- $(externals_src)/zexy/config.*
-rm -f -- $(externals_src)/zexy/depcomp
-rm -f -- $(externals_src)/zexy/install-sh
-rm -f -- $(externals_src)/zexy/missing
-rm -f -- $(externals_src)/zexy/stamp-h1
-rm -f -- $(externals_src)/zexy/test-driver
-rm -f -- $(externals_src)/zexy/*.pd
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment