alsa-lib/include/Makefile.am

52 lines
1.9 KiB
Text
Raw Normal View History

2002-10-22 20:20:03 +00:00
SUBDIRS = sound
sysincludedir = ${includedir}/sys
2001-09-13 11:38:32 +00:00
alsaincludedir = ${includedir}/alsa
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_old.h pcm_plugin.h rawmidi.h timer.h \
hwdep.h control.h mixer.h mixer_abst.h \
2001-09-13 11:38:32 +00:00
seq_event.h seq.h seqmid.h seq_midi_event.h \
conv.h instr.h iatomic.h \
alisp.h pcm_external.h pcm_ioplug.h pcm_extplug.h \
pcm_rate.h control_external.h
1998-11-18 20:42:09 +00:00
noinst_HEADERS = alsa sys.h search.h list.h aserver.h local.h alsa-symbols.h
2001-11-24 10:12:17 +00:00
CLEANFILES = stamp-vh version.h alsa
1998-11-18 20:42:09 +00:00
alsa:
ln -s $(top_srcdir)/include alsa
version.h: stamp-vh alsa
1998-11-23 22:11:34 +00:00
@:
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
@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) $(srcdir)/sys.h $(DESTDIR)$(sysincludedir)/asoundlib.h