| Line | |
|---|
| 1 | |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | VERSION='2.0' |
|---|
| 10 | APPNAME='lv2fil' |
|---|
| 11 | |
|---|
| 12 | |
|---|
| 13 | srcdir = '.' |
|---|
| 14 | blddir = 'build' |
|---|
| 15 | |
|---|
| 16 | def set_options(opt): |
|---|
| 17 | opt.parser.remove_option('--prefix') |
|---|
| 18 | opt.tool_options('compiler_cc') |
|---|
| 19 | opt.tool_options('lv2plugin', tooldir='.') |
|---|
| 20 | |
|---|
| 21 | def configure(conf): |
|---|
| 22 | conf.check_tool('compiler_cc') |
|---|
| 23 | conf.check_tool('lv2plugin', tooldir='.') |
|---|
| 24 | |
|---|
| 25 | conf.check_pkg('lv2core', mandatory=True) |
|---|
| 26 | |
|---|
| 27 | conf.env.append_unique('LINKFLAGS', '-lm') |
|---|
| 28 | |
|---|
| 29 | def build(bld): |
|---|
| 30 | filter = bld.create_obj('lv2plugin', type='cc') |
|---|
| 31 | filter.uselib = 'LV2CORE' |
|---|
| 32 | filter.target = 'filter' |
|---|
| 33 | filter.ttl = ['filter.ttl', 'manifest.ttl', 'ui', 'lv2logo.png'] |
|---|
| 34 | filter.source = ['filter.c', 'lv2filter.c', 'lv2plugin.c', 'log.c', 'lv2_ui.c'] |
|---|