summaryrefslogtreecommitdiffstats
path: root/kmtrace/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'kmtrace/Makefile.am')
-rw-r--r--kmtrace/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/kmtrace/Makefile.am b/kmtrace/Makefile.am
index 68fce88d..3d721ac6 100644
--- a/kmtrace/Makefile.am
+++ b/kmtrace/Makefile.am
@@ -33,13 +33,15 @@ kmmatch_LDFLAGS = $(all_libraries)
bin_SCRIPTS = kminspector
-lib_LIBRARIES = libktrace_s.a
+kmtracelibdir = $(libdir)/kmtrace
+
+kmtracelib_LIBRARIES = libktrace_s.a
libktrace_s_a_SOURCES = ktrace_s.c
ktrace_s.c: $(srcdir)/ktrace.c
$(LN_S) $(srcdir)/ktrace.c $@
-lib_LTLIBRARIES = libktrace.la
+kmtracelib_LTLIBRARIES = libktrace.la
libktrace_la_LDFLAGS = -avoid-version
libktrace_la_SOURCES = ksotrace.cpp ktrace.c
libktrace_la_LIBADD = $(LIBDL)