Pau Espin Pedrol | 2ac788b | 2018-01-09 17:44:49 +0100 | [diff] [blame] | 1 | include $(top_srcdir)/Makefile.common |
| 2 | |
Vadim Yanitskiy | cf1ca2e | 2023-03-11 05:12:33 +0700 | [diff] [blame] | 3 | AM_CPPFLAGS = \ |
| 4 | -I$(top_srcdir)/CommonLibs \ |
| 5 | $(STD_DEFINES_AND_INCLUDES) \ |
| 6 | $(NULL) |
| 7 | |
| 8 | AM_CXXFLAGS = \ |
| 9 | -Wall -g \ |
| 10 | $(LIBOSMOCORE_CFLAGS) \ |
| 11 | $(LIBOSMOCTRL_CFLAGS) \ |
| 12 | $(LIBOSMOVTY_CFLAGS) \ |
| 13 | $(NULL) |
| 14 | |
Vadim Yanitskiy | 0e13bfd | 2023-03-11 05:08:16 +0700 | [diff] [blame^] | 15 | LDADD = \ |
| 16 | $(COMMON_LA) \ |
| 17 | $(LIBOSMOCORE_LIBS) \ |
| 18 | $(LIBOSMOCTRL_LIBS) \ |
| 19 | $(LIBOSMOVTY_LIBS) \ |
| 20 | $(NULL) |
Pau Espin Pedrol | 2ac788b | 2018-01-09 17:44:49 +0100 | [diff] [blame] | 21 | |
| 22 | EXTRA_DIST = BitVectorTest.ok \ |
| 23 | PRBSTest.ok \ |
| 24 | InterthreadTest.ok \ |
Pau Espin Pedrol | 2ac788b | 2018-01-09 17:44:49 +0100 | [diff] [blame] | 25 | TimevalTest.ok \ |
| 26 | VectorTest.ok \ |
Pau Espin Pedrol | 478f82f | 2018-04-27 11:32:12 +0200 | [diff] [blame] | 27 | LogTest.ok \ |
| 28 | LogTest.err |
Pau Espin Pedrol | 2ac788b | 2018-01-09 17:44:49 +0100 | [diff] [blame] | 29 | |
Vadim Yanitskiy | 1a19caf | 2022-04-13 19:55:36 +0300 | [diff] [blame] | 30 | check_PROGRAMS = \ |
Pau Espin Pedrol | 2ac788b | 2018-01-09 17:44:49 +0100 | [diff] [blame] | 31 | BitVectorTest \ |
| 32 | PRBSTest \ |
| 33 | InterthreadTest \ |
Pau Espin Pedrol | 2ac788b | 2018-01-09 17:44:49 +0100 | [diff] [blame] | 34 | TimevalTest \ |
| 35 | VectorTest \ |
| 36 | LogTest |
| 37 | |
| 38 | BitVectorTest_SOURCES = BitVectorTest.cpp |
Pau Espin Pedrol | 2ac788b | 2018-01-09 17:44:49 +0100 | [diff] [blame] | 39 | |
| 40 | PRBSTest_SOURCES = PRBSTest.cpp |
| 41 | |
| 42 | InterthreadTest_SOURCES = InterthreadTest.cpp |
Vadim Yanitskiy | 0e13bfd | 2023-03-11 05:08:16 +0700 | [diff] [blame^] | 43 | InterthreadTest_LDADD = $(LDADD) -lpthread |
Pau Espin Pedrol | 2ac788b | 2018-01-09 17:44:49 +0100 | [diff] [blame] | 44 | |
Pau Espin Pedrol | 2ac788b | 2018-01-09 17:44:49 +0100 | [diff] [blame] | 45 | TimevalTest_SOURCES = TimevalTest.cpp |
Pau Espin Pedrol | 2ac788b | 2018-01-09 17:44:49 +0100 | [diff] [blame] | 46 | |
| 47 | VectorTest_SOURCES = VectorTest.cpp |
Pau Espin Pedrol | 2ac788b | 2018-01-09 17:44:49 +0100 | [diff] [blame] | 48 | |
| 49 | LogTest_SOURCES = LogTest.cpp |
Pau Espin Pedrol | 2ac788b | 2018-01-09 17:44:49 +0100 | [diff] [blame] | 50 | |
| 51 | MOSTLYCLEANFILES += testSource testDestination |