1## process this file with automake to produce Makefile.in
2
3AUTOMAKE_OPTIONS = dist-zip foreign
4
5SUBDIRS = avilib
6
7if HAVE_LIBDVDREAD
8DVDXCHAP=dvdxchap
9DVDXCHAP_MAN=dvdxchap.1
10INCLUDES=$(DVDREAD_CFLAGS)
11endif
12
13bin_PROGRAMS = ogmmerge ogmdemux ogminfo ogmsplit ogmcat $(DVDXCHAP)
14
15ogmmerge_SOURCES = ogmmerge.cpp ogmmerge.h ogmstreams.h \
16			r_avi.cpp r_avi.h \
17			r_ogm.cpp r_ogm.h \
18			r_ac3.cpp r_ac3.h \
19			r_mp3.cpp r_mp3.h \
20			r_wav.cpp r_wav.h \
21			r_microdvd.cpp r_microdvd.h \
22			r_srt.cpp r_srt.h \
23			r_vobsub.cpp r_vobsub.h \
24			p_video.cpp p_video.h \
25			p_index.cpp p_index.h \
26			p_ac3.cpp p_ac3.h \
27			p_mp3.cpp p_mp3.h \
28			p_pcm.cpp p_pcm.h \
29			p_vorbis.cpp p_vorbis.h \
30			p_textsubs.cpp p_textsubs.h \
31			p_vobsub.cpp p_vobsub.h \
32			ac3_common.c ac3_common.h \
33			mp3_common.c mp3_common.h \
34			subtitles.cpp subtitles.h \
35			queue.cpp queue.h \
36			vorbis_header_utils.c vorbis_header_utils.h \
37			generic.cpp generic.h \
38			common.c common.h
39
40
41ogmmerge_LDADD = @OGG_LIBS@ @VORBIS_LIBS@ @VORBISENC_LIBS@ @AVILIB_LIBS@ \
42		@PROFILING_LIBS@
43
44ogmdemux_SOURCES = ogmdemux.c ogmstreams.h \
45			vorbis_header_utils.c vorbis_header_utils.h \
46			common.c common.h
47ogmdemux_LDADD = @OGG_LIBS@ @VORBIS_LIBS@ @AVILIB_LIBS@ @PROFILING_LIBS@
48
49ogminfo_SOURCES = ogminfo.c ogmstreams.h \
50			vorbis_header_utils.c vorbis_header_utils.h \
51			common.c common.h
52ogminfo_LDADD = @OGG_LIBS@ @VORBIS_LIBS@ @PROFILING_LIBS@
53
54ogmsplit_SOURCES = ogmsplit.cpp \
55			queue.cpp queue.h \
56			ogmmerge.h ogmstreams.h \
57			generic.cpp generic.h \
58			vorbis_header_utils.c vorbis_header_utils.h \
59			common.c common.h
60ogmsplit_LDADD = @OGG_LIBS@ @VORBIS_LIBS@ @PROFILING_LIBS@
61
62ogmcat_SOURCES = ogmcat.cpp \
63			queue.cpp queue.h \
64			ogmmerge.h ogmstreams.h \
65			generic.cpp generic.h \
66			vorbis_header_utils.c vorbis_header_utils.h \
67			common.c common.h
68ogmcat_LDADD = @OGG_LIBS@ @VORBIS_LIBS@ @PROFILING_LIBS@
69
70dvdxchap_SOURCES = dvdxchap.c
71dvdxchap_LDADD = @DVDREAD_LIBS@
72
73man_MANS=ogmsplit.1 ogminfo.1 ogmmerge.1 ogmdemux.1 ogmcat.1 $(DVDXCHAP_MAN)
74
75EXTRA_DIST = $(man_MANS)
76