xref: /titanic_50/usr/src/lib/scsi/libscsi/Makefile (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	../../Makefile.lib
29*275c9da8Seschrockinclude	../Makefile.defs
30*275c9da8Seschrock
31*275c9da8SeschrockHDRS =		libscsi.h
32*275c9da8SeschrockROOTHDRDIR =	$(ROOTSCSIHDRDIR)
33*275c9da8SeschrockROOTHDRS =	$(HDRS:%=$(ROOTHDRDIR)/%)
34*275c9da8SeschrockCHECKDIRS =	$(HDRS:%.h=%.check)
35*275c9da8SeschrockHDRDIR =	common
36*275c9da8Seschrock
37*275c9da8SeschrockSUBDIRS =	$(MACH)
38*275c9da8Seschrock$(BUILD64)SUBDIRS += $(MACH64)
39*275c9da8Seschrock
40*275c9da8Seschrockall :=		TARGET= all
41*275c9da8Seschrockclean :=	TARGET= clean
42*275c9da8Seschrockclobber :=	TARGET= clobber
43*275c9da8Seschrockinstall :=	TARGET= install
44*275c9da8Seschrocklint :=		TARGET= lint
45*275c9da8Seschrockinstall_h:=	TARGET = install_h
46*275c9da8Seschrock
47*275c9da8Seschrock.KEEP_STATE:
48*275c9da8Seschrock
49*275c9da8Seschrockall install clean clobber lint: $(SUBDIRS)
50*275c9da8Seschrock
51*275c9da8Seschrockinstall_h: $(ROOTHDRS)
52*275c9da8Seschrock
53*275c9da8Seschrockcheck:		$(CHECKHDRS)
54*275c9da8Seschrock
55*275c9da8Seschrock$(SUBDIRS):	FRC
56*275c9da8Seschrock	@cd $@; pwd; $(MAKE) $(TARGET)
57*275c9da8Seschrock
58*275c9da8SeschrockFRC:
59*275c9da8Seschrock
60*275c9da8Seschrockinclude ../Makefile.rootdirs
61*275c9da8Seschrockinclude ../../Makefile.targ
62