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