Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: Makefile.am

Issue 28553003: Updating Opus to a pre-release of 1.1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/opus
Patch Set: Removing failing file Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LICENSE_PLEASE_READ.txt ('k') | Makefile.unix » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Provide the full test output for failed tests when using the parallel
2 # test suite (which is enabled by default with automake 1.13+).
3 export VERBOSE = yes
4
1 AUTOMAKE_OPTIONS = subdir-objects 5 AUTOMAKE_OPTIONS = subdir-objects
6 ACLOCAL_AMFLAGS = -I m4
2 7
3 lib_LTLIBRARIES = libopus.la 8 lib_LTLIBRARIES = libopus.la
4 9
5 DIST_SUBDIRS = doc 10 DIST_SUBDIRS = doc
6 11
7 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/celt -I$(top_srcdir)/silk -I$ (top_srcdir)/silk/float -I$(top_srcdir)/silk/fixed 12 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/celt -I$(top_srcdir)/silk \
13 -I$(top_srcdir)/silk/float -I$(top_srcdir)/silk/fixed
8 14
9 include celt_sources.mk 15 include celt_sources.mk
10 include silk_sources.mk 16 include silk_sources.mk
11 include opus_sources.mk 17 include opus_sources.mk
12 18
13 if FIXED_POINT 19 if FIXED_POINT
14 SILK_SOURCES += $(SILK_SOURCES_FIXED) 20 SILK_SOURCES += $(SILK_SOURCES_FIXED)
15 else 21 else
16 SILK_SOURCES += $(SILK_SOURCES_FLOAT) 22 SILK_SOURCES += $(SILK_SOURCES_FLOAT)
17 endif 23 endif
18 24
25 OPUS_SOURCES += $(OPUS_SOURCES_FLOAT)
26
27 if CPU_ARM
28 CELT_SOURCES += $(CELT_SOURCES_ARM)
29 endif
30
19 include celt_headers.mk 31 include celt_headers.mk
20 include silk_headers.mk 32 include silk_headers.mk
21 include opus_headers.mk 33 include opus_headers.mk
22 34
23 libopus_la_SOURCES = $(CELT_SOURCES) $(SILK_SOURCES) $(OPUS_SOURCES) 35 libopus_la_SOURCES = $(CELT_SOURCES) $(SILK_SOURCES) $(OPUS_SOURCES)
24 libopus_la_LDFLAGS = -no-undefined -version-info @OPUS_LT_CURRENT@:@OPUS_LT_REVI SION@:@OPUS_LT_AGE@ 36 libopus_la_LDFLAGS = -no-undefined -version-info @OPUS_LT_CURRENT@:@OPUS_LT_REVI SION@:@OPUS_LT_AGE@
37 libopus_la_LIBADD = $(LIBM)
25 38
26 pkginclude_HEADERS = include/opus.h include/opus_multistream.h include/opus_type s.h include/opus_defines.h 39 pkginclude_HEADERS = include/opus.h include/opus_multistream.h include/opus_type s.h include/opus_defines.h
27 40
28 noinst_HEADERS = $(OPUS_HEAD) $(SILK_HEAD) $(CELT_HEAD) 41 noinst_HEADERS = $(OPUS_HEAD) $(SILK_HEAD) $(CELT_HEAD)
29 42
30 noinst_PROGRAMS = opus_demo repacketizer_demo opus_compare tests/test_opus_api t ests/test_opus_encode tests/test_opus_decode celt/tests/test_unit_cwrs32 celt/te sts/test_unit_dft celt/tests/test_unit_entropy celt/tests/test_unit_laplace celt /tests/test_unit_mathops celt/tests/test_unit_mdct celt/tests/test_unit_rotation celt/tests/test_unit_types 43 if EXTRA_PROGRAMS
44 noinst_PROGRAMS = opus_demo repacketizer_demo opus_compare tests/test_opus_api t ests/test_opus_encode tests/test_opus_decode tests/test_opus_padding celt/tests/ test_unit_cwrs32 celt/tests/test_unit_dft celt/tests/test_unit_entropy celt/test s/test_unit_laplace celt/tests/test_unit_mathops celt/tests/test_unit_mdct celt/ tests/test_unit_rotation celt/tests/test_unit_types
31 45
32 TESTS = celt/tests/test_unit_types celt/tests/test_unit_mathops celt/tests/test_ unit_entropy celt/tests/test_unit_laplace celt/tests/test_unit_dft celt/tests/te st_unit_mdct celt/tests/test_unit_rotation celt/tests/test_unit_cwrs32 tests/tes t_opus_api tests/test_opus_decode tests/test_opus_encode 46 TESTS = celt/tests/test_unit_types celt/tests/test_unit_mathops celt/tests/test_ unit_entropy celt/tests/test_unit_laplace celt/tests/test_unit_dft celt/tests/te st_unit_mdct celt/tests/test_unit_rotation celt/tests/test_unit_cwrs32 tests/tes t_opus_api tests/test_opus_decode tests/test_opus_encode tests/test_opus_padding
33 47
34 opus_demo_SOURCES = src/opus_demo.c 48 opus_demo_SOURCES = src/opus_demo.c
35 49
36 opus_demo_LDADD = libopus.la -lm 50 opus_demo_LDADD = libopus.la $(LIBM)
37 51
38 repacketizer_demo_SOURCES = src/repacketizer_demo.c 52 repacketizer_demo_SOURCES = src/repacketizer_demo.c
39 53
40 repacketizer_demo_LDADD = libopus.la -lm 54 repacketizer_demo_LDADD = libopus.la $(LIBM)
41 55
42 opus_compare_SOURCES = src/opus_compare.c 56 opus_compare_SOURCES = src/opus_compare.c
43 opus_compare_LDADD = -lm 57 opus_compare_LDADD = $(LIBM)
44 58
45 tests_test_opus_api_SOURCES = tests/test_opus_api.c tests/test_opus_common.h 59 tests_test_opus_api_SOURCES = tests/test_opus_api.c tests/test_opus_common.h
46 tests_test_opus_api_LDADD = libopus.la -lm 60 tests_test_opus_api_LDADD = libopus.la $(LIBM)
47 61
48 tests_test_opus_encode_SOURCES = tests/test_opus_encode.c tests/test_opus_common .h 62 tests_test_opus_encode_SOURCES = tests/test_opus_encode.c tests/test_opus_common .h
49 tests_test_opus_encode_LDADD = libopus.la -lm 63 tests_test_opus_encode_LDADD = libopus.la $(LIBM)
50 64
51 tests_test_opus_decode_SOURCES = tests/test_opus_decode.c tests/test_opus_common .h 65 tests_test_opus_decode_SOURCES = tests/test_opus_decode.c tests/test_opus_common .h
52 tests_test_opus_decode_LDADD = libopus.la -lm 66 tests_test_opus_decode_LDADD = libopus.la $(LIBM)
67
68 tests_test_opus_padding_SOURCES = tests/test_opus_padding.c tests/test_opus_comm on.h
69 tests_test_opus_padding_LDADD = libopus.la $(LIBM)
53 70
54 celt_tests_test_unit_cwrs32_SOURCES = celt/tests/test_unit_cwrs32.c 71 celt_tests_test_unit_cwrs32_SOURCES = celt/tests/test_unit_cwrs32.c
55 celt_tests_test_unit_cwrs32_LDADD = -lm 72 celt_tests_test_unit_cwrs32_LDADD = $(LIBM)
56 73
57 celt_tests_test_unit_dft_SOURCES = celt/tests/test_unit_dft.c 74 celt_tests_test_unit_dft_SOURCES = celt/tests/test_unit_dft.c
58 celt_tests_test_unit_dft_LDADD = -lm 75 celt_tests_test_unit_dft_LDADD = $(LIBM)
59 76
60 celt_tests_test_unit_entropy_SOURCES = celt/tests/test_unit_entropy.c 77 celt_tests_test_unit_entropy_SOURCES = celt/tests/test_unit_entropy.c
61 celt_tests_test_unit_entropy_LDADD = -lm 78 celt_tests_test_unit_entropy_LDADD = $(LIBM)
62 79
63 celt_tests_test_unit_laplace_SOURCES = celt/tests/test_unit_laplace.c 80 celt_tests_test_unit_laplace_SOURCES = celt/tests/test_unit_laplace.c
64 celt_tests_test_unit_laplace_LDADD = -lm 81 celt_tests_test_unit_laplace_LDADD = $(LIBM)
65 82
66 celt_tests_test_unit_mathops_SOURCES = celt/tests/test_unit_mathops.c 83 celt_tests_test_unit_mathops_SOURCES = celt/tests/test_unit_mathops.c
67 celt_tests_test_unit_mathops_LDADD = -lm 84 celt_tests_test_unit_mathops_LDADD = $(LIBM)
68 85
69 celt_tests_test_unit_mdct_SOURCES = celt/tests/test_unit_mdct.c 86 celt_tests_test_unit_mdct_SOURCES = celt/tests/test_unit_mdct.c
70 celt_tests_test_unit_mdct_LDADD = -lm 87 celt_tests_test_unit_mdct_LDADD = $(LIBM)
71 88
72 celt_tests_test_unit_rotation_SOURCES = celt/tests/test_unit_rotation.c 89 celt_tests_test_unit_rotation_SOURCES = celt/tests/test_unit_rotation.c
73 celt_tests_test_unit_rotation_LDADD = -lm 90 celt_tests_test_unit_rotation_LDADD = $(LIBM)
74 91
75 celt_tests_test_unit_types_SOURCES = celt/tests/test_unit_types.c 92 celt_tests_test_unit_types_SOURCES = celt/tests/test_unit_types.c
76 celt_tests_test_unit_types_LDADD = -lm 93 celt_tests_test_unit_types_LDADD = $(LIBM)
94 endif
77 95
78 if CUSTOM_MODES 96 if CUSTOM_MODES
79 pkginclude_HEADERS += include/opus_custom.h 97 pkginclude_HEADERS += include/opus_custom.h
98 if EXTRA_PROGRAMS
80 noinst_PROGRAMS += opus_custom_demo 99 noinst_PROGRAMS += opus_custom_demo
81 opus_custom_demo_SOURCES = celt/opus_custom_demo.c 100 opus_custom_demo_SOURCES = celt/opus_custom_demo.c
82 opus_custom_demo_LDADD = libopus.la -lm 101 opus_custom_demo_LDADD = libopus.la $(LIBM)
102 endif
83 endif 103 endif
84 104
85 EXTRA_DIST = version.mk \ 105 EXTRA_DIST = version.mk \
86 opus.pc.in \ 106 opus.pc.in \
87 opus-uninstalled.pc.in \ 107 opus-uninstalled.pc.in \
88 opus.m4 \ 108 opus.m4 \
89 Makefile.unix \ 109 Makefile.unix \
90 tests/run_vectors.sh \ 110 tests/run_vectors.sh \
91 opus.sln \ 111 win32/VS2010/silk_float.vcxproj \
92 celt/celt.vcxproj \ 112 win32/VS2010/celt.vcxproj.filters \
93 celt/celt.vcxproj.filters \ 113 win32/VS2010/opus.vcxproj \
94 src/opus_demo.vcxproj \ 114 win32/VS2010/silk_common.vcxproj.filters \
95 src/opus.vcxproj \ 115 win32/VS2010/silk_float.vcxproj.filters \
96 src/opus.vcxproj.filters \ 116 win32/VS2010/test_opus_encode.vcxproj.filters \
97 src/opus_demo.vcxproj.filters \ 117 win32/VS2010/silk_common.vcxproj \
98 tests/test_opus_decode.vcxproj.filters \ 118 win32/VS2010/test_opus_encode.vcxproj \
99 tests/test_opus_decode.vcxproj \ 119 win32/VS2010/opus_demo.vcxproj \
100 tests/test_opus_encode.vcxproj.filters \ 120 win32/VS2010/test_opus_api.vcxproj.filters \
101 tests/test_opus_encode.vcxproj \ 121 win32/VS2010/test_opus_api.vcxproj \
102 tests/test_opus_api.vcxproj.filters \ 122 win32/VS2010/test_opus_decode.vcxproj.filters \
103 tests/test_opus_api.vcxproj \ 123 win32/VS2010/silk_fixed.vcxproj.filters \
104 silk/float/silk_float.vcxproj.filters \ 124 win32/VS2010/opus_demo.vcxproj.filters \
105 silk/float/silk_float.vcxproj \ 125 win32/VS2010/silk_fixed.vcxproj \
106 silk/fixed/silk_fixed.vcxproj.filters \ 126 win32/VS2010/opus.vcxproj.filters \
107 silk/fixed/silk_fixed.vcxproj \ 127 win32/VS2010/test_opus_decode.vcxproj \
108 silk/silk_common.vcxproj \ 128 win32/VS2010/celt.vcxproj \
109 silk/silk_common.vcxproj.filters \ 129 win32/VS2010/opus.sln \
110 win32/genversion.bat \ 130 win32/genversion.bat \
111 win32/config.h 131 win32/config.h
112 132
113 pkgconfigdir = $(libdir)/pkgconfig 133 pkgconfigdir = $(libdir)/pkgconfig
114 pkgconfig_DATA = opus.pc 134 pkgconfig_DATA = opus.pc
115 135
116 m4datadir = $(datadir)/aclocal 136 m4datadir = $(datadir)/aclocal
117 m4data_DATA = opus.m4 137 m4data_DATA = opus.m4
118 138
119 # Targets to build and install just the library without the docs 139 # Targets to build and install just the library without the docs
(...skipping 19 matching lines...) Expand all
139 install-data-local: 159 install-data-local:
140 @[ -n "$(NO_DOXYGEN)" ] || ( cd doc && $(MAKE) $(AM_MAKEFLAGS) install ) 160 @[ -n "$(NO_DOXYGEN)" ] || ( cd doc && $(MAKE) $(AM_MAKEFLAGS) install )
141 161
142 clean-local: 162 clean-local:
143 -( cd doc && $(MAKE) $(AM_MAKEFLAGS) clean ) 163 -( cd doc && $(MAKE) $(AM_MAKEFLAGS) clean )
144 164
145 uninstall-local: 165 uninstall-local:
146 ( cd doc && $(MAKE) $(AM_MAKEFLAGS) uninstall ) 166 ( cd doc && $(MAKE) $(AM_MAKEFLAGS) uninstall )
147 167
148 168
169 # We check this every time make is run, with configure.ac being touched to
170 # trigger an update of the build system files if update_version changes the
171 # current PACKAGE_VERSION (or if package_version was modified manually by a
172 # user with either AUTO_UPDATE=no or no update_version script present - the
173 # latter being the normal case for tarball releases).
174 #
175 # We can't just add the package_version file to CONFIGURE_DEPENDENCIES since
176 # simply running autoconf will not actually regenerate configure for us when
177 # the content of that file changes (due to autoconf dependency checking not
178 # knowing about that without us creating yet another file for it to include).
179 #
180 # The MAKECMDGOALS check is a gnu-make'ism, but will degrade 'gracefully' for
181 # makes that don't support it. The only loss of functionality is not forcing
182 # an update of package_version for `make dist` if AUTO_UPDATE=no, but that is
183 # unlikely to be a real problem for any real user.
184 $(top_srcdir)/configure.ac: force
185 @case "$(MAKECMDGOALS)" in \
186 dist-hook) exit 0 ;; \
187 dist-* | dist | distcheck | distclean) _arg=release ;; \
188 esac; \
189 if ! $(top_srcdir)/update_version $$_arg 2> /dev/null; then \
190 if [ ! -e $(top_srcdir)/package_version ]; then \
191 echo 'PACKAGE_VERSION="unknown"' > $(top_srcdir)/package_version ; \
192 fi; \
193 . $(top_srcdir)/package_version || exit 1; \
194 [ "$(PACKAGE_VERSION)" != "$$PACKAGE_VERSION" ] || exit 0; \
195 fi; \
196 touch $@
197
198 force:
199
200 # Create a minimal package_version file when make dist is run.
201 dist-hook:
202 echo 'PACKAGE_VERSION="$(PACKAGE_VERSION)"' > $(top_distdir)/package_ver sion
203
204
149 .PHONY: opus check-opus install-opus docs install-docs 205 .PHONY: opus check-opus install-opus docs install-docs
OLDNEW
« no previous file with comments | « LICENSE_PLEASE_READ.txt ('k') | Makefile.unix » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698