aboutsummaryrefslogtreecommitdiffstats
path: root/src/svm.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/svm.am')
-rw-r--r--src/svm.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/svm.am b/src/svm.am
index d91eaa272a2..2cd385bd037 100644
--- a/src/svm.am
+++ b/src/svm.am
@@ -15,14 +15,17 @@ bin_PROGRAMS += svmtool svmdbtool
nobase_include_HEADERS += svm/svm.h svm/ssvm.h svm/svmdb.h
-libsvmdir = ${libdir}
-libsvm_LTLIBRARIES = libsvm.la libsvmdb.la
+lib_LTLIBRARIES += libsvm.la libsvmdb.la
+libsvm_la_LIBADD = libvppinfra.la -lrt -lpthread
+libsvm_la_DEPENDENCIES = libvppinfra.la
libsvm_la_SOURCES = svm/svm.c svm/ssvm.c
svmtool_SOURCES = svm/svmtool.c
svmtool_LDADD = libsvm.la libvppinfra.la -lpthread -lrt
+libsvmdb_la_LIBADD = libvppinfra.la libsvm.la
+libsvmdb_la_DEPENDENCIES = libvppinfra.la libsvm.la
libsvmdb_la_SOURCES = svm/svmdb.c
svmdbtool_SOURCES = svm/svmdbtool.c