[PATCH] alsa-utils: Allow building in subdirectory.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch allows building alsa-utils in a separate subdirectory.

Signed-off-by: Thierry Reding <thierry.reding@xxxxxxxxxxxxxxxxx>
---
 alsactl/Makefile.am   |    2 ++
 alsamixer/Makefile.am |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/alsactl/Makefile.am b/alsactl/Makefile.am
index 359f73a..945a54c 100644
--- a/alsactl/Makefile.am
+++ b/alsactl/Makefile.am
@@ -1,5 +1,7 @@
 SUBDIRS = init
 
+INCLUDES = -I$(top_srcdir)/include
+
 sbin_PROGRAMS=alsactl
 man_MANS=alsactl.1
 if USE_XMLTO
diff --git a/alsamixer/Makefile.am b/alsamixer/Makefile.am
index 1de47c6..d01b1e4 100644
--- a/alsamixer/Makefile.am
+++ b/alsamixer/Makefile.am
@@ -1,4 +1,5 @@
 AM_CFLAGS = @CURSES_CFLAGS@ -DCURSESINC="@CURSESINC@"
+INCLUDES = -I$(top_srcdir)/include
 LDADD = @CURSESLIB@
 
 bin_PROGRAMS = alsamixer
@@ -18,7 +19,6 @@ alsamixer_SOURCES = card_select.c card_select.h \
 		widget.c widget.h
 man_MANS = alsamixer.1
 EXTRA_DIST = alsamixer.1
-alsamixer_INCLUDES = -I$(top_srcdir)/include
 
 #LDFLAGS = -static
 #CFLAGS += -g -Wall
-- 
1.7.1

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux