mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-trx.git
synced 2025-11-02 13:13:17 +00:00
Since in next commit osmo-trx-lms starts using smpl_buf.cpp, it seems some automake step doesn't like including a cpp file twice from a different directory, since race conditions can occur building it. Instead we define the dependency by first building a static lib and then using it on each libdevice.la (one per device type). We already do the similar under arch/ subdir, where we have a common/ subdir and then one subdir and lib per architecture. Change-Id: I465ad0f6d5569bb3006d711c8fd0df14391fcf35
13 lines
323 B
Makefile
13 lines
323 B
Makefile
include $(top_srcdir)/Makefile.common
|
|
|
|
AM_CPPFLAGS = -Wall $(STD_DEFINES_AND_INCLUDES)
|
|
AM_CXXFLAGS = -lpthread $(LIBOSMOCORE_CFLAGS) $(LIBOSMOCTRL_CFLAGS) $(LIBOSMOVTY_CFLAGS) $(LMS_CFLAGS)
|
|
|
|
|
|
noinst_HEADERS = radioDevice.h smpl_buf.h
|
|
|
|
noinst_LTLIBRARIES = libdevice_common.la
|
|
|
|
libdevice_common_la_SOURCES = \
|
|
smpl_buf.cpp
|