aboutsummaryrefslogtreecommitdiffstats
path: root/src/tv/Makefile.am
blob: d1fdb37ceff54911582c953ade4c98b5bc4d6a0e (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
AM_CPPFLAGS = -Wall -Wextra -g $(all_includes) -fstack-check

bin_PROGRAMS = \
	osmotv

osmotv_SOURCES = \
	bas.c \
	fubk.c \
	font.c \
	vcr.c \
	image.c \
	tv_modulate.c \
	channels.c \
	main.c
osmotv_LDADD = \
	$(COMMON_LA) \
	$(top_builddir)/src/liboptions/liboptions.a \
	$(top_builddir)/src/libdebug/libdebug.a \
	$(top_builddir)/src/libimage/libimage.a \
	$(top_builddir)/src/libfm/libfm.a \
	$(top_builddir)/src/libfilter/libfilter.a \
	$(top_builddir)/src/libwave/libwave.a \
	$(top_builddir)/src/libsample/libsample.a \
	$(ALSA_LIBS) \
	$(GRAPHICSMAGICK_LIBS) $(IMAGEMAGICK_LIBS) \
	-lm

if HAVE_SDR
osmotv_LDADD += \
	$(top_builddir)/src/libsdr/libsdr.a
endif

osmotv_LDADD += \
	$(top_builddir)/src/libdisplay/libdisplay.a \
	$(top_builddir)/src/libtimer/libtimer.a

if HAVE_SDR
osmotv_LDADD += \
	$(top_builddir)/src/libfft/libfft.a \
	$(UHD_LIBS) \
	$(SOAPY_LIBS)
endif

if HAVE_SDR
AM_CPPFLAGS += -DHAVE_SDR
endif

if HAVE_MAGICK
AM_CPPFLAGS += -DHAVE_MAGICK
endif