osmocom-analog/src/common/Makefile.am

55 lines
1.0 KiB
Makefile
Raw Normal View History

2016-07-10 13:49:16 +00:00
AUTOMAKE_OPTIONS = subdir-objects
2017-01-04 13:22:24 +00:00
AM_CPPFLAGS = -Wall -Wextra -g $(all_includes) $(UHD_CFLAGS)
2016-03-01 17:40:38 +00:00
noinst_LIBRARIES = libcommon.a
libcommon_a_SOURCES = \
../common/sample.c \
2016-03-01 17:40:38 +00:00
../common/debug.c \
../common/timer.c \
../common/sound_alsa.c \
../common/wave.c \
2016-03-01 17:40:38 +00:00
../common/goertzel.c \
../common/jitter.c \
../common/loss.c \
../common/filter.c \
2016-03-13 12:37:27 +00:00
../common/dtmf.c \
2016-03-01 17:40:38 +00:00
../common/samplerate.c \
../common/call.c \
../common/freiton.c \
../common/besetztton.c \
../common/testton.c \
2016-03-01 17:40:38 +00:00
../common/mncc_sock.c \
../common/cause.c \
../common/emphasis.c \
2016-06-20 17:37:56 +00:00
../common/compandor.c \
../common/fft.c \
../common/fm_modulation.c \
2016-03-01 17:40:38 +00:00
../common/sender.c \
../common/display_wave.c \
2016-03-01 17:40:38 +00:00
../common/main_common.c
2017-01-04 13:21:49 +00:00
if HAVE_SDR
AM_CPPFLAGS += -DHAVE_SDR
libcommon_a_SOURCES += \
../common/sdr.c \
../common/display_iq.c \
../common/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 += \
../common/uhd.c
endif
if HAVE_SOAPY
AM_CPPFLAGS += -DHAVE_SOAPY
libcommon_a_SOURCES += \
../common/soapy.c
endif