Init
This commit is contained in:
34
cmd/sync/Makefile
Executable file
34
cmd/sync/Makefile
Executable 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
13
cmd/sync/sync.c
Executable 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);
|
||||
}
|
||||
Reference in New Issue
Block a user