mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 13:21:28 +00:00
3443f74f10
Original commit message from CVS: Added optimal scheduler to build and call it optomega
48 lines
2.3 KiB
Makefile
48 lines
2.3 KiB
Makefile
plugindir = $(libdir)/gst
|
|
|
|
plugin_LTLIBRARIES = \
|
|
libgstbasicomegascheduler.la \
|
|
libgstbasicwingoscheduler.la \
|
|
libgstfastomegascheduler.la \
|
|
libgstfastwingoscheduler.la \
|
|
libgstoptomegascheduler.la
|
|
|
|
libgstbasicomegascheduler_la_SOURCES = gstbasicscheduler.c
|
|
libgstbasicomegascheduler_la_CFLAGS = $(GST_CFLAGS) -D_COTHREADS_OMEGA
|
|
libgstbasicomegascheduler_la_LIBADD = ../libcothreads.la
|
|
libgstbasicomegascheduler_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
|
|
# some silly bug prevents us from putting both $(top_builddir) and
|
|
# $(src_dir) on the same line for CFLAGS (try it, reverse them, see the
|
|
# strangeness on your gcc line) so we pull this dirty += trick on it, hah !
|
|
libgstbasicwingoscheduler_la_SOURCES = gstbasicscheduler.c
|
|
libgstbasicwingoscheduler_la_CFLAGS = $(GST_CFLAGS) -D_COTHREADS_WINGO
|
|
libgstbasicwingoscheduler_la_CFLAGS += -I$(top_builddir)/libs/ext/cothreads
|
|
libgstbasicwingoscheduler_la_CFLAGS += -I$(top_srcdir)/libs/ext/cothreads
|
|
|
|
libgstbasicwingoscheduler_la_LIBADD = $(top_builddir)/libs/ext/cothreads/cothreads/libcothreads-gthreads.la
|
|
libgstbasicwingoscheduler_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
|
|
libgstfastomegascheduler_la_SOURCES = gstfastscheduler.c
|
|
libgstfastomegascheduler_la_CFLAGS = $(GST_CFLAGS) -D_COTHREADS_OMEGA
|
|
libgstfastomegascheduler_la_LIBADD = ../libcothreads.la
|
|
libgstfastomegascheduler_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
|
|
libgstfastwingoscheduler_la_SOURCES = gstfastscheduler.c
|
|
libgstfastwingoscheduler_la_CFLAGS = $(GST_CFLAGS) -D_COTHREADS_WINGO
|
|
libgstfastwingoscheduler_la_CFLAGS += -I$(top_builddir)/libs/ext/cothreads
|
|
libgstfastwingoscheduler_la_CFLAGS += -I$(top_srcdir)/libs/ext/cothreads
|
|
libgstfastwingoscheduler_la_LIBADD = $(top_builddir)/libs/ext/cothreads/cothreads/libcothreads-gthreads.la
|
|
libgstfastwingoscheduler_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
|
|
libgstoptomegascheduler_la_SOURCES = gstoptimalscheduler.c
|
|
libgstoptomegascheduler_la_CFLAGS = $(GST_CFLAGS) -D_COTHREADS_OMEGA
|
|
libgstoptomegascheduler_la_LIBADD = ../libcothreads.la
|
|
libgstoptomegascheduler_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
|
|
## this is a REALLY evil hack
|
|
## but we need to keep it as long as we have libs/gst and libs/ext
|
|
$(top_builddir)/libs/ext/cothreads/cothreads/libcothreads-gthreads.la:
|
|
cd $(top_builddir)/libs/ext/cothreads/cothreads && ${MAKE}
|
|
|
|
noinst_HEADERS = cothreads_compat.h
|