chiark / gitweb /
debian: use debian compiler flags
[disorder] / disobedience / Makefile.am
index 66473d9009997240429942b361f221ba4920109e..2328bca9552b5e8f3ecb4b71eed67fde3d5e9d14 100644 (file)
@@ -1,6 +1,6 @@
 #
 # This file is part of DisOrder.
-# Copyright (C) 2006-2010 Richard Kettlewell
+# Copyright (C) 2006-2013 Richard Kettlewell
 #
 # 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
@@ -19,6 +19,7 @@
 bin_PROGRAMS=disobedience
 SUBDIRS=manual
 
+AUTOMAKE_OPTIONS=subdir-objects
 AM_CPPFLAGS=-I${top_srcdir}/lib -I../lib
 AM_CFLAGS=$(GLIB_CFLAGS) $(GTK_CFLAGS)
 
@@ -30,7 +31,8 @@ disobedience_SOURCES=disobedience.h disobedience.c client.c queue.c   \
        popup.h playlists.c multidrag.c multidrag.h autoscroll.c        \
        autoscroll.h globals.c
 disobedience_LDADD=../lib/libdisorder.a $(LIBPCRE) $(LIBGC) $(LIBGCRYPT) \
-       $(LIBASOUND) $(COREAUDIO) $(LIBICONV)
+       $(LIBASOUND) $(COREAUDIO) $(LIBICONV) -lm \
+       $(PULSEAUDIO_SIMPLE_LIBS) $(PULSEAUDIO_LIBS)
 disobedience_LDFLAGS=$(GTK_LIBS)
 
 install-data-local: