зеркало из https://github.com/mozilla/gecko-dev.git
35 строки
883 B
Makefile
35 строки
883 B
Makefile
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
# Set up the libvpx assembler config.
|
|
|
|
AS=$(VPX_AS)
|
|
ASM_SUFFIX=$(VPX_ASM_SUFFIX)
|
|
|
|
ifdef VPX_ARM_ASM
|
|
|
|
ifdef VPX_AS_CONVERSION
|
|
# The ARM asm is written in ARM RVCT syntax, but we actually build it with
|
|
# gas using GNU syntax. Add some rules to perform the conversion.
|
|
|
|
GENERATED_DIRS += $(dir $(ASFILES))
|
|
|
|
%.asm.$(ASM_SUFFIX): %.asm $(ASM_OFFSETS)
|
|
$(VPX_AS_CONVERSION) < $< > $@
|
|
|
|
endif
|
|
endif
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
# Workaround a bug of Sun Studio (CR 6963410)
|
|
ifdef SOLARIS_SUNPRO_CC
|
|
ifeq (86,$(findstring 86,$(OS_TEST)))
|
|
filter.o: filter.c Makefile.in
|
|
$(REPORT_BUILD)
|
|
@$(MAKE_DEPS_AUTO_CC)
|
|
$(CC) -o $@ -c $(patsubst -xO[45],-xO3,$(COMPILE_CFLAGS)) $<
|
|
endif
|
|
endif
|