diff options
author | Tzvetomir Stoyanov <tstoyanov@vmware.com> | 2018-11-30 16:44:05 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-12-17 18:55:55 +0100 |
commit | cc03e1a8f82dff36fb329469c28cbfe7d2e6156a (patch) | |
tree | 3ac194d08bd1d42635c5d6575c5b72d805a90d30 /tools/lib/traceevent/libtraceevent.pc.template | |
parent | tools lib traceevent: Implement new API tep_get_ref() (diff) | |
download | linux-cc03e1a8f82dff36fb329469c28cbfe7d2e6156a.tar.xz linux-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 'tools/lib/traceevent/libtraceevent.pc.template')
-rw-r--r-- | tools/lib/traceevent/libtraceevent.pc.template | 10 |
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 |