vpx_ports.mk 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. PORTS_SRCS-yes += vpx_ports.mk
  11. PORTS_SRCS-yes += bitops.h
  12. PORTS_SRCS-yes += mem.h
  13. PORTS_SRCS-yes += msvc.h
  14. PORTS_SRCS-yes += system_state.h
  15. PORTS_SRCS-yes += vpx_timer.h
  16. ifeq ($(ARCH_X86),yes)
  17. PORTS_SRCS-$(HAVE_MMX) += emms_mmx.c
  18. endif
  19. ifeq ($(ARCH_X86_64),yes)
  20. # Visual Studio x64 does not support the _mm_empty() intrinsic.
  21. PORTS_SRCS-$(HAVE_MMX) += emms_mmx.asm
  22. endif
  23. ifeq ($(ARCH_X86_64),yes)
  24. PORTS_SRCS-$(CONFIG_MSVS) += float_control_word.asm
  25. endif
  26. ifeq ($(ARCH_X86)$(ARCH_X86_64),yes)
  27. PORTS_SRCS-yes += x86.h
  28. PORTS_SRCS-yes += x86_abi_support.asm
  29. endif
  30. PORTS_SRCS-$(ARCH_ARM) += arm_cpudetect.c
  31. PORTS_SRCS-$(ARCH_ARM) += arm.h
  32. PORTS_SRCS-$(ARCH_PPC) += ppc_cpudetect.c
  33. PORTS_SRCS-$(ARCH_PPC) += ppc.h
  34. ifeq ($(ARCH_MIPS), yes)
  35. PORTS_SRCS-yes += asmdefs_mmi.h
  36. endif