diff options
Diffstat (limited to 'muse2/lib/synthi/Makefile.am')
-rw-r--r-- | muse2/lib/synthi/Makefile.am | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/muse2/lib/synthi/Makefile.am b/muse2/lib/synthi/Makefile.am new file mode 100644 index 00000000..37137dd2 --- /dev/null +++ b/muse2/lib/synthi/Makefile.am @@ -0,0 +1,23 @@ +all-local: link + +SOFTSYNTHDIRS = $(shell find ../../synti -type d \ + \( -not -name obj \ + -not -name CVS \ + -not -name ".*" \ + -not -name synti \)) + +SOFTSYNTHS = $(notdir $(SOFTSYNTHDIRS)) + +link: + find -type l -exec rm {} \; + for synth in $(SOFTSYNTHS); do \ + if test -e ../../synti/$${synth}/$${synth}; then \ + ln -s ../../synti/$${synth}/$${synth} .; \ + fi; \ + if test -e ../../synti/$${synth}/$${synth}.so; then \ + ln -s ../../synti/$${synth}/$${synth}.so .; \ + fi; \ + done + +CLEANFILES = $(SOFTSYNTHS) $(SOFTSYNTHS:%=%.so) + |