1 # $Id: Makefile.am 27 2003-10-22 22:34:06Z lennart $
3 # This file is part of polypaudio.
5 # polypaudio is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
10 # polypaudio is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with polypaudio; if not, write to the Free Software Foundation,
17 # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
19 AM_CFLAGS=-ansi -D_GNU_SOURCE
21 bin_PROGRAMS = polypaudio
23 pkglib_LTLIBRARIES=libprotocol-simple.la protocol-simple-tcp.la \
24 libsocket-server.la sink-pipe.la libpstream.la libiochannel.la libpacket.la
26 polypaudio_SOURCES = idxset.c queue.c strbuf.c mainloop.c \
27 memblock.c sample.c memblockq.c client.c \
28 core.c main.c outputstream.c inputstream.c source.c sink.c \
30 polypaudio_INCLUDES = $(INCLTDL)
31 polypaudio_LDADD = $(LIBLTDL)
32 polypaudio_LDFLAGS=-export-dynamic
34 libprotocol_simple_la_SOURCES = protocol-simple.c
35 libprotocol_simple_la_LDFLAGS = -avoid-version
36 libprotocol_simple_la_LIBADD = libsocket-server.la libiochannel.la
38 libsocket_server_la_SOURCES = socket-server.c
39 libsocket_server_la_LDFLAGS = -avoid-version
40 libsocket_server_la_LIBADD = libiochannel.la
42 libpstream_la_SOURCES = pstream.c
43 libpstream_la_LDFLAGS = -avoid-version
44 libpstream_la_LIBADD = libpacket.la
46 libiochannel_la_SOURCES = iochannel.c
47 libiochannel_la_LDFLAGS = -avoid-version
49 libpacket_la_SOURCES = packet.c
50 libpacket_la_LDFLAGS = -avoid-version
52 protocol_simple_tcp_la_SOURCES = protocol-simple-tcp.c
53 protocol_simple_tcp_la_LDFLAGS = -module -avoid-version
54 protocol_simple_tcp_la_LIBADD = libprotocol-simple.la libiochannel.la
56 sink_pipe_la_SOURCES = sink-pipe.c
57 sink_pipe_la_LDFLAGS = -module -avoid-version
58 sink_pipe_la_LIBADD = libiochannel.la