X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/3a8b42d3b8549afa2da08757107f43c41d19ae0c..1be9101e4d2cfd1aed5249b0cdf126d747095ce8:/clients/Makefile.am diff --git a/clients/Makefile.am b/clients/Makefile.am index aaf0efb..6ed9f4a 100644 --- a/clients/Makefile.am +++ b/clients/Makefile.am @@ -1,57 +1,66 @@ # # This file is part of DisOrder. -# Copyright (C) 2006, 2007 Richard Kettlewell +# Copyright (C) 2006-2009 Richard Kettlewell # -# This program is free software; you can redistribute it and/or modify +# This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA +# along with this program. If not, see . # -bin_PROGRAMS=disorder disorderfm -noinst_PROGRAMS=test-eclient filename-bytes +bin_PROGRAMS=disorder disorderfm disorder-playrtp +noinst_PROGRAMS=filename-bytes rtpmon resample +noinst_SCRIPTS=dump2wav AM_CPPFLAGS=-I${top_srcdir}/lib -I../lib -disorder_SOURCES=disorder.c authorize.c authorize.h +disorder_SOURCES=disorder.c authorize.c authorize.h \ + ../lib/memgc.c disorder_LDADD=$(LIBOBJS) ../lib/libdisorder.a \ - $(LIBDL) $(LIBGC) $(LIBGCRYPT) $(LIBPCRE) + $(LIBGC) $(LIBGCRYPT) $(LIBPCRE) $(LIBICONV) $(LIBPTHREAD) disorder_DEPENDENCIES=$(LIBOBJS) ../lib/libdisorder.a -disorderfm_SOURCES=disorderfm.c +disorderfm_SOURCES=disorderfm.c \ + ../lib/memgc.c disorderfm_LDADD=$(LIBOBJS) ../lib/libdisorder.a $(LIBGC) $(LIBICONV) disorderfm_DEPENDENCIES=$(LIBOBJS) ../lib/libdisorder.a -filename_bytes_SOURCES=filename-bytes.c +disorder_playrtp_SOURCES=playrtp.c playrtp.h playrtp-mem.c +disorder_playrtp_LDADD=$(LIBOBJS) ../lib/libdisorder.a \ + $(LIBASOUND) $(LIBPCRE) $(LIBICONV) $(LIBGCRYPT) $(COREAUDIO) \ + $(LIBPTHREAD) -lm +disorder_playrtp_DEPENDENCIES=$(LIBOBJS) ../lib/libdisorder.a -test_eclient_SOURCES=test-eclient.c -test_eclient_LDADD=../lib/libdisorder.a \ - $(LIBDL) $(LIBGC) $(LIBGCRYPT) $(LIBPCRE) -test_eclient_DEPENDENCIES=../lib/libdisorder.a +rtpmon_SOURCES=rtpmon.c +rtpmon_LDADD=$(LIBOBJS) ../lib/libdisorder.a -install-exec-hook: - $(LIBTOOL) --mode=finish $(DESTDIR)$(libdir) +filename_bytes_SOURCES=filename-bytes.c + +resample_SOURCES=resample.c +resample_LDADD=$(LIBOBJS) ../lib/libdisorder.a $(LIBSAMPLERATE) check: check-help check-completions -# check everything has working --help +# check everything has working --help and --version check-help: all ./disorder --version > /dev/null ./disorder --help > /dev/null ./disorder --help-commands > /dev/null + ./disorderfm --version > /dev/null + ./disorderfm --help > /dev/null + ./disorder-playrtp --version > /dev/null + ./disorder-playrtp --help > /dev/null # check that the command completions are up to date -check-completions: +check-completions: disorder ./disorder --help-commands \ | awk '/^ [a-z]/ { print $$1 }' \ | sort > ,commands @@ -68,4 +77,7 @@ check-completions: | sort > ,completions diff -u ,commands ,completions -CLEANFILES=,commands ,completions +CLEANFILES=,commands ,completions \ + *.gcda *.gcov *.gcno *.c.html index.html + +EXTRA_DIST=dump2wav