working VST support with VeSTige header and new FST code
[ardour.git] / libs / fst / SConscript
1 # -*- python -*-
2
3 import os
4 import os.path
5 import sys
6 import glob
7
8 fst_src = glob.glob('*.c')
9
10 Import('env install_prefix libraries')
11 fst = env.Clone(CC="winegcc")
12 fst.Append (CPPPATH=".")
13 fst.Merge ([libraries['glib2']])
14
15 if fst['VST']:
16     a = fst.Object ('fst', 'fst.c')
17     b = fst.Object ('fstinfofile', 'fstinfofile.c')
18     c = fst.Object ('vstwin', 'vstwin.c')
19     d = fst.Object ('vsti', 'vsti.c')
20
21     Default([a,b,c,d])
22     
23 env.Alias('tarball', env.Distribute (env['DISTTREE'],
24                                      fst_src + ['SConscript',
25                                                 'fst.h',
26                                                 'jackvst.h'
27                                                 ] ))
28