summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: cab4aa3b3f2c77ce43441c3df3443c3e41f96688 (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
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 \
	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\
	optmath.h\
	vfs.c vfs.h vfs_stdio.c\
	md5/md5.c md5/md5.h\
	metacache.c metacache.h\
	gettext.h

sdkdir = $(pkgincludedir)
sdk_HEADERS = deadbeef.h

deadbeef_LDADD = $(LDADD) $(DEPS_LIBS) $(ICONV_LIB) -lm -ldl -lpthread

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

ACLOCAL_AMFLAGS = -I m4