aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGordon Tetlow <gordon@FreeBSD.org>2003-08-17 08:28:46 +0000
committerGordon Tetlow <gordon@FreeBSD.org>2003-08-17 08:28:46 +0000
commit41d8423f714369ea23708399e02792045f9c3f56 (patch)
tree743962404d5602533d86478c4045fcb729871fd4 /lib
parent29bd4869a1ab3ff4db066d39a4527128aa4754f2 (diff)
downloadsrc-41d8423f714369ea23708399e02792045f9c3f56.tar.gz
src-41d8423f714369ea23708399e02792045f9c3f56.zip
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libalias/Makefile1
-rw-r--r--lib/libatm/Makefile1
-rw-r--r--lib/libc/Makefile1
-rw-r--r--lib/libcam/Makefile1
-rw-r--r--lib/libcrypt/Makefile1
-rw-r--r--lib/libdevstat/Makefile1
-rw-r--r--lib/libedit/Makefile1
-rw-r--r--lib/libexpat/Makefile1
-rw-r--r--lib/libgeom/Makefile1
-rw-r--r--lib/libipsec/Makefile1
-rw-r--r--lib/libipx/Makefile1
-rw-r--r--lib/libkvm/Makefile1
-rw-r--r--lib/libmd/Makefile1
-rw-r--r--lib/libncurses/Makefile11
-rw-r--r--lib/libsbuf/Makefile1
-rw-r--r--lib/libufs/Makefile1
-rw-r--r--lib/libutil/Makefile1
-rw-r--r--lib/libz/Makefile1
-rw-r--r--lib/msun/Makefile1
-rw-r--r--lib/ncurses/ncurses/Makefile11
20 files changed, 30 insertions, 10 deletions
diff --git a/lib/libalias/Makefile b/lib/libalias/Makefile
index cc909c9a9c77..0fff9a7aae14 100644
--- a/lib/libalias/Makefile
+++ b/lib/libalias/Makefile
@@ -1,6 +1,7 @@
# $FreeBSD$
LIB= alias
+SHLIBDIR?= /lib
SHLIB_MAJOR= 4
MAN= libalias.3
SRCS= alias.c alias_cuseeme.c alias_db.c alias_ftp.c alias_irc.c \
diff --git a/lib/libatm/Makefile b/lib/libatm/Makefile
index e2bc119e5caf..b2058fa30973 100644
--- a/lib/libatm/Makefile
+++ b/lib/libatm/Makefile
@@ -28,6 +28,7 @@
#
LIB= atm
+SHLIBDIR?= /lib
SRCS= atm_addr.c cache_key.c ioctl_subr.c ip_addr.c ip_checksum.c timer.c
INCS= libatm.h
diff --git a/lib/libc/Makefile b/lib/libc/Makefile
index 4d821363a00a..926ca029b66c 100644
--- a/lib/libc/Makefile
+++ b/lib/libc/Makefile
@@ -10,6 +10,7 @@
# system call stubs.
LIB=c
SHLIB_MAJOR= 5
+SHLIBDIR?=/lib
CFLAGS+=-I${.CURDIR}/include -I${.CURDIR}/../../include
CFLAGS+=-I${.CURDIR}/${MACHINE_ARCH}
CLEANFILES+=tags
diff --git a/lib/libcam/Makefile b/lib/libcam/Makefile
index 5637b2581878..8ea04df7e29e 100644
--- a/lib/libcam/Makefile
+++ b/lib/libcam/Makefile
@@ -1,6 +1,7 @@
# $FreeBSD$
LIB= cam
+SHLIBDIR?= /lib
SRCS= camlib.c scsi_cmdparse.c scsi_all.c scsi_da.c scsi_sa.c cam.c
INCS= camlib.h
diff --git a/lib/libcrypt/Makefile b/lib/libcrypt/Makefile
index 603a957f7dd6..a406a9f97a14 100644
--- a/lib/libcrypt/Makefile
+++ b/lib/libcrypt/Makefile
@@ -4,6 +4,7 @@
SHLIB_MAJOR= 2
LIB= crypt
+SHLIBDIR?= /lib
.PATH: ${.CURDIR}/../libmd
SRCS= crypt.c misc.c \
diff --git a/lib/libdevstat/Makefile b/lib/libdevstat/Makefile
index c7781da5e974..f29eb2c52626 100644
--- a/lib/libdevstat/Makefile
+++ b/lib/libdevstat/Makefile
@@ -1,6 +1,7 @@
# $FreeBSD$
LIB= devstat
+SHLIBDIR?= /lib
# Bump DEVSTAT_USER_API_VER in devstat.h every time this is incremented.
SHLIB_MAJOR= 4
SRCS= devstat.c
diff --git a/lib/libedit/Makefile b/lib/libedit/Makefile
index b4a0bbfe9917..98d9487ed377 100644
--- a/lib/libedit/Makefile
+++ b/lib/libedit/Makefile
@@ -4,6 +4,7 @@
LIB= edit
SHLIB_MAJOR= 4
+SHLIBDIR?= /lib
OSRCS= chared.c common.c el.c emacs.c fcns.c help.c hist.c key.c map.c \
parse.c prompt.c read.c refresh.c search.c sig.c term.c tty.c vi.c
diff --git a/lib/libexpat/Makefile b/lib/libexpat/Makefile
index 3e98fa03bef3..496a12bcc446 100644
--- a/lib/libexpat/Makefile
+++ b/lib/libexpat/Makefile
@@ -3,6 +3,7 @@
EXPAT= ${.CURDIR}/../../contrib/expat
LIB= bsdxml
+SHLIBDIR?= /lib
SHLIB_MAJOR= 1
SRCS= xmlparse.c xmlrole.c xmltok.c
INCS= bsdxml.h
diff --git a/lib/libgeom/Makefile b/lib/libgeom/Makefile
index e08bb4c612ec..b70ba3c1880a 100644
--- a/lib/libgeom/Makefile
+++ b/lib/libgeom/Makefile
@@ -1,6 +1,7 @@
# $FreeBSD$
LIB= geom
+SHLIBDIR?= /lib
SRCS+= geom_getxml.c
SRCS+= geom_stats.c
SRCS+= geom_xml2tree.c
diff --git a/lib/libipsec/Makefile b/lib/libipsec/Makefile
index 23a10cceeaca..fc885114647b 100644
--- a/lib/libipsec/Makefile
+++ b/lib/libipsec/Makefile
@@ -27,6 +27,7 @@
# $FreeBSD$
LIB= ipsec
+SHLIBDIR?= /lib
SHLIB_MAJOR= 1
CFLAGS+=-I. -I${.CURDIR}
CFLAGS+=-DIPSEC_DEBUG -DIPSEC
diff --git a/lib/libipx/Makefile b/lib/libipx/Makefile
index 4c02334cb808..39e5770ac7d2 100644
--- a/lib/libipx/Makefile
+++ b/lib/libipx/Makefile
@@ -1,6 +1,7 @@
# $FreeBSD$
LIB= ipx
+SHLIBDIR?= /lib
SRCS= ipx_addr.c ipx_ntoa.c
MAN= ipx.3
MLINKS+=ipx.3 ipx_addr.3 ipx.3 ipx_ntoa.3
diff --git a/lib/libkvm/Makefile b/lib/libkvm/Makefile
index f07948574153..8b72802bc0db 100644
--- a/lib/libkvm/Makefile
+++ b/lib/libkvm/Makefile
@@ -2,6 +2,7 @@
# $FreeBSD$
LIB= kvm
+SHLIBDIR?=/lib
CFLAGS+=-DLIBC_SCCS -I${.CURDIR}
SRCS= kvm.c kvm_${MACHINE_ARCH}.c kvm_file.c kvm_getloadavg.c \
kvm_getswapinfo.c kvm_proc.c
diff --git a/lib/libmd/Makefile b/lib/libmd/Makefile
index eec6b3bf1a27..d39276af0753 100644
--- a/lib/libmd/Makefile
+++ b/lib/libmd/Makefile
@@ -1,6 +1,7 @@
# $FreeBSD$
LIB= md
+SHLIBDIR?= /lib
SRCS= md2c.c md4c.c md5c.c md2hl.c md4hl.c md5hl.c \
rmd160c.c rmd160hl.c \
sha0c.c sha0hl.c sha1c.c sha1hl.c
diff --git a/lib/libncurses/Makefile b/lib/libncurses/Makefile
index 0dc6702c4f41..01b55d189bfc 100644
--- a/lib/libncurses/Makefile
+++ b/lib/libncurses/Makefile
@@ -3,6 +3,7 @@
NCURSES=${.CURDIR}/../../contrib/ncurses
LIB= ncurses
+SHLIBDIR?= /lib
SHLIB_MAJOR=5
# Should be elsewhere
@@ -233,11 +234,11 @@ SYMLINKS+=libncurses.a ${LIBDIR}/libmytinfo.a
SYMLINKS+=libncurses.a ${LIBDIR}/libtinfo.a
.if !defined(NOPIC)
# no need for major at all, it's an ld-time redirection only
-SYMLINKS+=libncurses.so ${SHLIBDIR}/libcurses.so
-SYMLINKS+=libncurses.so ${SHLIBDIR}/libtermcap.so
-SYMLINKS+=libncurses.so ${SHLIBDIR}/libtermlib.so
-SYMLINKS+=libncurses.so ${SHLIBDIR}/libmytinfo.so
-SYMLINKS+=libncurses.so ${SHLIBDIR}/libtinfo.so
+SYMLINKS+=libncurses.so ${LIBDIR}/libcurses.so
+SYMLINKS+=libncurses.so ${LIBDIR}/libtermcap.so
+SYMLINKS+=libncurses.so ${LIBDIR}/libtermlib.so
+SYMLINKS+=libncurses.so ${LIBDIR}/libmytinfo.so
+SYMLINKS+=libncurses.so ${LIBDIR}/libtinfo.so
.endif
.if !defined(NOPROFILE)
SYMLINKS+=libncurses_p.a ${LIBDIR}/libcurses_p.a
diff --git a/lib/libsbuf/Makefile b/lib/libsbuf/Makefile
index 222b4d116b08..5adfcd82fb78 100644
--- a/lib/libsbuf/Makefile
+++ b/lib/libsbuf/Makefile
@@ -1,6 +1,7 @@
# $FreeBSD$
LIB= sbuf
+SHLIBDIR?= /lib
SRCS= subr_sbuf.c
WARNS?= 2
diff --git a/lib/libufs/Makefile b/lib/libufs/Makefile
index d6552e8fa7c3..12b3dfe0b7d8 100644
--- a/lib/libufs/Makefile
+++ b/lib/libufs/Makefile
@@ -1,6 +1,7 @@
# $FreeBSD$
LIB= ufs
+SHLIBDIR?= /lib
SRCS= block.c cgroup.c inode.c sblock.c type.c
INCS= libufs.h
MAN= bread.3 cgread.3 libufs.3 sbread.3 ufs_disk_close.3
diff --git a/lib/libutil/Makefile b/lib/libutil/Makefile
index 76c40bcba74e..3ebf300e23f0 100644
--- a/lib/libutil/Makefile
+++ b/lib/libutil/Makefile
@@ -3,6 +3,7 @@
LIB= util
SHLIB_MAJOR= 3
+SHLIBDIR?=/lib
CFLAGS+=-Wall -DLIBC_SCCS -I${.CURDIR} -I${.CURDIR}/../libc/gen/
CFLAGS+=-DINET6
SRCS= _secure_path.c auth.c fparseln.c login.c login_auth.c \
diff --git a/lib/libz/Makefile b/lib/libz/Makefile
index 34ac28f9ac4b..045a5d2f5aad 100644
--- a/lib/libz/Makefile
+++ b/lib/libz/Makefile
@@ -5,6 +5,7 @@
MAINTAINER=peter@FreeBSD.org
LIB= z
+SHLIBDIR?= /lib
MAN= zlib.3
#CFLAGS+= -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7
diff --git a/lib/msun/Makefile b/lib/msun/Makefile
index 23c13ca5013d..e390a639139d 100644
--- a/lib/msun/Makefile
+++ b/lib/msun/Makefile
@@ -66,6 +66,7 @@ ARCH_SRCS = e_acos.S e_asin.S e_atan2.S e_exp.S e_fmod.S e_log.S e_log10.S \
CFLAGS+= -D_IEEE_LIBM
LIB= m
+SHLIBDIR?= /lib
COMMON_SRCS= b_exp.c b_log.c b_tgamma.c \
e_acos.c e_acosf.c e_acosh.c e_acoshf.c e_asin.c e_asinf.c \
e_atan2.c e_atan2f.c e_atanh.c e_atanhf.c e_cosh.c e_coshf.c e_exp.c \
diff --git a/lib/ncurses/ncurses/Makefile b/lib/ncurses/ncurses/Makefile
index 0dc6702c4f41..01b55d189bfc 100644
--- a/lib/ncurses/ncurses/Makefile
+++ b/lib/ncurses/ncurses/Makefile
@@ -3,6 +3,7 @@
NCURSES=${.CURDIR}/../../contrib/ncurses
LIB= ncurses
+SHLIBDIR?= /lib
SHLIB_MAJOR=5
# Should be elsewhere
@@ -233,11 +234,11 @@ SYMLINKS+=libncurses.a ${LIBDIR}/libmytinfo.a
SYMLINKS+=libncurses.a ${LIBDIR}/libtinfo.a
.if !defined(NOPIC)
# no need for major at all, it's an ld-time redirection only
-SYMLINKS+=libncurses.so ${SHLIBDIR}/libcurses.so
-SYMLINKS+=libncurses.so ${SHLIBDIR}/libtermcap.so
-SYMLINKS+=libncurses.so ${SHLIBDIR}/libtermlib.so
-SYMLINKS+=libncurses.so ${SHLIBDIR}/libmytinfo.so
-SYMLINKS+=libncurses.so ${SHLIBDIR}/libtinfo.so
+SYMLINKS+=libncurses.so ${LIBDIR}/libcurses.so
+SYMLINKS+=libncurses.so ${LIBDIR}/libtermcap.so
+SYMLINKS+=libncurses.so ${LIBDIR}/libtermlib.so
+SYMLINKS+=libncurses.so ${LIBDIR}/libmytinfo.so
+SYMLINKS+=libncurses.so ${LIBDIR}/libtinfo.so
.endif
.if !defined(NOPROFILE)
SYMLINKS+=libncurses_p.a ${LIBDIR}/libcurses_p.a