Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
b6c1232fd4529b7cb25d801404f6c440d549f311slive#
b6c1232fd4529b7cb25d801404f6c440d549f311slive# CDDL HEADER START
b6c1232fd4529b7cb25d801404f6c440d549f311slive#
5f5d1b4cc970b7f06ff8ef6526128e9a27303d88nd# The contents of this file are subject to the terms of the
6d9c7d0283713aa8ae15fef7e9bfe2c7bfa73872nd# Common Development and Distribution License (the "License").
6d9c7d0283713aa8ae15fef7e9bfe2c7bfa73872nd# You may not use this file except in compliance with the License.
6fbd2e53c97ea6976d93e0ac521adabc55e0fb73nd#
6d9c7d0283713aa8ae15fef7e9bfe2c7bfa73872nd# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6d9c7d0283713aa8ae15fef7e9bfe2c7bfa73872nd# or http://www.opensolaris.org/os/licensing.
6d9c7d0283713aa8ae15fef7e9bfe2c7bfa73872nd# See the License for the specific language governing permissions
6d9c7d0283713aa8ae15fef7e9bfe2c7bfa73872nd# and limitations under the License.
6d9c7d0283713aa8ae15fef7e9bfe2c7bfa73872nd#
6d9c7d0283713aa8ae15fef7e9bfe2c7bfa73872nd# When distributing Covered Code, include this CDDL HEADER in each
6d9c7d0283713aa8ae15fef7e9bfe2c7bfa73872nd# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6d9c7d0283713aa8ae15fef7e9bfe2c7bfa73872nd# If applicable, add the following below this CDDL HEADER, with the
6d9c7d0283713aa8ae15fef7e9bfe2c7bfa73872nd# fields enclosed by brackets "[]" replaced with your own identifying
6d9c7d0283713aa8ae15fef7e9bfe2c7bfa73872nd# information: Portions Copyright [yyyy] [name of copyright owner]
6d9c7d0283713aa8ae15fef7e9bfe2c7bfa73872nd#
6d9c7d0283713aa8ae15fef7e9bfe2c7bfa73872nd# CDDL HEADER END
6d9c7d0283713aa8ae15fef7e9bfe2c7bfa73872nd#
6d9c7d0283713aa8ae15fef7e9bfe2c7bfa73872nd#
960d6c1d6389fcf424c15e214dceeebeae45000bnd# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
b6c1232fd4529b7cb25d801404f6c440d549f311slive# Use is subject to license terms.
b6c1232fd4529b7cb25d801404f6c440d549f311slive#
b6c1232fd4529b7cb25d801404f6c440d549f311slive
b6c1232fd4529b7cb25d801404f6c440d549f311slivePROG= shutdown
b6c1232fd4529b7cb25d801404f6c440d549f311slive
b6c1232fd4529b7cb25d801404f6c440d549f311slivePROGSRC= shutdown.c
b6c1232fd4529b7cb25d801404f6c440d549f311slivePROGOBJS= shutdown.o
b6c1232fd4529b7cb25d801404f6c440d549f311slive
b6c1232fd4529b7cb25d801404f6c440d549f311sliveinclude ../Makefile.ucbcmd
b6c1232fd4529b7cb25d801404f6c440d549f311slive
b6c1232fd4529b7cb25d801404f6c440d549f311sliveINC1 = $(SRC)/ucbhead
b6c1232fd4529b7cb25d801404f6c440d549f311slive
b6c1232fd4529b7cb25d801404f6c440d549f311sliveFILEMODE= 755
b6c1232fd4529b7cb25d801404f6c440d549f311slive
b6c1232fd4529b7cb25d801404f6c440d549f311sliveLDLIBS += -lsocket -lrpcsvc -lnsl -L$(ROOT)/usr/ucblib -R /usr/ucblib -lucb -lbsm
b6c1232fd4529b7cb25d801404f6c440d549f311slive
b6c1232fd4529b7cb25d801404f6c440d549f311sliveCPPFLAGS = -I$(INC1) $(CPPFLAGS.master)
b6c1232fd4529b7cb25d801404f6c440d549f311sliveCERRWARN += -_gcc=-Wno-parentheses
b6c1232fd4529b7cb25d801404f6c440d549f311sliveCERRWARN += -_gcc=-Wno-implicit-function-declaration
b6c1232fd4529b7cb25d801404f6c440d549f311sliveCERRWARN += -_gcc=-Wno-clobbered
b6c1232fd4529b7cb25d801404f6c440d549f311slive
b6c1232fd4529b7cb25d801404f6c440d549f311sliveXGETFLAGS += -a -x shutdown.xcl
b6c1232fd4529b7cb25d801404f6c440d549f311slive
b6c1232fd4529b7cb25d801404f6c440d549f311slive.KEEP_STATE:
b6c1232fd4529b7cb25d801404f6c440d549f311slive
b6c1232fd4529b7cb25d801404f6c440d549f311sliveall: $(PROG)
b6c1232fd4529b7cb25d801404f6c440d549f311slive
b6c1232fd4529b7cb25d801404f6c440d549f311slive$(PROG): $(PROGOBJS)
b6c1232fd4529b7cb25d801404f6c440d549f311slive $(LINK.c) $(PROGOBJS) -o $@ $(LDLIBS)
b6c1232fd4529b7cb25d801404f6c440d549f311slive $(POST_PROCESS)
b6c1232fd4529b7cb25d801404f6c440d549f311slive
b6c1232fd4529b7cb25d801404f6c440d549f311sliveinstall: all $(ROOTPROG)
b6c1232fd4529b7cb25d801404f6c440d549f311slive
b6c1232fd4529b7cb25d801404f6c440d549f311sliveclean:
b6c1232fd4529b7cb25d801404f6c440d549f311slive $(RM) $(PROGOBJS)
b6c1232fd4529b7cb25d801404f6c440d549f311slive
b6c1232fd4529b7cb25d801404f6c440d549f311slivelint: lint_PROG
b6c1232fd4529b7cb25d801404f6c440d549f311slive
b6c1232fd4529b7cb25d801404f6c440d549f311sliveinclude ../Makefile.ucbtarg
b6c1232fd4529b7cb25d801404f6c440d549f311slive