source: waflib/Tools/asm.py @ eeda761

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since eeda761 was 0fa325b, checked in by Paul Brossier <piem@piem.org>, 11 years ago

waf: unpack

  • Property mode set to 100644
File size: 833 bytes
RevLine 
[0fa325b]1#! /usr/bin/env python
2# encoding: utf-8
3# WARNING! Do not edit! http://waf.googlecode.com/git/docs/wafbook/single.html#_obtaining_the_waf_file
4
5import os,sys
6from waflib import Task,Utils
7import waflib.Task
8from waflib.Tools.ccroot import link_task,stlink_task
9from waflib.TaskGen import extension,feature
10class asm(Task.Task):
11        color='BLUE'
12        run_str='${AS} ${ASFLAGS} ${ASMPATH_ST:INCPATHS} ${AS_SRC_F}${SRC} ${AS_TGT_F}${TGT}'
13@extension('.s','.S','.asm','.ASM','.spp','.SPP')
14def asm_hook(self,node):
15        return self.create_compiled_task('asm',node)
16class asmprogram(link_task):
17        run_str='${ASLINK} ${ASLINKFLAGS} ${ASLNK_TGT_F}${TGT} ${ASLNK_SRC_F}${SRC}'
18        ext_out=['.bin']
19        inst_to='${BINDIR}'
20class asmshlib(asmprogram):
21        inst_to='${LIBDIR}'
22class asmstlib(stlink_task):
23        pass
24def configure(conf):
25        conf.env['ASMPATH_ST']='-I%s'
Note: See TracBrowser for help on using the repository browser.