gstreamer/tests/examples/streams/Makefile.am
Sebastian Dröge b0b971ff32 examples: Link rtpool-test to libpthread for using the POSIX threads
Also the other streams example can run without pthreads therefore
enable it even if pthreads are not available.

Fixes bug #592314.
2009-08-19 15:25:41 +02:00

15 lines
409 B
Makefile

noinst_PROGRAMS = stream-status
if HAVE_PTHREAD_H
noinst_PROGRAMS += rtpool-test
endif
stream_status_SOURCES = stream-status.c
stream_status_LDADD = $(GST_OBJ_LIBS)
stream_status_CFLAGS = $(GST_OBJ_CFLAGS)
rtpool_test_SOURCES = rtpool-test.c testrtpool.h testrtpool.c
rtpool_test_LDADD = $(GST_OBJ_LIBS) -lpthread
rtpool_test_CFLAGS = $(GST_OBJ_CFLAGS)
EXTRA_DIST = rtpool-test.c testrtpool.h testrtpool.c