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