import sbms Import('*') # Default targets (always built) subdirs = ['bfield2root', 'root_merge', 'root2email'] subdirs.extend( ['hddm', 'hddm_cull_events', 'hddm_merge_events', 'hddm_merge_files']) subdirs.extend( ['tree_to_amptools', 'plugins'] ) subdirs.extend( ['mkplugin', 'mkfactory_plugin'] ) SConscript(dirs=subdirs, exports='env osname', duplicate=0) # Optional targets (can only be built from inside # source directory or if specified on command line) sbms.OptionallyBuild(env, ['hddm2root', 'dumpwires'])