X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2FMakefile;h=ec89c056c3c816abfadc87e9a4ca18640b8e10c8;hb=ea129fa14c89d8f5cedacd9afc1e4dd7a30f1ae4;hp=10089f749d92bd0ea16e098c776c84991898a1e2;hpb=65ac2f814cdd9dc0f71ee35868dc6c75a7f69d6a;p=ric-app%2Fhw.git diff --git a/test/Makefile b/test/Makefile index 10089f7..ec89c05 100644 --- a/test/Makefile +++ b/test/Makefile @@ -7,14 +7,14 @@ UTILSRC=../src/xapp-utils MGMTSRC:=../src/xapp-mgmt ASNSRC:=../asn1c_defs -E2APSRC:=../src/xapp-formats/e2ap -E2SMSRC:=../src/xapp-formats/e2sm +E2APSRC:=../src/xapp-asn/e2ap +E2SMSRC:=../src/xapp-asn/e2sm ####### Logging library and flags CLOGFLAGS:= `pkg-config mdclog --cflags` LOG_LIBS:= `pkg-config mdclog --libs` CURL_LIBS:= `pkg-config libcurl --libs` -RNIB_LIBS:= -pthread /usr/local/lib/rnibreader_old.a +RNIB_LIBS:= -pthread /usr/local/include/rnib/rnibreader.a GTEST_LIBS:= -lgtest -lgtest_main ######## Keep include dirs separate so we have transparency @@ -32,7 +32,7 @@ E2SMFLAGS = -I$(E2SMSRC) ########libs -LIBS= -lsdl -lrmr_nng -lnng -lpthread -lm $(LOG_LIBS) $(CURL_LIBS) $(RNIB_LIBS) $(GTEST_LIBS) +LIBS= -lsdl -lrmr_si -lpthread -lm $(LOG_LIBS) $(CURL_LIBS) $(RNIB_LIBS) $(GTEST_LIBS) COV_FLAGS= -fprofile-arcs -ftest-coverage ####### @@ -76,7 +76,7 @@ print-% : ; @echo $* = $($*) hw_unit_tests: $(OBJ) $(CXX) -o $@ $(OBJ) $(LIBS) $(RNIBFLAGS) $(CPPFLAGS) $(CLOGFLAGS) -install: test_rnib +install: hw_unit_tests install -D hw_unit_tests /usr/local/bin/hw_unit_tests clean: