source: waflib/Tools/c.py @ deb1fd4

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

waf: unpack

  • Property mode set to 100644
File size: 1.0 KB
Line 
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
5from waflib import TaskGen,Task,Utils
6from waflib.Tools import c_preproc
7from waflib.Tools.ccroot import link_task,stlink_task
8@TaskGen.extension('.c')
9def c_hook(self,node):
10        return self.create_compiled_task('c',node)
11class c(Task.Task):
12        run_str='${CC} ${ARCH_ST:ARCH} ${CFLAGS} ${CPPFLAGS} ${FRAMEWORKPATH_ST:FRAMEWORKPATH} ${CPPPATH_ST:INCPATHS} ${DEFINES_ST:DEFINES} ${CC_SRC_F}${SRC} ${CC_TGT_F}${TGT}'
13        vars=['CCDEPS']
14        ext_in=['.h']
15        scan=c_preproc.scan
16class cprogram(link_task):
17        run_str='${LINK_CC} ${LINKFLAGS} ${CCLNK_SRC_F}${SRC} ${CCLNK_TGT_F}${TGT[0].abspath()} ${RPATH_ST:RPATH} ${FRAMEWORKPATH_ST:FRAMEWORKPATH} ${FRAMEWORK_ST:FRAMEWORK} ${ARCH_ST:ARCH} ${STLIB_MARKER} ${STLIBPATH_ST:STLIBPATH} ${STLIB_ST:STLIB} ${SHLIB_MARKER} ${LIBPATH_ST:LIBPATH} ${LIB_ST:LIB}'
18        ext_out=['.bin']
19        vars=['LINKDEPS']
20        inst_to='${BINDIR}'
21class cshlib(cprogram):
22        inst_to='${LIBDIR}'
23class cstlib(stlink_task):
24        pass
Note: See TracBrowser for help on using the repository browser.