1 INCLUDES = -I$(top_srcdir)/include 2 LDADD = $(LIBINTL) 3 4 # debug flags 5 #LDFLAGS = -static 6 #LDADD += -ldl 7 8 bin_PROGRAMS = aplay 9 man_MANS = aplay.1 arecord.1 10 noinst_HEADERS = formats.h 11 12 EXTRA_DIST = aplay.1 arecord.1 13 EXTRA_CLEAN = arecord 14 15 arecord: aplay 16 rm -f arecord 17 $(LN_S) $< $@ 18 19 arecord.1: aplay.1 20 rm -f arecord.1 21 $(LN_S) $< $@ 22 23 install-exec-hook: arecord 24 rm -f $(DESTDIR)$(bindir)/arecord 25 (cd $(DESTDIR)$(bindir) && $(LN_S) aplay arecord) 26 27 install-data-hook: 28 rm -f $(DESTDIR)$(mandir)/man1/arecord.1 29 (cd $(DESTDIR)$(mandir)/man1 && $(LN_S) aplay.1 arecord.1) 30