xref: /titanic_52/usr/src/cmd/pcitool/Makefile (revision d5ace9454616652a717c9831d949dffa319381f9)
1*d5ace945SErwin T Tsaur# CDDL HEADER START
2*d5ace945SErwin T Tsaur#
3*d5ace945SErwin T Tsaur# The contents of this file are subject to the terms of the
4*d5ace945SErwin T Tsaur# Common Development and Distribution License (the "License").
5*d5ace945SErwin T Tsaur# You may not use this file except in compliance with the License.
6*d5ace945SErwin T Tsaur#
7*d5ace945SErwin T Tsaur# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8*d5ace945SErwin T Tsaur# or http://www.opensolaris.org/os/licensing.
9*d5ace945SErwin T Tsaur# See the License for the specific language governing permissions
10*d5ace945SErwin T Tsaur# and limitations under the License.
11*d5ace945SErwin T Tsaur#
12*d5ace945SErwin T Tsaur# When distributing Covered Code, include this CDDL HEADER in each
13*d5ace945SErwin T Tsaur# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
14*d5ace945SErwin T Tsaur# If applicable, add the following below this CDDL HEADER, with the
15*d5ace945SErwin T Tsaur# fields enclosed by brackets "[]" replaced with your own identifying
16*d5ace945SErwin T Tsaur# information: Portions Copyright [yyyy] [name of copyright owner]
17*d5ace945SErwin T Tsaur#
18*d5ace945SErwin T Tsaur# CDDL HEADER END
19*d5ace945SErwin T Tsaur#
20*d5ace945SErwin T Tsaur# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
21*d5ace945SErwin T Tsaur# Use is subject to license terms.
22*d5ace945SErwin T Tsaur#
23*d5ace945SErwin T Tsaur
24*d5ace945SErwin T TsaurPROG= pcitool
25*d5ace945SErwin T Tsaur
26*d5ace945SErwin T Tsaurinclude $(SRC)/cmd/Makefile.cmd
27*d5ace945SErwin T Tsaur
28*d5ace945SErwin T TsaurSUBDIRS=	$(MACH)
29*d5ace945SErwin T Tsaur
30*d5ace945SErwin T Tsaurall	:=	TARGET = all
31*d5ace945SErwin T Tsaurinstall	:=	TARGET = install
32*d5ace945SErwin T Tsaurclean	:=	TARGET = clean
33*d5ace945SErwin T Tsaurclobber	:=	TARGET = clobber
34*d5ace945SErwin T Tsaurlint	:=	TARGET = lint
35*d5ace945SErwin T Tsaur
36*d5ace945SErwin T Tsaur.KEEP_STATE:
37*d5ace945SErwin T Tsaur
38*d5ace945SErwin T Tsaurall: $(SUBDIRS)
39*d5ace945SErwin T Tsaur
40*d5ace945SErwin T Tsaurclean clobber lint:	$(SUBDIRS)
41*d5ace945SErwin T Tsaur
42*d5ace945SErwin T Tsaurinstall:	$(SUBDIRS)
43*d5ace945SErwin T Tsaur
44*d5ace945SErwin T Tsaur$(SUBDIRS):	FRC
45*d5ace945SErwin T Tsaur	@cd $@; pwd; $(MAKE) $(TARGET)
46*d5ace945SErwin T Tsaur
47*d5ace945SErwin T TsaurFRC:
48*d5ace945SErwin T Tsaur
49*d5ace945SErwin T Tsaurinclude $(SRC)/cmd/Makefile.targ
50