mirror of
https://gitlab.eurecom.fr/oai/openairinterface5g.git
synced 2026-07-13 04:30:28 +00:00
- all RAN code, CI code, configuration files, dockerfiles, in CSSL v1.0
- all deployment code (openshift, charts, ancillary files like shell
scripts), in MIT
- documentation in CC-BY-4.0
- exceptions might apply and are listed in NOTICE
- there is a new LICENSES folder with all licenses
- CONTRIBUTIONS.md has been updated accordingly
For automated changes based on OAI PL v1.1:
perl -i~ -0pe 's/\/\*.*Licensed to the OpenAirInterface.*openairinterface.org\n#?/\/*\n * SPDX-License-Identifier: LicenseRef-CSSL-1.0\n/s' **/*.{c,h,cpp}
perl -i~ -0pe 's/\/\*.*Licensed to the OpenAirInterface.*openairinterface.org\n#?/\/*\n * SPDX-License-Identifier: LicenseRef-CSSL-1.0\n/s' **/*.ts
perl -i~ -0pe 's/<!--.*Licensed to the OpenAirInterface.*openairinterface.org\n.*-->/<!-- SPDX-License-Identifier: LicenseRef-CSSL-1.0 -->/s' **/*.xml
The rest (cmake, files with missing license, cmake) manually.
38 lines
942 B
Makefile
38 lines
942 B
Makefile
# SPDX-License-Identifier: LicenseRef-CSSL-1.0
|
|
|
|
CC=gcc
|
|
CFLAGS=-Wall -g -Iincgen
|
|
|
|
GENIDS=genids
|
|
GENIDS_OBJS=genids.o
|
|
|
|
all : $(GENIDS) incgen/T_messages.txt.h incgen/T_IDs.h
|
|
|
|
$(GENIDS): $(GENIDS_OBJS)
|
|
$(CC) $(CFLAGS) -o $(GENIDS) $(GENIDS_OBJS)
|
|
|
|
%.o: %.c
|
|
$(CC) $(CFLAGS) -c -o $@ $<
|
|
|
|
incgen/T_messages.txt.h: T_messages.txt
|
|
mkdir -p incgen
|
|
xxd -i T_messages.txt incgen/T_messages.txt.h
|
|
|
|
incgen/T_IDs.h: $(GENIDS) T_messages.txt
|
|
mkdir -p incgen
|
|
./$(GENIDS) T_messages.txt incgen/T_IDs.h
|
|
|
|
check_vcd: incgen/T_IDs.h incgen/T_messages.txt.h
|
|
gcc -Wall -I. -I.. -I../../.. -I../itti -I../../../openair2/COMMON -Itracer -Iincgen -o _check_vcd check_vcd.c tracer/database.c tracer/utils.c -lm -pthread
|
|
./_check_vcd T_messages.txt ../LOG/vcd_signal_dumper.h || (rm -rf ./_check_vcd ./incgen && false)
|
|
rm -f ./_check_vcd
|
|
|
|
.PHONY: check_vcd
|
|
|
|
clean:
|
|
rm -f *.o $(GENIDS) core _check_vcd
|
|
rm -rf incgen
|
|
|
|
cleanall: clean
|
|
cd tracer && $(MAKE) clean
|