tcp_sources = [
  'gstmultihandlesink.c',
  'gstmultisocketsink.c',
  'gstsocketsrc.c',
  'gsttcpclientsrc.c',
  'gsttcpclientsink.c',
  'gsttcpserversrc.c',
  'gsttcpserversink.c',
  'gsttcpplugin.c',
]

if core_conf.has('HAVE_SYS_SOCKET_H')
   tcp_sources += 'gstmultifdsink.c'
endif

gsttcp = library('gsttcp',
  tcp_sources,
  c_args : gst_plugins_base_args,
  include_directories: [configinc, libsinc],
  dependencies : [gio_dep, gst_base_dep, gst_net_dep],
  install : true,
  install_dir : plugins_install_dir,
)
pkgconfig.generate(gsttcp, install_dir : plugins_pkgconfig_install_dir)
