1
0
Fork 0
android_external_alsa-utils/aplay/Makefile.am
Michael Biebl a886daa313 Remove more generated files on "make clean"
Closes: https://github.com/alsa-project/alsa-utils/pull/328
Signed-off-by: Michael Biebl <biebl@debian.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-05-25 11:21:38 +02:00

31 lines
597 B
Makefile

LIBRT = @LIBRT@
AM_CPPFLAGS = -I$(top_srcdir)/include
LDADD = $(LIBINTL) $(LIBRT)
# debug flags
#LDFLAGS = -static
#LDADD += -ldl
bin_PROGRAMS = aplay
man_MANS = aplay.1 arecord.1
noinst_HEADERS = formats.h
EXTRA_DIST = aplay.1 arecord.1
CLEANFILES = arecord
arecord: aplay
rm -f arecord
$(LN_S) $< $@
arecord.1: aplay.1
rm -f arecord.1
$(LN_S) $< $@
install-exec-hook: arecord
rm -f $(DESTDIR)$(bindir)/arecord
(cd $(DESTDIR)$(bindir) && $(LN_S) aplay arecord)
install-data-hook:
rm -f $(DESTDIR)$(mandir)/man1/arecord.1
(cd $(DESTDIR)$(mandir)/man1 && $(LN_S) aplay.1 arecord.1)