aboutsummaryrefslogtreecommitdiffstats
path: root/src/datenklo/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/datenklo/Makefile.am')
-rw-r--r--src/datenklo/Makefile.am35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/datenklo/Makefile.am b/src/datenklo/Makefile.am
new file mode 100644
index 0000000..05ce78e
--- /dev/null
+++ b/src/datenklo/Makefile.am
@@ -0,0 +1,35 @@
+AM_CPPFLAGS = -Wall -Wextra -g $(all_includes) -fstack-check $(FUSE_CFLAGS)
+
+bin_PROGRAMS = \
+ datenklo
+
+datenklo_SOURCES = \
+ am791x.c \
+ uart.c \
+ device.c \
+ datenklo.c \
+ main.c
+datenklo_LDADD = \
+ $(COMMON_LA) \
+ $(top_builddir)/src/liboptions/liboptions.a \
+ $(top_builddir)/src/libdebug/libdebug.a \
+ $(top_builddir)/src/libfsk/libfsk.a \
+ $(top_builddir)/src/libtimer/libtimer.a \
+ $(top_builddir)/src/libfm/libfm.a \
+ $(top_builddir)/src/libfilter/libfilter.a \
+ $(top_builddir)/src/libsound/libsound.a \
+ $(top_builddir)/src/libwave/libwave.a \
+ $(top_builddir)/src/libdisplay/libdisplay.a \
+ $(top_builddir)/src/libsample/libsample.a \
+ $(ALSA_LIBS) \
+ $(FUSE_LIBS) \
+ -lm
+
+if HAVE_ALSA
+AM_CPPFLAGS += -DHAVE_ALSA
+endif
+
+if HAVE_FUSE
+AM_CPPFLAGS += -DHAVE_FUSE
+endif
+