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