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