alsa-lib/include/Makefile.am

36 lines
944 B
Text
Raw Normal View History

1998-11-21 20:25:43 +00:00
1998-11-18 20:42:09 +00:00
sysincludedir = ${includedir}/sys
sysinclude_HEADERS = asoundlib.h
# This is the order they will be concatenated into asoundlib.h!
#
header_files=header.h version.h error.h control.h mixer.h pcm.h rawmidi.h \
footer.h
noinst_HEADERS=$(header_files)
$(srcdir)/asoundlib.h: $(header_files)
cat $^ > $@
1998-11-21 20:25:43 +00:00
version.h: stamp-vh
@:
stamp-vh: $(top_builddir)/configure.in
@echo "/*" > ver.tmp
@echo " * ver.tmp" >> ver.tmp
@echo " */" >> ver.tmp
@echo "" >> ver.tmp
1998-11-21 20:41:01 +00:00
@echo "\#define SND_LIB_VERSION $(SND_LIB_VERSION)" >> ver.tmp
@echo "\#define SND_LIB_MAJOR $(SND_LIB_MAJOR)" >> ver.tmp
@echo "\#define SND_LIB_MINOR $(SND_LIB_MINOR)" >> ver.tmp
@echo "\#define SND_LIB_SUBMINOR $(SND_LIB_SUBMINOR)" >> ver.tmp
1998-11-21 20:25:43 +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
1998-11-18 20:42:09 +00:00
INCLUDES=-I$(top_srcdir)/include
1998-11-21 20:25:43 +00:00