xref: /titanic_51/usr/src/lib/scsi/plugins/ses/Makefile.plugin (revision 275c9da86e89f8abf71135cf63d9fc23671b2e60)
1*275c9da8Seschrock#
2*275c9da8Seschrock# CDDL HEADER START
3*275c9da8Seschrock#
4*275c9da8Seschrock# The contents of this file are subject to the terms of the
5*275c9da8Seschrock# Common Development and Distribution License (the "License").
6*275c9da8Seschrock# You may not use this file except in compliance with the License.
7*275c9da8Seschrock#
8*275c9da8Seschrock# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*275c9da8Seschrock# or http://www.opensolaris.org/os/licensing.
10*275c9da8Seschrock# See the License for the specific language governing permissions
11*275c9da8Seschrock# and limitations under the License.
12*275c9da8Seschrock#
13*275c9da8Seschrock# When distributing Covered Code, include this CDDL HEADER in each
14*275c9da8Seschrock# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*275c9da8Seschrock# If applicable, add the following below this CDDL HEADER, with the
16*275c9da8Seschrock# fields enclosed by brackets "[]" replaced with your own identifying
17*275c9da8Seschrock# information: Portions Copyright [yyyy] [name of copyright owner]
18*275c9da8Seschrock#
19*275c9da8Seschrock# CDDL HEADER END
20*275c9da8Seschrock#
21*275c9da8Seschrock
22*275c9da8Seschrock#
23*275c9da8Seschrock# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24*275c9da8Seschrock# Use is subject to license terms.
25*275c9da8Seschrock#
26*275c9da8Seschrock#ident	"%Z%%M%	%I%	%E% SMI"
27*275c9da8Seschrock
28*275c9da8Seschrockinclude $(SRC)/Makefile.master
29*275c9da8Seschrock
30*275c9da8SeschrockSUBDIRS = $(MACH)
31*275c9da8Seschrock$(BUILD64)SUBDIRS += $(MACH64)
32*275c9da8Seschrock
33*275c9da8Seschrockinclude ../../../Makefile.defs
34*275c9da8Seschrock
35*275c9da8SeschrockROOTHDRDIR = $(ROOTPLUGINHDRDIR)/ses/$(PLUGINTYPE)
36*275c9da8SeschrockROOTHDRS = $(HDRS:%=$(ROOTHDRDIR)/%)
37*275c9da8Seschrock
38*275c9da8Seschrockall :=		TARGET= all
39*275c9da8Seschrockclean :=	TARGET= clean
40*275c9da8Seschrockclobber :=	TARGET= clobber
41*275c9da8Seschrockinstall :=	TARGET= install
42*275c9da8Seschrocklint :=		TARGET= lint
43*275c9da8Seschrockinstall_h:=	TARGET = install_h
44*275c9da8Seschrock
45*275c9da8Seschrock.KEEP_STATE:
46*275c9da8Seschrock
47*275c9da8Seschrockall install clean clobber lint: $(SUBDIRS)
48*275c9da8Seschrock
49*275c9da8Seschrockinstall_h: $(ROOTHDRDIR) $(ROOTHDRS)
50*275c9da8Seschrock
51*275c9da8Seschrockcheck:
52*275c9da8Seschrock
53*275c9da8Seschrock$(SUBDIRS):	FRC
54*275c9da8Seschrock	@cd $@; pwd; $(MAKE) $(TARGET)
55*275c9da8Seschrock
56*275c9da8SeschrockFRC:
57*275c9da8Seschrock
58*275c9da8Seschrockinclude ../../../Makefile.rootdirs
59*275c9da8Seschrockinclude ../../../../Makefile.targ
60