mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 11:29:55 +00:00
29ea57179f
Original commit message from CVS: s/@GST_PLUGIN_LDFLAGS@/$(GST_PLUGIN_LDFLAGS)/ @-substitued variables variables are defined as make variables automagically, and this gives the user the freedom to say make GST_PLUGIN_LDFLAGS=-myflag
30 lines
759 B
Makefile
30 lines
759 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
|