mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Allow separate build and source trees
From: Bernard Leak <bernard@brenda-arkle.demon.co.uk> Allow separate build and source trees. Modified for the latest CVS tree by tiwai.
This commit is contained in:
parent
a33c78ddd8
commit
787b0469e9
3 changed files with 8 additions and 6 deletions
|
|
@ -12,10 +12,13 @@ alsainclude_HEADERS = asoundlib.h asoundef.h \
|
||||||
alisp.h pcm_external.h pcm_ioplug.h pcm_extplug.h \
|
alisp.h pcm_external.h pcm_ioplug.h pcm_extplug.h \
|
||||||
control_external.h
|
control_external.h
|
||||||
|
|
||||||
noinst_HEADERS = sys.h search.h list.h aserver.h local.h alsa-symbols.h
|
noinst_HEADERS = alsa sys.h search.h list.h aserver.h local.h alsa-symbols.h
|
||||||
|
|
||||||
CLEANFILES = stamp-vh version.h alsa
|
CLEANFILES = stamp-vh version.h alsa
|
||||||
|
|
||||||
|
alsa:
|
||||||
|
ln -s $(top_srcdir)/include alsa
|
||||||
|
|
||||||
version.h: stamp-vh alsa
|
version.h: stamp-vh alsa
|
||||||
@:
|
@:
|
||||||
|
|
||||||
|
|
@ -41,11 +44,8 @@ stamp-vh: $(top_builddir)/configure.in
|
||||||
echo timestamp > stamp-vh)
|
echo timestamp > stamp-vh)
|
||||||
-@rm -f ver.tmp
|
-@rm -f ver.tmp
|
||||||
|
|
||||||
alsa:
|
|
||||||
ln -s . $@
|
|
||||||
|
|
||||||
INCLUDES=-I$(top_srcdir)/include
|
INCLUDES=-I$(top_srcdir)/include
|
||||||
|
|
||||||
install-data-hook:
|
install-data-hook:
|
||||||
test -d $(DESTDIR)$(sysincludedir) || mkdir -p $(DESTDIR)$(sysincludedir)
|
test -d $(DESTDIR)$(sysincludedir) || mkdir -p $(DESTDIR)$(sysincludedir)
|
||||||
$(INSTALL_DATA) sys.h $(DESTDIR)$(sysincludedir)/asoundlib.h
|
$(INSTALL_DATA) $(srcdir)/sys.h $(DESTDIR)$(sysincludedir)/asoundlib.h
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,8 @@ pkglibdir = $(libdir)/@PACKAGE@/smixer
|
||||||
|
|
||||||
AM_CFLAGS = -g -O2 -W -Wall
|
AM_CFLAGS = -g -O2 -W -Wall
|
||||||
|
|
||||||
|
INCLUDES=-I$(top_srcdir)/include
|
||||||
|
|
||||||
pkglib_LTLIBRARIES = smixer-sbase.la \
|
pkglib_LTLIBRARIES = smixer-sbase.la \
|
||||||
smixer-ac97.la \
|
smixer-ac97.la \
|
||||||
smixer-hda.la
|
smixer-hda.la
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ EXTRA_DIST=Versions
|
||||||
COMPATNUM=@LIBTOOL_VERSION_INFO@
|
COMPATNUM=@LIBTOOL_VERSION_INFO@
|
||||||
|
|
||||||
if VERSIONED_SYMBOLS
|
if VERSIONED_SYMBOLS
|
||||||
VSYMS = -Wl,--version-script=Versions
|
VSYMS = -Wl,--version-script=$(srcdir)/Versions
|
||||||
else
|
else
|
||||||
VSYMS =
|
VSYMS =
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue