project('obmc-console', 'c',
    default_options: [
      'buildtype=debugoptimized',
      'warning_level=3',
      'werror=true',
      'c_std=gnu17',
      'tests=' + (meson.is_subproject() ? 'false' : 'true'),
    ],
    version: '1.0.0',
    meson_version: '>=0.63.0',
)

add_project_arguments('-D_GNU_SOURCE', language: 'c')

systemdsystemunitdir = dependency('systemd').get_variable('systemdsystemunitdir')
install_data('conf/obmc-console@.service.in',
             'conf/obmc-console@.socket.in',
             'conf/obmc-console-ssh@.service.in',
             rename: [
               'obmc-console@.service',
               'obmc-console@.socket',
               'obmc-console-ssh@.service'
             ],
             install_dir: systemdsystemunitdir,
           )

if get_option('concurrent-servers')
  install_data('conf/client.2200.conf.in',
               rename: [ 'client.2200.conf' ],
               install_dir: systemdsystemunitdir)
else
  install_data('conf/obmc-console-ssh.socket.in',
               rename: [ 'obmc-console-ssh.socket' ],
               install_dir: systemdsystemunitdir)
  install_data('conf/obmc-console-ssh@.service.d/use-socket.conf.in',
               rename: [ 'use-socket.conf' ],
               install_dir: systemdsystemunitdir / 'obmc-console-ssh@.service.d')
endif

udev = dependency('udev', required: get_option('udev'))
if udev.found()
  install_data('conf/80-obmc-console-uart.rules.in',
               rename: [ '80-obmc-console-uart.rules' ],
               install_dir: udev.get_variable('udevdir') / 'rules.d')
endif

executable('obmc-console-server',
           'config.c',
           'console-server.c',
           'console-socket.c',
           'log-handler.c',
           'ringbuffer.c',
           'socket-handler.c',
           'tty-handler.c',
           'util.c',
           c_args: [
             '-DLOCALSTATEDIR="@0@"'.format(get_option('localstatedir')),
             '-DSYSCONFDIR="@0@"'.format(get_option('sysconfdir'))
           ],
           dependencies: [
             dependency('libsystemd'),
             meson.get_compiler('c').find_library('rt')
           ],
           install: true)

executable('obmc-console-client',
           'config.c',
           'console-client.c',
           'console-socket.c',
           'util.c',
           c_args: [
             '-DSYSCONFDIR="@0@"'.format(get_option('sysconfdir'))
           ],
           install: true)

subdir('test')
