OSDN Git Service

Android: add makefile and config.h
[android-x86/external-alsa-lib.git] / Makefile.am
index 33be0a8..ff4c963 100644 (file)
@@ -1,7 +1,26 @@
-SUBDIRS=doc include src aserver alsalisp test utils
-EXTRA_DIST=ChangeLog INSTALL TODO configure cvscompile libtool depcomp version MEMORY-LEAK
+ACLOCAL_AMFLAGS = -I m4
 
-INCLUDES=-I$(top_srcdir)/include
+SUBDIRS=doc include src
+if BUILD_TOPOLOGY
+SUBDIRS += src/topology
+endif
+if BUILD_MODULES
+SUBDIRS += modules
+endif
+if BUILD_PCM_PLUGIN_SHM
+SUBDIRS += aserver
+endif
+if BUILD_MIXER
+if BUILD_ALISP
+SUBDIRS += alsalisp
+endif
+endif
+SUBDIRS += test utils
+EXTRA_DIST=README.md ChangeLog INSTALL TODO NOTES configure gitcompile libtool \
+          depcomp version MEMORY-LEAK m4/attributes.m4
+AUTOMAKE_OPTIONS=foreign
+
+AM_CPPFLAGS=-I$(top_srcdir)/include
 
 rpm: dist
        $(MAKE) -C utils rpm