aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: 22bb8014fc6bc9314d142644bfc54a628b05f214 (plain) (blame)
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
ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = foreign 1.9 dist-bzip2

SUBDIRS = src doc
doc_DATA = AUTHORS COPYING NEWS README TODO UPGRADING
EXTRA_DIST = $(doc_DATA) autogen.sh \
	$(wildcard scripts/*.sh) scripts/mpd.spec \
	.gitignore

AM_CFLAGS = -I$(srcdir)/src $(GLIB_CFLAGS)
AM_LDFLAGS = $(GLIB_LIBS)


#
# Test programs
#

if ENABLE_TEST

noinst_PROGRAMS = test/software_volume

test_software_volume_SOURCES = test/software_volume.c \
	src/audio_parser.c \
	src/pcm_volume.c

endif


sparse-check test:
	$(MAKE) -C src $@

.PHONY: sparse-check test