• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1##
2##  Copyright (c) 2012 The WebM project authors. All Rights Reserved.
3##
4##  Use of this source code is governed by a BSD-style license
5##  that can be found in the LICENSE file in the root of the source
6##  tree. An additional intellectual property rights grant can be found
7##  in the file PATENTS.  All contributing project authors may
8##  be found in the AUTHORS file in the root of the source tree.
9##
10
11
12PORTS_SRCS-yes += vpx_ports.mk
13
14PORTS_SRCS-yes += bitops.h
15PORTS_SRCS-yes += compiler_attributes.h
16PORTS_SRCS-yes += mem.h
17PORTS_SRCS-yes += static_assert.h
18PORTS_SRCS-yes += system_state.h
19PORTS_SRCS-yes += vpx_timer.h
20
21ifeq ($(VPX_ARCH_X86),yes)
22PORTS_SRCS-$(HAVE_MMX) += emms_mmx.c
23endif
24ifeq ($(VPX_ARCH_X86_64),yes)
25# Visual Studio x64 does not support the _mm_empty() intrinsic.
26PORTS_SRCS-$(HAVE_MMX) += emms_mmx.asm
27endif
28
29ifeq ($(VPX_ARCH_X86_64),yes)
30PORTS_SRCS-$(CONFIG_MSVS) += float_control_word.asm
31endif
32
33ifeq ($(VPX_ARCH_X86)$(VPX_ARCH_X86_64),yes)
34PORTS_SRCS-yes += x86.h
35PORTS_SRCS-yes += x86_abi_support.asm
36endif
37
38ifeq ($(VPX_ARCH_AARCH64),yes)
39PORTS_SRCS-yes += aarch64_cpudetect.c
40else
41PORTS_SRCS-$(VPX_ARCH_ARM) += aarch32_cpudetect.c
42endif
43PORTS_SRCS-$(VPX_ARCH_ARM) += arm_cpudetect.h
44PORTS_SRCS-$(VPX_ARCH_ARM) += arm.h
45
46PORTS_SRCS-$(VPX_ARCH_PPC) += ppc_cpudetect.c
47PORTS_SRCS-$(VPX_ARCH_PPC) += ppc.h
48
49PORTS_SRCS-$(VPX_ARCH_MIPS) += mips_cpudetect.c
50PORTS_SRCS-$(VPX_ARCH_MIPS) += mips.h
51
52PORTS_SRCS-$(VPX_ARCH_LOONGARCH) += loongarch_cpudetect.c
53PORTS_SRCS-$(VPX_ARCH_LOONGARCH) += loongarch.h
54
55ifeq ($(VPX_ARCH_MIPS), yes)
56PORTS_SRCS-yes += asmdefs_mmi.h
57endif
58