2008-06-02 17:41:35 -04:00
|
|
|
# -*- python -*-
|
|
|
|
|
|
|
|
import os
|
|
|
|
import os.path
|
|
|
|
import sys
|
|
|
|
import glob
|
|
|
|
|
|
|
|
fst_src = glob.glob('*.c')
|
|
|
|
|
2009-02-27 12:11:21 -05:00
|
|
|
Import('env install_prefix libraries')
|
2008-09-10 11:03:30 -04:00
|
|
|
fst = env.Clone(CC="winegcc")
|
2008-06-02 17:41:35 -04:00
|
|
|
fst.Append (CPPPATH=".")
|
2009-02-27 12:11:21 -05:00
|
|
|
fst.Merge ([libraries['glib2']])
|
2008-06-02 17:41:35 -04:00
|
|
|
|
|
|
|
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')
|
|
|
|
|
2009-02-27 12:11:21 -05:00
|
|
|
Default([a,b,c,d])
|
2008-06-02 17:41:35 -04:00
|
|
|
|
|
|
|
env.Alias('tarball', env.Distribute (env['DISTTREE'],
|
|
|
|
fst_src + ['SConscript',
|
|
|
|
'fst.h',
|
|
|
|
'jackvst.h'
|
|
|
|
] ))
|
|
|
|
|