gstreamer/gst/tcp/Makefile.am
William Manley 7c10499ecd tcp: Add element socketsrc
`socketsrc` can be considered a source counterpart to `multisocketsink`.
It can be considered a generalization of `tcpclientsrc` and
`tcpserversrc`:  it contains all the logic required to communicate over
the socket but none of the logic for creating the sockets/establishing
the connection in the first place, allowing the user to accomplish this
externally in whatever manner they wish making it applicable to other
types of sockets besides TCP.

This commit essentially copies the implementation directly from
tcpserversrc.  Later patches will tidy the implementation up and
re-implement `tcpclientsrc` and `tcpserversrc` in terms of `socketsrc`.

See https://bugzilla.gnome.org/show_bug.cgi?id=739546
2015-03-13 20:05:00 +01:00

47 lines
1.4 KiB
Makefile

plugin_LTLIBRARIES = libgsttcp.la
if HAVE_SYS_SOCKET_H
multifdsink_SOURCES = \
gstmultifdsink.c
else
multifdsink_SOURCES =
endif
libgsttcp_la_SOURCES = \
gstsocketsrc.c \
gsttcpplugin.c \
gsttcpclientsrc.c gsttcpclientsink.c \
$(multifdsink_SOURCES) \
gstmultihandlesink.c \
gstmultisocketsink.c \
gsttcpserversrc.c gsttcpserversink.c
libgsttcp_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_NET_CFLAGS) $(GST_CFLAGS) $(GIO_CFLAGS)
libgsttcp_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgsttcp_la_LIBADD = $(GST_BASE_LIBS) $(GST_NET_LIBS) $(GST_LIBS) $(GIO_LIBS)
libgsttcp_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
noinst_HEADERS = \
gstsocketsrc.h \
gsttcp.h \
gsttcpclientsrc.h gsttcpclientsink.h \
gstmultifdsink.h \
gstmultisocketsink.h \
gsttcpserversrc.h gsttcpserversink.h gstmultihandlesink.h
CLEANFILES = $(BUILT_SOURCES)
Android.mk: Makefile.am $(BUILT_SOURCES)
androgenizer \
-:PROJECT libgsttcp -:SHARED libgsttcp \
-:TAGS eng debug \
-:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
-:SOURCES $(libgsttcp_la_SOURCES) \
$(nodist_libgsttcp_la_SOURCES) \
-:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(libgsttcp_la_CFLAGS) \
-:LDFLAGS $(libgsttcp_la_LDFLAGS) \
$(libgsttcp_la_LIBADD) \
-ldl \
-:PASSTHROUGH LOCAL_ARM_MODE:=arm \
LOCAL_MODULE_PATH:='$$(TARGET_OUT)/lib/gstreamer-0.10' \
> $@