diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2009-11-17 00:18:05 -0800 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2009-11-17 13:13:06 -0800 |
commit | 0537b13e292bc772e984872a3986e41fb51f9258 (patch) | |
tree | 2fef0f05e04527c7373bf557aeb8e52bad36e2d7 /trace | |
parent | f1f2b25e39b7092a94067f1c787a9b5c5c58bb5d (diff) |
Move VDPAU drivers into their own module directory.
* Add a --with-module-dir configure parameter.
* Pass the moduledir into the wrapper. Use it to construct the path to search
for drivers. Require drivers to end in a ".1" version, in case we ever want
to rev. the interface between the wrapper and the drivers.
* If no driver is found in the new module dir, look for one in the default
search paths. This is intended to find libvdpau_nvidia.so for drivers that
predate the change to move it, and can be removed in the future.
* Stash the moduledir into vdpau.pc. Drivers can find this with
`pkg-config --variable=moduledir vdpau`.
* Add a version to libvdpau_trace.so in case the interface between it and
libvdpau.so ever changes.
* Install libvdpau_trace.so.1 to moduledir instead of libdir.
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'trace')
-rw-r--r-- | trace/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/trace/Makefile.am b/trace/Makefile.am index 6fd771b..d134446 100644 --- a/trace/Makefile.am +++ b/trace/Makefile.am @@ -2,7 +2,7 @@ AM_CXXFLAGS = \ -I$(top_srcdir)/include \ $(X11_CFLAGS) -lib_LTLIBRARIES = libvdpau_trace.la +module_LTLIBRARIES = libvdpau_trace.la libvdpau_trace_la_SOURCES = \ vdpau_trace.cpp @@ -10,7 +10,7 @@ libvdpau_trace_la_SOURCES = \ libvdpau_trace_la_LIBADD = \ $(DLOPEN_LIBS) -libvdpau_trace_la_LDFLAGS = -avoid-version -module -no-undefined +libvdpau_trace_la_LDFLAGS = -version-info 1:0:0 -module -no-undefined libvdpau_traceincludedir = $(includedir)/vdpau libvdpau_traceinclude_HEADERS = \ |