| /* |
| * ======== package.bld ======== |
| */ |
| |
| /* ship source as reference code */ |
| Pkg.attrs.exportSrc = true; |
| |
| Pkg.attrs.relScript = "xdc/release/filters/what.rel"; |
| |
| Pkg.otherFiles = [ |
| "build.xs", |
| "Cache.xml", "CacheSupportNull.xml", "GateH.xml", |
| "GateProcess.xml", "GateProcessSupportNull.xml", |
| "GateThread.xml", "GateThreadSupportNull.xml", |
| "SemProcess.xml", "SemThread.xml", "Semaphore.xml", |
| "Sync.xml", "SyncGeneric.xml", "SyncNull.xml", |
| "Thread.xml" |
| ]; |
| |
| var build = xdc.loadCapsule('./build.xs'); |
| |
| for each (var fn in build.c_objs) { |
| Pkg.otherFiles.$add(fn.substring(fn.lastIndexOf('/') + 1)); |
| } |
| |
| Pkg.otherSrcs = Pkg.otherFiles; |