8 fst_src = glob.glob('*.c')
10 Import('env install_prefix')
11 fst = env.Copy(CC="winegcc")
12 fst.Append (CPPPATH=".")
14 a = fst.Object ('fst', 'fst.c')
15 b = fst.Object ('fstinfofile', 'fstinfofile.c')
16 c = fst.Object ('vstwin', 'vstwin.c')
17 d = fst.Object ('vsti', 'vsti.c')
20 if os.access ('vst_sdk2_3.zip', os.F_OK):
21 fst.Execute ("unzip -o vst_sdk2_3.zip vstsdk2.3.zip")
22 if os.access ('vstsdk2.3.zip', os.F_OK):
23 fst.Execute ("unzip -o vstsdk2.3.zip")
25 print 'Did not find vst_sdk2_3.zip or vstsdk2.3.zip in libs/fst. Make sure the correct file is in the correct location and correctly named'
26 print 'Please see http://ardour.org/building_vst_support for more information'
28 fst.Execute (Delete ("vst"))
29 fst.Execute (Copy ("vst", "vstsdk2.3/source/common"))
30 fst.Execute ("sed -i '/struct VstFileType\|struct VstFileSelect/,/};/d' vst/aeffectx.h")
34 env.Alias('tarball', env.Distribute (env['DISTTREE'],
35 fst_src + ['SConscript',