aboutsummaryrefslogtreecommitdiffstats
path: root/src/mpt1327/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/mpt1327/Makefile.am')
-rw-r--r--src/mpt1327/Makefile.am47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/mpt1327/Makefile.am b/src/mpt1327/Makefile.am
new file mode 100644
index 0000000..ed0341e
--- /dev/null
+++ b/src/mpt1327/Makefile.am
@@ -0,0 +1,47 @@
+AM_CPPFLAGS = -Wall -Wextra -g $(all_includes)
+
+bin_PROGRAMS = \
+ mpt1327
+
+mpt1327_SOURCES = \
+ mpt1327.c \
+ dsp.c \
+ message.c \
+ main.c
+mpt1327_LDADD = \
+ $(COMMON_LA) \
+ ../anetz/libgermanton.a \
+ $(top_builddir)/src/liboptions/liboptions.a \
+ $(top_builddir)/src/libdebug/libdebug.a \
+ $(top_builddir)/src/libmobile/libmobile.a \
+ $(top_builddir)/src/libosmocc/libosmocc.a \
+ $(top_builddir)/src/libdisplay/libdisplay.a \
+ $(top_builddir)/src/libjitter/libjitter.a \
+ $(top_builddir)/src/libsquelch/libsquelch.a \
+ $(top_builddir)/src/libdtmf/libdtmf.a \
+ $(top_builddir)/src/libtimer/libtimer.a \
+ $(top_builddir)/src/libsamplerate/libsamplerate.a \
+ $(top_builddir)/src/libemphasis/libemphasis.a \
+ $(top_builddir)/src/libfsk/libfsk.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 \
+ $(top_builddir)/src/libg711/libg711.a \
+ -lm
+
+if HAVE_ALSA
+mpt1327_LDADD += \
+ $(top_builddir)/src/libsound/libsound.a \
+ $(ALSA_LIBS)
+endif
+
+if HAVE_SDR
+mpt1327_LDADD += \
+ $(top_builddir)/src/libsdr/libsdr.a \
+ $(top_builddir)/src/libam/libam.a \
+ $(top_builddir)/src/libfft/libfft.a \
+ $(UHD_LIBS) \
+ $(SOAPY_LIBS)
+endif
+