aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/Makefile.am
blob: 095665e5a7a0fc6e87997829908616c9683a92b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
AUTOMAKE_OPTIONS = subdir-objects
AM_CPPFLAGS = -Wall -Wextra -g $(all_includes) $(UHD_CFLAGS) $(SOAPY_CFLAGS)

noinst_LIBRARIES = libcommon.a

libcommon_a_SOURCES = \
	../common/sample.c \
	../common/debug.c \
	../common/timer.c \
	../common/sound_alsa.c \
	../common/wave.c \
	../common/goertzel.c \
	../common/jitter.c \
	../common/loss.c \
	../common/filter.c \
	../common/dtmf.c \
	../common/samplerate.c \
	../common/call.c \
	../common/freiton.c \
	../common/besetztton.c \
	../common/testton.c \
	../common/mncc_sock.c \
	../common/cause.c \
	../common/emphasis.c \
	../common/compandor.c \
	../common/fft.c \
	../common/fm_modulation.c \
	../common/sender.c \
	../common/display_wave.c \
	../common/main_common.c

if HAVE_SDR
AM_CPPFLAGS += -DHAVE_SDR

libcommon_a_SOURCES += \
	../common/sdr.c \
	../common/display_iq.c \
	../common/display_spectrum.c
endif

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