OSDN Git Service

Added I/O classes
[android-x86/external-alsa-lib.git] / include / Makefile.am
1 sysincludedir = ${includedir}/sys
2 sysinclude_HEADERS = asoundlib.h
3
4 # This is the order they will be concatenated into asoundlib.h!
5 #
6 header_files=header.h version.h global.h input.h output.h error.h control.h mixer.h \
7              pcm.h rawmidi.h timer.h hwdep.h seq.h seqmid.h seq_midi_event.h \
8              conv.h instr.h conf.h footer.h
9
10 noinst_HEADERS=$(header_files) search.h list.h aserver.h local.h
11
12 asoundlib.h: $(header_files)
13         cat $^ > $@
14
15 version.h: stamp-vh
16         @:
17
18 stamp-vh: $(top_builddir)/configure.in
19         @echo "/*" > ver.tmp
20         @echo " *  version.h" >> ver.tmp
21         @echo " */" >> ver.tmp
22         @echo "" >> ver.tmp
23         @echo "#define SND_LIB_MAJOR            $(SND_LIB_MAJOR)" >> ver.tmp
24         @echo "#define SND_LIB_MINOR            $(SND_LIB_MINOR)" >> ver.tmp
25         @echo "#define SND_LIB_SUBMINOR $(SND_LIB_SUBMINOR)" >> ver.tmp
26         @echo "#define SND_LIB_VERSION          ((SND_LIB_MAJOR<<16)|\\" >> ver.tmp
27         @echo "                          (SND_LIB_MINOR<<8)|\\" >> ver.tmp
28         @echo "                           SND_LIB_SUBMINOR)" >> ver.tmp
29         @echo "#define SND_LIB_VERSION_STR      \"$(SND_LIB_VERSION)\"" >> ver.tmp
30         @echo >> ver.tmp
31         @cmp -s version.h ver.tmp \
32           || (echo "Updating version.h"; \
33               cp ver.tmp version.h; \
34               echo timestamp > stamp-vh)
35         -@rm -f ver.tmp
36
37 INCLUDES=-I$(top_srcdir)/include