OSDN Git Service

Android: add makefile and config.h
[android-x86/external-alsa-lib.git] / Makefile.am
index 4ab838c..ff4c963 100644 (file)
@@ -1,15 +1,26 @@
-SUBDIRS=doc include src modules
+ACLOCAL_AMFLAGS = -I m4
+
+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=ChangeLog INSTALL TODO NOTES configure hgcompile libtool depcomp version MEMORY-LEAK
+EXTRA_DIST=README.md ChangeLog INSTALL TODO NOTES configure gitcompile libtool \
+          depcomp version MEMORY-LEAK m4/attributes.m4
 AUTOMAKE_OPTIONS=foreign
 
-INCLUDES=-I$(top_srcdir)/include
+AM_CPPFLAGS=-I$(top_srcdir)/include
 
 rpm: dist
        $(MAKE) -C utils rpm