X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=build%2Fcommon%2Fric_stub.mak;h=43a8a3f60400b0a79d3148e6f2565997e9b58621;hb=97a2285207414a7948f5e1dfcb5318fa9507c123;hp=a5c138bf280c539cbea4cfd594c1da3d56e36cb2;hpb=8660dd47a5ef27b62300fabf6b027852f1d5d026;p=o-du%2Fl2.git diff --git a/build/common/ric_stub.mak b/build/common/ric_stub.mak index a5c138bf2..43a8a3f60 100644 --- a/build/common/ric_stub.mak +++ b/build/common/ric_stub.mak @@ -14,7 +14,7 @@ # limitations under the License. # ################################################################################ -# This is makefile for CU STUB +# This is makefile for RIC STUB include ../common/rsys_fancy.mak include ../common/env.mak @@ -23,9 +23,6 @@ COLOR=$(COLOR_RED) SRC_DIR=$(ROOT_DIR)/src/ric_stub/ C_SRCS=$(wildcard $(SRC_DIR)/*.c) C_OBJS=$(patsubst $(SRC_DIR)/%.c,$(OBJ_DIR)/%.o,$(C_SRCS)) -LOG_FILES=$(patsubst $(SRC_DIR)/%.c,$(OBJ_DIR)/%.i,$(C_SRCS)) -BAK_FILES=$(patsubst $(SRC_DIR)/%.c,$(OBJ_DIR)/%.i.bak,$(C_SRCS)) -DB_FILES =$(patsubst $(SRC_DIR)/%.c,$(OBJ_DIR)/%.i.db,$(C_SRCS)) # prepare the list of common header files HDR_FILES+=$(wildcard $(CM_DIR)/env*.[hx]) @@ -41,12 +38,15 @@ I_OPTS+=-I$(ROOT_DIR)/src/mt I_OPTS+=-I$(ROOT_DIR)/src/codec_utils/common I_OPTS+=-I$(ROOT_DIR)/src/codec_utils/E2AP +ifeq ($(O1_ENABLE),YES) +I_OPTS+=-I$(ROOT_DIR)/src/o1 +endif #-------------------------------------------------------------# #Linker macros #-------------------------------------------------------------# -$(LIB_DIR)/libric.a:$(C_OBJS) $(C_WO_PED_OBJS) +$(LIB_DIR)/libric.a:$(C_OBJS) @echo -e "Creating Archive $(COLOR) $@ $(REVERT_COLOR)" - $(Q)ar -cr $(LIB_DIR)/libric.a $(C_OBJS) $(C_WO_PED_OBJS) + $(Q)ar -cr $(LIB_DIR)/libric.a $(C_OBJS) #-------------------------------------------------------------# #Clean macros @@ -54,5 +54,8 @@ $(LIB_DIR)/libric.a:$(C_OBJS) $(C_WO_PED_OBJS) clean: @echo -e "$(COLOR_RED)Cleaning RIC STUB$(REVERT_COLOR)" @echo $(SRC_DIR) $(CM_DIR) - $(Q)\rm -f $(LIB_DIR)/libric.a $(C_OBJS) $(C_WO_PED_OBJS) $(LOG_FILES) $(BAK_FILES) + $(Q)\rm -f $(LIB_DIR)/libric.a $(C_OBJS) +#********************************************************************** +# End of file +#**********************************************************************