genode/repos/libports/lib/mk/libdrm.mk

12 lines
347 B
Makefile
Raw Normal View History

2011-12-22 15:19:25 +00:00
SRC_C = intel_bufmgr_gem.c intel_bufmgr.c ioctl.cc
LIBDRM_DIR := $(call select_from_ports,libdrm)/src/lib/libdrm
2011-12-22 15:19:25 +00:00
INC_DIR += $(LIBDRM_DIR) $(LIBDRM_DIR)/include/drm $(LIBDRM_DIR)/intel
LIBS += libc
2011-12-22 15:19:25 +00:00
CC_OPT += -U__linux__
CC_OPT += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
vpath %.c $(LIBDRM_DIR)/intel
vpath ioctl.cc $(REP_DIR)/src/lib/libdrm