Skip to contentSkip to conversation

alsa-utils: Allow building in subdirectory.

PATCH New Thierry Reding 1 participant 1 message Jul 7, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 alsa-utils: Allow building in subdirectory.

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

---
 alsactl/Makefile.am   |    2 ++
 alsamixer/Makefile.am |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)
alsactl/Makefile.am +2 -0
index 359f73a..945a54c 100644
@@ -1,5 +1,7 @@
 SUBDIRS = init
 
+INCLUDES = -I$(top_srcdir)/include
+
 sbin_PROGRAMS=alsactl
 man_MANS=alsactl.1
 if USE_XMLTO
alsamixer/Makefile.am +1 -1
index 1de47c6..d01b1e4 100644
@@ -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
Signature · 1 line
1.7.1