NOSHARED takes a yes/YES no/NO value, not "true, false, hey mon!".

NOPIC is used to not generate a shared library, not NOSHARED.
Make NOSHARED advisory where appropriate.
Remove bogus NOSHARED (kbdio).
This commit is contained in:
Paul Traina 1997-06-29 06:03:42 +00:00
parent 51e6986086
commit 72b4ef7179
11 changed files with 19 additions and 20 deletions

View File

@ -1,6 +1,6 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93 # @(#)Makefile 8.1 (Berkeley) 6/6/93
NOSHARED= true NOSHARED?=yes
PROG= chflags PROG= chflags
SRCS= chflags.c stat_flags.c SRCS= chflags.c stat_flags.c

View File

@ -1,5 +1,5 @@
# #
# $Id$ # $Id: Makefile,v 1.11 1997/02/22 15:44:53 peter Exp $
# #
PROG = cc1 PROG = cc1
@ -8,7 +8,7 @@ SRCS = c-parse.c \
c-typeck.c c-typeck.c
BINDIR= /usr/libexec BINDIR= /usr/libexec
NOMAN= 1 NOMAN= 1
NOSHARED= true NOSHARED=yes
DPADD+= ${LIBCC_INT} DPADD+= ${LIBCC_INT}
LDADD+= ${LIBCC_INT} LDADD+= ${LIBCC_INT}

View File

@ -1,5 +1,5 @@
# #
# $Id$ # $Id: Makefile,v 1.4 1997/02/22 15:44:54 peter Exp $
# #
PROG = cc1obj PROG = cc1obj
@ -8,7 +8,7 @@ SRCS = objc-parse.c objc-act.c
SRCS += c-aux-info.c c-convert.c c-decl.c c-iterate.c c-lex.c c-typeck.c SRCS += c-aux-info.c c-convert.c c-decl.c c-iterate.c c-lex.c c-typeck.c
BINDIR= /usr/libexec BINDIR= /usr/libexec
NOMAN= 1 NOMAN= 1
NOSHARED= true NOSHARED=yes
DPADD+= ${LIBCC_INT} DPADD+= ${LIBCC_INT}
LDADD+= ${LIBCC_INT} LDADD+= ${LIBCC_INT}

View File

@ -1,5 +1,5 @@
# #
# $Id$ # $Id: Makefile,v 1.11 1997/02/22 15:44:56 peter Exp $
# #
#First, so that we get cp/tree.c and cp/expr.c instead of the C version #First, so that we get cp/tree.c and cp/expr.c instead of the C version
@ -12,7 +12,7 @@ SRCS = parse.c \
ptree.c repo.c search.c sig.c spew.c tree.c typeck.c typeck2.c xref.c ptree.c repo.c search.c sig.c spew.c tree.c typeck.c typeck2.c xref.c
BINDIR= /usr/libexec BINDIR= /usr/libexec
NOMAN= 1 NOMAN= 1
NOSHARED= true NOSHARED=yes
DPADD+= ${LIBCC_INT} DPADD+= ${LIBCC_INT}
LDADD+= ${LIBCC_INT} LDADD+= ${LIBCC_INT}
CFLAGS+= -I. # I mean it. CFLAGS+= -I. # I mean it.

View File

@ -1,5 +1,5 @@
# @(#)Makefile 5.3 (Berkeley) 5/12/90 # @(#)Makefile 5.3 (Berkeley) 5/12/90
# $Id$ # $Id: Makefile,v 1.14 1997/02/22 15:45:54 peter Exp $
PROG= gzip PROG= gzip
SRCS= gzip.c zip.c deflate.c trees.c bits.c unzip.c inflate.c util.c \ SRCS= gzip.c zip.c deflate.c trees.c bits.c unzip.c inflate.c util.c \
@ -15,7 +15,7 @@ LINKS+= ${BINDIR}/gzip ${BINDIR}/zcat
LINKS+= ${BINDIR}/zgrep ${BINDIR}/zegrep LINKS+= ${BINDIR}/zgrep ${BINDIR}/zegrep
LINKS+= ${BINDIR}/zgrep ${BINDIR}/zfgrep LINKS+= ${BINDIR}/zgrep ${BINDIR}/zfgrep
LINKS+= ${BINDIR}/zdiff ${BINDIR}/zcmp LINKS+= ${BINDIR}/zdiff ${BINDIR}/zcmp
NOSHARED=yes NOSHARED?=yes
beforeinstall: beforeinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \

