9 path_prefix
= 'libs/clearlooks-newer'
12 autowaf
.set_options(opt
)
15 autowaf
.configure(conf
)
16 conf
.check_tool('compiler_cc')
19 obj
= bld
.new_task_gen('cc', 'shlib')
24 clearlooks_draw_glossy.c
25 clearlooks_draw_gummy.c
26 clearlooks_draw_inverted.c
29 clearlooks_theme_main.c
34 obj
.name
= 'clearlooks-newer'
35 obj
.target
= 'clearlooks'
38 obj
.install_path
= os
.path
.join(bld
.env
['LIBDIR'], 'ardour3')
40 if sys
.platform
== 'darwin':
41 # Bit of a hack: make a symlink to the .dylib that meets GTK's criteria for finding it (namely that the library must be a *.so
42 # and that it must reside in a directory called `engines')
43 obj
= bld
.new_task_gen(target
= 'engines', rule
= 'mkdir -p ${TGT} && rm -f ${TGT}/libclearlooks.so && ln -s ../libclearlooks.dylib ${TGT}/libclearlooks.so')