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. --- sys/boot/alpha/libalpha/Makefile | 4 ---- sys/boot/arc/lib/Makefile | 4 ---- sys/boot/i386/btx/lib/Makefile | 4 ---- sys/boot/pc98/btx/lib/Makefile | 4 ---- 4 files changed, 16 deletions(-) (limited to 'sys') diff --git a/sys/boot/alpha/libalpha/Makefile b/sys/boot/alpha/libalpha/Makefile index a3fe818..7bb07cf 100644 --- a/sys/boot/alpha/libalpha/Makefile +++ b/sys/boot/alpha/libalpha/Makefile @@ -1,8 +1,6 @@ # $FreeBSD$ LIB= alpha -NOPIC= true -NOPROFILE= true INTERNALLIB= true CFLAGS+= -ffreestanding @@ -23,8 +21,6 @@ SRCS= OSFpal.c elf_freebsd.c prom.c prom_disp.S prom_swpal.S \ pal.S reboot.c delay.c time.c alpha_module.c devicename.c \ srmdisk.c srmnet.c getsecs.c alpha_copy.c bootinfo.c -all: libalpha.a - machine: ln -sf ${.CURDIR}/../../../alpha/include machine diff --git a/sys/boot/arc/lib/Makefile b/sys/boot/arc/lib/Makefile index fbbfeb8..7944374 100644 --- a/sys/boot/arc/lib/Makefile +++ b/sys/boot/arc/lib/Makefile @@ -1,8 +1,6 @@ # $FreeBSD$ LIB= arc -NOPIC= true -NOPROFILE= true INTERNALLIB= true CFLAGS+= -ffreestanding @@ -27,8 +25,6 @@ SRCS= delay.c time.c abort.c setjmperr.c copy.c devicename.c module.c \ SRCS+= rpb.c .endif -all: libarc.a - CLEANFILES+= machine machine: diff --git a/sys/boot/i386/btx/lib/Makefile b/sys/boot/i386/btx/lib/Makefile index 40c6565..441c6ad 100644 --- a/sys/boot/i386/btx/lib/Makefile +++ b/sys/boot/i386/btx/lib/Makefile @@ -4,10 +4,6 @@ OBJS= btxcsu.o btxsys.o btxv86.o AFLAGS+= -elf LDFLAGS+= -elf CLEANFILES+= crt0.o -INTERNALLIB= true -NOMAN= true -NOPIC= true -NOPROFILE= true all: crt0.o diff --git a/sys/boot/pc98/btx/lib/Makefile b/sys/boot/pc98/btx/lib/Makefile index 40c6565..441c6ad 100644 --- a/sys/boot/pc98/btx/lib/Makefile +++ b/sys/boot/pc98/btx/lib/Makefile @@ -4,10 +4,6 @@ OBJS= btxcsu.o btxsys.o btxv86.o AFLAGS+= -elf LDFLAGS+= -elf CLEANFILES+= crt0.o -INTERNALLIB= true -NOMAN= true -NOPIC= true -NOPROFILE= true all: crt0.o -- cgit v1.1