diff options
author | Emil Velikov <[email protected]> | 2014-09-21 16:46:39 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-09-24 10:44:01 +0100 |
commit | 0f3c0ff17bad8da9dcb504560ad691db8294f6c9 (patch) | |
tree | 92a150711fb271f8316032c010dadb53f6fe489a /src/gallium/drivers/softpipe/Automake.inc | |
parent | 29c4ae0ebf36bebb38d0b506554540632819481c (diff) |
gallium/softpipe,llvmpipe: add automake target 'templates'
Rather than duplicating the libdeps, extra define... all over the
targets, define them only once and use when applicable.
Signed-off-by: Emil Velikov <[email protected]>
Acked-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/gallium/drivers/softpipe/Automake.inc')
-rw-r--r-- | src/gallium/drivers/softpipe/Automake.inc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/Automake.inc b/src/gallium/drivers/softpipe/Automake.inc new file mode 100644 index 00000000000..6455f3caa3d --- /dev/null +++ b/src/gallium/drivers/softpipe/Automake.inc @@ -0,0 +1,15 @@ +if HAVE_GALLIUM_SOFTPIPE + +TARGET_DRIVERS += swrast +TARGET_CPPFLAGS += -DGALLIUM_SOFTPIPE +TARGET_LIB_DEPS += \ + $(top_builddir)/src/gallium/winsys/sw/dri/libswdri.la \ + $(top_builddir)/src/gallium/drivers/softpipe/libsoftpipe.la + +if HAVE_DRI2 +TARGET_DRIVERS += kms_swrast +TARGET_LIB_DEPS += \ + $(top_builddir)/src/gallium/winsys/sw/kms-dri/libswkmsdri.la + +endif +endif |