osmocom-analog/src/common/Makefile.am

41 lines
635 B
Makefile
Raw Normal View History

AM_CPPFLAGS = -Wall -Wextra -g $(all_includes) $(GRAPHICSMAGICK_CFLAGS) $(IMAGEMAGICK_CFLAGS) $(UHD_CFLAGS) $(SOAPY_CFLAGS)
2016-03-01 17:40:38 +00:00
noinst_LIBRARIES = libcommon.a libmobile.a
2016-03-01 17:40:38 +00:00
libcommon_a_SOURCES = \
2017-07-08 21:13:26 +00:00
sample.c \
debug.c \
display_wave.c \
display_measurements.c
libmobile_a_SOURCES = \
2017-07-08 21:13:26 +00:00
sender.c \
call.c \
2017-07-08 21:13:26 +00:00
display_status.c \
main_mobile.c
2016-03-01 17:40:38 +00:00
2017-01-04 13:21:49 +00:00
if HAVE_SDR
AM_CPPFLAGS += -DHAVE_SDR
libcommon_a_SOURCES += \
sdr_config.c \
2017-07-08 21:13:26 +00:00
sdr.c \
display_iq.c \
display_spectrum.c
2017-01-04 13:21:49 +00:00
endif
2017-01-04 13:22:24 +00:00
if HAVE_UHD
AM_CPPFLAGS += -DHAVE_UHD
libcommon_a_SOURCES += \
2017-07-08 21:13:26 +00:00
uhd.c
2017-01-04 13:22:24 +00:00
endif
if HAVE_SOAPY
AM_CPPFLAGS += -DHAVE_SOAPY
libcommon_a_SOURCES += \
2017-07-08 21:13:26 +00:00
soapy.c
endif