1#!/usr/bin/env python
2# encoding: utf-8
3
4def configure(conf):
5    pass
6
7def build(bld):
8    lv2_base = 'gxmetal_head'
9
10    bld.lv2(
11        lv2_base = lv2_base,
12        source   = ['gxmetal_head.cpp'],
13        includes = ['../faust','./', '../DSP', '../DSP/tube_tables'],
14        cxxflags=['-fvisibility=hidden','-Wl,-z,noexecstack','-Wl,-z,relro,-z,now','-Wl,--exclude-libs,ALL'],
15        use = ['LV2CORE','GX_CONVOLVER','GX_RESAMPLER'],
16        )
17    bld.lv2_gui(
18        lv2_base = lv2_base,
19        source   = ' gxmetal_head_ui.cpp',
20        includes = ['../xputty/header','../xputty/header/widgets','../xputty/resources',],
21        cxxflags=['-fvisibility=hidden','-Wl,-z,noexecstack','-Wl,-z,relro,-z,now','-Wl,--exclude-libs,ALL'],
22        use = ['xcairo','X11', 'CAIRO','LV2CORE'],
23        )
24