ardour/libs/fst/SConscript
Paul Davis 7885988df9 working VST support with VeSTige header and new FST code
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4637 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-19 14:01:59 +00:00

28 lines
722 B
Python

# -*- python -*-
import os
import os.path
import sys
import glob
fst_src = glob.glob('*.c')
Import('env install_prefix libraries')
fst = env.Clone(CC="winegcc")
fst.Append (CPPPATH=".")
fst.Merge ([libraries['glib2']])
if fst['VST']:
a = fst.Object ('fst', 'fst.c')
b = fst.Object ('fstinfofile', 'fstinfofile.c')
c = fst.Object ('vstwin', 'vstwin.c')
d = fst.Object ('vsti', 'vsti.c')
Default([a,b,c,d])
env.Alias('tarball', env.Distribute (env['DISTTREE'],
fst_src + ['SConscript',
'fst.h',
'jackvst.h'
] ))