Provide alternate default for SHLIBDIR before bsd.own.mk does this.

Reported by:	phk
This commit is contained in:
Ruslan Ermilov 2006-03-18 11:01:06 +00:00
parent 73b06dcb66
commit fcaa466865
6 changed files with 12 additions and 6 deletions

View File

@ -1,6 +1,8 @@
# @(#)Makefile 8.2 (Berkeley) 2/3/94
# $FreeBSD$
SHLIBDIR?= /lib
.include <bsd.own.mk>
# All library objects contain FreeBSD revision strings by default; they may be
@ -13,7 +15,6 @@ LIB=c
# If you bump SHLIB_MAJOR, remove the kluge from gen/gethostname.c.
# If you bump SHLIB_MAJOR, see standards/55112.
SHLIB_MAJOR= 6
SHLIBDIR?= /lib
WARNS?= 2
CFLAGS+=-I${.CURDIR}/include -I${.CURDIR}/../../include
CFLAGS+=-I${.CURDIR}/${MACHINE_ARCH}

View File

@ -2,11 +2,12 @@
# $FreeBSD$
#
SHLIBDIR?= /lib
.include <bsd.own.mk>
SHLIB_MAJOR= 3
LIB= crypt
SHLIBDIR?= /lib
.PATH: ${.CURDIR}/../libmd
SRCS= crypt.c misc.c \

View File

@ -27,10 +27,11 @@
#
# $FreeBSD$
SHLIBDIR?= /lib
.include <bsd.own.mk>
LIB= ipsec
SHLIBDIR?= /lib
SHLIB_MAJOR= 2
CFLAGS+=-I. -I${.CURDIR}
CFLAGS+=-DIPSEC_DEBUG -DIPSEC

View File

@ -1,11 +1,12 @@
# $FreeBSD$
SHLIBDIR?= /lib
.include <bsd.own.mk>
NCURSES=${.CURDIR}/../../contrib/ncurses
LIB= ncurses
SHLIBDIR?= /lib
SHLIB_MAJOR=6
# Should be elsewhere

View File

@ -1,11 +1,12 @@
# $FreeBSD$
SHLIBDIR?= /lib
.include <bsd.own.mk>
NCURSES=${.CURDIR}/../../contrib/ncurses
LIB= ncurses
SHLIBDIR?= /lib
SHLIB_MAJOR=6
# Should be elsewhere

View File

@ -1,9 +1,10 @@
# $FreeBSD$
SHLIBDIR?= /lib
.include <bsd.own.mk>
LIB= crypto
SHLIBDIR?= /lib
SHLIB_MAJOR= 4
NO_LINT=