alsa-lib/include/Makefile.am

56 lines
2 KiB
Text
Raw Normal View History

sysincludedir = ${includedir}/sys
2001-09-13 11:38:32 +00:00
alsaincludedir = ${includedir}/alsa
if COMPATIBILITY_BUILD_RC3
SND_LIB_MAJOR = 0
SND_LIB_MINOR = 9
SND_LIB_SUBMINOR = 0
SND_LIB_EXTRAVER = 100000 # there was a bug....
SND_LIB_VERSION = 0.9.0rc3
endif
alsainclude_HEADERS = asoundlib.h asoundef.h \
2001-09-13 11:38:32 +00:00
version.h global.h input.h output.h error.h \
conf.h pcm.h pcm_plugin.h rawmidi.h timer.h \
2001-09-13 11:38:32 +00:00
hwdep.h control.h mixer.h \
seq_event.h seq.h seqmid.h seq_midi_event.h \
conv.h instr.h iatomic.h
1998-11-18 20:42:09 +00:00
noinst_HEADERS = sys.h search.h list.h aserver.h local.h config.h alsa-symbols.h
2001-11-24 10:12:17 +00:00
CLEANFILES = stamp-vh version.h
1998-11-18 20:42:09 +00:00
1998-11-23 22:11:34 +00:00
version.h: stamp-vh
@:
1998-11-21 20:25:43 +00:00
1998-11-23 22:11:34 +00:00
stamp-vh: $(top_builddir)/configure.in
@echo "/*" > ver.tmp
1998-11-23 22:47:35 +00:00
@echo " * version.h" >> ver.tmp
1998-11-23 22:11:34 +00:00
@echo " */" >> ver.tmp
@echo "" >> ver.tmp
@echo "#define SND_LIB_MAJOR $(SND_LIB_MAJOR) /**< major number of library version */" >> ver.tmp
@echo "#define SND_LIB_MINOR $(SND_LIB_MINOR) /**< minor number of library version */" >> ver.tmp
@echo "#define SND_LIB_SUBMINOR $(SND_LIB_SUBMINOR) /**< subminor number of library version */" >> ver.tmp
2001-11-24 10:12:17 +00:00
@echo "#define SND_LIB_EXTRAVER $(SND_LIB_EXTRAVER) /**< extra version number, used mainly for betas */" >> ver.tmp
@echo "/** library version */" >> ver.tmp
1998-11-23 22:47:35 +00:00
@echo "#define SND_LIB_VERSION ((SND_LIB_MAJOR<<16)|\\" >> ver.tmp
@echo " (SND_LIB_MINOR<<8)|\\" >> ver.tmp
@echo " SND_LIB_SUBMINOR)" >> ver.tmp
@echo "/** library version (string) */" >> ver.tmp
1998-11-23 22:47:35 +00:00
@echo "#define SND_LIB_VERSION_STR \"$(SND_LIB_VERSION)\"" >> ver.tmp
1998-11-23 22:11:34 +00:00
@echo >> ver.tmp
if COMPATIBILITY_BUILD_RC3
@echo "#define SND_COMPATIBILITY_BUILD_RC3 1" >> ver.tmp
endif
1998-11-23 22:11:34 +00:00
@cmp -s version.h ver.tmp \
|| (echo "Updating version.h"; \
cp ver.tmp version.h; \
echo timestamp > stamp-vh)
-@rm -f ver.tmp
INCLUDES=-I$(top_srcdir)/include
2001-09-12 16:18:33 +00:00
install-data-hook:
test -d $(DESTDIR)$(sysincludedir) || mkdir -p $(DESTDIR)$(sysincludedir)
$(INSTALL_DATA) sys.h $(DESTDIR)$(sysincludedir)/asoundlib.h