3 sysincludedir = ${includedir}/sys
4 alsaincludedir = ${includedir}/alsa
6 alsainclude_HEADERS = asoundlib.h asoundef.h \
7 version.h global.h input.h output.h error.h \
8 conf.h pcm.h pcm_plugin.h rawmidi.h timer.h \
9 hwdep.h control.h mixer.h \
10 seq_event.h seq.h seqmid.h seq_midi_event.h \
11 conv.h instr.h iatomic.h \
12 pcm_ordinary.h mixer_ordinary.h
14 noinst_HEADERS = sys.h search.h list.h aserver.h local.h alsa-symbols.h
16 CLEANFILES = stamp-vh version.h
21 stamp-vh: $(top_builddir)/configure.in
23 @echo " * version.h" >> ver.tmp
24 @echo " */" >> ver.tmp
26 @echo "#define SND_LIB_MAJOR $(SND_LIB_MAJOR) /**< major number of library version */" >> ver.tmp
27 @echo "#define SND_LIB_MINOR $(SND_LIB_MINOR) /**< minor number of library version */" >> ver.tmp
28 @echo "#define SND_LIB_SUBMINOR $(SND_LIB_SUBMINOR) /**< subminor number of library version */" >> ver.tmp
29 @echo "#define SND_LIB_EXTRAVER $(SND_LIB_EXTRAVER) /**< extra version number, used mainly for betas */" >> ver.tmp
30 @echo "/** library version */" >> ver.tmp
31 @echo "#define SND_LIB_VERSION ((SND_LIB_MAJOR<<16)|\\" >> ver.tmp
32 @echo " (SND_LIB_MINOR<<8)|\\" >> ver.tmp
33 @echo " SND_LIB_SUBMINOR)" >> ver.tmp
34 @echo "/** library version (string) */" >> ver.tmp
35 @echo "#define SND_LIB_VERSION_STR \"$(SND_LIB_VERSION)\"" >> ver.tmp
37 @cmp -s version.h ver.tmp \
38 || (echo "Updating version.h"; \
39 cp ver.tmp version.h; \
40 echo timestamp > stamp-vh)
43 INCLUDES=-I$(top_srcdir)/include
46 test -d $(DESTDIR)$(sysincludedir) || mkdir -p $(DESTDIR)$(sysincludedir)
47 $(INSTALL_DATA) sys.h $(DESTDIR)$(sysincludedir)/asoundlib.h