2010-04-19 05:17:06 +04:00
|
|
|
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 \
|
2010-11-11 02:54:27 +03:00
|
|
|
yuv_row_table.cpp \
|
2010-04-19 05:17:06 +04:00
|
|
|
$(NULL)
|
|
|
|
|
2010-04-29 12:35:07 +04:00
|
|
|
ifdef _MSC_VER
|
2010-04-19 05:17:06 +04:00
|
|
|
CPPSRCS += yuv_row_win.cpp \
|
|
|
|
$(NULL)
|
|
|
|
else
|
2010-05-02 16:20:40 +04:00
|
|
|
ifeq ($(OS_ARCH),Linux)
|
2010-11-11 02:54:27 +03:00
|
|
|
CPPSRCS += yuv_row_posix.cpp \
|
2010-04-19 05:17:06 +04:00
|
|
|
$(NULL)
|
|
|
|
else
|
2010-06-23 13:30:48 +04:00
|
|
|
ifeq ($(OS_ARCH),SunOS)
|
2010-11-11 02:54:27 +03:00
|
|
|
CPPSRCS += yuv_row_posix.cpp \
|
2010-06-23 13:30:48 +04:00
|
|
|
$(NULL)
|
|
|
|
else
|
2010-05-02 16:20:40 +04:00
|
|
|
ifeq ($(OS_ARCH),Darwin)
|
2010-11-11 02:54:27 +03:00
|
|
|
CPPSRCS += yuv_row_posix.cpp \
|
2010-06-21 23:18:13 +04:00
|
|
|
$(NULL)
|
|
|
|
else
|
2010-04-19 05:17:06 +04:00
|
|
|
CPPSRCS += yuv_row_other.cpp \
|
|
|
|
$(NULL)
|
2010-11-11 02:54:27 +03:00
|
|
|
endif # Darwin
|
2010-06-23 13:30:48 +04:00
|
|
|
endif # SunOS
|
2010-05-02 16:20:40 +04:00
|
|
|
endif # linux
|
|
|
|
endif # windows
|
2010-04-19 05:17:06 +04:00
|
|
|
|
|
|
|
EXTRA_DSO_LDOPTS += \
|
|
|
|
$(LIBS_DIR) \
|
|
|
|
$(EXTRA_DSO_LIBS) \
|
|
|
|
$(XPCOM_LIBS) \
|
|
|
|
$(NSPR_LIBS) \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|