aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMariusz Zaborski <oshogbo@FreeBSD.org>2017-11-04 15:47:18 +0000
committerMariusz Zaborski <oshogbo@FreeBSD.org>2017-11-04 15:47:18 +0000
commit95844abe537fcb15313dd6bef6a0adad12458c54 (patch)
tree296d9df0b7a332cf6350ecce7a33f81dc910a42b
parent7aa472731ec5468e16e396bf5cec14c2df52ffb5 (diff)
downloadsrc-95844abe537fcb15313dd6bef6a0adad12458c54.tar.gz
src-95844abe537fcb15313dd6bef6a0adad12458c54.zip
Casper work's only as shared library - disable building static ones.
Reviewed by: bdrewery@ Differential Revision: https://reviews.freebsd.org/D12917
Notes
Notes: svn path=/head/; revision=325398
-rw-r--r--ObsoleteFiles.inc13
-rw-r--r--lib/libcasper/libcasper/Makefile2
-rw-r--r--lib/libcasper/services/cap_dns/Makefile2
-rw-r--r--lib/libcasper/services/cap_grp/Makefile2
-rw-r--r--lib/libcasper/services/cap_pwd/Makefile2
-rw-r--r--lib/libcasper/services/cap_random/Makefile2
-rw-r--r--lib/libcasper/services/cap_sysctl/Makefile2
7 files changed, 19 insertions, 6 deletions
diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc
index 26a1ad7c9345..7e12fe6484a3 100644
--- a/ObsoleteFiles.inc
+++ b/ObsoleteFiles.inc
@@ -38,6 +38,19 @@
# xargs -n1 | sort | uniq -d;
# done
+# 20171104: Casper can work only as shared library
+OLD_FILES+=usr/lib/libcasper.a
+OLD_FILES+=usr/lib/libcasper_p.a
+OLD_FILES+=usr/lib/libcap_dns.a
+OLD_FILES+=usr/lib/libcap_dns_p.a
+OLD_FILES+=usr/lib/libcap_grp.a
+OLD_FILES+=usr/lib/libcap_grp_p.a
+OLD_FILES+=usr/lib/libcap_pwd.a
+OLD_FILES+=usr/lib/libcap_pwd_p.a
+OLD_FILES+=usr/lib/libcap_random.a
+OLD_FILES+=usr/lib/libcap_random_p.a
+OLD_FILES+=usr/lib/libcap_sysctl.a
+OLD_FILES+=usr/lib/libcap_sysctl_p.a
# 20171031: Removal of obsolete man files
OLD_FILES+=usr/share/man/man7/adding_user.7.gz
# 20171031: Disconnected libpathconv tests
diff --git a/lib/libcasper/libcasper/Makefile b/lib/libcasper/libcasper/Makefile
index 75ac69bf55e8..c1af1edd75cc 100644
--- a/lib/libcasper/libcasper/Makefile
+++ b/lib/libcasper/libcasper/Makefile
@@ -8,7 +8,7 @@ SHLIB_MAJOR= 0
SHLIBDIR?= /lib
.if ${MK_CASPER} != "no"
-LIB= casper
+SHLIB= casper
SRCS= libcasper.c
SRCS+= libcasper_impl.c
diff --git a/lib/libcasper/services/cap_dns/Makefile b/lib/libcasper/services/cap_dns/Makefile
index 3e2daa2cfaaa..e89be7f5396d 100644
--- a/lib/libcasper/services/cap_dns/Makefile
+++ b/lib/libcasper/services/cap_dns/Makefile
@@ -10,7 +10,7 @@ SHLIB_MAJOR= 0
INCSDIR?= ${INCLUDEDIR}/casper
.if ${MK_CASPER} != "no"
-LIB= cap_dns
+SHLIB= cap_dns
SRCS= cap_dns.c
.endif
diff --git a/lib/libcasper/services/cap_grp/Makefile b/lib/libcasper/services/cap_grp/Makefile
index d15cd72c20ce..5b464774f9f5 100644
--- a/lib/libcasper/services/cap_grp/Makefile
+++ b/lib/libcasper/services/cap_grp/Makefile
@@ -10,7 +10,7 @@ SHLIB_MAJOR= 0
INCSDIR?= ${INCLUDEDIR}/casper
.if ${MK_CASPER} != "no"
-LIB= cap_grp
+SHLIB= cap_grp
SRCS= cap_grp.c
.endif
diff --git a/lib/libcasper/services/cap_pwd/Makefile b/lib/libcasper/services/cap_pwd/Makefile
index fc2a32850f79..be4ae89181c7 100644
--- a/lib/libcasper/services/cap_pwd/Makefile
+++ b/lib/libcasper/services/cap_pwd/Makefile
@@ -10,7 +10,7 @@ SHLIB_MAJOR= 0
INCSDIR?= ${INCLUDEDIR}/casper
.if ${MK_CASPER} != "no"
-LIB= cap_pwd
+SHLIB= cap_pwd
SRCS= cap_pwd.c
.endif
diff --git a/lib/libcasper/services/cap_random/Makefile b/lib/libcasper/services/cap_random/Makefile
index d29cd147aeb0..45141d47bca8 100644
--- a/lib/libcasper/services/cap_random/Makefile
+++ b/lib/libcasper/services/cap_random/Makefile
@@ -9,7 +9,7 @@ SHLIBDIR?= /lib/casper
INCSDIR?= ${INCLUDEDIR}/casper
.if ${MK_CASPER} != "no"
-LIB= cap_random
+SHLIB= cap_random
SRCS= cap_random.c
.endif
diff --git a/lib/libcasper/services/cap_sysctl/Makefile b/lib/libcasper/services/cap_sysctl/Makefile
index cd5c4b238724..14f2bd60cf97 100644
--- a/lib/libcasper/services/cap_sysctl/Makefile
+++ b/lib/libcasper/services/cap_sysctl/Makefile
@@ -10,7 +10,7 @@ SHLIB_MAJOR= 0
INCSDIR?= ${INCLUDEDIR}/casper
.if ${MK_CASPER} != "no"
-LIB= cap_sysctl
+SHLIB= cap_sysctl
SRCS= cap_sysctl.c
.endif