summaryrefslogtreecommitdiff
path: root/tools/gccabicheck/wscript
blob: ecef5c6aa7ab9b4278c655d874ca2fe282c66ac1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/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'
    obj.install_path = None