8 fst_src = glob.glob('*.c')
10 Import('env install_prefix')
11 fst = env.Copy(CC="winegcc")
12 fst.Append (CPPPATH=".")
14 hackSDK = fst.Command('vst/aeffectx.h', 'vstsdk2.3/source/common/aeffectx.h', [
15 Delete ('${TARGET.dir}'),
16 Copy ('${TARGET.dir}', '${SOURCE.dir}'),
17 "sed -i '/struct VstFileType\|struct VstFileSelect/,/};/d' $TARGET"
20 a = fst.Object ('fst', 'fst.c')
21 b = fst.Object ('fstinfofile', 'fstinfofile.c')
22 c = fst.Object ('vstwin', 'vstwin.c')
23 d = fst.Object ('vsti', 'vsti.c')
26 if os.access ('vst/aeffectx.h', os.F_OK):
27 Default([hackSDK,a,b,c,d])
29 print 'You have not installed the VST SDK in the correct location.'
30 print 'Please see http://ardour.org/building_vst_support for more information'
33 env.Alias('tarball', env.Distribute (env['DISTTREE'],
34 fst_src + ['SConscript',