xref: /illumos-gate/usr/src/lib/smhba/Makefile (revision 241c90a06e8d1708235651863df515a2d522a03a)
19e86db79SHyon Kim#
29e86db79SHyon Kim# CDDL HEADER START
39e86db79SHyon Kim#
49e86db79SHyon Kim# The contents of this file are subject to the terms of the
59e86db79SHyon Kim# Common Development and Distribution License (the "License").
69e86db79SHyon Kim# You may not use this file except in compliance with the License.
79e86db79SHyon Kim#
89e86db79SHyon Kim# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
99e86db79SHyon Kim# or http://www.opensolaris.org/os/licensing.
109e86db79SHyon Kim# See the License for the specific language governing permissions
119e86db79SHyon Kim# and limitations under the License.
129e86db79SHyon Kim#
139e86db79SHyon Kim# When distributing Covered Code, include this CDDL HEADER in each
149e86db79SHyon Kim# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
159e86db79SHyon Kim# If applicable, add the following below this CDDL HEADER, with the
169e86db79SHyon Kim# fields enclosed by brackets "[]" replaced with your own identifying
179e86db79SHyon Kim# information: Portions Copyright [yyyy] [name of copyright owner]
189e86db79SHyon Kim#
199e86db79SHyon Kim# CDDL HEADER END
209e86db79SHyon Kim#
219e86db79SHyon Kim#
229e86db79SHyon Kim# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
239e86db79SHyon Kim# Use is subject to license terms.
249e86db79SHyon Kim#
259e86db79SHyon Kim#
269e86db79SHyon Kim
279e86db79SHyon Kiminclude		../Makefile.lib
289e86db79SHyon Kim
299e86db79SHyon Kim
309e86db79SHyon KimSUBDIRS=	$(MACH)
319e86db79SHyon Kim$(BUILD64)SUBDIRS += $(MACH64)
329e86db79SHyon Kim
339e86db79SHyon Kimall :=		TARGET= all
349e86db79SHyon Kimclean :=	TARGET= clean
359e86db79SHyon Kimclobber :=	TARGET= clobber
369e86db79SHyon Kiminstall :=	TARGET= install
379e86db79SHyon Kim
389e86db79SHyon Kim# definitions for install_h target
399e86db79SHyon KimHDRS=		smhbaapi.h
409e86db79SHyon KimHDRDIR=		common
419e86db79SHyon Kim
429e86db79SHyon Kim.KEEP_STATE:
439e86db79SHyon Kim
44*241c90a0SRichard Loweall clean clobber install: $(SUBDIRS)
459e86db79SHyon Kim
469e86db79SHyon Kim# install rule for install_h target
479e86db79SHyon Kim
489e86db79SHyon Kiminstall_h: $(ROOTHDRS)
499e86db79SHyon Kim
509e86db79SHyon Kim# These headers and source should be excluded from check target
519e86db79SHyon Kimcheck: $(CHECKHDRS)
529e86db79SHyon Kim
539e86db79SHyon Kim$(SUBDIRS): FRC
549e86db79SHyon Kim	@cd $@; pwd; $(MAKE) $(TARGET)
559e86db79SHyon Kim
569e86db79SHyon KimFRC:
579e86db79SHyon Kim
589e86db79SHyon Kiminclude ../Makefile.targ
59