summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/Makefile.defines
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-06-02 18:27:10 -0600
committerBrian Paul <[email protected]>2011-06-02 18:27:10 -0600
commitb03296c1e9d5ebe5b7731347bf500bedbbdcc55d (patch)
tree684ffcf76e2c838d5d808b026477eb6c477e154e /src/mesa/drivers/dri/Makefile.defines
parent09201cc7a0c4c50871bb8aa5d00ac70aa4e9e670 (diff)
dri: add missing files from 873379a8818eed9ab16c24728b7091a3a3705c5b
Diffstat (limited to 'src/mesa/drivers/dri/Makefile.defines')
-rw-r--r--src/mesa/drivers/dri/Makefile.defines34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/Makefile.defines b/src/mesa/drivers/dri/Makefile.defines
new file mode 100644
index 00000000000..19b6de8b85a
--- /dev/null
+++ b/src/mesa/drivers/dri/Makefile.defines
@@ -0,0 +1,34 @@
+# -*-makefile-*-
+
+COMMON_GALLIUM_SOURCES = \
+ ../common/utils.c \
+ ../common/vblank.c \
+ ../common/dri_util.c \
+ ../common/xmlconfig.c
+
+COMMON_SOURCES = $(COMMON_GALLIUM_SOURCES) \
+ ../../common/driverfuncs.c \
+ ../common/texmem.c \
+ ../common/drirenderbuffer.c
+
+INCLUDES = $(SHARED_INCLUDES) $(EXPAT_INCLUDES)
+
+OBJECTS = $(C_SOURCES:.c=.o) \
+ $(CXX_SOURCES:.cpp=.o) \
+ $(ASM_SOURCES:.S=.o)
+
+
+### Include directories
+SHARED_INCLUDES = \
+ -I. \
+ -I$(TOP)/src/mesa/drivers/dri/common \
+ -Iserver \
+ -I$(TOP)/include \
+ -I$(TOP)/src/mapi \
+ -I$(TOP)/src/mesa \
+ -I$(TOP)/src/egl/main \
+ -I$(TOP)/src/egl/drivers/dri \
+ $(LIBDRM_CFLAGS)
+
+INCLUDES += $(API_DEFINES)
+CXXFLAGS += $(API_DEFINES)