OSDN Git Service

Makefiles - use AM_CPPFLAGS instead INCLUDES
[android-x86/external-alsa-utils.git] / Makefile.am
1 AM_CPPFLAGS=-I$(top_srcdir)/include
2
3 SUBDIRS = include alsactl alsaucm utils m4 po
4 if ALSAMIXER
5 SUBDIRS += alsamixer
6 endif
7 if HAVE_MIXER
8 SUBDIRS += amixer
9 endif
10 if HAVE_RAWMIDI
11 SUBDIRS += amidi
12 endif
13 if ALSACONF
14 SUBDIRS += alsaconf
15 endif
16 if HAVE_PCM
17 SUBDIRS += aplay iecset speaker-test
18 if ALSALOOP
19 SUBDIRS += alsaloop
20 endif
21 endif
22 if HAVE_SEQ
23 SUBDIRS += seq
24 endif
25
26 EXTRA_DIST= TODO gitcompile
27 AUTOMAKE_OPTIONS=foreign
28 ACLOCAL_AMFLAGS = -I m4
29
30 rpm: dist
31         $(MAKE) -C $@
32
33 dist-hook:
34         -chmod -R a+r $(distdir)
35         @if ! test -z "$(AMTAR)"; then \
36                 $(AMTAR) --create --verbose --file=- $(distdir) | bzip2 -c -9 > $(distdir).tar.bz2 ; \
37         else \
38                 $(TAR) --create --verbose --file=- $(distdir) | bzip2 -c -9 > $(distdir).tar.bz2 ; \
39         fi
40
41 install-data-hook:
42         $(MKDIR_P) -m 0755 $(DESTDIR)$(ASOUND_STATE_DIR)
43
44 DISTCHECK_CONFIGURE_FLAGS = \
45         --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)