Explicitly move setting of NOxxx and USE_SHLIBDIR to the top of the

Makefile (before including <bsd.own.mk>)
This commit is contained in:
lukem 2002-08-19 14:55:14 +00:00
parent 811a3185a3
commit ec5dbc56b8
12 changed files with 38 additions and 26 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.106 2002/08/19 09:41:28 lukem Exp $ # $NetBSD: Makefile,v 1.107 2002/08/19 14:55:14 lukem Exp $
# @(#)Makefile 8.2 (Berkeley) 2/3/94 # @(#)Makefile 8.2 (Berkeley) 2/3/94
# #
# All library objects contain sccsid strings by default; they may be # All library objects contain sccsid strings by default; they may be
@ -17,10 +17,11 @@
# The Hesiod functions are always in libc. To choose that getpwent() and friends # The Hesiod functions are always in libc. To choose that getpwent() and friends
# actually call the Hesiod functions, put -DHESIOD on the CPPFLAGS line below. # actually call the Hesiod functions, put -DHESIOD on the CPPFLAGS line below.
USE_SHLIBDIR= yes
.include <bsd.own.mk> .include <bsd.own.mk>
LIB= c LIB= c
USE_SHLIBDIR= yes
CPPFLAGS+= -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT CPPFLAGS+= -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT
CPPFLAGS+= -I${.CURDIR}/include CPPFLAGS+= -I${.CURDIR}/include

View File

@ -1,7 +1,8 @@
# $NetBSD: Makefile,v 1.12 2002/05/24 04:02:48 itojun Exp $ # $NetBSD: Makefile,v 1.13 2002/08/19 14:55:15 lukem Exp $
USE_SHLIBDIR= yes
LIB= crypt LIB= crypt
USE_SHLIBDIR= yes
SRCS= crypt.c md5crypt.c bcrypt.c blowfish.c SRCS= crypt.c md5crypt.c bcrypt.c blowfish.c

View File

@ -1,9 +1,10 @@
# $NetBSD: Makefile,v 1.22 2002/03/18 16:20:36 christos Exp $ # $NetBSD: Makefile,v 1.23 2002/08/19 14:55:15 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 6/4/93 # @(#)Makefile 8.1 (Berkeley) 6/4/93
USE_SHLIBDIR= yes
WARNS= 3 WARNS= 3
LIB= edit LIB= edit
USE_SHLIBDIR= yes
OSRCS= chared.c common.c el.c emacs.c fcns.c help.c hist.c key.c map.c \ OSRCS= chared.c common.c el.c emacs.c fcns.c help.c hist.c key.c map.c \
parse.c prompt.c read.c refresh.c search.c sig.c term.c tty.c vi.c parse.c prompt.c read.c refresh.c search.c sig.c term.c tty.c vi.c

View File

@ -1,7 +1,8 @@
# $NetBSD: Makefile,v 1.7 2002/08/19 09:41:31 lukem Exp $ # $NetBSD: Makefile,v 1.8 2002/08/19 14:55:15 lukem Exp $
USE_SHLIBDIR= yes
LIB= ipsec LIB= ipsec
USE_SHLIBDIR= yes
CFLAGS+=-g CFLAGS+=-g
CPPFLAGS+=-DIPSEC_DEBUG -DIPSEC -DINET6 -I${.CURDIR} -I. -DYY_NO_UNPUT CPPFLAGS+=-DIPSEC_DEBUG -DIPSEC -DINET6 -I${.CURDIR} -I. -DYY_NO_UNPUT

View File

@ -1,8 +1,9 @@
# $NetBSD: Makefile,v 1.37 2001/12/28 01:32:39 lukem Exp $ # $NetBSD: Makefile,v 1.38 2002/08/19 14:55:16 lukem Exp $
# from: @(#)Makefile 8.1 (Berkeley) 6/4/93 # from: @(#)Makefile 8.1 (Berkeley) 6/4/93
LIB= kvm
USE_SHLIBDIR= yes USE_SHLIBDIR= yes
LIB= kvm
CPPFLAGS+=-DLIBC_SCCS CPPFLAGS+=-DLIBC_SCCS
SRCS= kvm.c kvm_file.c kvm_getloadavg.c kvm_proc.c SRCS= kvm.c kvm_file.c kvm_getloadavg.c kvm_proc.c

View File

@ -1,10 +1,11 @@
# $NetBSD: Makefile,v 1.3 2001/12/28 01:32:39 lukem Exp $ # $NetBSD: Makefile,v 1.4 2002/08/19 14:55:16 lukem Exp $
# #
NOLINT= # defined NOLINT= # defined
LIB= m387
USE_SHLIBDIR= yes USE_SHLIBDIR= yes
LIB= m387
SRCS=e_acos.S e_asin.S e_atan2.S e_exp.S e_expf.S e_fmod.S e_log.S \ SRCS=e_acos.S e_asin.S e_atan2.S e_exp.S e_expf.S e_fmod.S e_log.S \
e_logf.S e_log10.S e_log10f.S e_remainder.S e_remainderf.S \ e_logf.S e_log10.S e_log10f.S e_remainder.S e_remainderf.S \
e_scalb.S e_scalbf.S e_sqrt.S e_sqrtf.S s_atan.S s_atanf.S \ e_scalb.S e_scalbf.S e_sqrt.S e_sqrtf.S s_atan.S s_atanf.S \

