alsa-utils/Makefile

62 lines
1.8 KiB
Makefile
Raw Normal View History

1998-08-13 17:43:39 +02:00
#
# Makefile for ALSA Utilities
# Copyright (c) 1994-98 by Jaroslav Kysela <perex@jcu.cz>
#
ifeq (Makefile.conf,$(wildcard Makefile.conf))
include Makefile.conf
else
dummy:
@echo
@echo "Please, run configure script as first..."
@echo
endif
all:
1998-10-29 23:47:56 +01:00
$(MAKE) -C alsactl
1998-08-13 17:43:39 +02:00
$(MAKE) -C aplay
$(MAKE) -C amixer
$(MAKE) -C alsamixer
@echo
@echo "ALSA Utilities were sucessfully compiled."
@echo
install: all
1998-10-29 23:47:56 +01:00
$(INSTALL) -m 755 -o root -g root -d ${sbindir}
$(INSTALL) -s -m 755 -o root -g root alsactl/alsactl ${sbindir}
1998-12-01 11:29:58 +01:00
$(INSTALL) -m 644 -o root -g root alsactl/alsactl.1 ${mandir}/man1
1998-10-29 23:47:56 +01:00
$(INSTALL) -m 755 -o root -g root -d ${bindir}
1998-08-13 17:43:39 +02:00
$(INSTALL) -s -m 755 -o root -g root aplay/aplay ${bindir}
ln -sf aplay ${bindir}/arecord
$(INSTALL) -s -m 755 -o root -g root amixer/amixer ${bindir}
1998-10-06 12:19:26 +02:00
$(INSTALL) -d -m 755 -o root -g root ${mandir}/man1
$(INSTALL) -m 644 -o root -g root amixer/amixer.1 ${mandir}/man1
1998-08-13 17:43:39 +02:00
$(INSTALL) -s -m 755 -o root -g root alsamixer/alsamixer ${bindir}
$(INSTALL) -m 644 -o root -g root alsamixer/alsamixer.1 ${mandir}/man1
$(INSTALL) -m 644 -o root -g root aplay/arecord.1 ${mandir}/man1
ln -sf arecord.1 ${mandir}/man1/aplay.1
1998-08-13 17:43:39 +02:00
clean:
$(MAKE) -C include clean
1998-10-29 23:47:56 +01:00
$(MAKE) -C alsactl clean
1998-08-13 17:43:39 +02:00
$(MAKE) -C aplay clean
$(MAKE) -C amixer clean
$(MAKE) -C alsamixer clean
$(MAKE) -C utils clean
rm -f core .depend *.o *.orig *~
rm -f `find . -name "out.txt"`
1998-08-31 16:41:33 +02:00
mrproper: clean
1998-08-28 16:08:47 +02:00
rm -f config.cache config.log config.status Makefile.conf \
1998-08-31 16:41:33 +02:00
include/aconfig.h utils/alsa-utils.spec
1998-09-21 19:50:41 +02:00
cvsclean: mrproper
1998-08-31 16:41:33 +02:00
rm -f configure
1998-08-28 16:08:47 +02:00
1998-08-31 16:41:33 +02:00
pack: mrproper
1998-08-13 17:43:39 +02:00
chown -R root.root ../alsa-utils
1998-09-24 22:46:12 +02:00
mv ../alsa-utils ../alsa-utils-$(SND_UTIL_VERSION)
tar cvz -C .. -f ../alsa-utils-$(SND_UTIL_VERSION).tar.gz alsa-utils-$(SND_UTIL_VERSION)
mv ../alsa-utils-$(SND_UTIL_VERSION) ../alsa-utils