ref: b2e28f4da2a8fcf298d8a886044d1d709ee57a21
parent: 720a58c5a3f6f8c91f9a3332c16ddb3e7866ba5f
author: Krzysztof Nikiel <knik@users.sourceforge.net>
date: Sat Sep 23 10:46:54 EDT 2017
autotools support update
--- a/frontend/Makefile.am
+++ b/frontend/Makefile.am
@@ -1,9 +1,9 @@
if !USE_DRM # no frontend for DRM version
bin_PROGRAMS = faac
-man_MANS = ../docs/faac.1
+dist_man_MANS = ../docs/faac.1
-faac_SOURCES = main.c input.c mp4write.c
+faac_SOURCES = main.c input.c mp4write.c input.h mp4write.h
AM_CPPFLAGS = -I$(top_srcdir)/include
LDADD = $(top_builddir)/libfaac/libfaac.la -lm
--- a/libfaac/Makefile.am
+++ b/libfaac/Makefile.am
@@ -1,18 +1,16 @@
common_SOURCES = aacquant.c bitstream.c fft.c frame.c midside.c blockswitch.c util.c channels.c filtbank.c huffman.c tns.c quantize.c
-common_INCLUDES = aacquant.h channels.h filtbank.h hufftab.h blockswitch.h coder.h frame.h midside.h tns.h bitstream.h fft.h huffman.h util.h quantize.h
+common_INCLUDES = aacquant.h channels.h filtbank.h hufftab.h blockswitch.h coder.h frame.h midside.h tns.h bitstream.h fft.h huffman.h util.h quantize.h version.h
common_LIBADD = -lm
common_CFLAGS = -fvisibility=hidden
if USE_DRM
lib_LTLIBRARIES = libfaac_drm.la
-libfaac_drm_la_SOURCES = ${common_SOURCES} kiss_fft/kiss_fftr.c kiss_fft/kiss_fft.c
-libfaac_drm_la_INCLUDES = ${common_INCLUDES}
+libfaac_drm_la_SOURCES = ${common_SOURCES} ${common_INCLUDES} kiss_fft/kiss_fftr.c kiss_fft/kiss_fft.c
libfaac_drm_la_LIBADD = ${common_LIBADD}
libfaac_drm_la_CFLAGS = ${common_CFLAGS} -DDRM
else
lib_LTLIBRARIES = libfaac.la
-libfaac_la_SOURCES = ${common_SOURCES}
-libfaac_la_INCLUDES = ${common_INCLUDES}
+libfaac_la_SOURCES = ${common_SOURCES} ${common_INCLUDES}
libfaac_la_LIBADD = ${common_LIBADD}
libfaac_la_CFLAGS = ${common_CFLAGS}
endif