mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-trx.git
synced 2025-10-23 00:11:59 +00:00
* AM_CPPFLAGS is for preprocessor flags like '-I' or '-D', * AM_CXXFLAGS is for C++ compiler flags like '-Wall'. Change-Id: I82fc1eb6796f5289f0feff7bee5264bfacd6e733
38 lines
842 B
Makefile
38 lines
842 B
Makefile
include $(top_srcdir)/Makefile.common
|
|
|
|
AM_CPPFLAGS = \
|
|
-I$(top_srcdir)/Transceiver52M \
|
|
-I$(top_srcdir)/Transceiver52M/arch/common \
|
|
$(STD_DEFINES_AND_INCLUDES) \
|
|
$(NULL)
|
|
|
|
AM_CFLAGS = -Wall -g
|
|
AM_LDFLAGS = -no-install
|
|
|
|
EXTRA_DIST = convolve_test.ok convolve_test_golden.h
|
|
|
|
check_PROGRAMS = \
|
|
convolve_test
|
|
|
|
convolve_test_SOURCES = convolve_test.c
|
|
convolve_test_CFLAGS = $(AM_CFLAGS)
|
|
convolve_test_LDADD = $(COMMON_LA) $(ARCH_LA)
|
|
if HAVE_SSE3
|
|
convolve_test_CFLAGS += $(SIMD_FLAGS)
|
|
endif
|
|
if HAVE_SSE4_1
|
|
convolve_test_CFLAGS += $(SIMD_FLAGS)
|
|
endif
|
|
|
|
if DEVICE_LMS
|
|
check_PROGRAMS += LMSDeviceTest
|
|
LMSDeviceTest_SOURCES = LMSDeviceTest.cpp
|
|
LMSDeviceTest_LDADD = \
|
|
$(top_builddir)/Transceiver52M/device/lms/libdevice.la \
|
|
$(LIBOSMOCORE_LIBS) \
|
|
$(COMMON_LA) \
|
|
$(LMS_LIBS) \
|
|
$(NULL)
|
|
LMSDeviceTest_CXXFLAGS = $(AM_CFLAGS) $(LMS_CFLAGS)
|
|
endif
|