OLD | NEW |
1 # Provide the full test output for failed tests when using the parallel | 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+). | 2 # test suite (which is enabled by default with automake 1.13+). |
3 export VERBOSE = yes | 3 export VERBOSE = yes |
4 | 4 |
5 AUTOMAKE_OPTIONS = subdir-objects | 5 AUTOMAKE_OPTIONS = subdir-objects |
6 ACLOCAL_AMFLAGS = -I m4 | 6 ACLOCAL_AMFLAGS = -I m4 |
7 | 7 |
8 lib_LTLIBRARIES = libopus.la | 8 lib_LTLIBRARIES = libopus.la |
9 | 9 |
10 DIST_SUBDIRS = doc | 10 DIST_SUBDIRS = doc |
11 | 11 |
12 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/celt -I$(top_srcdir)/silk
\ | 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 | 13 -I$(top_srcdir)/silk/float -I$(top_srcdir)/silk/fixed |
14 | 14 |
15 include celt_sources.mk | 15 include celt_sources.mk |
16 include silk_sources.mk | 16 include silk_sources.mk |
17 include opus_sources.mk | 17 include opus_sources.mk |
18 | 18 |
19 if FIXED_POINT | 19 if FIXED_POINT |
20 SILK_SOURCES += $(SILK_SOURCES_FIXED) | 20 SILK_SOURCES += $(SILK_SOURCES_FIXED) |
21 else | 21 else |
22 SILK_SOURCES += $(SILK_SOURCES_FLOAT) | 22 SILK_SOURCES += $(SILK_SOURCES_FLOAT) |
23 endif | 23 endif |
24 | 24 |
| 25 if DISABLE_FLOAT_API |
| 26 else |
25 OPUS_SOURCES += $(OPUS_SOURCES_FLOAT) | 27 OPUS_SOURCES += $(OPUS_SOURCES_FLOAT) |
| 28 endif |
26 | 29 |
27 if CPU_ARM | 30 if CPU_ARM |
28 CELT_SOURCES += $(CELT_SOURCES_ARM) | 31 CELT_SOURCES += $(CELT_SOURCES_ARM) |
| 32 SILK_SOURCES += $(SILK_SOURCES_ARM) |
| 33 if OPUS_ARM_EXTERNAL_ASM |
| 34 nodist_libopus_la_SOURCES = $(CELT_SOURCES_ARM_ASM:.s=-gnu.S) |
| 35 BUILT_SOURCES = $(CELT_SOURCES_ARM_ASM:.s=-gnu.S) \ |
| 36 $(CELT_AM_SOURCES_ARM_ASM:.s.in=.s) \ |
| 37 $(CELT_AM_SOURCES_ARM_ASM:.s.in=-gnu.S) |
29 endif | 38 endif |
| 39 endif |
| 40 |
| 41 CLEANFILES = $(CELT_SOURCES_ARM_ASM:.s=-gnu.S) \ |
| 42 $(CELT_AM_SOURCES_ARM_ASM:.s.in=-gnu.S) |
30 | 43 |
31 include celt_headers.mk | 44 include celt_headers.mk |
32 include silk_headers.mk | 45 include silk_headers.mk |
33 include opus_headers.mk | 46 include opus_headers.mk |
34 | 47 |
35 libopus_la_SOURCES = $(CELT_SOURCES) $(SILK_SOURCES) $(OPUS_SOURCES) | 48 libopus_la_SOURCES = $(CELT_SOURCES) $(SILK_SOURCES) $(OPUS_SOURCES) |
36 libopus_la_LDFLAGS = -no-undefined -version-info @OPUS_LT_CURRENT@:@OPUS_LT_REVI
SION@:@OPUS_LT_AGE@ | 49 libopus_la_LDFLAGS = -no-undefined -version-info @OPUS_LT_CURRENT@:@OPUS_LT_REVI
SION@:@OPUS_LT_AGE@ |
37 libopus_la_LIBADD = $(LIBM) | 50 libopus_la_LIBADD = $(LIBM) |
38 | 51 |
39 pkginclude_HEADERS = include/opus.h include/opus_multistream.h include/opus_type
s.h include/opus_defines.h | 52 pkginclude_HEADERS = include/opus.h include/opus_multistream.h include/opus_type
s.h include/opus_defines.h |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 if CUSTOM_MODES | 109 if CUSTOM_MODES |
97 pkginclude_HEADERS += include/opus_custom.h | 110 pkginclude_HEADERS += include/opus_custom.h |
98 if EXTRA_PROGRAMS | 111 if EXTRA_PROGRAMS |
99 noinst_PROGRAMS += opus_custom_demo | 112 noinst_PROGRAMS += opus_custom_demo |
100 opus_custom_demo_SOURCES = celt/opus_custom_demo.c | 113 opus_custom_demo_SOURCES = celt/opus_custom_demo.c |
101 opus_custom_demo_LDADD = libopus.la $(LIBM) | 114 opus_custom_demo_LDADD = libopus.la $(LIBM) |
102 endif | 115 endif |
103 endif | 116 endif |
104 | 117 |
105 EXTRA_DIST = version.mk \ | 118 EXTRA_DIST = version.mk \ |
106 » opus.pc.in \ | 119 opus.pc.in \ |
107 opus-uninstalled.pc.in \ | 120 opus-uninstalled.pc.in \ |
108 opus.m4 \ | 121 opus.m4 \ |
109 Makefile.unix \ | 122 Makefile.unix \ |
110 tests/run_vectors.sh \ | 123 tests/run_vectors.sh \ |
| 124 celt/arm/arm2gnu.pl \ |
| 125 celt/arm/celt_pitch_xcorr_arm.s \ |
111 win32/VS2010/silk_float.vcxproj \ | 126 win32/VS2010/silk_float.vcxproj \ |
112 win32/VS2010/celt.vcxproj.filters \ | 127 win32/VS2010/celt.vcxproj.filters \ |
113 win32/VS2010/opus.vcxproj \ | 128 win32/VS2010/opus.vcxproj \ |
114 win32/VS2010/silk_common.vcxproj.filters \ | 129 win32/VS2010/silk_common.vcxproj.filters \ |
115 win32/VS2010/silk_float.vcxproj.filters \ | 130 win32/VS2010/silk_float.vcxproj.filters \ |
116 win32/VS2010/test_opus_encode.vcxproj.filters \ | 131 win32/VS2010/test_opus_encode.vcxproj.filters \ |
117 win32/VS2010/silk_common.vcxproj \ | 132 win32/VS2010/silk_common.vcxproj \ |
118 win32/VS2010/test_opus_encode.vcxproj \ | 133 win32/VS2010/test_opus_encode.vcxproj \ |
119 win32/VS2010/opus_demo.vcxproj \ | 134 win32/VS2010/opus_demo.vcxproj \ |
120 win32/VS2010/test_opus_api.vcxproj.filters \ | 135 win32/VS2010/test_opus_api.vcxproj.filters \ |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 touch $@ | 211 touch $@ |
197 | 212 |
198 force: | 213 force: |
199 | 214 |
200 # Create a minimal package_version file when make dist is run. | 215 # Create a minimal package_version file when make dist is run. |
201 dist-hook: | 216 dist-hook: |
202 echo 'PACKAGE_VERSION="$(PACKAGE_VERSION)"' > $(top_distdir)/package_ver
sion | 217 echo 'PACKAGE_VERSION="$(PACKAGE_VERSION)"' > $(top_distdir)/package_ver
sion |
203 | 218 |
204 | 219 |
205 .PHONY: opus check-opus install-opus docs install-docs | 220 .PHONY: opus check-opus install-opus docs install-docs |
| 221 |
| 222 # automake doesn't do dependency tracking for asm files, that I can tell |
| 223 $(CELT_SOURCES_ARM_ASM:%.s=%-gnu.S): celt/arm/armopts-gnu.S |
| 224 $(CELT_SOURCES_ARM_ASM:%.s=%-gnu.S): $(top_srcdir)/celt/arm/arm2gnu.pl |
| 225 |
| 226 # convert ARM asm to GNU as format |
| 227 %-gnu.S: $(top_srcdir)/%.s |
| 228 $(top_srcdir)/celt/arm/arm2gnu.pl < $< > $@ |
| 229 # For autoconf-modified sources (e.g., armopts.s) |
| 230 %-gnu.S: %.s |
| 231 $(top_srcdir)/celt/arm/arm2gnu.pl < $< > $@ |
OLD | NEW |