X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Makefile.am;h=9a1ae21e5ec0d045c3843608bb3601cf995ad51e;hb=HEAD;hp=499b8622626e371f55d30fa5e2897dde0dc0257e;hpb=931b2b0f50e4446a705d2238274914f78b681b6d;p=ric-plt%2Fsdl.git diff --git a/Makefile.am b/Makefile.am index 499b862..9a1ae21 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,6 +5,7 @@ BASE_CPPFLAGS = \ -Werror \ -Wextra \ -Wno-missing-field-initializers \ + -Wno-error=deprecated-declarations \ -I$(top_srcdir)/include \ -I$(builddir)/include \ -DSDL_CONF_DIR='"@SDL_CONF_DIR@"' \ @@ -140,6 +141,9 @@ libshareddatalayercli_la_SOURCES = \ src/cli/dumpconfigurationcommand.cpp \ src/cli/testgetsetcommand.cpp \ src/cli/testconnectivitycommand.cpp \ + src/cli/listkeyscommand.cpp \ + src/cli/setcommand.cpp \ + src/cli/getcommand.cpp \ src/exception.cpp \ src/configurationpaths.cpp \ include/private/configurationpaths.hpp \ @@ -302,6 +306,7 @@ testrunner_SOURCES = \ include/private/tst/enginemock.hpp \ include/private/tst/gettopsrcdir.hpp \ include/private/tst/namespaceconfigurationsmock.hpp \ + include/private/tst/syncstorageimplmock.hpp \ include/private/tst/systemmock.hpp \ include/private/tst/wellknownerrorcode.hpp \ tst/abort_test.cpp \ @@ -400,6 +405,21 @@ test_gcov: test ls -la @GCOV_REPORT_DIR@ endif +if ENABLE_RPM_BUILD +rpm-pkg: + rpmbuild --nodeps --nocheck -bb rpm/sdl.spec --define="_sourcedir $(top_srcdir)" --define="_builddir $(top_srcdir)" --define="_rpmdir .." + mkdir -p @RPM_DIR@ + cp ../x86_64/*.rpm @RPM_DIR@ +endif + + +if ENABLE_DEB_BUILD +deb-pkg: + DEB_BUILD_OPTIONS='nocheck noddebs' debuild -b -us -uc + mkdir -p @DEB_DIR@ + cp ../*.deb @DEB_DIR@ +endif + clean-local: rm -f libsdl.pc if ENABLE_GCOV