mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
60 lines
1.1 KiB
Makefile
60 lines
1.1 KiB
Makefile
DEPTH = ../..
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
MODULE = ycbcr
|
|
LIBRARY_NAME = ycbcr
|
|
LIBXUL_LIBRARY = 1
|
|
EXPORT_LIBRARY = 1
|
|
|
|
DEFINES += -D_IMPL_NS_GFX
|
|
|
|
EXPORTS = chromium_types.h \
|
|
yuv_convert.h \
|
|
yuv_row.h \
|
|
$(NULL)
|
|
|
|
CPPSRCS = yuv_convert.cpp \
|
|
yuv_row_c.cpp \
|
|
$(NULL)
|
|
|
|
ifdef _MSC_VER
|
|
CPPSRCS += yuv_row_win.cpp \
|
|
$(NULL)
|
|
else
|
|
ifeq ($(OS_ARCH),Linux)
|
|
CPPSRCS += yuv_row_linux.cpp \
|
|
$(NULL)
|
|
else
|
|
ifeq ($(OS_ARCH),SunOS)
|
|
CPPSRCS += yuv_row_linux.cpp \
|
|
$(NULL)
|
|
else
|
|
ifeq ($(OS_ARCH),Darwin)
|
|
ifeq ($(OS_TEST),x86_64)
|
|
CPPSRCS += yuv_row_linux.cpp \
|
|
$(NULL)
|
|
else
|
|
CPPSRCS += yuv_row_mac.cpp \
|
|
$(NULL)
|
|
endif
|
|
else
|
|
CPPSRCS += yuv_row_other.cpp \
|
|
$(NULL)
|
|
endif # mac
|
|
endif # SunOS
|
|
endif # linux
|
|
endif # windows
|
|
|
|
EXTRA_DSO_LDOPTS += \
|
|
$(LIBS_DIR) \
|
|
$(EXTRA_DSO_LIBS) \
|
|
$(XPCOM_LIBS) \
|
|
$(NSPR_LIBS) \
|
|
$(NULL)
|
|
|
|
include $(topsrcdir)/config/rules.mk
|