From 4f5c043692cee5a0865228ecb8fcab3d433b3d4e Mon Sep 17 00:00:00 2001 From: carmen rocco Date: Tue, 12 Apr 2005 14:14:35 +0000 Subject: unauthorized 0wnz j00-0!! svn path=/trunk/externals/unauthorized/; revision=2739 --- SConscript | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 SConscript diff --git a/SConscript b/SConscript new file mode 100644 index 0000000..12aa22c --- /dev/null +++ b/SConscript @@ -0,0 +1,20 @@ +import glob +import os +import re +Import('env prefix') +env.Append(CPPPATH = '/usr/include/speex') + +for tk in glob.glob('*/*.tk'): + (dir, file) = os.path.split(tk) + filename = re.sub("\.tk$","",file) + cmd = "./tk2c.bash < " + dir + "/" + file + " > " + dir + "/" + filename + ".tk2c" + os.popen(cmd) + +for extra in glob.glob('*/*.c'): + unauthorized = env.SharedLibrary(target = re.sub("\.c$","",os.path.basename(extra)), source = extra) + env.Alias('install', env.Install(os.path.join(prefix, 'extra'), unauthorized)) + Default(unauthorized) + +env.Alias('install', env.Install(os.path.join(prefix, 'doc/5.reference'), glob.glob('*/*.pd'))) + + -- cgit v1.2.1