aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcarmen rocco <ix9@users.sourceforge.net>2005-04-12 14:14:35 +0000
committercarmen rocco <ix9@users.sourceforge.net>2005-04-12 14:14:35 +0000
commit4f5c043692cee5a0865228ecb8fcab3d433b3d4e (patch)
treee9764493931523067bdcd83afb7084c10931eee8
parent3c83bb159ecc7a6bb3cc790d508c6e1dbfebd07c (diff)
unauthorized 0wnz j00-0!!
svn path=/trunk/externals/unauthorized/; revision=2739
-rw-r--r--SConscript20
1 files changed, 20 insertions, 0 deletions
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')))
+
+