nobotgate/meson.build

33 lines
574 B
Meson

project(
'nobotgate', 'c',
default_options: [
'c_std=c99',
'warning_level=2',
],
)
cc = meson.get_compiler('c')
deps = [
cc.find_library('libowfat'),
]
add_project_arguments(
'-DPATH_TMP="'+get_option('path_tmp')+'"',
language: 'c',
)
executable('nobotgate', files(
'./nobotgate.c',
'./parse_token.c',
'./check_token.c',
'./send_headers.c',
), dependencies:deps, install:true)
executable('nobotgate-access', files(
'./nobotgate-access.c',
), dependencies:deps, install:true)
install_man([
'./doc/nobotgate.1',
'./doc/nobotgate-access.1',
])