Commit 739bb77b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

dts: compile header helpers only once (refs #9367)

parent ca8d2b76
noinst_HEADERS =
noinst_LTLIBRARIES =
SOURCES_flac = flac.c
SOURCES_vorbis = vorbis.c
......@@ -87,8 +88,13 @@ libaes3_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
libaraw_plugin_la_SOURCES = araw.c
libaraw_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
libdts_plugin_la_SOURCES = dts.c dts_header.h dts_header.c
libdts_plugin_la_SOURCES = dts.c
libdts_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
libdts_plugin_la_LIBADD = libvlc_dts_header.la $(AM_LIBADD)
libvlc_dts_header_la_SOURCES = dts_header.c dts_header.h
libvlc_dts_header_la_LDFLAGS = -static
noinst_LTLIBRARIES += libvlc_dts_header.la
libg711_plugin_la_SOURCES = g711.c
libg711_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
......
......@@ -73,9 +73,9 @@ if HAVE_AVFORMAT
libvlc_LTLIBRARIES += libavformat_plugin.la
endif
libes_plugin_la_SOURCES = mpeg/es.c ../codec/dts_header.c ../codec/dts_header.h ../codec/a52.h
libes_plugin_la_SOURCES = mpeg/es.c
libes_plugin_la_CFLAGS = $(AM_CFLAGS)
libes_plugin_la_LIBADD = $(AM_LIBADD)
libes_plugin_la_LIBADD = ../codec/libvlc_dts_header.la $(AM_LIBADD)
if HAVE_WIN32
libes_plugin_la_DEPENDENCIES = libes_plugin.rc.o
endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment