Skip to content

Commit 840cb48

Browse files
committed
NetBSD src for "kernel", checkout.sh rev e4419c59cf82db647b5eb46140f6f55065d18795
1 parent baf5335 commit 840cb48

File tree

12,525 files changed

+2251237
-802797
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

12,525 files changed

+2251237
-802797
lines changed

Makefile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $NetBSD: Makefile,v 1.317 2016/01/14 02:51:25 christos Exp $
1+
# $NetBSD: Makefile,v 1.324 2018/05/02 07:34:44 pgoyette Exp $
22

33
#
44
# This is the top-level makefile for building NetBSD. For an outline of
@@ -30,6 +30,7 @@
3030
# NOCLEANDIR, if defined, will avoid a `make cleandir' at the start
3131
# of the `make build'.
3232
# NOINCLUDES will avoid the `make includes' usually done by `make build'.
33+
# NOBINARIES will not build binaries, only includes and libraries
3334
#
3435
# See mk.conf(5) for more details.
3536
#
@@ -96,9 +97,9 @@
9697
# if ${MKCOMPAT} != "no".
9798
# do-compat-lib: builds and installs prerequisites from compat/lib
9899
# if ${MKCOMPAT} != "no".
100+
# do-x11: builds and installs X11 tools and libraries
101+
# from src/external/mit/xorg if ${MKX11} != "no".
99102
# do-build: builds and installs the entire system.
100-
# do-x11: builds and installs X11 if ${MKX11} != "no"; either
101-
# X11R7 from src/external/mit/xorg
102103
# do-extsrc: builds and installs extsrc if ${MKEXTSRC} != "no".
103104
# do-obsolete: installs the obsolete sets (for the postinstall-* targets).
104105
#
@@ -136,7 +137,7 @@ _SRC_TOP_OBJ_=
136137
# _SUBDIR is used to set SUBDIR, after removing directories that have
137138
# BUILD_${dir}=no, or that have no ${dir}/Makefile.
138139
#
139-
_SUBDIR= tools lib include gnu external crypto/external bin games
140+
_SUBDIR= tools lib include external crypto/external bin games
140141
_SUBDIR+= libexec sbin usr.bin
141142
_SUBDIR+= usr.sbin share sys etc tests compat
142143
_SUBDIR+= .WAIT rescue .WAIT distrib regress
@@ -237,19 +238,20 @@ BUILDTARGETS+= do-compat-lib
237238
.if ${MKX11} != "no"
238239
BUILDTARGETS+= do-x11
239240
.endif
241+
.if !defined(NOBINARIES)
240242
BUILDTARGETS+= do-build
241243
.if ${MKEXTSRC} != "no"
242244
BUILDTARGETS+= do-extsrc
243245
.endif
244246
BUILDTARGETS+= do-obsolete
247+
.endif
245248

246249
#
247250
# Enforce proper ordering of some rules.
248251
#
249252

250253
.ORDER: ${BUILDTARGETS}
251254
includes-lib: .PHONY includes-include includes-sys
252-
includes-gnu: .PHONY includes-lib
253255

254256
#
255257
# Record the values of variables that might affect the build.
@@ -526,3 +528,4 @@ dependall-distrib depend-distrib all-distrib: .PHONY
526528
.include <bsd.obj.mk>
527529
.include <bsd.kernobj.mk>
528530
.include <bsd.subdir.mk>
531+
.include <bsd.clean.mk>

Makefile.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $NetBSD: Makefile.inc,v 1.4 2002/04/10 14:53:43 lukem Exp $
1+
# $NetBSD: Makefile.inc,v 1.6 2018/05/02 07:34:44 pgoyette Exp $
22

33
.ifndef ABSTOP
44
ABSTOP!= cd ${.PARSEDIR}; pwd

bin/cat/cat.1

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.\" $NetBSD: cat.1,v 1.38 2014/06/15 07:27:22 wiz Exp $
1+
.\" $NetBSD: cat.1,v 1.41 2017/10/02 08:24:17 wiz Exp $
22
.\"
33
.\" Copyright (c) 1989, 1990, 1993
44
.\" The Regents of the University of California. All rights reserved.
@@ -121,9 +121,7 @@ Non-ascii characters (with the high bit set) are printed as
121121
(for meta) followed by the character for the low 7 bits.
122122
.El
123123
.Sh EXIT STATUS
124-
The
125-
.Nm
126-
utility exits 0 on success, and \*[Gt]0 if an error occurs.
124+
.Ex -std cat
127125
.Sh EXAMPLES
128126
The command:
129127
.Bd -literal -offset indent
@@ -136,7 +134,7 @@ to the standard output.
136134
.Pp
137135
The command:
138136
.Bd -literal -offset indent
139-
.Ic cat file1 file2 \*[Gt] file3
137+
.Ic cat file1 file2 > file3
140138
.Ed
141139
.Pp
142140
will sequentially print the contents of
@@ -180,6 +178,7 @@ operand.
180178
.Xr lpr 1 ,
181179
.Xr more 1 ,
182180
.Xr pr 1 ,
181+
.Xr tac 1 ,
183182
.Xr tail 1 ,
184183
.Xr view 1 ,
185184
.Xr vis 1 ,
@@ -211,7 +210,7 @@ It appears to have been
211210
.Sh BUGS
212211
Because of the shell language mechanism used to perform output
213212
redirection, the command
214-
.Dq Li cat file1 file2 \*[Gt] file1
213+
.Dq Li cat file1 file2 > file1
215214
will cause the original data in file1 to be destroyed!
216215
This is performed by the shell before
217216
.Nm

0 commit comments

Comments
 (0)