2019-04-27 14:54:30 +00:00
|
|
|
# Copyright (C) 2019 by Sukchan Lee <acetcom@gmail.com>
|
|
|
|
|
|
|
|
# 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/>.
|
2017-02-15 06:28:38 +00:00
|
|
|
|
2019-10-27 08:41:14 +00:00
|
|
|
srcinc = include_directories('.')
|
2017-02-15 06:28:38 +00:00
|
|
|
|
2020-07-14 01:53:41 +00:00
|
|
|
package_version = 'v' + meson.project_version()
|
|
|
|
if git.found()
|
2022-11-21 13:06:29 +00:00
|
|
|
if meson.version().version_compare('>=0.47.0')
|
|
|
|
git_version = run_command('git', ['describe', '--abbrev=7', '--dirty=+'], check: false)
|
|
|
|
else
|
|
|
|
git_version = run_command('git', ['describe', '--abbrev=7', '--dirty=+'])
|
|
|
|
endif
|
2020-07-14 01:53:41 +00:00
|
|
|
if git_version.returncode() == 0
|
|
|
|
package_version = git_version.stdout().strip()
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
version_conf = configuration_data()
|
|
|
|
version_conf.set_quoted('OPEN5GS_VERSION', package_version)
|
|
|
|
configure_file(output : 'version.h', configuration : version_conf)
|
2020-07-13 05:07:27 +00:00
|
|
|
|
2019-10-27 08:41:14 +00:00
|
|
|
subdir('mme')
|
|
|
|
subdir('hss')
|
2020-08-13 00:31:22 +00:00
|
|
|
subdir('sgwc')
|
|
|
|
subdir('sgwu')
|
2019-10-27 08:41:14 +00:00
|
|
|
subdir('pcrf')
|
2020-04-26 19:36:05 +00:00
|
|
|
|
2020-05-18 21:00:37 +00:00
|
|
|
subdir('nrf')
|
2022-07-16 04:27:18 +00:00
|
|
|
subdir('scp')
|
|
|
|
|
2020-06-04 18:12:05 +00:00
|
|
|
subdir('udr')
|
|
|
|
subdir('udm')
|
2020-12-11 19:03:20 +00:00
|
|
|
subdir('pcf')
|
2021-03-08 12:25:09 +00:00
|
|
|
subdir('nssf')
|
2021-05-29 06:56:12 +00:00
|
|
|
subdir('bsf')
|
2020-06-04 18:12:05 +00:00
|
|
|
subdir('ausf')
|
2020-04-26 19:36:05 +00:00
|
|
|
subdir('upf')
|
2020-05-25 16:15:22 +00:00
|
|
|
subdir('smf')
|
|
|
|
subdir('amf')
|