X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/fcb632a28d698e5e3c4463b2db184025555015a2..436153a6759979b7c1b3c70ff971e7cf1e311977:/server/Makefile.am diff --git a/server/Makefile.am b/server/Makefile.am index 6d497a1..5d089d7 100644 --- a/server/Makefile.am +++ b/server/Makefile.am @@ -1,27 +1,25 @@ # # This file is part of DisOrder. -# Copyright (C) 2004-2008 Richard Kettlewell +# Copyright (C) 2004-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 . # sbin_PROGRAMS=disorderd disorder-deadlock disorder-rescan disorder-dump \ disorder-speaker disorder-decode disorder-normalize \ disorder-stats disorder-dbupgrade disorder-choose -noinst_PROGRAMS=trackname +noinst_PROGRAMS=trackname endian AM_CPPFLAGS=-I${top_srcdir}/lib -I../lib @@ -39,14 +37,10 @@ disorder_deadlock_LDADD=$(LIBOBJS) ../lib/libdisorder.a \ $(LIBDB) $(LIBPCRE) $(LIBICONV) $(LIBGCRYPT) disorder_deadlock_DEPENDENCIES=../lib/libdisorder.a -disorder_speaker_SOURCES=speaker.c speaker.h \ - speaker-command.c \ - speaker-network.c \ - speaker-coreaudio.c \ - speaker-oss.c \ - speaker-alsa.c +disorder_speaker_SOURCES=speaker.c disorder_speaker_LDADD=$(LIBOBJS) ../lib/libdisorder.a \ - $(LIBASOUND) $(LIBPCRE) $(LIBICONV) $(LIBGCRYPT) $(COREAUDIO) + $(LIBASOUND) $(LIBPCRE) $(LIBICONV) $(LIBGCRYPT) $(COREAUDIO) \ + $(LIBPTHREAD) disorder_speaker_DEPENDENCIES=../lib/libdisorder.a disorder_decode_SOURCES=decode.c disorder-server.h @@ -123,12 +117,12 @@ check-help: all ./disorder-choose --version > /dev/null # My sox doesn't know MP3 or FLAC unfortunately -check-decode: disorder-decode disorder-normalize +check-decode: disorder-decode disorder-normalize endian echo "speaker_backend network" > config - echo "broadcast 127.255.255.255 discard" > config + echo "broadcast 127.255.255.255 9" > config ./disorder-decode ${top_srcdir}/sounds/scratch.ogg | \ ./disorder-normalize --config config > decoded.raw - oggdec -b 16 -e 1 -R -s 1 -o oggdec.raw ${top_srcdir}/sounds/scratch.ogg + oggdec -b 16 -e `./endian` -R -s 1 -o oggdec.raw ${top_srcdir}/sounds/scratch.ogg cmp decoded.raw oggdec.raw sox ${top_srcdir}/sounds/scratch.ogg scratch.wav ./disorder-decode scratch.wav | \ @@ -138,3 +132,5 @@ check-decode: disorder-decode disorder-normalize rm -f scratch.wav config decoded.raw oggdec.raw EXTRA_DIST=README.dbversions + +CLEANFILES=*.gcda *.gcov *.gcno *.c.html index.html