Merge branch 'master' into gallium-texture-transfer
[mesa.git] / src / gallium / state_trackers / egl / Makefile
1 TARGET = libegldrm.a
2 CFILES = $(wildcard ./*.c)
3 OBJECTS = $(patsubst ./%.c,./%.o,$(CFILES))
4 GALLIUMDIR = ../..
5 TOP = ../../../..
6
7 include ${TOP}/configs/current
8
9 CFLAGS += -g -Wall -Werror-implicit-function-declaration -fPIC \
10 -I${GALLIUMDIR}/include \
11 -I${GALLIUMDIR}/auxiliary \
12 -I${TOP}/src/mesa/drivers/dri/common \
13 -I${TOP}/src/mesa \
14 -I$(TOP)/include \
15 -I$(TOP)/src/egl/main \
16 ${LIBDRM_CFLAGS}
17
18 #############################################
19
20 .PHONY = all clean
21
22 all: ${TARGET}
23
24 ${TARGET}: ${OBJECTS}
25 ar rcs $@ $^
26
27 clean:
28 rm -rf ${OBJECTS} ${TARGET}