tarina

git clone https://git.tarina.org/tarina
Log | Files | Refs | README | LICENSE

Makefile.am (598B)


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