mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 20:20:38 +00:00
6af24d5e2a
Original commit message from CVS: - use MPEG2DEC_CFLAGS and MPEG2DEC_LIBS which are set with GST_CHECK_MPEG2DEC macro - gcc -O3 option removed - it is set by the user if he wants such optimization
30 lines
758 B
Makefile
30 lines
758 B
Makefile
plugindir = $(libdir)/gst
|
|
|
|
plugin_LTLIBRARIES = libgstmpeg2dec.la
|
|
|
|
if HAVE_CPU_I386
|
|
ARCHFLAGS = -m486
|
|
else
|
|
ARCHFLAGS =
|
|
endif
|
|
|
|
libgstmpeg2dec_la_SOURCES = gstmpeg2dec.c
|
|
libgstmpeg2dec_la_CFLAGS = $(GST_CFLAGS) $(MPEG2DEC_CFLAGS) $(ARCHFLAGS) $(FOMIT_FRAME_POINTER) -ffast-math
|
|
libgstmpeg2dec_la_LIBADD = $(GST_LIBS) $(MPEG2DEC_LIBS)
|
|
libgstmpeg2dec_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@
|
|
|
|
#
|
|
# Use the following if you use mpeg2dec from CVS
|
|
#
|
|
#libgstmpeg2dec_la_LIBADD = $(GST_LIBS) -lmpeg2 -lcpuaccel
|
|
|
|
noinst_HEADERS = gstmpeg2dec.h
|
|
|
|
#noinst_PROGRAMS = perftest
|
|
|
|
#perftest_SOURCES = perftest.c $(libgstmpeg2dec_la_SOURCES)
|
|
#perftest_CFLAGS = $(GST_CFLAGS)
|
|
#perftest_LDADD = $(GST_LIBS)
|
|
|
|
#CFLAGS += -pg -Wall -fprofile-arcs -ftest-coverage
|
|
#CFLAGS += -pg -Wall -O3
|