9512fe850e98fdd448c638ca63fdd92a8a510255ahl#
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# CDDL HEADER START
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# The contents of this file are subject to the terms of the
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# Common Development and Distribution License (the "License").
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# You may not use this file except in compliance with the License.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# or http://www.opensolaris.org/os/licensing.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# See the License for the specific language governing permissions
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# and limitations under the License.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# When distributing Covered Code, include this CDDL HEADER in each
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# If applicable, add the following below this CDDL HEADER, with the
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# fields enclosed by brackets "[]" replaced with your own identifying
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# information: Portions Copyright [yyyy] [name of copyright owner]
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# CDDL HEADER END
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#
f6acbf7c6543dc0aab58cae1df419f0147c46d77rie# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl# Use is subject to license terms.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#
73427c57f824c3ec3b396181b163f37d50c5b3b1ahl# ident "%Z%%M% %I% %E% SMI"
73427c57f824c3ec3b396181b163f37d50c5b3b1ahl
73427c57f824c3ec3b396181b163f37d50c5b3b1ahlinclude $(SRC)/cmd/Makefile.cmd
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahl.KEEP_STATE:
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahlROOTBIN = $(ROOT)/opt/SUNWdtrt/bin
9512fe850e98fdd448c638ca63fdd92a8a510255ahlROOTBIN32 = $(ROOTBIN)/$(MACH32)
9512fe850e98fdd448c638ca63fdd92a8a510255ahlROOTBIN64 = $(ROOTBIN)/$(MACH64)
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahlPROG = chkargs
e642872b5a76c4c8654eaa68f64986a85c86ca37qiaoLDLIBS = $(LDLIBS.cmd)
9512fe850e98fdd448c638ca63fdd92a8a510255ahlLDLIBS += -ldtrace -lctf
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahlROOTISAEXEC = $(ROOTBIN)/$(PROG)
9512fe850e98fdd448c638ca63fdd92a8a510255ahlROOTPROG32 = $(ROOTBIN32)/$(PROG)
9512fe850e98fdd448c638ca63fdd92a8a510255ahlROOTPROG64 = $(ROOTBIN64)/$(PROG)
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahl$(ROOTPROG32) := FILEMODE = 0555
9512fe850e98fdd448c638ca63fdd92a8a510255ahl$(ROOTPROG64) := FILEMODE = 0555
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahlall: $(PROG)
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahlclean lint:
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahlclobber:
21fb627b6c515feaa2e056538281c0584bbaf430jhaslam $(RM) $(PROG) $(ROOTISAEXEC)
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahl$(PROG): ../$(PROG).c
9512fe850e98fdd448c638ca63fdd92a8a510255ahl $(LINK.c) -o $@ ../$(PROG).c $(LDLIBS)
73427c57f824c3ec3b396181b163f37d50c5b3b1ahl $(POST_PROCESS) ; $(STRIP_STABS)
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahl$(ROOTPROG32): $(ROOTBIN32) $(PROG)
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahl$(ROOTPROG64): $(ROOTBIN64) $(PROG)
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahl$(ROOTBIN32)/%: %
9512fe850e98fdd448c638ca63fdd92a8a510255ahl $(INS.file)
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahl$(ROOTBIN64)/%: %
9512fe850e98fdd448c638ca63fdd92a8a510255ahl $(INS.file)
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahl$(ROOTISAEXEC):
21fb627b6c515feaa2e056538281c0584bbaf430jhaslam $(RM) $@;
21fb627b6c515feaa2e056538281c0584bbaf430jhaslam $(CP) -p $(ISAEXEC) $@
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahl$(ROOTBIN)/%: $(ROOTBIN)
9512fe850e98fdd448c638ca63fdd92a8a510255ahl $(INS.dir)
9512fe850e98fdd448c638ca63fdd92a8a510255ahl
9512fe850e98fdd448c638ca63fdd92a8a510255ahl$(ROOTBIN):
9512fe850e98fdd448c638ca63fdd92a8a510255ahl $(INS.dir)