Blame include/Makefile.am

Packit 4a16fb
SUBDIRS = sound
Packit 4a16fb
Packit 4a16fb
sysincludedir = ${includedir}/sys
Packit 4a16fb
alsaincludedir = ${includedir}/alsa
Packit 4a16fb
Packit 4a16fb
alsainclude_HEADERS = asoundlib.h asoundef.h \
Packit 4a16fb
		      version.h global.h input.h output.h error.h \
Packit 4a16fb
		      conf.h control.h
Packit 4a16fb
Packit 4a16fb
if BUILD_CTL_PLUGIN_EXT
Packit 4a16fb
alsainclude_HEADERS += control_external.h
Packit 4a16fb
endif
Packit 4a16fb
Packit 4a16fb
if BUILD_PCM
Packit 4a16fb
alsainclude_HEADERS += pcm.h pcm_old.h timer.h
Packit 4a16fb
if BUILD_PCM_PLUGIN
Packit 4a16fb
alsainclude_HEADERS += pcm_plugin.h
Packit 4a16fb
endif
Packit 4a16fb
if BUILD_PCM_PLUGIN_RATE
Packit 4a16fb
alsainclude_HEADERS += pcm_rate.h
Packit 4a16fb
endif
Packit 4a16fb
if BUILD_PCM_PLUGIN_EXTPLUG
Packit 4a16fb
alsainclude_HEADERS += pcm_external.h pcm_extplug.h
Packit 4a16fb
endif
Packit 4a16fb
if BUILD_PCM_PLUGIN_IOPLUG
Packit 4a16fb
if !BUILD_PCM_PLUGIN_EXTPLUG
Packit 4a16fb
alsainclude_HEADERS += pcm_external.h
Packit 4a16fb
endif
Packit 4a16fb
alsainclude_HEADERS += pcm_ioplug.h
Packit 4a16fb
endif
Packit 4a16fb
endif
Packit 4a16fb
Packit 4a16fb
if BUILD_RAWMIDI
Packit 4a16fb
alsainclude_HEADERS += rawmidi.h
Packit 4a16fb
endif
Packit 4a16fb
Packit 4a16fb
if BUILD_HWDEP
Packit 4a16fb
alsainclude_HEADERS += hwdep.h
Packit 4a16fb
endif
Packit 4a16fb
Packit 4a16fb
if BUILD_MIXER
Packit 4a16fb
alsainclude_HEADERS += mixer.h mixer_abst.h
Packit 4a16fb
endif
Packit 4a16fb
Packit 4a16fb
if BUILD_SEQ
Packit 4a16fb
alsainclude_HEADERS += seq_event.h seq.h seqmid.h seq_midi_event.h
Packit 4a16fb
endif
Packit 4a16fb
Packit 4a16fb
if BUILD_UCM
Packit 4a16fb
alsainclude_HEADERS += use-case.h
Packit 4a16fb
endif
Packit 4a16fb
Packit 4a16fb
if BUILD_TOPOLOGY
Packit 4a16fb
alsainclude_HEADERS += topology.h
Packit 4a16fb
endif
Packit 4a16fb
Packit 4a16fb
if BUILD_ALISP
Packit 4a16fb
alsainclude_HEADERS += alisp.h
Packit 4a16fb
endif
Packit 4a16fb
Packit 4a16fb
noinst_HEADERS = alsa sys.h search.h list.h aserver.h local.h alsa-symbols.h \
Packit 4a16fb
	asoundlib-head.h asoundlib-tail.h bswap.h type_compat.h
Packit 4a16fb
Packit 4a16fb
DISTCLEANFILES = stamp-vh version.h alsa asoundlib.h
Packit 4a16fb
Packit 4a16fb
alsa:
Packit 4a16fb
	ln -s $(top_srcdir)/include alsa
Packit 4a16fb
Packit 4a16fb
version.h: stamp-vh alsa
Packit 4a16fb
	@:
Packit 4a16fb
Packit 4a16fb
stamp-vh: $(top_builddir)/configure.ac
Packit 4a16fb
	@echo "/*" > ver.tmp
Packit 4a16fb
	@echo " *  version.h" >> ver.tmp
Packit 4a16fb
	@echo " */" >> ver.tmp
Packit 4a16fb
	@echo "" >> ver.tmp
Packit 4a16fb
	@echo "#define SND_LIB_MAJOR		$(SND_LIB_MAJOR) /**< major number of library version */" >> ver.tmp
Packit 4a16fb
	@echo "#define SND_LIB_MINOR		$(SND_LIB_MINOR) /**< minor number of library version */" >> ver.tmp
Packit 4a16fb
	@echo "#define SND_LIB_SUBMINOR	$(SND_LIB_SUBMINOR) /**< subminor number of library version */" >> ver.tmp
Packit 4a16fb
	@echo "#define SND_LIB_EXTRAVER	$(SND_LIB_EXTRAVER) /**< extra version number, used mainly for betas */" >> ver.tmp
Packit 4a16fb
	@echo "/** library version */" >> ver.tmp
Packit 4a16fb
	@echo "#define SND_LIB_VERSION		((SND_LIB_MAJOR<<16)|\\" >> ver.tmp
Packit 4a16fb
	@echo "				 (SND_LIB_MINOR<<8)|\\" >> ver.tmp
Packit 4a16fb
	@echo "				  SND_LIB_SUBMINOR)" >> ver.tmp
Packit 4a16fb
	@echo "/** library version (string) */" >> ver.tmp
Packit 4a16fb
	@echo "#define SND_LIB_VERSION_STR	\"$(SND_LIB_VERSION)\"" >> ver.tmp
Packit 4a16fb
	@echo >> ver.tmp
Packit 4a16fb
	@cmp -s version.h ver.tmp \
Packit 4a16fb
          || (echo "Updating version.h"; \
Packit 4a16fb
              cp ver.tmp version.h; \
Packit 4a16fb
              echo timestamp > stamp-vh)
Packit 4a16fb
	-@rm -f ver.tmp
Packit 4a16fb
Packit 4a16fb
AM_CPPFLAGS=-I$(top_srcdir)/include
Packit 4a16fb
Packit 4a16fb
install-data-hook:
Packit 4a16fb
	test -d $(DESTDIR)$(sysincludedir) || mkdir -p $(DESTDIR)$(sysincludedir)
Packit 4a16fb
	$(INSTALL_DATA) $(srcdir)/sys.h $(DESTDIR)$(sysincludedir)/asoundlib.h
Packit 4a16fb
	$(INSTALL_DATA) $(srcdir)/sys.h $(DESTDIR)$(includedir)/asoundlib.h