23 lines
464 B
Plaintext
23 lines
464 B
Plaintext
|
#!/usr/bin/env python
|
||
|
from waflib.extras import autowaf as autowaf
|
||
|
from waflib import Options
|
||
|
import os
|
||
|
|
||
|
# Mandatory variables
|
||
|
top = '.'
|
||
|
out = 'build'
|
||
|
|
||
|
def options(opt):
|
||
|
autowaf.set_options(opt)
|
||
|
|
||
|
def configure(conf):
|
||
|
conf.load('compiler_c')
|
||
|
autowaf.configure(conf)
|
||
|
|
||
|
def build(bld):
|
||
|
obj = bld(features = 'c cprogram')
|
||
|
obj.source = [ 'abicheck.c' ]
|
||
|
obj.target = 'gcc-glibmm-abi-check'
|
||
|
obj.name = 'gcc-glibmm-abi-check'
|
||
|
obj.lib = 'dl'
|