xref: /onnv-gate/usr/src/lib/scsi/plugins/smp/Makefile.plugin (revision 12126:60364f3f65c7)
1*12126SHyon.Kim@Sun.COM#
2*12126SHyon.Kim@Sun.COM# CDDL HEADER START
3*12126SHyon.Kim@Sun.COM#
4*12126SHyon.Kim@Sun.COM# The contents of this file are subject to the terms of the
5*12126SHyon.Kim@Sun.COM# Common Development and Distribution License (the "License").
6*12126SHyon.Kim@Sun.COM# You may not use this file except in compliance with the License.
7*12126SHyon.Kim@Sun.COM#
8*12126SHyon.Kim@Sun.COM# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*12126SHyon.Kim@Sun.COM# or http://www.opensolaris.org/os/licensing.
10*12126SHyon.Kim@Sun.COM# See the License for the specific language governing permissions
11*12126SHyon.Kim@Sun.COM# and limitations under the License.
12*12126SHyon.Kim@Sun.COM#
13*12126SHyon.Kim@Sun.COM# When distributing Covered Code, include this CDDL HEADER in each
14*12126SHyon.Kim@Sun.COM# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*12126SHyon.Kim@Sun.COM# If applicable, add the following below this CDDL HEADER, with the
16*12126SHyon.Kim@Sun.COM# fields enclosed by brackets "[]" replaced with your own identifying
17*12126SHyon.Kim@Sun.COM# information: Portions Copyright [yyyy] [name of copyright owner]
18*12126SHyon.Kim@Sun.COM#
19*12126SHyon.Kim@Sun.COM# CDDL HEADER END
20*12126SHyon.Kim@Sun.COM#
21*12126SHyon.Kim@Sun.COM
22*12126SHyon.Kim@Sun.COM#
23*12126SHyon.Kim@Sun.COM# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
24*12126SHyon.Kim@Sun.COM#
25*12126SHyon.Kim@Sun.COM
26*12126SHyon.Kim@Sun.COMinclude $(SRC)/Makefile.master
27*12126SHyon.Kim@Sun.COM
28*12126SHyon.Kim@Sun.COMSUBDIRS = $(MACH)
29*12126SHyon.Kim@Sun.COM$(BUILD64)SUBDIRS += $(MACH64)
30*12126SHyon.Kim@Sun.COM
31*12126SHyon.Kim@Sun.COMinclude ../../../Makefile.defs
32*12126SHyon.Kim@Sun.COM
33*12126SHyon.Kim@Sun.COMROOTHDRDIR = $(ROOTPLUGINHDRDIR)/smp/$(PLUGINTYPE)
34*12126SHyon.Kim@Sun.COMROOTHDRS = $(HDRS:%=$(ROOTHDRDIR)/%)
35*12126SHyon.Kim@Sun.COM
36*12126SHyon.Kim@Sun.COMall :=		TARGET= all
37*12126SHyon.Kim@Sun.COMclean :=	TARGET= clean
38*12126SHyon.Kim@Sun.COMclobber :=	TARGET= clobber
39*12126SHyon.Kim@Sun.COMinstall :=	TARGET= install
40*12126SHyon.Kim@Sun.COMlint :=		TARGET= lint
41*12126SHyon.Kim@Sun.COMinstall_h:=	TARGET = install_h
42*12126SHyon.Kim@Sun.COM
43*12126SHyon.Kim@Sun.COM.KEEP_STATE:
44*12126SHyon.Kim@Sun.COM
45*12126SHyon.Kim@Sun.COMall install clean clobber lint: $(SUBDIRS)
46*12126SHyon.Kim@Sun.COM
47*12126SHyon.Kim@Sun.COMinstall_h: $(ROOTHDRDIR) $(ROOTHDRS)
48*12126SHyon.Kim@Sun.COM
49*12126SHyon.Kim@Sun.COMcheck:
50*12126SHyon.Kim@Sun.COM
51*12126SHyon.Kim@Sun.COM$(SUBDIRS):	FRC
52*12126SHyon.Kim@Sun.COM	@cd $@; pwd; $(MAKE) $(TARGET)
53*12126SHyon.Kim@Sun.COM
54*12126SHyon.Kim@Sun.COMFRC:
55*12126SHyon.Kim@Sun.COM
56*12126SHyon.Kim@Sun.COMinclude ../../../Makefile.rootdirs
57*12126SHyon.Kim@Sun.COMinclude ../../../../Makefile.targ
58