mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
6f32ddf61c
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
36 lines
778 B
Makefile
36 lines
778 B
Makefile
DEPTH = @DEPTH@
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
LIBRARY_NAME = ycbcr
|
|
LIBXUL_LIBRARY = 1
|
|
EXPORT_LIBRARY = 1
|
|
|
|
DEFINES += -D_IMPL_NS_GFX
|
|
|
|
ifeq (arm,$(findstring arm,$(OS_TEST)))
|
|
ifdef HAVE_ARM_NEON
|
|
ASFILES = yuv_row_arm.$(ASM_SUFFIX) \
|
|
$(NULL)
|
|
endif
|
|
endif
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
# These files use MMX and SSE2 intrinsics, so they need special compile flags
|
|
# on some compilers.
|
|
ifneq (,$(INTEL_ARCHITECTURE))
|
|
ifdef GNU_CC
|
|
yuv_convert_mmx.$(OBJ_SUFFIX): CXXFLAGS += -mmmx
|
|
yuv_convert_sse2.$(OBJ_SUFFIX): CXXFLAGS += -msse2
|
|
endif
|
|
|
|
ifdef SOLARIS_SUNPRO_CXX
|
|
yuv_convert_mmx.$(OBJ_SUFFIX): CXXFLAGS += -xarch=mmx -xO4
|
|
yuv_convert_sse2.$(OBJ_SUFFIX): CXXFLAGS += -xarch=sse2 -xO4
|
|
endif
|
|
endif
|