File: faust2jackinternal

package info (click to toggle)
faust 2.14.4~repack2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 276,136 kB
  • sloc: cpp: 231,578; ansic: 15,403; sh: 10,871; java: 6,917; objc: 4,085; makefile: 3,002; cs: 1,077; ruby: 951; python: 885; xml: 550; yacc: 516; lex: 233; lisp: 201
file content (19 lines) | stat: -rwxr-xr-x 627 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /bin/bash -e

if [[ $(uname) == Darwin ]]; then
	#On Darwin build a Jack internal client
	for f in $@; do
		faust -i -a jack-internal.cpp $f -o $f.cpp || exit
		${CXX=g++} ${CXXFLAGS=-O3} $FAUSTTOOLSFLAGS `pkg-config --cflags jack` $f.cpp -I/usr/local/include -L/usr/local/lib -ljackserver -fPIC -lOSCFaust -bundle -o ${f%.dsp}.so || exit
	done

else
	#On Linux build a Jack internal client 
	for f in $@; do
		faust -i -a jack-internal.cpp $f -o $f.cpp || exit
		${CXX=g++} ${CXXFLAGS=-O3} $FAUSTTOOLSFLAGS `pkg-config --cflags jack` $f.cpp  -ljackserver -fPIC -shared -o ${f%.dsp}.so || exit
	done

fi

echo  ${f%.dsp}.so