ref: 881b5e263f25a8a8b714e83407fc2c9dab407e40
parent: 720f7004d6c4aabee19aad16e7c456ed76a3ebfa
author: knik <knik>
date: Mon Nov 10 03:10:37 EST 2014
Patch by Julian Cable: build the DRM version of the library as well as the normal version.
--- a/libfaad/Makefile.am
+++ b/libfaad/Makefile.am
@@ -1,4 +1,4 @@
-lib_LTLIBRARIES = libfaad.la
+lib_LTLIBRARIES = libfaad.la libfaad_drm.la
INCLUDES = -iquote $(top_srcdir)/include
include_HEADERS = $(top_srcdir)/include/faad.h \
@@ -29,3 +29,8 @@
codebook/hcb_1.h codebook/hcb_2.h codebook/hcb_3.h codebook/hcb_4.h \
codebook/hcb_5.h codebook/hcb_6.h codebook/hcb_7.h codebook/hcb_8.h \
codebook/hcb_9.h codebook/hcb_10.h codebook/hcb_11.h codebook/hcb_sf.h
+
+libfaad_drm_la_LDFLAGS = ${libfaad_la_LDFLAGS}
+libfaad_drm_la_LIBADD = ${libfaad_la_LIBADD}
+libfaad_drm_la_CFLAGS = ${libfaad_la_CFLAGS} -DDRM -DDRM_PS
+libfaad_drm_la_SOURCES = ${libfaad_la_SOURCES}