mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 12:41:05 +00:00
2bb3268dd5
Original commit message from CVS: * gst/tcp/Makefile.am: * gst/tcp/fdsetstress.c: (mess_some_more), (run_test), (main): * gst/tcp/gstfdset.c: (nearest_pow), (resize), (ensure_size), (gst_fdset_new), (gst_fdset_free), (gst_fdset_set_mode), (gst_fdset_fd_ctl_write), (gst_fdset_fd_ctl_read), (gst_fdset_fd_has_closed), (gst_fdset_fd_has_error), (gst_fdset_fd_can_read), (gst_fdset_fd_can_write), (gst_fdset_wait): Added more locks around fdset structures. Fixed/reworked the poll array resizing code. Added stress test for fdset.
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
plugin_LTLIBRARIES = libgsttcp.la
|
|
|
|
# variables used for enum/marshal generation
|
|
glib_enum_headers = gsttcp.h
|
|
glib_enum_define = GST_TCP
|
|
glib_enum_prefix = gst_tcp
|
|
|
|
include $(top_srcdir)/common/glib-gen.mak
|
|
|
|
built_sources = gsttcp-enumtypes.c gsttcp-marshal.c
|
|
built_headers = gsttcp-enumtypes.h gsttcp-marshal.h
|
|
|
|
BUILT_SOURCES = $(built_sources) $(built_headers)
|
|
|
|
libgsttcp_la_SOURCES = \
|
|
gsttcpplugin.c \
|
|
gsttcpsrc.c gsttcpsink.c \
|
|
gsttcp.c \
|
|
gstfdset.c \
|
|
gstmultifdsink.c \
|
|
gsttcpclientsrc.c gsttcpclientsink.c \
|
|
gsttcpserversrc.c gsttcpserversink.c
|
|
|
|
nodist_libgsttcp_la_SOURCES = \
|
|
$(built_sources)
|
|
|
|
# remove ENABLE_NEW when dataprotocol is stable
|
|
libgsttcp_la_CFLAGS = $(GST_CFLAGS) -DGST_ENABLE_NEW
|
|
libgsttcp_la_LIBADD =
|
|
libgsttcp_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
|
|
noinst_HEADERS = \
|
|
gsttcpplugin.h \
|
|
gsttcpsrc.h gsttcpsink.h \
|
|
gsttcp.h \
|
|
gstfdset.h \
|
|
gstmultifdsink.h \
|
|
gsttcpclientsrc.h gsttcpclientsink.h \
|
|
gsttcpserversrc.h gsttcpserversink.h
|
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
|
|
EXTRA_DIST = gsttcp-marshal.list
|
|
|
|
noinst_PROGRAMS = fdsetstress
|
|
|
|
fdsetstress_SOURCES = fdsetstress.c gstfdset.c
|
|
fdsetstress_CFLAGS = $(GST_CFLAGS) $(GTK_CFLAGS)
|
|
fdsetstress_LDFLAGS = $(GST_LIBS) $(GTK_LIBS)
|
|
|