xref: /titanic_50/usr/src/cmd/trapstat/Makefile (revision 1e49577a7fcde812700ded04431b49d67cc57d6d)
17c478bd9Sstevel@tonic-gate#
27c478bd9Sstevel@tonic-gate# CDDL HEADER START
37c478bd9Sstevel@tonic-gate#
47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
5*1e49577aSRod Evans# Common Development and Distribution License (the "License").
6*1e49577aSRod Evans# You may not use this file except in compliance with the License.
77c478bd9Sstevel@tonic-gate#
87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
117c478bd9Sstevel@tonic-gate# and limitations under the License.
127c478bd9Sstevel@tonic-gate#
137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
187c478bd9Sstevel@tonic-gate#
197c478bd9Sstevel@tonic-gate# CDDL HEADER END
207c478bd9Sstevel@tonic-gate#
21*1e49577aSRod Evans
227c478bd9Sstevel@tonic-gate#
23*1e49577aSRod Evans# Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
247c478bd9Sstevel@tonic-gate#
257c478bd9Sstevel@tonic-gate
26*1e49577aSRod Evansinclude		$(SRC)/cmd/Makefile.cmd
277c478bd9Sstevel@tonic-gate
28*1e49577aSRod Evanssparc_CAPDIR =	capabilities
29*1e49577aSRod Evansi386_CAPDIR =	i386
30*1e49577aSRod EvansCAPDIR =	$($(MACH)_CAPDIR)
317c478bd9Sstevel@tonic-gate
32*1e49577aSRod Evanssparc_SUBDIRS =	sun4
337c478bd9Sstevel@tonic-gatei386_SUBDIRS =
347c478bd9Sstevel@tonic-gateSUBDIRS =	$($(MACH)_SUBDIRS)
357c478bd9Sstevel@tonic-gate
367c478bd9Sstevel@tonic-gateall :=		TARGET= all
377c478bd9Sstevel@tonic-gateclean :=	TARGET= clean
387c478bd9Sstevel@tonic-gateclobber :=	TARGET= clobber
39*1e49577aSRod Evansinstall :=	TARGET= install
407c478bd9Sstevel@tonic-gatelint :=		TARGET= lint
417c478bd9Sstevel@tonic-gate
427c478bd9Sstevel@tonic-gate.KEEP_STATE:
437c478bd9Sstevel@tonic-gate
44*1e49577aSRod Evans.PARALLEL:	$(SUBDIRS)
457c478bd9Sstevel@tonic-gate
46*1e49577aSRod Evansall clean clobber install lint: \
47*1e49577aSRod Evans		$(CAPDIR) .WAIT $(SUBDIRS)
487c478bd9Sstevel@tonic-gate
49*1e49577aSRod Evansinstall_h check:
507c478bd9Sstevel@tonic-gate
51*1e49577aSRod Evans$(CAPDIR) \
527c478bd9Sstevel@tonic-gate$(SUBDIRS):	FRC
537c478bd9Sstevel@tonic-gate		@cd $@; pwd; $(MAKE) $(TARGET)
547c478bd9Sstevel@tonic-gate
557c478bd9Sstevel@tonic-gateFRC:
567c478bd9Sstevel@tonic-gate
57*1e49577aSRod Evansinclude		$(SRC)/cmd/Makefile.targ
58