aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/traceevent/libtraceevent.pc.template
diff options
context:
space:
mode:
authorTzvetomir Stoyanov <tstoyanov@vmware.com>2018-11-30 10:44:05 -0500
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-12-17 14:55:55 -0300
commitcc03e1a8f82dff36fb329469c28cbfe7d2e6156a (patch)
tree3ac194d08bd1d42635c5d6575c5b72d805a90d30 /tools/lib/traceevent/libtraceevent.pc.template
parenttools lib traceevent: Implement new API tep_get_ref() (diff)
downloadlinux-dev-cc03e1a8f82dff36fb329469c28cbfe7d2e6156a.tar.xz
linux-dev-cc03e1a8f82dff36fb329469c28cbfe7d2e6156a.zip
tools lib traceevent: Added support for pkg-config
This patch implements integration with pkg-config framework. pkg-config can be used by the library users to determine required CFLAGS and LDFLAGS in order to use the library Signed-off-by: Tzvetomir Stoyanov <tstoyanov@vmware.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Link: http://lkml.kernel.org/r/20181130154647.022471992@goodmis.org Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to '')
-rw-r--r--tools/lib/traceevent/libtraceevent.pc.template10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/lib/traceevent/libtraceevent.pc.template b/tools/lib/traceevent/libtraceevent.pc.template
new file mode 100644
index 000000000000..42e4d6cb6b9e
--- /dev/null
+++ b/tools/lib/traceevent/libtraceevent.pc.template
@@ -0,0 +1,10 @@
+prefix=INSTALL_PREFIX
+libdir=${prefix}/lib64
+includedir=${prefix}/include/traceevent
+
+Name: libtraceevent
+URL: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
+Description: Linux kernel trace event library
+Version: LIB_VERSION
+Cflags: -I${includedir}
+Libs: -L${libdir} -ltraceevent