aboutsummaryrefslogtreecommitdiff
path: root/conf/pam_conv1/meson.build
blob: 487acd6a13b14689032e1b9f0c15dc31212b61f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
pam_conv_y = custom_target(
  'pam_conv_y.[ch]',
  input: 'pam_conv_y.y',
  output: ['pam_conv_y.c', 'pam_conv_y.h'],
  command: yacc_cmd,
)

pam_conv_l = custom_target(
  'pam_conv_l.c',
  input: 'pam_conv_l.l',
  output: 'pam_conv_l.c',
  depends: pam_conv_y,
  command: [prog_flex, '-o', '@OUTPUT@', '@INPUT@'],
)

executable(
  'pam_conv1',
  sources: [pam_conv_l, pam_conv_y],
  include_directories: [libpam_inc],
  c_args: [
    '-Wno-unused-function',
    '-Wno-sign-compare',
  ],
  link_args: exe_link_args,
)