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