1SUBDIRS = pixmaps\
2		  icons\
3		  ${PLUGINS_DIRS}\
4		  po\
5		  intl
6
7bin_PROGRAMS = deadbeef
8
9INTLTOOL_FILES = \
10		intltool-extract.in \
11		intltool-merge.in \
12		intltool-update.in
13
14DISTCLEANFILES = \
15		intltool-extract \
16		intltool-merge \
17		intltool-update
18
19deadbeef_SOURCES =\
20	main.c common.h deadbeef.h\
21	plugins.c plugins.h moduleconf.h\
22	playlist.c playlist.h \
23	plmeta.c pltmeta.c pltmeta.h\
24	streamer.c streamer.h\
25	premix.c premix.h\
26	messagepump.c messagepump.h\
27	conf.c  conf.h\
28	threading_pthread.c threading.h\
29	volume.c volume.h\
30	junklib.h junklib.c utf8.c utf8.h\
31	u8_lc_map.h\
32	u8_uc_map.h\
33	fastftoi.h\
34	vfs.c vfs.h vfs_stdio.c\
35	md5/md5.c md5/md5.h\
36	metacache.c metacache.h\
37	gettext.h\
38	ringbuf.c ringbuf.h\
39	dsppreset.c dsppreset.h\
40	replaygain.c replaygain.h\
41	fft.c fft.h\
42	handler.c handler.h\
43	strdupa.h\
44	escape.c escape.h\
45	tf.c tf.h\
46	playqueue.c playqueue.h\
47	sort.c sort.h
48
49#	ConvertUTF/ConvertUTF.c ConvertUTF/ConvertUTF.h
50
51sdkdir = $(pkgincludedir)
52sdk_HEADERS = deadbeef.h
53
54deadbeef_LDADD = $(LDADD) $(DEPS_LIBS) $(ICONV_LIB) $(DL_LIBS) -lm -lpthread $(INTL_LIBS) plugins/libparser/libparser.a
55
56AM_CFLAGS = $(DEPS_CFLAGS) -std=c99
57AM_CPPFLAGS = $(DEPS_CFLAGS)
58
59docsdir = $(docdir)
60
61docs_DATA = README help.txt about.txt translators.txt ChangeLog\
62	COPYING.GPLv2 COPYING.LGPLv2.1\
63	translation/help.ru.txt\
64	translation/help.pt_BR.txt
65
66desktopdir = $(datadir)/applications
67desktop_DATA = deadbeef.desktop
68
69EXTRA_DIST = $(docs_DATA) $(desktop_DATA) $(INTLTOOL_FILES) translation/extra.c sj_to_unicode.h examples/decoder_template.c examples/dsp_template.c yasmwrapper.sh
70
71ACLOCAL_AMFLAGS = -I m4
72