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