summaryrefslogtreecommitdiffstats
path: root/src/svm.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/svm.am')
-rw-r--r--src/svm.am19
1 files changed, 14 insertions, 5 deletions
diff --git a/src/svm.am b/src/svm.am
index c29072e4f52..7413e672bce 100644
--- a/src/svm.am
+++ b/src/svm.am
@@ -13,13 +13,14 @@
bin_PROGRAMS += svmtool svmdbtool
-nobase_include_HEADERS += \
+nobase_include_HEADERS += \
svm/ssvm.h \
svm/svm_common.h \
svm/svmdb.h \
svm/svm_fifo.h \
- svm/svm_fifo_segment.h \
+ svm/svm_fifo_segment.h \
svm/queue.h \
+ svm/message_queue.h \
svm/svm.h
lib_LTLIBRARIES += libsvm.la libsvmdb.la
@@ -28,8 +29,9 @@ libsvm_la_SOURCES = \
svm/svm.c \
svm/ssvm.c \
svm/svm_fifo.c \
- svm/svm_fifo_segment.c \
- svm/queue.c
+ svm/svm_fifo_segment.c \
+ svm/queue.c \
+ svm/message_queue.c
libsvm_la_LIBADD = libvppinfra.la -lrt -lpthread
libsvm_la_DEPENDENCIES = libvppinfra.la
@@ -44,9 +46,16 @@ libsvmdb_la_SOURCES = svm/svmdb.c
svmdbtool_SOURCES = svm/svmdbtool.c
svmdbtool_LDADD = libsvmdb.la libsvm.la libvppinfra.la -lpthread -lrt
-noinst_PROGRAMS += test_svm_fifo1
+noinst_PROGRAMS += \
+ test_svm_fifo1 \
+ test_svm_message_queue
+
test_svm_fifo1_SOURCES = svm/test_svm_fifo1.c
test_svm_fifo1_LDADD = libsvm.la libvppinfra.la -lpthread -lrt
test_svm_fifo1_LDFLAGS = -static
+test_svm_message_queue_SOURCES = svm/test_svm_message_queue.c
+test_svm_message_queue_LDADD = libsvm.la libvppinfra.la -lpthread -lrt
+test_svm_message_queue_LDFLAGS = -static
+
# vi:syntax=automake