2016-09-26 12:15:52 +02:00
|
|
|
pinos_headers = [
|
2016-11-03 19:41:53 +01:00
|
|
|
'array.h',
|
2016-09-26 12:15:52 +02:00
|
|
|
'context.h',
|
|
|
|
|
'introspect.h',
|
2016-11-03 19:41:53 +01:00
|
|
|
'log.h',
|
2016-11-18 17:46:01 +01:00
|
|
|
'loop.h',
|
2016-11-03 19:41:53 +01:00
|
|
|
'map.h',
|
2016-11-07 10:24:13 +01:00
|
|
|
'mem.h',
|
2016-09-26 12:15:52 +02:00
|
|
|
'pinos.h',
|
|
|
|
|
'properties.h',
|
2016-11-24 17:00:42 +01:00
|
|
|
'proxy.h',
|
2016-10-28 16:56:33 +02:00
|
|
|
'rtkit.h',
|
|
|
|
|
'stream.h',
|
2016-09-26 12:15:52 +02:00
|
|
|
'subscribe.h',
|
2016-10-20 16:26:55 +02:00
|
|
|
'thread-mainloop.h',
|
2016-11-07 10:24:13 +01:00
|
|
|
'transport.h',
|
2016-11-14 12:42:00 +01:00
|
|
|
'utils.h',
|
2016-09-26 12:15:52 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
pinos_sources = [
|
2016-10-17 18:29:05 +02:00
|
|
|
'connection.c',
|
2016-09-26 12:15:52 +02:00
|
|
|
'context.c',
|
|
|
|
|
'introspect.c',
|
2016-11-03 19:41:53 +01:00
|
|
|
'log.c',
|
2016-11-18 17:46:01 +01:00
|
|
|
'loop.c',
|
2016-11-03 19:41:53 +01:00
|
|
|
'mapper.c',
|
2016-11-07 10:24:13 +01:00
|
|
|
'mem.c',
|
2016-09-26 12:15:52 +02:00
|
|
|
'properties.c',
|
2016-11-24 17:00:42 +01:00
|
|
|
'proxy.c',
|
2016-10-17 12:20:49 +02:00
|
|
|
'serialize.c',
|
2016-09-26 12:15:52 +02:00
|
|
|
'stream.c',
|
|
|
|
|
'pinos.c',
|
2016-10-28 16:56:33 +02:00
|
|
|
'rtkit.c',
|
2016-10-20 16:26:55 +02:00
|
|
|
'thread-mainloop.c',
|
2016-11-07 10:24:13 +01:00
|
|
|
'transport.c',
|
2016-11-14 12:42:00 +01:00
|
|
|
'utils.c',
|
2016-09-26 12:15:52 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
install_headers(pinos_headers, subdir : 'pinos/client')
|
|
|
|
|
|
|
|
|
|
libpinos_c_args = [
|
|
|
|
|
'-DHAVE_CONFIG_H',
|
|
|
|
|
'-D_GNU_SOURCE',
|
2016-11-18 17:46:01 +01:00
|
|
|
'-D_POSIX_C_SOURCE',
|
2016-09-26 12:15:52 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
libpinos = shared_library('pinos', pinos_sources,
|
|
|
|
|
version : libversion,
|
|
|
|
|
soversion : soversion,
|
|
|
|
|
c_args : libpinos_c_args,
|
|
|
|
|
include_directories : [configinc, spa_inc],
|
|
|
|
|
link_with : spalib,
|
|
|
|
|
install : true,
|
2016-11-24 18:17:29 +01:00
|
|
|
dependencies : [glib_dep, dbus_dep, mathlib, pthread_lib],
|
2016-09-26 12:15:52 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
pinos_dep = declare_dependency(link_with : libpinos,
|
|
|
|
|
include_directories : [configinc, spa_inc],
|
2016-11-24 17:40:26 +01:00
|
|
|
dependencies : [glib_dep, pthread_lib],
|
2016-09-26 12:15:52 +02:00
|
|
|
)
|