newie, adding a file to the project

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I am trying to add a file (aplay_miversion.c) to the project to make tests.
I have modified the Makefile.am file of the aplay directory in the project.
I have run ./configure and make and I don't get the file compiled. How shold
I change the lines?

LIBRT = @LIBRT@

INCLUDES = -I$(top_srcdir)/include
LDADD = $(LIBINTL) $(LIBRT)

# debug flags
#LDFLAGS = -static
#LDADD += -ldl

bin_PROGRAMS = aplay aplay_miversion

aplay_SOURCES = aplay.c
aplay_miversion_SOURCES = aplay_miversion.c

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)
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux