egl: Pass flags to locate Xlib headers and libraries
[mesa.git] / src / egl / drivers / glx / Makefile
1 # src/egl/drivers/glx/Makefile
2
3 TOP = ../../../..
4 include $(TOP)/configs/current
5
6 EGL_DRIVER = egl_glx.so
7 EGL_SOURCES = egl_glx.c
8
9 EGL_INCLUDES = \
10 -I$(TOP)/include \
11 -I$(TOP)/src/egl/main
12
13 EGL_CFLAGS = $(X11_CFLAGS)
14 EGL_LIBS = $(X11_LIBS) -lGL
15
16 include ../Makefile.template