alsa-tools/Makefile
David Henningsson 7aa4a74f88 hdajackretask: Add new program for easy retask of hda pin nodes
Most HDA Intel soundcards are to some degree retaskable, i e can be
used for more than one thing. This tool is a GUI to make it easy to
retask your jacks - e g, turn your Mic jack into an extra Headphone,
or why not make them both line outs and connect them to your surround
receiver?

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2012-03-22 17:47:02 +01:00

47 lines
1.3 KiB
Makefile

VERSION = 1.0.25
TOP = .
SUBDIRS = ac3dec as10k1 envy24control hdsploader hdspconf hdspmixer \
mixartloader pcxhrloader rmedigicontrol sb16_csp seq sscape_ctl \
us428control usx2yloader vxloader echomixer ld10k1 qlo10k1 \
hwmixvolume hdajackretask
all:
@for i in $(SUBDIRS); do \
cd $(TOP)/$$i; echo $(TOP)/$$i; \
./gitcompile $(GITCOMPILE_ARGS) || exit 1; \
cd ..; make -C $$i || exit 1; \
done
configure:
@for i in $(SUBDIRS); do \
cd $(TOP)/$$i; echo $(TOP)/$$i; \
if [ -x ./configure ]; then \
./configure $(CONFIGURE_ARGS) || exit 1; \
else \
make CONFIGURE_ARGS="$CONFIGURE_ARGS" configure || exit 1; \
fi; \
cd ..; make -C $$i || exit 1; \
done
install:
@for i in $(SUBDIRS); do \
make -C $$i DESTDIR=$(DESTDIR) install || exit 1; \
done
alsa-dist:
@echo $(VERSION) >> $(TOP)/version
@mkdir -p $(TOP)/distdir
@for i in $(SUBDIRS); do \
cd $(TOP)/$$i; echo $(TOP)/$$i; \
./gitcompile $(GITCOMPILE_ARGS) || exit 1; \
cd ..; make -C $$i alsa-dist || exit 1; \
done
@cp Makefile gitcompile distdir
@mv distdir alsa-tools-$(VERSION)
@tar --create --verbose --file=- alsa-tools-$(VERSION) \
| bzip2 -c -9 > alsa-tools-$(VERSION).tar.bz2
@mv alsa-tools-$(VERSION) distdir
clean:
rm -rf *~ distdir
@for i in $(SUBDIRS); do make -C $$i clean || exit 1; done