summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: c0432f5de6079bb5a90929241c0d47c512826df8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
SUBDIRS = pixmaps\
		  icons\
		  ${PLUGINS_DIRS}\
		  po\
		  intl

bin_PROGRAMS = deadbeef

INTLTOOL_FILES = \
		intltool-extract.in \
		intltool-merge.in \
		intltool-update.in

DISTCLEANFILES = \
		intltool-extract \
		intltool-merge \
		intltool-update

deadbeef_SOURCES =\
	main.c common.h deadbeef.h\
	plugins.c plugins.h moduleconf.h\
	playlist.c playlist.h \
	plmeta.c pltmeta.c pltmeta.h\
	streamer.c streamer.h\
	premix.c premix.h\
	messagepump.c messagepump.h\
	conf.c  conf.h\
	threading_pthread.c threading.h\
	volume.c volume.h\
	junklib.h junklib.c utf8.c utf8.h\
	u8_lc_map.h\
	fastftoi.h\
	vfs.c vfs.h vfs_stdio.c\
	md5/md5.c md5/md5.h\
	metacache.c metacache.h\
	gettext.h\
	ringbuf.c ringbuf.h\
	dsppreset.c dsppreset.h\
	replaygain.c replaygain.h\
	fft.c fft.h\
	handler.c handler.h\
	strdupa.h
	
#	ConvertUTF/ConvertUTF.c ConvertUTF/ConvertUTF.h

sdkdir = $(pkgincludedir)
sdk_HEADERS = deadbeef.h

deadbeef_LDADD = $(LDADD) $(DEPS_LIBS) $(ICONV_LIB) $(DL_LIBS) -lm -lpthread $(INTL_LIBS) plugins/libparser/libparser.a

AM_CFLAGS = $(DEPS_CFLAGS) -std=c99
AM_CPPFLAGS = $(DEPS_CFLAGS)

docsdir = $(docdir)

docs_DATA = README help.txt about.txt translators.txt ChangeLog\
	COPYING.GPLv2 COPYING.LGPLv2.1\
	translation/help.ru.txt\
	translation/help.pt_BR.txt

desktopdir = $(datadir)/applications
desktop_DATA = deadbeef.desktop

EXTRA_DIST = $(docs_DATA) $(desktop_DATA) $(INTLTOOL_FILES) translation/extra.c sj_to_unicode.h examples/decoder_template.c examples/dsp_template.c yasmwrapper.sh

ACLOCAL_AMFLAGS = -I m4