Files
osmo-trx/tests/CommonLibs/Makefile.am
Vadim Yanitskiy fed58d97b8 tests: use -no-install libtool flag to avoid ./lt-* scripts
This option should be used for any executables which are used only
for testing, or for generating other files and are consequently never
installed.  By specifying this option, we are telling Libtool that
the executable it links will only ever be executed from where it is
built in the build tree.  Libtool is usually able to considerably
speed up the link process for such executables.

Change-Id: Ieb4ddc5799819c24ed357218c7b0197bcb6b5c91
2023-03-11 05:33:36 +07:00

54 lines
998 B
Makefile

include $(top_srcdir)/Makefile.common
AM_CPPFLAGS = \
-I$(top_srcdir)/CommonLibs \
$(STD_DEFINES_AND_INCLUDES) \
$(NULL)
AM_CXXFLAGS = \
-Wall -g \
$(LIBOSMOCORE_CFLAGS) \
$(LIBOSMOCTRL_CFLAGS) \
$(LIBOSMOVTY_CFLAGS) \
$(NULL)
AM_LDFLAGS = -no-install
LDADD = \
$(COMMON_LA) \
$(LIBOSMOCORE_LIBS) \
$(LIBOSMOCTRL_LIBS) \
$(LIBOSMOVTY_LIBS) \
$(NULL)
EXTRA_DIST = BitVectorTest.ok \
PRBSTest.ok \
InterthreadTest.ok \
TimevalTest.ok \
VectorTest.ok \
LogTest.ok \
LogTest.err
check_PROGRAMS = \
BitVectorTest \
PRBSTest \
InterthreadTest \
TimevalTest \
VectorTest \
LogTest
BitVectorTest_SOURCES = BitVectorTest.cpp
PRBSTest_SOURCES = PRBSTest.cpp
InterthreadTest_SOURCES = InterthreadTest.cpp
InterthreadTest_LDADD = $(LDADD) -lpthread
TimevalTest_SOURCES = TimevalTest.cpp
VectorTest_SOURCES = VectorTest.cpp
LogTest_SOURCES = LogTest.cpp
MOSTLYCLEANFILES += testSource testDestination