From dc9ee408336ff8962ae4994f3965162b610501d9 Mon Sep 17 00:00:00 2001 From: ru Date: Mon, 13 May 2002 10:53:24 +0000 Subject: Major cleanup of bsd.lib.mk. Get rid of the INTERNALSTATICLIB knob and just use plain INTERNALLIB. INTERNALLIB now means to build static library only and don't install anything. Added a NOINSTALLLIB knob for libpam/modules. To not build any library at all, just do not set LIB. --- lib/csu/alpha/Makefile | 4 ---- lib/csu/amd64/Makefile | 5 ----- lib/csu/i386-elf/Makefile | 5 ----- lib/csu/ia64/Makefile | 4 ---- lib/csu/powerpc/Makefile | 5 ----- lib/csu/sparc64/Makefile | 4 ---- lib/libpam/modules/Makefile.inc | 4 ++-- 7 files changed, 2 insertions(+), 29 deletions(-) (limited to 'lib') diff --git a/lib/csu/alpha/Makefile b/lib/csu/alpha/Makefile index 5528e4e..6d96e43 100644 --- a/lib/csu/alpha/Makefile +++ b/lib/csu/alpha/Makefile @@ -8,10 +8,6 @@ OBJS+= gcrt1.o CFLAGS+= -Wall -Wno-unused \ -I${.CURDIR}/../common \ -I${.CURDIR}/../../libc/include -NOMAN= true -NOPIC= true -NOPROFILE= true -INTERNALLIB= true all: ${OBJS} ${SOBJS} diff --git a/lib/csu/amd64/Makefile b/lib/csu/amd64/Makefile index 630872c..91dc74d 100644 --- a/lib/csu/amd64/Makefile +++ b/lib/csu/amd64/Makefile @@ -9,11 +9,6 @@ CFLAGS+= -elf -Wall \ -I${.CURDIR}/../common \ -I${.CURDIR}/../../libc/include LDFLAGS+= -elf -NOMAN= true -NOPIC= true -NOPROFILE= true -INTERNALLIB= true - all: ${OBJS} ${SOBJS} diff --git a/lib/csu/i386-elf/Makefile b/lib/csu/i386-elf/Makefile index 630872c..91dc74d 100644 --- a/lib/csu/i386-elf/Makefile +++ b/lib/csu/i386-elf/Makefile @@ -9,11 +9,6 @@ CFLAGS+= -elf -Wall \ -I${.CURDIR}/../common \ -I${.CURDIR}/../../libc/include LDFLAGS+= -elf -NOMAN= true -NOPIC= true -NOPROFILE= true -INTERNALLIB= true - all: ${OBJS} ${SOBJS} diff --git a/lib/csu/ia64/Makefile b/lib/csu/ia64/Makefile index 5528e4e..6d96e43 100644 --- a/lib/csu/ia64/Makefile +++ b/lib/csu/ia64/Makefile @@ -8,10 +8,6 @@ OBJS+= gcrt1.o CFLAGS+= -Wall -Wno-unused \ -I${.CURDIR}/../common \ -I${.CURDIR}/../../libc/include -NOMAN= true -NOPIC= true -NOPROFILE= true -INTERNALLIB= true all: ${OBJS} ${SOBJS} diff --git a/lib/csu/powerpc/Makefile b/lib/csu/powerpc/Makefile index 44f1f3a..6d96e43 100644 --- a/lib/csu/powerpc/Makefile +++ b/lib/csu/powerpc/Makefile @@ -8,11 +8,6 @@ OBJS+= gcrt1.o CFLAGS+= -Wall -Wno-unused \ -I${.CURDIR}/../common \ -I${.CURDIR}/../../libc/include -NOMAN= true -NOPIC= true -NOPROFILE= true -INTERNALLIB= true - all: ${OBJS} ${SOBJS} diff --git a/lib/csu/sparc64/Makefile b/lib/csu/sparc64/Makefile index 9d4f5c3..ae4905c 100644 --- a/lib/csu/sparc64/Makefile +++ b/lib/csu/sparc64/Makefile @@ -6,10 +6,6 @@ SRCS= crt1.c crti.S crtn.S OBJS= ${SRCS:N*.h:R:S/$/.o/g} OBJS+= gcrt1.o CFLAGS+= -I${.CURDIR}/../common -I${.CURDIR}/../../libc/include -NOMAN= true -NOPIC= true -NOPROFILE= true -INTERNALLIB= true all: ${OBJS} ${SOBJS} diff --git a/lib/libpam/modules/Makefile.inc b/lib/libpam/modules/Makefile.inc index 7459915..2b06dea 100644 --- a/lib/libpam/modules/Makefile.inc +++ b/lib/libpam/modules/Makefile.inc @@ -2,8 +2,8 @@ PAMDIR= ${.CURDIR}/../../../../contrib/openpam -INTERNALLIB= yes -INTERNALSTATICLIB=yes +NOINSTALLLIB= yes +NOPROFILE= yes SHLIB_NAME?= ${LIB}.so.${SHLIB_MAJOR} CFLAGS+= -I${PAMDIR}/include -- cgit v1.1