aboutsummaryrefslogtreecommitdiff
path: root/src/supervise-daemon/meson.build
blob: f7d70c4c1a2e8225513bc90560a13a6428e1861e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
executable('supervise-daemon',
  ['supervise-daemon.c', '../start-stop-daemon/pipes.c', misc_c, plugin_c, schedules_c, usage_c, version_h],
  c_args : [cc_branding_flags, cc_pam_flags, cc_cap_flags, cc_selinux_flags],
  link_with: [libeinfo, librc],
  dependencies: [dl_dep, pam_dep, cap_dep, util_dep, selinux_dep],
  include_directories: [incdir, einfo_incdir, rc_incdir],
  install: true,
  install_dir: sbindir)

if get_option('pam')
  install_data('supervise-daemon.pam',
    rename : 'supervise-daemon',
    install_dir : pamdir)
endif