Pau Espin Pedrol | c2ba427 | 2018-01-10 13:06:22 +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)/Transceiver52M \ |
| 5 | -I$(top_srcdir)/Transceiver52M/arch/common \ |
| 6 | $(STD_DEFINES_AND_INCLUDES) \ |
| 7 | $(NULL) |
| 8 | |
| 9 | AM_CFLAGS = -Wall -g |
Vadim Yanitskiy | fed58d9 | 2023-03-11 05:24:47 +0700 | [diff] [blame] | 10 | AM_LDFLAGS = -no-install |
Pau Espin Pedrol | c2ba427 | 2018-01-10 13:06:22 +0100 | [diff] [blame] | 11 | |
Sylvain Munaut | 3733ed5 | 2018-12-21 16:38:31 +0100 | [diff] [blame] | 12 | EXTRA_DIST = convolve_test.ok convolve_test_golden.h |
Pau Espin Pedrol | c2ba427 | 2018-01-10 13:06:22 +0100 | [diff] [blame] | 13 | |
Vadim Yanitskiy | 1a19caf | 2022-04-13 19:55:36 +0300 | [diff] [blame] | 14 | check_PROGRAMS = \ |
Pau Espin Pedrol | c2ba427 | 2018-01-10 13:06:22 +0100 | [diff] [blame] | 15 | convolve_test |
| 16 | |
| 17 | convolve_test_SOURCES = convolve_test.c |
Pau Espin Pedrol | 2fea950 | 2018-04-28 01:44:39 +0200 | [diff] [blame] | 18 | convolve_test_CFLAGS = $(AM_CFLAGS) |
Pau Espin Pedrol | c2ba427 | 2018-01-10 13:06:22 +0100 | [diff] [blame] | 19 | convolve_test_LDADD = $(COMMON_LA) $(ARCH_LA) |
| 20 | if HAVE_SSE3 |
Pau Espin Pedrol | 2fea950 | 2018-04-28 01:44:39 +0200 | [diff] [blame] | 21 | convolve_test_CFLAGS += $(SIMD_FLAGS) |
Pau Espin Pedrol | c2ba427 | 2018-01-10 13:06:22 +0100 | [diff] [blame] | 22 | endif |
| 23 | if HAVE_SSE4_1 |
Pau Espin Pedrol | 2fea950 | 2018-04-28 01:44:39 +0200 | [diff] [blame] | 24 | convolve_test_CFLAGS += $(SIMD_FLAGS) |
Pau Espin Pedrol | c2ba427 | 2018-01-10 13:06:22 +0100 | [diff] [blame] | 25 | endif |
Oliver Smith | 871713b | 2018-12-10 17:10:36 +0100 | [diff] [blame] | 26 | |
| 27 | if DEVICE_LMS |
Vadim Yanitskiy | 1a19caf | 2022-04-13 19:55:36 +0300 | [diff] [blame] | 28 | check_PROGRAMS += LMSDeviceTest |
Oliver Smith | 871713b | 2018-12-10 17:10:36 +0100 | [diff] [blame] | 29 | LMSDeviceTest_SOURCES = LMSDeviceTest.cpp |
Oliver Smith | 871713b | 2018-12-10 17:10:36 +0100 | [diff] [blame] | 30 | LMSDeviceTest_LDADD = \ |
| 31 | $(top_builddir)/Transceiver52M/device/lms/libdevice.la \ |
Vadim Yanitskiy | 0e13bfd | 2023-03-11 05:08:16 +0700 | [diff] [blame] | 32 | $(LIBOSMOCORE_LIBS) \ |
Oliver Smith | 42c1656 | 2018-12-17 10:28:21 +0100 | [diff] [blame] | 33 | $(COMMON_LA) \ |
Vadim Yanitskiy | 0e13bfd | 2023-03-11 05:08:16 +0700 | [diff] [blame] | 34 | $(LMS_LIBS) \ |
| 35 | $(NULL) |
Vadim Yanitskiy | 5ba130c | 2023-03-11 05:16:41 +0700 | [diff] [blame^] | 36 | LMSDeviceTest_CXXFLAGS = $(AM_CFLAGS) $(LMS_CFLAGS) |
Oliver Smith | 871713b | 2018-12-10 17:10:36 +0100 | [diff] [blame] | 37 | endif |