+if deps_remoting.length() == depnames.length()
+ config_h.set('HAVE_REMOTING', 1)
+ message('Found remoting depends, enabling remoting')
+endif
+
+if deps_waltham.length() == depnames_waltham.length() + depnames.length()
+ config_h.set('HAVE_WALTHAM', 1)
+ message('Found waltham depends, enabling waltham')
+endif
+
+if dep_libsmack.found()
+ config_h.set('HAVE_SMACK', 1)
+ deps_libweston += dep_libsmack
+endif
+
+dir_module_agl_compositor = join_paths(join_paths(prefix_path, get_option('libdir')), 'agl-compositor')
+
+libexec_compositor = shared_library(
+ 'exec_compositor',
+ sources: srcs_agl_compositor,
+ dependencies: deps_libweston,
+ install_dir: dir_module_agl_compositor,
+ install: true,
+ version: '0.0.0',
+ soversion: 0
+)
+
+dep_libexec_compositor = declare_dependency(
+ link_with: libexec_compositor,
+ include_directories: [ include_directories('.') ],
+ dependencies: deps_libweston,
+)
+