~ubuntu-branches/ubuntu/utopic/ardour3/utopic

« back to all changes in this revision

Viewing changes to waflib/Tools/asm.py

  • Committer: Package Import Robot
  • Author(s): Felipe Sateler, Felipe Sateler, Jaromír Mikeš
  • Date: 2013-09-21 19:05:02 UTC
  • Revision ID: package-import@ubuntu.com-20130921190502-9by89mlwhy6cpjxo
Tags: 3.4~dfsg-2
* Team upload.

[ Felipe Sateler ]
* Re-upload to unstable

[ Jaromír Mikeš ]
* Update copyright file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
 
5
import os,sys
 
6
from waflib import Task,Utils
 
7
import waflib.Task
 
8
from waflib.Tools.ccroot import link_task,stlink_task
 
9
from waflib.TaskGen import extension,feature
 
10
class asm(Task.Task):
 
11
        color='BLUE'
 
12
        run_str='${AS} ${ASFLAGS} ${CPPPATH_ST:INCPATHS} ${AS_SRC_F}${SRC} ${AS_TGT_F}${TGT}'
 
13
def asm_hook(self,node):
 
14
        return self.create_compiled_task('asm',node)
 
15
class asmprogram(link_task):
 
16
        run_str='${ASLINK} ${ASLINKFLAGS} ${ASLNK_TGT_F}${TGT} ${ASLNK_SRC_F}${SRC}'
 
17
        ext_out=['.bin']
 
18
        inst_to='${BINDIR}'
 
19
        chmod=Utils.O755
 
20
class asmshlib(asmprogram):
 
21
        inst_to='${LIBDIR}'
 
22
class asmstlib(stlink_task):
 
23
        pass
 
24
 
 
25
extension('.s','.S','.asm','.ASM','.spp','.SPP')(asm_hook)
 
 
b'\\ No newline at end of file'