2 libgstvaapi-codecparsers.la \
5 local_codecparsers_srcdir = \
6 $(top_srcdir)/ext/codecparsers/gst-libs/gst/codecparsers
8 libgstvaapi_codecparsers_cflags = \
9 -DGST_USE_UNSTABLE_API \
10 -I$(top_srcdir)/gst-libs \
11 -I$(top_builddir)/gst-libs \
16 libgstvaapi_codecparsers_libs = \
23 gen_source_c = parserutils.c nalutils.c
24 gen_source_h = parserutils.h nalutils.h
26 # Always build VC-1 and MPEG-4 parsers for now
27 gen_source_c += gstvc1parser.c gstmpeg4parser.c
28 gen_source_h += gstvc1parser.h gstmpeg4parser.h
30 if USE_LOCAL_CODEC_PARSERS_JPEG
31 gen_source_c += gstjpegparser.c
32 gen_source_h += gstjpegparser.h
35 if USE_LOCAL_CODEC_PARSERS_MPEG2
36 gen_source_c += gstmpegvideoparser.c
37 gen_source_h += gstmpegvideoparser.h
40 if USE_LOCAL_CODEC_PARSERS_H264
41 gen_source_c += gsth264parser.c
42 gen_source_h += gsth264parser.h
45 if USE_LOCAL_CODEC_PARSERS_VP8
46 gen_source_c += gstvp8parser.c
47 gen_source_h += gstvp8parser.h gstvp8rangedecoder.h vp8utils.h
48 #gen_source_c += dboolhuff.c gstvp8rangedecoder.c vp8utils.c
49 #gen_source_h += dboolhuff.h
50 add_source_c += gstvaapilibvpx.c
52 libgstvaapi_codecparsers_cflags += \
53 -I$(top_srcdir)/ext/libvpx \
54 -I$(top_srcdir)/ext/libvpx/upstream \
55 -I$(top_builddir)/ext/libvpx/upstream
57 libgstvaapi_codecparsers_libs += \
58 $(top_builddir)/ext/libvpx/libgstcodecparsers_vpx.la
66 nodist_EXTRA_libgstvaapi_codecparsers_la_SOURCES = dummy.c
68 nodist_libgstvaapi_codecparsers_la_SOURCES = \
73 libgstvaapi_codecparsers_la_CFLAGS = \
74 $(libgstvaapi_codecparsers_cflags) \
77 libgstvaapi_codecparsers_la_LIBADD = \
78 $(libgstvaapi_codecparsers_libs) \
81 libgstvaapi_codecparsers_la_LDFLAGS = \
85 all-local: .timestamp.symlinks
87 .timestamp.symlinks: $(GENFILES)
90 $(gen_source_c): %.c: $(local_codecparsers_srcdir)/%.c $(gen_source_h)
92 $(gen_source_h): %.h: $(local_codecparsers_srcdir)/%.h
94 $(top_builddir)/ext/libvpx/libgstcodecparsers_vpx.la:
95 $(MAKE) -C $(top_builddir)/ext/libvpx
101 DISTCLEANFILES = $(GENFILES) .timestamp.symlinks
103 # Extra clean files so that maintainer-clean removes *everything*
104 MAINTAINERCLEANFILES = Makefile.in