mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +00:00
1ea0574af4
Original commit message from CVS: make GST_PLUGIN_LDFLAGS only be flags; GST_LIBS should be added manually to each Makefile.am so we are sure it goes *last* and doesn't add -L flags before linking in libs of our own, like, say, internal .la libs, that then accidentally pick up the installed copy.
47 lines
1.2 KiB
Makefile
47 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 \
|
|
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_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
libgsttcp_la_LIBADD = $(GST_BASE_LIBS) $(GST_GDP_LIBS) $(GST_LIBS)
|
|
|
|
noinst_HEADERS = \
|
|
gsttcpplugin.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)
|