* Add user-controlled mk.conf variables
- SHLIBDIR Location to install shared libraries if ${USE_SHLIBDIR}
is "yes". Defaults to "/usr/lib".
- USE_SHLIBDIR If "yes", install shared libraries in ${SHLIBDIR}
instead of ${LIBDIR}. Defaults to "no".
Sets ${_LIBSODIR} to the appropriate value.
This may be set by individual Makefiles as well.
- SHLINKDIR Location of shared linker. Defaults to "/usr/libexec".
If != "/usr/libexec", change the dynamic-linker
encoded in shared programs
* Set USE_SHLIBDIR for libraries used by /bin and /sbin:
libc libcrypt libcrypto libedit libipsec libkvm libm libmi387
libtermcap libutil libz
* If ${_LIBSODIR} != ${LIBDIR}, add symlinks from ${LIBDIR}/${LIB}.so*
to ${_LIBSODIR}/${LIB}.so* for compatibility.
* Always install /sbin/init statically (for now)
The net effect of these changes depends on how the variables are set:
1.) If nothing is set or changed, there is no change from the
current behaviour:
- Static /bin, /sbin, and bits of /usr/*
- Dynamic rest
- Shared linker is /usr/libexec/ld*so
2.) If the following make variables are set:
LDSTATIC=
SHLINKDIR=/lib
SHLIBDIR=/lib
Then the behaviour becomes:
- Dynamic tools
- .so libraries used by /bin and /sbin are installed to /lib,
with symlinks from /usr/lib/lib*so to -> /lib/lib*so
where appropriate
- Shared linker is /lib/ld*so
3.) As per 2.), but add the following variable:
USE_SHLIBDIR=yes
This forces all .so's to be instaleld in /lib (with compat
symlinks), not just those tagged by their Makefiles to be.
Again, compat symlinks are installed
2001-12-28 04:32:37 +03:00
|
|
|
# $NetBSD: Makefile,v 1.32 2001/12/28 01:32:40 lukem Exp $
|
1996-05-16 01:42:23 +04:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/4/93
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
LIB= util
|
* Add user-controlled mk.conf variables
- SHLIBDIR Location to install shared libraries if ${USE_SHLIBDIR}
is "yes". Defaults to "/usr/lib".
- USE_SHLIBDIR If "yes", install shared libraries in ${SHLIBDIR}
instead of ${LIBDIR}. Defaults to "no".
Sets ${_LIBSODIR} to the appropriate value.
This may be set by individual Makefiles as well.
- SHLINKDIR Location of shared linker. Defaults to "/usr/libexec".
If != "/usr/libexec", change the dynamic-linker
encoded in shared programs
* Set USE_SHLIBDIR for libraries used by /bin and /sbin:
libc libcrypt libcrypto libedit libipsec libkvm libm libmi387
libtermcap libutil libz
* If ${_LIBSODIR} != ${LIBDIR}, add symlinks from ${LIBDIR}/${LIB}.so*
to ${_LIBSODIR}/${LIB}.so* for compatibility.
* Always install /sbin/init statically (for now)
The net effect of these changes depends on how the variables are set:
1.) If nothing is set or changed, there is no change from the
current behaviour:
- Static /bin, /sbin, and bits of /usr/*
- Dynamic rest
- Shared linker is /usr/libexec/ld*so
2.) If the following make variables are set:
LDSTATIC=
SHLINKDIR=/lib
SHLIBDIR=/lib
Then the behaviour becomes:
- Dynamic tools
- .so libraries used by /bin and /sbin are installed to /lib,
with symlinks from /usr/lib/lib*so to -> /lib/lib*so
where appropriate
- Shared linker is /lib/ld*so
3.) As per 2.), but add the following variable:
USE_SHLIBDIR=yes
This forces all .so's to be instaleld in /lib (with compat
symlinks), not just those tagged by their Makefiles to be.
Again, compat symlinks are installed
2001-12-28 04:32:37 +03:00
|
|
|
USE_SHLIBDIR= yes
|
1998-10-15 01:13:04 +04:00
|
|
|
CPPFLAGS+=-DLIBC_SCCS
|
2001-04-06 18:31:14 +04:00
|
|
|
SRCS= fparseln.c getbootfile.c getmaxpartitions.c getrawpartition.c \
|
2000-01-12 08:02:10 +03:00
|
|
|
login.c login_cap.c login_tty.c \
|
1999-06-06 05:50:00 +04:00
|
|
|
logout.c logwtmp.c opendisk.c passwd.c pw_scan.c pidfile.c pidlock.c \
|
2001-08-20 18:47:49 +04:00
|
|
|
pty.c secure_path.c ttyaction.c ttymsg.c
|
1996-05-16 01:42:23 +04:00
|
|
|
|
2001-04-06 18:31:14 +04:00
|
|
|
MAN= fparseln.3 getbootfile.3 getmaxpartitions.3 getrawpartition.3 \
|
2000-01-12 08:02:10 +03:00
|
|
|
login.3 login_cap.3 opendisk.3 \
|
2000-07-06 15:08:19 +04:00
|
|
|
openpty.3 pidfile.3 pidlock.3 pw_getconf.3 pw_init.3 pw_lock.3 \
|
2001-11-23 09:20:37 +03:00
|
|
|
secure_path.3 ttyaction.3 ttymsg.3 util.3
|
1996-05-16 01:42:23 +04:00
|
|
|
|
1998-06-27 09:08:56 +04:00
|
|
|
.PATH: ${.CURDIR}/../libc/gen
|
|
|
|
|
1996-05-16 01:42:23 +04:00
|
|
|
MLINKS+=login.3 logout.3
|
|
|
|
MLINKS+=login.3 logwtmp.3
|
2000-05-12 22:31:55 +04:00
|
|
|
MLINKS+=login_cap.3 login_getclass.3
|
|
|
|
MLINKS+=login_cap.3 login_getcapbool.3
|
|
|
|
MLINKS+=login_cap.3 login_getcapnum.3
|
|
|
|
MLINKS+=login_cap.3 login_getcapsize.3
|
|
|
|
MLINKS+=login_cap.3 login_getcapstr.3
|
|
|
|
MLINKS+=login_cap.3 login_getcaptime.3
|
|
|
|
MLINKS+=login_cap.3 login_close.3
|
|
|
|
MLINKS+=login_cap.3 setclasscontext.3
|
|
|
|
MLINKS+=login_cap.3 setusercontext.3
|
1996-05-16 01:42:23 +04:00
|
|
|
MLINKS+=openpty.3 login_tty.3
|
|
|
|
MLINKS+=openpty.3 forkpty.3
|
|
|
|
MLINKS+=pw_init.3 pw_edit.3
|
|
|
|
MLINKS+=pw_init.3 pw_prompt.3
|
|
|
|
MLINKS+=pw_init.3 pw_copy.3
|
|
|
|
MLINKS+=pw_init.3 pw_scan.3
|
|
|
|
MLINKS+=pw_init.3 pw_error.3
|
|
|
|
MLINKS+=pw_lock.3 pw_mkdb.3
|
|
|
|
MLINKS+=pw_lock.3 pw_abort.3
|
2000-12-06 16:37:53 +03:00
|
|
|
MLINKS+=pw_lock.3 pw_getprefix.3
|
|
|
|
MLINKS+=pw_lock.3 pw_setprefix.3
|
1997-10-11 06:56:22 +04:00
|
|
|
MLINKS+=pidlock.3 ttylock.3
|
|
|
|
MLINKS+=pidlock.3 ttyunlock.3
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|