alsa-tools/Makefile
David Henningsson 7a7d94a031 Add a small "hdajacksensetest" helper
I previously had a small python script doing the same thing,
but it depended on hda-analyzer, which always breaks when something
new is added to the codec proc file.

I got tired and rewrote it as a small C program instead, which I
hope will be a useful addition to alsa-tools.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2014-10-06 15:31:48 +02:00

47 lines
1.3 KiB
Makefile

VERSION = 1.0.28
TOP = .
SUBDIRS = as10k1 envy24control hdsploader hdspconf hdspmixer \
mixartloader pcxhrloader rmedigicontrol sb16_csp seq sscape_ctl \
us428control usx2yloader vxloader echomixer ld10k1 qlo10k1 \
hwmixvolume hdajackretask hda-verb hdajacksensetest
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