gstreamer/ext/mpeg2dec/Makefile.am
Andy Wingo 29ea57179f s/@GST_PLUGIN_LDFLAGS@/$(GST_PLUGIN_LDFLAGS)/ @-substitued variables variables are defined as make variables automagi...
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
2002-03-19 01:39:42 +00:00

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