summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 0000000..778032b
--- /dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,15 @@
+AM_CFLAGS = $(MPEG2DEC_CFLAGS) $(LIBVO_CFLAGS)
+
+libmpeg2 = $(top_builddir)/libmpeg2/libmpeg2.la
+libmpeg2convert = $(top_builddir)/libmpeg2/convert/libmpeg2convert.la
+libvo = $(top_builddir)/libvo/libvo.a $(LIBVO_LIBS)
+
+bin_PROGRAMS = mpeg2dec extract_mpeg2 corrupt_mpeg2
+mpeg2dec_SOURCES = mpeg2dec.c dump_state.c getopt.c gettimeofday.c
+mpeg2dec_LDADD = $(libvo) $(libmpeg2) $(libmpeg2convert)
+extract_mpeg2_SOURCES = extract_mpeg2.c getopt.c
+corrupt_mpeg2_SOURCES = corrupt_mpeg2.c getopt.c
+
+man_MANS = mpeg2dec.1 extract_mpeg2.1
+
+EXTRA_DIST = getopt.h gettimeofday.h $(man_MANS)