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 $(SRC)/Makefile.master
27ac88567aSHyon Kim
28ac88567aSHyon KimSUBDIRS = $(MACH)
29ac88567aSHyon Kim$(BUILD64)SUBDIRS += $(MACH64)
30ac88567aSHyon Kim
31ac88567aSHyon Kiminclude ../../../Makefile.defs
32ac88567aSHyon Kim
33ac88567aSHyon KimROOTHDRDIR = $(ROOTPLUGINHDRDIR)/smp/$(PLUGINTYPE)
34ac88567aSHyon KimROOTHDRS = $(HDRS:%=$(ROOTHDRDIR)/%)
35ac88567aSHyon Kim
36ac88567aSHyon Kimall :=		TARGET= all
37ac88567aSHyon Kimclean :=	TARGET= clean
38ac88567aSHyon Kimclobber :=	TARGET= clobber
39ac88567aSHyon Kiminstall :=	TARGET= install
40ac88567aSHyon Kiminstall_h:=	TARGET = install_h
41ac88567aSHyon Kim
42ac88567aSHyon Kim.KEEP_STATE:
43ac88567aSHyon Kim
44*241c90a0SRichard Loweall install clean clobber: $(SUBDIRS)
45ac88567aSHyon Kim
46ac88567aSHyon Kiminstall_h: $(ROOTHDRDIR) $(ROOTHDRS)
47ac88567aSHyon Kim
48ac88567aSHyon Kimcheck:
49ac88567aSHyon Kim
50ac88567aSHyon Kim$(SUBDIRS):	FRC
51ac88567aSHyon Kim	@cd $@; pwd; $(MAKE) $(TARGET)
52ac88567aSHyon Kim
53ac88567aSHyon KimFRC:
54ac88567aSHyon Kim
55ac88567aSHyon Kiminclude ../../../Makefile.rootdirs
56ac88567aSHyon Kiminclude ../../../../Makefile.targ
57