2021-05-27 19:18:38 +02:00
|
|
|
VERSION = 1.2.5
|
2001-08-20 15:17:09 +00:00
|
|
|
TOP = .
|
2013-04-09 11:10:02 +02:00
|
|
|
SUBDIRS = as10k1 envy24control hdsploader hdspconf hdspmixer \
|
2008-09-09 14:17:10 +02:00
|
|
|
mixartloader pcxhrloader rmedigicontrol sb16_csp seq sscape_ctl \
|
2010-01-18 15:37:41 +01:00
|
|
|
us428control usx2yloader vxloader echomixer ld10k1 qlo10k1 \
|
2014-10-06 15:30:03 +02:00
|
|
|
hwmixvolume hdajackretask hda-verb hdajacksensetest
|
2001-08-20 15:17:09 +00:00
|
|
|
|
|
|
|
|
all:
|
2008-09-09 14:17:10 +02:00
|
|
|
@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
|
2003-11-25 11:51:08 +00:00
|
|
|
|
|
|
|
|
install:
|
2008-09-09 14:17:10 +02:00
|
|
|
@for i in $(SUBDIRS); do \
|
|
|
|
|
make -C $$i DESTDIR=$(DESTDIR) install || exit 1; \
|
|
|
|
|
done
|
2001-08-20 15:17:09 +00:00
|
|
|
|
|
|
|
|
alsa-dist:
|
2017-11-15 11:16:48 +01:00
|
|
|
@echo $(VERSION) > $(TOP)/version
|
2001-08-20 15:17:09 +00:00
|
|
|
@mkdir -p $(TOP)/distdir
|
2008-09-09 14:17:10 +02:00
|
|
|
@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
|
2001-08-20 15:17:09 +00:00
|
|
|
@mv distdir alsa-tools-$(VERSION)
|
2008-09-09 14:17:10 +02:00
|
|
|
@tar --create --verbose --file=- alsa-tools-$(VERSION) \
|
|
|
|
|
| bzip2 -c -9 > alsa-tools-$(VERSION).tar.bz2
|
2001-08-20 15:17:09 +00:00
|
|
|
@mv alsa-tools-$(VERSION) distdir
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
|
rm -rf *~ distdir
|
2008-08-19 19:33:36 +02:00
|
|
|
@for i in $(SUBDIRS); do make -C $$i clean || exit 1; done
|