summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri-swrast/Makefile
diff options
context:
space:
mode:
authorGeorge Sapountzis <[email protected]>2010-03-25 17:01:54 +0200
committerGeorge Sapountzis <[email protected]>2010-03-25 17:01:54 +0200
commit007e0e3ef90d73f232c463e353da13378ffcef63 (patch)
tree8907227ce2383c5a16b2099d6d820b7b5e9271a3 /src/gallium/targets/dri-swrast/Makefile
parent992e9572bdbc1f3d5243ca8eecbd6a372721a62b (diff)
swrastg_dri: add winsys and target
Diffstat (limited to 'src/gallium/targets/dri-swrast/Makefile')
-rw-r--r--src/gallium/targets/dri-swrast/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/gallium/targets/dri-swrast/Makefile b/src/gallium/targets/dri-swrast/Makefile
new file mode 100644
index 00000000000..57a9e02a4bb
--- /dev/null
+++ b/src/gallium/targets/dri-swrast/Makefile
@@ -0,0 +1,30 @@
+TOP = ../../../..
+include $(TOP)/configs/current
+
+LIBNAME = swrastg_dri.so
+
+DRIVER_DEFINES = -D__NOT_HAVE_DRM_H
+
+PIPE_DRIVERS = \
+ $(TOP)/src/gallium/state_trackers/drisw/libdrisw.a \
+ $(TOP)/src/gallium/winsys/sw/dri/libswdri.a \
+ $(TOP)/src/gallium/drivers/softpipe/libsoftpipe.a
+
+SWRAST_COMMON_GALLIUM_SOURCES = \
+ $(TOP)/src/mesa/drivers/dri/common/utils.c \
+ $(TOP)/src/mesa/drivers/dri/common/drisw_util.c \
+ $(TOP)/src/mesa/drivers/dri/common/xmlconfig.c
+
+C_SOURCES = \
+ swrast_drm_api.c \
+ $(SWRAST_COMMON_GALLIUM_SOURCES) \
+ $(DRIVER_SOURCES)
+
+ASM_SOURCES =
+
+include ../Makefile.dri
+
+INCLUDES += \
+ -I$(TOP)/src/gallium/winsys/sw/dri
+
+symlinks: