targets/pipe-loader: Convert to automake
authorMatt Turner <mattst88@gmail.com>
Thu, 13 Sep 2012 17:45:01 +0000 (10:45 -0700)
committerAndreas Boll <andreas.boll.dev@gmail.com>
Thu, 10 Jan 2013 21:01:30 +0000 (22:01 +0100)
commit45270fb0fd1abd7619933c2845f9dc74cdfbe6fd
treeb7765f6f7b5df3fc43fc9354d1b245be76f61a78
parent53c62d3fb0ee9aacc7a4aa08b4c42a3fb2127b2f
targets/pipe-loader: Convert to automake

C++ linking (controlled by the nodist_EXTRA idiom) is needed

unconditionally for:
nouveau (uses C++ in the driver)
r300 (since LLVM is always required)
radeonsi (since LLVM is always required)
swrast (if builting LLVM pipe)

and conditionally (depends whether LLVM is enabled) for
i915
r600
vmwgfx

and never needed for swrast (softpipe).

Unfortunately, automake seems to *always* link with C++ if nodist_EXTRA
is specified, even inside a false conditional. Not sure if this is a
bug, but it does seem to be weird behavior.

v2: Johannes Obermayr <johannesobermayr@gmx.de>
    - Fix some undefined symbols.

v3: Johannes Obermayr <johannesobermayr@gmx.de>
    - Install pipe_* to $(libdir)/gallium-pipe.

v4: Johannes Obermayr <johannesobermayr@gmx.de>
    - Build it only once on --enable-gallium-gbm / --enable-opencl.
configure.ac
src/gallium/state_trackers/clover/Makefile.am
src/gallium/targets/gbm/Makefile.am
src/gallium/targets/opencl/Makefile.am
src/gallium/targets/pipe-loader/.gitignore [new file with mode: 0644]
src/gallium/targets/pipe-loader/Makefile [deleted file]
src/gallium/targets/pipe-loader/Makefile.am [new file with mode: 0644]