View File

@ -1,11 +1,12 @@
# $NetBSD: Makefile,v 1.7 2001/12/12 00:51:05 tv Exp $ # $NetBSD: Makefile,v 1.8 2002/08/19 14:55:16 lukem Exp $
NOPIC= # defined
NOPROFILE= # defined
LIB= rmt LIB= rmt
SRCS= rmtlib.c SRCS= rmtlib.c
MAN= rmtops.3 MAN= rmtops.3
CPPFLAGS+= -D_REENTRANT CPPFLAGS+= -D_REENTRANT
NOPIC= # defined
NOPROFILE= # defined
.include <bsd.lib.mk> .include <bsd.lib.mk>

View File

@ -1,4 +1,7 @@
# $NetBSD: Makefile,v 1.35 2002/01/29 11:22:25 tv Exp $ # $NetBSD: Makefile,v 1.36 2002/08/19 14:55:16 lukem Exp $
NOMAN= # defined
NOPIC= # defined
RPCSRCS= bootparam_prot.x klm_prot.x mount.x nfs_prot.x\ RPCSRCS= bootparam_prot.x klm_prot.x mount.x nfs_prot.x\
nlm_prot.x rex.x rnusers.x rusers.x rquota.x rstat.x rwall.x\ nlm_prot.x rex.x rnusers.x rusers.x rquota.x rstat.x rwall.x\
@ -11,8 +14,6 @@ INCS= ${HDRS} ${RPCSRCS}
INCSDIR= /usr/include/rpcsvc INCSDIR= /usr/include/rpcsvc
LIB= rpcsvc LIB= rpcsvc
NOMAN= # defined
NOPIC= # defined
.include <bsd.lib.mk> .include <bsd.lib.mk>

View File

@ -1,8 +1,9 @@
# $NetBSD: Makefile,v 1.26 2002/02/26 00:24:59 lukem Exp $ # $NetBSD: Makefile,v 1.27 2002/08/19 14:55:17 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 6/4/93 # @(#)Makefile 8.1 (Berkeley) 6/4/93
LIB= termcap
USE_SHLIBDIR= yes USE_SHLIBDIR= yes
LIB= termcap
CPPFLAGS+=-I${.CURDIR} -DCM_N -DCM_GT -DCM_B -DCM_D CPPFLAGS+=-I${.CURDIR} -DCM_N -DCM_GT -DCM_B -DCM_D
SRCS= termcap.c tgoto.c tputs.c SRCS= termcap.c tgoto.c tputs.c

View File

@ -1,10 +1,11 @@
# $NetBSD: Makefile,v 1.34 2002/08/19 09:41:34 lukem Exp $ # $NetBSD: Makefile,v 1.35 2002/08/19 14:55:18 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 6/4/93 # @(#)Makefile 8.1 (Berkeley) 6/4/93
USE_SHLIBDIR= yes
.include <bsd.own.mk> .include <bsd.own.mk>
LIB= util LIB= util
USE_SHLIBDIR= yes
CPPFLAGS+=-DLIBC_SCCS CPPFLAGS+=-DLIBC_SCCS
SRCS= fparseln.c getbootfile.c getmaxpartitions.c getrawpartition.c \ SRCS= fparseln.c getbootfile.c getmaxpartitions.c getrawpartition.c \
humanize_number.c login.c login_cap.c login_tty.c \ humanize_number.c login.c login_cap.c login_tty.c \

View File

@ -1,8 +1,9 @@
# $NetBSD: Makefile,v 1.9 2001/12/12 00:51:06 tv Exp $ # $NetBSD: Makefile,v 1.10 2002/08/19 14:55:18 lukem Exp $
# from: @(#)Makefile 8.1 (Berkeley) 6/4/93 # from: @(#)Makefile 8.1 (Berkeley) 6/4/93
NOPIC= # defined
LIB= y LIB= y
SRCS= main.c yyerror.c SRCS= main.c yyerror.c
NOPIC= # defined
.include <bsd.lib.mk> .include <bsd.lib.mk>

View File

@ -1,9 +1,10 @@
# $NetBSD: Makefile,v 1.16 2001/12/28 01:32:40 lukem Exp $ # $NetBSD: Makefile,v 1.17 2002/08/19 14:55:18 lukem Exp $
LIB= z
NOMAN= # defined NOMAN= # defined
USE_SHLIBDIR= yes USE_SHLIBDIR= yes
LIB= z
SRCS= adler32.c compress.c crc32.c deflate.c gzio.c infblock.c \ SRCS= adler32.c compress.c crc32.c deflate.c gzio.c infblock.c \
infcodes.c inffast.c inflate.c inftrees.c infutil.c trees.c uncompr.c \ infcodes.c inffast.c inflate.c inftrees.c infutil.c trees.c uncompr.c \
zutil.c gzio_compat.c zutil.c gzio_compat.c