aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/Makefile.am
blob: 443823ddceb30d0645d4b3655f9e9257dc7f4d66 (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
55
56
57
58
59
60
AM_CPPFLAGS = -Wall -Wextra -g $(all_includes) $(GRAPHICSMAGICK_CFLAGS) $(IMAGEMAGICK_CFLAGS) $(UHD_CFLAGS) $(SOAPY_CFLAGS)

noinst_LIBRARIES = libcommon.a libmobile.a libimage.a

libcommon_a_SOURCES = \
	sample.c \
	debug.c \
	sound_alsa.c \
	goertzel.c \
	jitter.c \
	emphasis.c \
	compandor.c \
	fft.c \
	fm_modulation.c \
	fsk.c \
	display_wave.c \
	display_measurements.c

libmobile_a_SOURCES = \
	sender.c \
	cause.c \
	call.c \
	testton.c \
	mncc_console.c \
	mncc_cross.c \
	mncc_sock.c \
	display_status.c \
	main_mobile.c

libimage_a_SOURCES = \
	img.c

if HAVE_SDR
AM_CPPFLAGS += -DHAVE_SDR

libcommon_a_SOURCES += \
	sdr_config.c \
	sdr.c \
	display_iq.c \
	display_spectrum.c
endif

if HAVE_UHD
AM_CPPFLAGS += -DHAVE_UHD

libcommon_a_SOURCES += \
	uhd.c
endif

if HAVE_SOAPY
AM_CPPFLAGS += -DHAVE_SOAPY

libcommon_a_SOURCES += \
	soapy.c
endif

if ENABLE_MAGICK
AM_CPPFLAGS += -DWITH_MAGICK
endif