From 6a2b20360c9040f83033496c636388c1bbf00d67 Mon Sep 17 00:00:00 2001 From: "benjamin.drung@gmail.com" Date: Fri, 1 Nov 2013 22:03:03 +0000 Subject: [PATCH] Add simple Makefile to lv2. --- lib-src/Makefile.in | 6 +++--- lib-src/lv2/Makefile | 13 +++++++++++++ lib-src/lv2/clean | 6 ------ 3 files changed, 16 insertions(+), 9 deletions(-) create mode 100644 lib-src/lv2/Makefile delete mode 100755 lib-src/lv2/clean diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in index 68a6c073f..8ab81b09c 100644 --- a/lib-src/Makefile.in +++ b/lib-src/Makefile.in @@ -100,7 +100,7 @@ libsndfile.a: libsndfile-recursive # lv2 lv2-recursive: - cd lv2 && bash build && cd .. + $(MAKE) -C lv2 liblv2.a: lv2-recursive ln -sf lv2/liblv2.a liblv2.a @@ -151,7 +151,7 @@ clean: test ! -f libvorbis/Makefile || $(MAKE) -C libvorbis clean test ! -f lib-widget-extra/Makefile || $(MAKE) -C lib-widget-extra clean test ! -f libflac/Makefile || $(MAKE) -C libflac clean - cd lv2 && bash clean && cd .. + test ! -f lv2/Makefile || $(MAKE) -C lv2 clean test ! -f portaudio-v19/Makefile || $(MAKE) -C portaudio-v19 clean test ! -f portmixer/Makefile || $(MAKE) -C portmixer clean test ! -f sbsms/Makefile || $(MAKE) -C sbsms clean @@ -175,7 +175,7 @@ distclean: test ! -f libvorbis/Makefile || $(MAKE) -C libvorbis distclean test ! -f lib-widget-extra/Makefile || $(MAKE) -C lib-widget-extra distclean test ! -f libflac/Makefile || $(MAKE) -C libflac distclean - cd lv2 && bash clean && cd .. + test ! -f lv2/Makefile || $(MAKE) -C lv2 distclean test ! -f portaudio-v19/Makefile || $(MAKE) -C portaudio-v19 distclean test ! -f portmixer/Makefile || $(MAKE) -C portmixer distclean test ! -f sbsms/Makefile || $(MAKE) -C sbsms distclean diff --git a/lib-src/lv2/Makefile b/lib-src/lv2/Makefile new file mode 100644 index 000000000..9c9f7e324 --- /dev/null +++ b/lib-src/lv2/Makefile @@ -0,0 +1,13 @@ +all: + ./build + +clean: + rm -rf { + rm -rf include lv2/build serd/build sord/build sratom/build lilv/build + rm -f liblv2.a + +distclean: clean + rm -rf lv2/.waf-* serd/.waf-* sord/.waf-* sratom/.waf-* lilv/.waf-* + rm -rf lv2/.lock-* serd/.lock-* sord/.lock-* sratom/.lock-* lilv/.lock-* + +.PHONY: all clean distclean diff --git a/lib-src/lv2/clean b/lib-src/lv2/clean deleted file mode 100755 index 1a1a4b154..000000000 --- a/lib-src/lv2/clean +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -rm -rf {lv2,serd,sord,sratom,lilv}/{build,.waf*,.lock*} -rm -rf {liblv2.a,include} - -exit 0