gstreamer/ext/libav/Makefile.am
2012-09-10 17:53:54 +02:00

46 lines
1 KiB
Makefile

plugin_LTLIBRARIES = libgstlibav.la
if HAVE_BZ2
BZ2_LIBS = -lbz2
else
BZ2_LIBS =
endif
libgstlibav_la_SOURCES = gstav.c \
gstavprotocol.c \
gstavcodecmap.c \
gstavutils.c \
gstavenc.c \
gstavvidenc.c \
gstavdec.c \
gstavviddec.c \
gstavcfg.c \
gstavdemux.c \
gstavmux.c \
gstavdeinterlace.c
#\
# gstavaudioresample.c
# \
# gstavscale.c
libgstlibav_la_CFLAGS = $(LIBAV_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
libgstlibav_la_LIBADD = $(LIBAV_LIBS) $(GST_PLUGINS_BASE_LIBS) \
-lgstaudio-$(GST_API_VERSION) -lgstvideo-$(GST_API_VERSION) \
-lgstpbutils-$(GST_API_VERSION) $(GST_BASE_LIBS) \
$(LIBM) $(WIN32_LIBS) -lz $(BZ2_LIBS)
libgstlibav_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(DARWIN_LDFLAGS)
libgstlibav_la_LIBTOOLFLAGS = --tag=disable-static
if HAVE_LIBAV_UNINSTALLED
libgstlibav_la_DEPENDENCIES = $(LIBAV_LIBS)
endif
noinst_HEADERS = \
gstav.h \
gstavcodecmap.h \
gstavutils.h \
gstavenc.h \
gstavvidenc.h \
gstavcfg.h \
gstavpipe.h