1 sysincludedir = ${includedir}/sys
2 sysinclude_HEADERS = asoundlib.h
4 # This is the order they will be concatenated into asoundlib.h!
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
10 noinst_HEADERS=$(header_files) search.h list.h aserver.h local.h
12 asoundlib.h: $(header_files)
18 stamp-vh: $(top_builddir)/configure.in
20 @echo " * version.h" >> ver.tmp
21 @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
31 @cmp -s version.h ver.tmp \
32 || (echo "Updating version.h"; \
33 cp ver.tmp version.h; \
34 echo timestamp > stamp-vh)
37 INCLUDES=-I$(top_srcdir)/include