2021-05-25 09:01:55 +00:00
|
|
|
SHARED_LIB = yes
|
|
|
|
|
2022-09-23 13:05:17 +00:00
|
|
|
YUV_PORT := $(call select_from_ports,libyuv)
|
|
|
|
YUV_DIR = $(YUV_PORT)/src/lib/libyuv
|
2021-04-22 12:45:12 +00:00
|
|
|
|
2023-09-15 11:44:26 +00:00
|
|
|
LIB_DIR = $(REP_DIR)/src/lib/libyuv
|
|
|
|
|
2021-05-10 09:02:16 +00:00
|
|
|
LIBS = libc stdcxx jpeg
|
2021-04-22 12:45:12 +00:00
|
|
|
|
2023-09-15 11:44:26 +00:00
|
|
|
INC_DIR += $(REP_DIR)/include
|
2021-05-25 09:01:55 +00:00
|
|
|
INC_DIR += $(YUV_PORT)/include
|
2021-04-22 12:45:12 +00:00
|
|
|
|
2023-09-15 11:44:26 +00:00
|
|
|
SRC_CC = $(notdir $(wildcard $(YUV_DIR)/source/*.cc))
|
|
|
|
SRC_CC += memory.cc
|
2021-04-22 12:45:12 +00:00
|
|
|
|
|
|
|
CC_CXX_WARN_STRICT = -Wextra -Werror
|
2021-05-10 09:02:16 +00:00
|
|
|
CC_OPT += -Wno-unused-parameter -DHAVE_JPEG
|
2021-04-22 12:45:12 +00:00
|
|
|
|
2023-09-15 11:44:26 +00:00
|
|
|
vpath memory.cc $(LIB_DIR)
|
|
|
|
vpath %.cc $(YUV_DIR)/source
|