aboutsummaryrefslogblamecommitdiffstats
path: root/Makefile.am
blob: 22bb8014fc6bc9314d142644bfc54a628b05f214 (plain) (tree)
1
2
3
4
5
6
7
8
9
                       
                                         
 
                 
                                                     
                                     
                                                   
                  
 









                                          




                                                       



     
                  
                         

                         
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