aboutsummaryrefslogtreecommitdiffstats
path: root/mk/linux.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-04-17 13:05:22 +0200
committerMattias Andrée <maandree@kth.se>2021-04-17 13:05:22 +0200
commit9c68f09356974511f622207d7cc96b20a175fcf2 (patch)
treeaecf6e586eba4362d7dd726398c78a6a789911b9 /mk/linux.mk
parentMakefile: add install and uninstall rules (diff)
downloadlibparser-9c68f09356974511f622207d7cc96b20a175fcf2.tar.gz
libparser-9c68f09356974511f622207d7cc96b20a175fcf2.tar.bz2
libparser-9c68f09356974511f622207d7cc96b20a175fcf2.tar.xz
Add dynamically linked version of library
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'mk/linux.mk')
-rw-r--r--mk/linux.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/linux.mk b/mk/linux.mk
new file mode 100644
index 0000000..bafa31c
--- /dev/null
+++ b/mk/linux.mk
@@ -0,0 +1,4 @@
+LIBEXT = so
+LIBFLAGS = -shared -Wl,-soname,libparser.$(LIBEXT).$(LIB_MAJOR)
+LIBMAJOREXT = $(LIBEXT).$(LIB_MAJOR)
+LIBMINOREXT = $(LIBEXT).$(LIB_VERSION)