File: Makefile.am

package info (click to toggle)
alsa-utils 1.0.8-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,612 kB
  • ctags: 754
  • sloc: ansic: 10,447; sh: 4,806; makefile: 242
file content (29 lines) | stat: -rw-r--r-- 567 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
INCLUDES = -I$(top_srcdir)/include
LDADD = -lasound

# 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
EXTRA_CLEAN = 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)