Build Transceiver52M/common as an .la lib
Stop picking files from that directory on different places as it causes
dependency issues during make distclean/maintainer-clean.
Fixes: OS#3029
Change-Id: I81bb4251d18fce978d27849b621b20f541caab0b
diff --git a/Transceiver52M/Makefile.am b/Transceiver52M/Makefile.am
index 187a335..9424b8e 100644
--- a/Transceiver52M/Makefile.am
+++ b/Transceiver52M/Makefile.am
@@ -24,10 +24,11 @@
AM_CPPFLAGS = -Wall $(STD_DEFINES_AND_INCLUDES) -I${srcdir}/common
AM_CXXFLAGS = -lpthread $(LIBOSMOCORE_CFLAGS) $(LIBOSMOCTRL_CFLAGS) $(LIBOSMOVTY_CFLAGS)
+SUBDIRS = common
if ARCH_ARM
-SUBDIRS = arm
+SUBDIRS += arm
else
-SUBDIRS = x86
+SUBDIRS += x86
endif
if USRP1
@@ -58,8 +59,7 @@
Transceiver.cpp \
ChannelizerBase.cpp \
Channelizer.cpp \
- Synthesis.cpp \
- common/fft.c
+ Synthesis.cpp
libtransceiver_la_SOURCES = \
$(COMMON_SOURCES) \
@@ -83,12 +83,7 @@
Resampler.h \
ChannelizerBase.h \
Channelizer.h \
- Synthesis.h \
- common/convolve.h \
- common/convert.h \
- common/scale.h \
- common/mult.h \
- common/fft.h
+ Synthesis.h
osmo_trx_SOURCES = osmo-trx.cpp
osmo_trx_LDADD = \