chiark / gitweb /
plugins/tracklength-gstreamer.c: Rewrite to use `GstDiscoverer'.
[disorder] / plugins / Makefile.am
1 #
2 # This file is part of DisOrder
3 # Copyright (C) 2004-2008, 2010, 2013 Richard Kettlewell
4 #
5 # This program is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
9 #
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14
15 # You should have received a copy of the GNU General Public License
16 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
17 #
18
19 VPATH+=${top_srcdir}/common
20
21 pkglib_LTLIBRARIES=disorder-tracklength.la fs.la notify.la exec.la shell.la \
22                    execraw.la
23 AUTOMAKE_OPTIONS=subdir-objects
24 AM_CPPFLAGS=-I${top_srcdir}/lib
25 AM_CFLAGS=
26
27 notify_la_SOURCES=notify.c
28 notify_la_LDFLAGS=-module
29
30 disorder_tracklength_la_SOURCES=tracklength.c tracklength.h     \
31 tracklength-mp3.c tracklength-ogg.c tracklength-wav.c           \
32 tracklength-flac.c mad.c madshim.h
33 nodist_disorder_tracklength_la_SOURCES=wav.c hreader.c
34 disorder_tracklength_la_LDFLAGS=-module
35 disorder_tracklength_la_LIBADD=$(LIBVORBISFILE) $(LIBMAD) $(LIBFLAC) -lm
36
37 fs_la_SOURCES=fs.c
38 fs_la_LDFLAGS=-module
39
40 exec_la_SOURCES=exec.c
41 exec_la_LDFLAGS=-module
42
43 execraw_la_SOURCES=execraw.c
44 execraw_la_LDFLAGS=-module
45
46 shell_la_SOURCES=shell.c
47 shell_la_LDFLAGS=-module
48
49 if GSTDECODE
50 AM_CFLAGS+=$(GSTREAMER_CFLAGS)
51 pkglib_LTLIBRARIES+=tracklength-gstreamer.la
52 tracklength_gstreamer_la_SOURCES=tracklength-gstreamer.c
53 tracklength_gstreamer_la_LDFLAGS=-module
54 tracklength_gstreamer_la_LIBADD=$(LIBOBJS) \
55         $(GSTREAMER_PLUGINS_BASE_LIBS) \
56         $(GSTREAMER_LIBS)
57 endif