1demux_sources = ['mctp-demux-daemon.c'] 2demux_args = [] 3demux_dep = [libmctp_dep, pcap_dep, libsystemd_dep] 4# While mctp-demux-daemon will build without pcap, it won't 5# be functional. 6# TODO only build mctp-demux-daemon when pcap is available. 7if pcap_dep.found() 8 demux_args += '-DHAVE_PCAP' 9 demux_sources += 'mctp-capture.c' 10endif 11 12demux = executable('mctp-demux-daemon', 13 demux_sources, 14 include_directories: libmctp_include_dir, 15 dependencies: demux_dep, 16 c_args: demux_args, 17 install: true, 18) 19 20pipe = executable('mctp-pipe', 21 'mctp-pipe.c', 22 include_directories: libmctp_include_dir, 23 dependencies: [libmctp_dep], 24 install: false, 25) 26 27mctp_in = executable('mctp-in', 28 'mctp-in.c', 29 include_directories: libmctp_include_dir, 30 dependencies: [libmctp_dep], 31 install: false, 32) 33