xref: /titanic_52/usr/src/lib/fm/libldom/Makefile (revision 25351652d920ae27c5a56c199da581033ce763f6)
131e37bb4Svn83148#
231e37bb4Svn83148# CDDL HEADER START
331e37bb4Svn83148#
431e37bb4Svn83148# The contents of this file are subject to the terms of the
531e37bb4Svn83148# Common Development and Distribution License (the "License").
631e37bb4Svn83148# You may not use this file except in compliance with the License.
731e37bb4Svn83148#
831e37bb4Svn83148# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
931e37bb4Svn83148# or http://www.opensolaris.org/os/licensing.
1031e37bb4Svn83148# See the License for the specific language governing permissions
1131e37bb4Svn83148# and limitations under the License.
1231e37bb4Svn83148#
1331e37bb4Svn83148# When distributing Covered Code, include this CDDL HEADER in each
1431e37bb4Svn83148# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1531e37bb4Svn83148# If applicable, add the following below this CDDL HEADER, with the
1631e37bb4Svn83148# fields enclosed by brackets "[]" replaced with your own identifying
1731e37bb4Svn83148# information: Portions Copyright [yyyy] [name of copyright owner]
1831e37bb4Svn83148#
1931e37bb4Svn83148# CDDL HEADER END
2031e37bb4Svn83148#
2131e37bb4Svn83148#
22*25351652SVuong Nguyen# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
2331e37bb4Svn83148# Use is subject to license terms.
2431e37bb4Svn83148#
2531e37bb4Svn83148
2631e37bb4Svn83148include ../../Makefile.lib
2731e37bb4Svn83148include ../Makefile.lib
2831e37bb4Svn83148
2931e37bb4Svn83148FMHDRS = ldom.h
3031e37bb4Svn83148HDRDIR = sparc
3131e37bb4Svn83148
32*25351652SVuong NguyenROOTFMHDRDIR = $(ROOT)/usr/platform/sun4v/include/sys/fm
33*25351652SVuong Nguyen
3431e37bb4Svn83148SUBDIRS = $(MACH)
3531e37bb4Svn83148$(BUILD64)SUBDIRS += $(MACH64)
3631e37bb4Svn83148
3731e37bb4Svn83148all := TARGET = all
3831e37bb4Svn83148clean := TARGET = clean
3931e37bb4Svn83148clobber := TARGET = clobber
4031e37bb4Svn83148install := TARGET = install
4131e37bb4Svn83148lint := TARGET = lint
4231e37bb4Svn83148
4331e37bb4Svn83148.KEEP_STATE:
4431e37bb4Svn83148
45*25351652SVuong Nguyenall clean clobber lint: $(SUBDIRS)
4631e37bb4Svn83148
47f808c858Srafinstall: install_h .WAIT $(SUBDIRS)
4831e37bb4Svn83148
49*25351652SVuong Nguyeninstall_h:	$(ROOTFMHDRS)
50*25351652SVuong Nguyen
51*25351652SVuong Nguyen$(ROOTFMHDRS):	$(ROOTFMHDRDIR)
52*25351652SVuong Nguyen
53*25351652SVuong Nguyen$(ROOTFMHDRDIR)/%: $(HDRDIR)/%
54*25351652SVuong Nguyen	$(INS.file)
55*25351652SVuong Nguyen
5631e37bb4Svn83148check: $(CHECKHDRS)
5731e37bb4Svn83148
58f808c858Sraf$(SUBDIRS): FRC
5931e37bb4Svn83148	@cd $@; pwd; $(MAKE) $(TARGET)
6031e37bb4Svn83148
6131e37bb4Svn83148FRC:
6231e37bb4Svn83148
6331e37bb4Svn83148include ../../Makefile.targ
6431e37bb4Svn83148include ../Makefile.targ
65