1ACLOCAL_AMFLAGS = -I m4
2SUBDIRS = themes decoder_plugins
3AM_CPPFLAGS = -DSYSTEM_THEMES_DIR=\"$(pkgdatadir)/themes\" \
4	      -DPLUGIN_DIR=\"$(plugindir)/$(DECODER_PLUGIN_DIR)\"
5
6bin_PROGRAMS = mocp
7mocp_SOURCES = log.c \
8	       log.h \
9	       protocol.h \
10	       protocol.c \
11	       server.c \
12	       server.h \
13	       main.c \
14	       common.c \
15	       common.h \
16	       playlist.c \
17	       playlist.h \
18	       fifo_buf.c \
19	       fifo_buf.h \
20	       out_buf.c \
21	       out_buf.h \
22	       audio.c \
23	       audio.h \
24	       decoder.c \
25	       decoder.h \
26	       interface.c \
27	       interface.h \
28	       interface_elements.c \
29	       interface_elements.h \
30	       menu.c \
31	       menu.h \
32	       files.c \
33	       files.h \
34	       options.c \
35	       options.h \
36	       player.c \
37	       player.h \
38	       playlist_file.c \
39	       playlist_file.h \
40	       themes.c \
41	       themes.h \
42	       keys.c \
43	       keys.h \
44	       io.c \
45	       io.h \
46	       compat.c \
47	       compat.h \
48	       audio_conversion.c \
49	       audio_conversion.h \
50	       rbtree.c \
51	       rbtree.h \
52	       tags_cache.c \
53	       tags_cache.h \
54	       utf8.c \
55	       utf8.h \
56	       rcc.c \
57	       rcc.h \
58	       softmixer.c \
59	       softmixer.h \
60	       lyrics.h \
61	       lyrics.c \
62	       lists.h \
63	       lists.c \
64	       equalizer.h \
65	       equalizer.c
66EXTRA_mocp_SOURCES = gnugetopt.h \
67		     getopt.c \
68		     getopt1.c \
69		     md5.c \
70		     md5.h \
71		     null_out.c \
72		     null_out.h \
73		     sndio_out.c \
74		     sndio_out.h \
75		     oss.c \
76		     oss.h \
77		     alsa.c \
78		     alsa.h \
79		     io_curl.c \
80		     io_curl.h \
81		     jack.c \
82		     jack.h
83man_MANS = mocp.1
84mocp_LDADD = @EXTRA_OBJS@ -lltdl
85mocp_DEPENDENCIES = @EXTRA_OBJS@
86mocp_LDFLAGS = @EXTRA_LIBS@ $(RCC_LIBS) -export-dynamic
87EXTRA_DIST = README_equalizer mocp.1 THANKS keymap.example Doxyfile \
88	         doxy_pages/decoder_api.doxy doxy_pages/main_page.doxy \
89	         doxy_pages/sound_output_driver_api.doxy
90EXTRA_DIST += @EXTRA_DISTS@
91EXTRA_DIST += tools/README tools/md5check.sh tools/maketests.sh
92noinst_DATA = tools/README
93noinst_SCRIPTS = tools/md5check.sh tools/maketests.sh
94
95doc_DATA = config.example THANKS README README_equalizer keymap.example
96