This commit is contained in:
seta75D
2021-10-11 19:38:01 -03:00
commit 7c4988eac0
12567 changed files with 3198619 additions and 0 deletions

34
cmd/sync/Makefile Executable file
View File

@@ -0,0 +1,34 @@
#
#ident "@(#)Makefile 1.8 92/12/15 SMI"
#
# Copyright (c) 1989 by Sun Microsystems, Inc.
#
# build two versions, dynamic and static
PROG= sync
STATPROG= sync
# install rule for static version
# deliberately ahead of a similar rule in ../Makefile.cmd
#
ROOT= /proto
$(ROOT)/sbin/%: %.static
$(INS.rename)
include ../Makefile.cmd
CLOBBERFILES= $(STATIC)
.KEEP_STATE:
all: $(PROG) $(STATIC)
install: all $(ROOTSBINPROG) $(ROOTUSRSBINPROG)
-$(RM) $(ROOTPROG)
-$(SYMLINK) ../../sbin/$(PROG) $(ROOTPROG)
clean:
lint: lint_PROG
include ../Makefile.targ

13
cmd/sync/sync.c Executable file
View File

@@ -0,0 +1,13 @@
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
/* The copyright notice above does not evidence any */
/* actual or intended publication of such source code. */
#ident "@(#)sync.c 1.5 92/07/14 SMI" /* SVr4.0 1.2 */
main()
{
sync();
exit(0);
}