xref: /titanic_50/usr/src/lib/scsi/libsmp/Makefile (revision ac88567a7a5bb7f01cf22cf366bc9d6203e24d7a)
1*ac88567aSHyon Kim#
2*ac88567aSHyon Kim# CDDL HEADER START
3*ac88567aSHyon Kim#
4*ac88567aSHyon Kim# The contents of this file are subject to the terms of the
5*ac88567aSHyon Kim# Common Development and Distribution License (the "License").
6*ac88567aSHyon Kim# You may not use this file except in compliance with the License.
7*ac88567aSHyon Kim#
8*ac88567aSHyon Kim# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*ac88567aSHyon Kim# or http://www.opensolaris.org/os/licensing.
10*ac88567aSHyon Kim# See the License for the specific language governing permissions
11*ac88567aSHyon Kim# and limitations under the License.
12*ac88567aSHyon Kim#
13*ac88567aSHyon Kim# When distributing Covered Code, include this CDDL HEADER in each
14*ac88567aSHyon Kim# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*ac88567aSHyon Kim# If applicable, add the following below this CDDL HEADER, with the
16*ac88567aSHyon Kim# fields enclosed by brackets "[]" replaced with your own identifying
17*ac88567aSHyon Kim# information: Portions Copyright [yyyy] [name of copyright owner]
18*ac88567aSHyon Kim#
19*ac88567aSHyon Kim# CDDL HEADER END
20*ac88567aSHyon Kim#
21*ac88567aSHyon Kim
22*ac88567aSHyon Kim#
23*ac88567aSHyon Kim# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
24*ac88567aSHyon Kim#
25*ac88567aSHyon Kim
26*ac88567aSHyon Kiminclude	../../Makefile.lib
27*ac88567aSHyon Kiminclude	../Makefile.defs
28*ac88567aSHyon Kim
29*ac88567aSHyon KimHDRS =		libsmp.h libsmp_plugin.h
30*ac88567aSHyon KimROOTHDRDIR =	$(ROOTSCSIHDRDIR)
31*ac88567aSHyon KimROOTHDRS =	$(HDRS:%=$(ROOTHDRDIR)/%)
32*ac88567aSHyon KimCHECKDIRS =	$(HDRS:%.h=%.check)
33*ac88567aSHyon KimHDRDIR =	common
34*ac88567aSHyon Kim
35*ac88567aSHyon KimSUBDIRS =	$(MACH)
36*ac88567aSHyon Kim$(BUILD64)SUBDIRS += $(MACH64)
37*ac88567aSHyon Kim
38*ac88567aSHyon Kimall :=		TARGET= all
39*ac88567aSHyon Kimclean :=	TARGET= clean
40*ac88567aSHyon Kimclobber :=	TARGET= clobber
41*ac88567aSHyon Kiminstall :=	TARGET= install
42*ac88567aSHyon Kimlint :=		TARGET= lint
43*ac88567aSHyon Kiminstall_h:=	TARGET = install_h
44*ac88567aSHyon Kim
45*ac88567aSHyon Kim.KEEP_STATE:
46*ac88567aSHyon Kim
47*ac88567aSHyon Kimall install clean clobber lint: $(SUBDIRS)
48*ac88567aSHyon Kim
49*ac88567aSHyon Kiminstall_h: $(ROOTHDRS)
50*ac88567aSHyon Kim
51*ac88567aSHyon Kimcheck:		$(CHECKHDRS)
52*ac88567aSHyon Kim
53*ac88567aSHyon Kim$(SUBDIRS):	FRC
54*ac88567aSHyon Kim	@cd $@; pwd; $(MAKE) $(TARGET)
55*ac88567aSHyon Kim
56*ac88567aSHyon KimFRC:
57*ac88567aSHyon Kim
58*ac88567aSHyon Kiminclude ../Makefile.rootdirs
59*ac88567aSHyon Kiminclude ../../Makefile.targ
60