~ubuntu-branches/debian/experimental/sratom/experimental

« back to all changes in this revision

Viewing changes to waflib/Tools/nasm.py

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2013-03-12 17:18:50 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130312171850-9ta33xxafyqgd6th
Tags: 0.4.2~dfsg0-1
* New upstream release.
* Needs sord >= 0.12.0.
* Tigthen build-dep on libserd-dev (>= 0.18.0~)
* Aill -dev's Depends field up properly by adding libsord-dev,
  libserd-dev and lv2-dev.
* Fix libsratom-doc.install file.
* Bump Standards.

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 waflib.Tools.asm
 
6
from waflib.TaskGen import feature
 
7
@feature('asm')
 
8
def apply_nasm_vars(self):
 
9
        self.env.append_value('ASFLAGS',self.to_list(getattr(self,'nasm_flags',[])))
 
10
def configure(conf):
 
11
        nasm=conf.find_program(['nasm','yasm'],var='AS')
 
12
        conf.env.AS_TGT_F=['-o']
 
13
        conf.env.ASLNK_TGT_F=['-o']
 
14
        conf.load('asm')