chiark / gitweb /
distribution fixes
[disorder] / clients / Makefile.am
index a55c7a2a32851dac804c946cbad090bf669390ac..16f7437bc93f872191f162fffe0badc4bfd2ec13 100644 (file)
 
 bin_PROGRAMS=disorder disorderfm disorder-playrtp
 noinst_PROGRAMS=test-eclient filename-bytes
+noinst_SCRIPTS=dump2wav
 
 AM_CPPFLAGS=-I${top_srcdir}/lib -I../lib
 
 disorder_SOURCES=disorder.c authorize.c authorize.h \
        ../lib/memgc.c
 disorder_LDADD=$(LIBOBJS) ../lib/libdisorder.a \
-       $(LIBDL) $(LIBGC) $(LIBGCRYPT) $(LIBPCRE)
+       $(LIBGC) $(LIBGCRYPT) $(LIBPCRE)
 disorder_DEPENDENCIES=$(LIBOBJS) ../lib/libdisorder.a
 
 disorderfm_SOURCES=disorderfm.c \
@@ -34,9 +35,10 @@ disorderfm_SOURCES=disorderfm.c \
 disorderfm_LDADD=$(LIBOBJS) ../lib/libdisorder.a $(LIBGC) $(LIBICONV)
 disorderfm_DEPENDENCIES=$(LIBOBJS) ../lib/libdisorder.a
 
-disorder_playrtp_SOURCES=playrtp.c
+disorder_playrtp_SOURCES=playrtp.c playrtp.h playrtp-mem.c \
+                        playrtp-alsa.c playrtp-coreaudio.c playrtp-oss.c
 disorder_playrtp_LDADD=$(LIBOBJS) ../lib/libdisorder.a \
-       $(LIBASOUND) $(COREAUDIO)
+       $(LIBASOUND) $(LIBPCRE) $(LIBICONV) $(LIBGCRYPT) $(COREAUDIO)
 disorder_playrtp_DEPENDENCIES=$(LIBOBJS) ../lib/libdisorder.a
 
 filename_bytes_SOURCES=filename-bytes.c
@@ -44,7 +46,7 @@ filename_bytes_SOURCES=filename-bytes.c
 test_eclient_SOURCES=test-eclient.c \
        ../lib/memgc.c
 test_eclient_LDADD=../lib/libdisorder.a \
-       $(LIBDL) $(LIBGC) $(LIBGCRYPT) $(LIBPCRE)
+       $(LIBGC) $(LIBGCRYPT) $(LIBPCRE)
 test_eclient_DEPENDENCIES=../lib/libdisorder.a
 
 install-exec-hook:
@@ -52,14 +54,18 @@ install-exec-hook:
 
 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
@@ -77,3 +83,5 @@ check-completions:
        diff -u ,commands ,completions
 
 CLEANFILES=,commands ,completions
+
+EXTRA_DIST=dump2wav