Makefile revision fa9e4066f08beec538e775443c5be79dd423fcab
291N/A#
291N/A# CDDL HEADER START
291N/A#
291N/A# The contents of this file are subject to the terms of the
291N/A# Common Development and Distribution License, Version 1.0 only
291N/A# (the "License"). You may not use this file except in compliance
291N/A# with the License.
291N/A#
291N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
291N/A# or http://www.opensolaris.org/os/licensing.
291N/A# See the License for the specific language governing permissions
291N/A# and limitations under the License.
291N/A#
291N/A# When distributing Covered Code, include this CDDL HEADER in each
291N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
291N/A# If applicable, add the following below this CDDL HEADER, with the
291N/A# fields enclosed by brackets "[]" replaced with your own identifying
291N/A# information: Portions Copyright [yyyy] [name of copyright owner]
291N/A#
291N/A# CDDL HEADER END
291N/A#
291N/A#
291N/A#ident "%Z%%M% %I% %E% SMI"
291N/A#
291N/A# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
291N/A# Use is subject to license terms.
618N/A#
291N/A# cmd/chmod/Makefile
291N/A#
291N/A
618N/APROG= chmod
291N/AOBJS= $(PROG).o common.o
291N/ASRCS= $(OBJS:%.o=%.c)
291N/A
291N/APOFILES= $(OBJS:%.o=%.po)
291N/A
291N/Ainclude ../Makefile.cmd
291N/A
291N/ACFLAGS += $(CCVERBOSE)
291N/A
291N/ACPPFLAGS += -D_FILE_OFFSET_BITS=64
291N/A
291N/ALINTFLAGS += -erroff=E_NAME_DEF_NOT_USED2
291N/A
291N/ALDLIBS += -lsec
291N/A
291N/APOFILE= chmod_cmd.po
291N/AXGETFLAGS= -a -x chmod.xcl
291N/A
291N/A.KEEP_STATE:
291N/A
all: $(PROG)
$(PROG): $(OBJS)
$(LINK.c) $(OBJS) -o $@ $(LDLIBS)
$(POST_PROCESS)
$(POFILE): $(POFILES)
$(RM) $@
cat $(POFILES) > $@
install: all $(ROOTPROG)
clean:
$(RM) $(OBJS)
lint: lint_SRCS
include ../Makefile.targ