aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/drivers/dri/Makefile.defines
blob: 6ff8df5c0cbb106b2284ad9d74963da321b03ce9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# -*-makefile-*-

# Import mesa_dri_common_*
include ../common/Makefile.sources

COMMON_GALLIUM_SOURCES = \
	$(addprefix ../common/, $(mesa_dri_common_gallium_SOURCES))

COMMON_SOURCES = \
	$(addprefix ../common/, $(mesa_dri_common_SOURCES))

INCLUDES = $(SHARED_INCLUDES) $(EXPAT_INCLUDES)

OBJECTS = $(C_SOURCES:.c=.o) \
	  $(CXX_SOURCES:.cpp=.o) \
	  $(ASM_SOURCES:.S=.o) 


### Include directories
SHARED_INCLUDES = \
	-I. \
	-Iserver \
	$(addprefix -I$(TOP)/, $(mesa_dri_common_INCLUDES)) \
	$(LIBDRM_CFLAGS)

INCLUDES += $(API_DEFINES)
CXXFLAGS += $(API_DEFINES)