xref: /titanic_52/usr/src/lib/fm/libldom/Makefile (revision 31e37bb439502e3f7c4c0a9a77d655ea5d56887a)
1*31e37bb4Svn83148#
2*31e37bb4Svn83148# CDDL HEADER START
3*31e37bb4Svn83148#
4*31e37bb4Svn83148# The contents of this file are subject to the terms of the
5*31e37bb4Svn83148# Common Development and Distribution License (the "License").
6*31e37bb4Svn83148# You may not use this file except in compliance with the License.
7*31e37bb4Svn83148#
8*31e37bb4Svn83148# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*31e37bb4Svn83148# or http://www.opensolaris.org/os/licensing.
10*31e37bb4Svn83148# See the License for the specific language governing permissions
11*31e37bb4Svn83148# and limitations under the License.
12*31e37bb4Svn83148#
13*31e37bb4Svn83148# When distributing Covered Code, include this CDDL HEADER in each
14*31e37bb4Svn83148# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*31e37bb4Svn83148# If applicable, add the following below this CDDL HEADER, with the
16*31e37bb4Svn83148# fields enclosed by brackets "[]" replaced with your own identifying
17*31e37bb4Svn83148# information: Portions Copyright [yyyy] [name of copyright owner]
18*31e37bb4Svn83148#
19*31e37bb4Svn83148# CDDL HEADER END
20*31e37bb4Svn83148#
21*31e37bb4Svn83148#
22*31e37bb4Svn83148# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
23*31e37bb4Svn83148# Use is subject to license terms.
24*31e37bb4Svn83148#
25*31e37bb4Svn83148#ident	"%Z%%M%	%I%	%E% SMI"
26*31e37bb4Svn83148
27*31e37bb4Svn83148include ../../Makefile.lib
28*31e37bb4Svn83148include ../Makefile.lib
29*31e37bb4Svn83148
30*31e37bb4Svn83148FMHDRS = ldom.h
31*31e37bb4Svn83148HDRDIR = sparc
32*31e37bb4Svn83148
33*31e37bb4Svn83148SUBDIRS = $(MACH)
34*31e37bb4Svn83148$(BUILD64)SUBDIRS += $(MACH64)
35*31e37bb4Svn83148
36*31e37bb4Svn83148all := TARGET = all
37*31e37bb4Svn83148clean := TARGET = clean
38*31e37bb4Svn83148clobber := TARGET = clobber
39*31e37bb4Svn83148install := TARGET = install
40*31e37bb4Svn83148install_h := TARGET = install_h
41*31e37bb4Svn83148lint := TARGET = lint
42*31e37bb4Svn83148
43*31e37bb4Svn83148.KEEP_STATE:
44*31e37bb4Svn83148
45*31e37bb4Svn83148all clean clobber: spec .WAIT $(SUBDIRS)
46*31e37bb4Svn83148
47*31e37bb4Svn83148install: install_h spec .WAIT $(SUBDIRS)
48*31e37bb4Svn83148
49*31e37bb4Svn83148lint: $(SUBDIRS)
50*31e37bb4Svn83148
51*31e37bb4Svn83148install_h: $(SUBDIRS)
52*31e37bb4Svn83148
53*31e37bb4Svn83148check: $(CHECKHDRS)
54*31e37bb4Svn83148
55*31e37bb4Svn83148spec $(SUBDIRS): FRC
56*31e37bb4Svn83148	@cd $@; pwd; $(MAKE) $(TARGET)
57*31e37bb4Svn83148
58*31e37bb4Svn83148FRC:
59*31e37bb4Svn83148
60*31e37bb4Svn83148include ../../Makefile.targ
61*31e37bb4Svn83148include ../Makefile.targ
62