View File

@ -9,7 +9,7 @@ CFLAGS+= -DHAVE_MKNOD=1 -DHAVE_RENAME=1 -DHAVE_FTRUNCATE=1 -DHAVE_GETCWD=1
CFLAGS+= -DBSD42=1 -DHAVE_VPRINTF=1 -DNEEDPAD -I${.CURDIR} CFLAGS+= -DBSD42=1 -DHAVE_VPRINTF=1 -DNEEDPAD -I${.CURDIR}
CFLAGS+= -DDEF_AR_FILE=\"/dev/rst0\" -DDEFBLOCKING=20 CFLAGS+= -DDEF_AR_FILE=\"/dev/rst0\" -DDEFBLOCKING=20
CLEANFILES+=y.tab.h CLEANFILES+=y.tab.h
NOSHARED=yes NOSHARED?=yes
DPADD+= ${LIBGNUREGEX} DPADD+= ${LIBGNUREGEX}
LDADD+= -lgnuregex LDADD+= -lgnuregex

View File

@ -1,6 +1,6 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93 # @(#)Makefile 8.1 (Berkeley) 6/6/93
NOSHARED= true NOSHARED?=yes
PROG= chflags PROG= chflags
SRCS= chflags.c stat_flags.c SRCS= chflags.c stat_flags.c

View File

@ -1,7 +1,9 @@
# $Id$ # $Id: Makefile,v 1.5 1997/02/22 19:55:36 peter Exp $
LIB= ln LIB= ln
SRCS= libmain.c libyywrap.c SRCS= libmain.c libyywrap.c
NOPIC= yes
LINKS= ${LIBDIR}/libln.a ${LIBDIR}/libl.a LINKS= ${LIBDIR}/libln.a ${LIBDIR}/libl.a
LINKS+= ${LIBDIR}/libln.a ${LIBDIR}/libfl.a LINKS+= ${LIBDIR}/libln.a ${LIBDIR}/libfl.a
@ -10,7 +12,5 @@ LINKS+= ${LIBDIR}/libln_p.a ${LIBDIR}/libl_p.a
LINKS+= ${LIBDIR}/libln_p.a ${LIBDIR}/libfl_p.a LINKS+= ${LIBDIR}/libln_p.a ${LIBDIR}/libfl_p.a
.endif .endif
NOSHARED=
.include <bsd.lib.mk> .include <bsd.lib.mk>

View File

@ -2,7 +2,7 @@ LIB= cron
SRCS= entry.c env.c misc.c SRCS= entry.c env.c misc.c
CFLAGS+= -I${.CURDIR}/../cron CFLAGS+= -I${.CURDIR}/../cron
NOSHARED= yes NOPIC= yes
NOPROFILE= yes NOPROFILE= yes
install: install:

View File

@ -1,8 +1,8 @@
# $Id$ # $Id: Makefile,v 1.3 1997/02/22 16:07:20 peter Exp $
LIB= mrouted LIB= mrouted
NOPROFILE= NOPROFILE= yes
NOSHARED= NOPIC= yes
S= ${.CURDIR}/.. S= ${.CURDIR}/..
.PATH: $S .PATH: $S

View File

@ -23,7 +23,6 @@ DPADD= ${LIBM} ${LIBY} ${LIBL}
LDADD= -lm -ly -ll LDADD= -lm -ly -ll
NOMAN= NOMAN=
NOSHARED= no shared linkage
CFLAGS+= -I${.OBJDIR} -I${.CURDIR} #-g CFLAGS+= -I${.OBJDIR} -I${.CURDIR} #-g