1 LIBNAME=dxgi 2 LIBRARY_INCLUDES=-I../../../../../include -Iinclude -I../gd3dapi -I../d3dapi -I../w32api -I../d3d1xstutil/include -I../include -I../../../include -I../../../auxiliary -I../../../state_trackers/egl/common 3 LIBRARY_DEFINES=-DDXGI_DRIVER_SEARCH_DIR=\"$(EGL_DRIVER_INSTALL_DIR)\" 4 CPP_SOURCES=$(wildcard src/*.cpp) 5 6 include ../Makefile.inc 7 8 ifneq ($(findstring x11, $(EGL_PLATFORMS)),) 9 LIBRARY_DEFINES += -DGALLIUM_DXGI_USE_X11 10 endif 11 ifneq ($(findstring drm, $(EGL_PLATFORMS)),) 12 LIBRARY_DEFINES += -DGALLIUM_DXGI_USE_DRM 13 endif 14 ifneq ($(findstring fbdev, $(EGL_PLATFORMS)),) 15 LIBRARY_DEFINES += -DGALLIUM_DXGI_USE_FBDEV 16 endif 17 18