open5gs/src/amf/meson.build

95 lines
2.1 KiB
Meson
Raw Normal View History

# Copyright (C) 2019-2022 by Sukchan Lee <acetcom@gmail.com>
2020-05-25 16:15:22 +00:00
# This file is part of Open5GS.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
libamf_sources = files('''
2022-06-08 08:54:46 +00:00
metrics.h
2020-05-25 16:15:22 +00:00
context.c
event.c
timer.c
2020-06-04 18:12:05 +00:00
nausf-build.c
nausf-handler.c
2020-06-17 05:22:28 +00:00
nudm-build.c
nudm-handler.c
2020-06-17 05:22:28 +00:00
nsmf-build.c
nsmf-handler.c
2020-12-11 19:03:20 +00:00
npcf-build.c
npcf-handler.c
nnssf-build.c
nnssf-handler.c
nnrf-build.c
2020-05-25 16:15:22 +00:00
nnrf-handler.c
namf-build.c
2020-06-17 05:22:28 +00:00
namf-handler.c
2020-05-25 16:15:22 +00:00
sbi-path.c
2020-06-04 18:12:05 +00:00
2020-05-25 16:15:22 +00:00
ngap-sctp.c
ngap-build.c
ngap-handler.c
ngap-path.c
ngap-sm.c
2020-06-04 18:12:05 +00:00
nas-security.c
gmm-build.c
gmm-handler.c
nas-path.c
gmm-sm.c
2020-05-25 16:15:22 +00:00
amf-sm.c
init.c
2022-06-08 08:54:46 +00:00
metrics.c
2020-05-25 16:15:22 +00:00
'''.split())
libamf = static_library('amf',
sources : libamf_sources,
2022-08-26 01:57:11 +00:00
dependencies : [libmetrics_dep,
2020-05-25 16:15:22 +00:00
libsctp_dep,
libngap_dep,
libnas_5gs_dep,
libsbi_dep],
install : false)
libamf_dep = declare_dependency(
link_with : libamf,
2022-08-26 01:57:11 +00:00
dependencies : [libmetrics_dep,
2020-05-25 16:15:22 +00:00
libsctp_dep,
libngap_dep,
libnas_5gs_dep,
libsbi_dep])
amf_sources = files('''
app.c
../main.c
'''.split())
executable('open5gs-amfd',
sources : amf_sources,
c_args : '-DDEFAULT_CONFIG_FILENAME="@0@/amf.yaml"'.format(open5gs_sysconfdir),
include_directories : srcinc,
2020-07-14 01:53:41 +00:00
dependencies : libamf_dep,
2020-05-25 16:15:22 +00:00
install_rpath : libdir,
install : true)