Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
8N/A#
8N/A# CDDL HEADER START
606N/A#
747N/A# The contents of this file are subject to the terms of the
8N/A# Common Development and Distribution License, Version 1.0 only
8N/A# (the "License"). You may not use this file except in compliance
919N/A# with the License.
919N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
8N/A# Use is subject to license terms.
8N/A#
8N/A# ident "%Z%%M% %I% %E% SMI"
8N/A#
606N/A
606N/APROG= w
606N/A
606N/AOBJS= w.o
606N/A
705N/ASRCS= $(OBJS:%.o=../%.c)
606N/A
606N/Ainclude ../../Makefile.cmd
606N/Ainclude ../../Makefile.cmd.64
606N/A
606N/ACFLAGS64 += $(CCVERBOSE)
606N/A
606N/AROOTLINK= $(ROOTBIN64)/uptime
606N/A
606N/AFILEMODE= 4555
606N/AOWNER= root # w needs to read /proc entries
606N/AGROUP= bin
606N/A
606N/A.KEEP_STATE:
606N/A
606N/A%.o: ../%.c
606N/A $(COMPILE.c) $<
606N/A
606N/Aall: $(PROG)
606N/A
606N/A$(PROG): $(OBJS)
606N/A $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
606N/A $(POST_PROCESS)
606N/A
606N/Ainstall: all $(ROOTLINK)
98N/A
156N/A$(ROOTLINK): $(ROOTPROG64)
98N/A $(RM) $@
606N/A $(LN) $(ROOTPROG64) $@
98N/A
747N/Aclean:
851N/A $(RM) $(OBJS)
851N/A
747N/Alint:
8N/A $(LINT.c) $(SRCS) $(LDLIBS)
8N/A
493N/Ainclude ../../Makefile.targ
8N/A