3 # /*************************************************************************
5 # * Copyright 2020 highstreet technologies GmbH and others
7 # * Licensed under the Apache License, Version 2.0 (the "License");
8 # * you may not use this file except in compliance with the License.
9 # * You may obtain a copy of the License at
11 # * http://www.apache.org/licenses/LICENSE-2.0
13 # * Unless required by applicable law or agreed to in writing, software
14 # * distributed under the License is distributed on an "AS IS" BASIS,
15 # * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # * See the License for the specific language governing permissions and
17 # * limitations under the License.
18 # ***************************************************************************/
28 "core/app/supervisor.c"
29 "core/app/app_common.c"
31 "core/app/manager_context.c"
32 "core/app/manager_operations.c"
33 "core/app/manager_actions.c"
34 "core/app/manager_sysrepo.c"
35 "core/app/network_function.c"
36 "core/app/nf_oran_du.c"
38 "core/datastore/schema.c"
39 "core/datastore/operations.c"
40 "core/datastore/populate.c"
41 "core/datastore/populate_aux.c"
42 "core/datastore/populate_late_resolve.c"
43 "core/datastore/populate_recursive.c"
44 "core/datastore/populate_validation.c"
45 "core/faults/faults.c"
46 "core/faults/faults_counters.c"
47 "core/faults/faults_processing.c"
48 "core/faults/faults_logic.c"
49 "core/faults/faults_ves.c"
58 "utils/network_emulation.c"
59 "features/ves_pnf_registration/ves_pnf_registration.c"
60 "features/ves_heartbeat/ves_heartbeat.c"
61 "features/ves_file_ready/ves_file_ready.c"
62 "features/manual_notification/manual_notification.c"
63 "features/netconf_call_home/netconf_call_home.c"
64 "features/web_cut_through/web_cut_through.c"
82 sources="$sources source/$i"
88 libraries="$libraries -l$i"
93 build="gcc -Wall -pedantic -Isource $sources $libraries -o$output"
94 if [[ -n "${BUILD_WITH_DEBUG}" ]]; then
95 build="gcc -g -Wall -pedantic -Isource $sources $libraries -o$output"
98 echo "Building with command: $build"
100 if [ "$?" -ne "0" ]; then