genode/repos/libports/lib/mk/egl.mk
Norman Feske 366bba0227 Exclude higher-level repos from strict warnings
This is a follow-up commit to "Increase default warning level", which
overrides Genode's new default warning level for targets contained in
higher-level repositories. By explicitly whitelisting all those targets,
we can selectively adjust them to the new strictness over time - by
looking out for 'CC_CXX_WARN_STRICT' in the target description files.

Issue #465
2018-01-17 12:14:36 +01:00

36 lines
745 B
Makefile

SHARED_LIB = yes
LIBS = libc blit
include $(REP_DIR)/lib/mk/mesa-common.inc
SRC_C = \
main/eglsurface.c \
main/eglconfig.c \
main/eglglobals.c \
main/egldisplay.c \
main/eglfallbacks.c \
main/eglsync.c \
main/egllog.c \
main/eglarray.c \
main/eglimage.c \
main/eglcontext.c \
main/eglcurrent.c \
main/eglapi.c \
main/egldriver.c \
drivers/dri2/egl_dri2.c \
platform.c
SRC_CC = genode_interface.cc
CC_OPT += -D_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_GENODE -D_EGL_BUILT_IN_DRIVER_DRI2 \
-DHAVE_GENODE_PLATFORM
INC_DIR += $(MESA_PORT_DIR)/src/egl/main \
$(MESA_PORT_DIR)/src/egl/drivers/dri2
vpath %.c $(MESA_PORT_DIR)/src/egl
vpath %.c $(LIB_DIR)/egl
vpath %.cc $(LIB_DIR)/egl
CC_CXX_WARN_STRICT =