xref: /illumos-gate/usr/src/lib/fm/topo/Makefile.rootdirs (revision d7e7cb9c207e40874f6a4b61ca8ea1526b5555bd)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
22# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25#ident	"%Z%%M%	%I%	%E% SMI"
26
27#
28# Define the transitive set of rules to create a common module's install dir
29# within the proto area.  This is used by all Makefile.<class> files.
30#
31$(ROOT)/usr/lib/fm:
32	$(INS.dir)
33
34$(ROOT)/usr/lib/fm/topo: $(ROOT)/usr/lib/fm
35	$(INS.dir)
36
37$(ROOT)/usr/lib/fm/topo/$(MODCLASS): $(ROOT)/usr/lib/fm/topo
38	$(INS.dir)
39
40#
41# Define the transitive set of rules to create a platform module's install dir
42# within the proto area.  This is used by all Makefile.<class> files.
43#
44$(ROOT)/usr/platform/%/lib/fm:
45	$(INS.dir)
46
47$(ROOT)/usr/platform/%/lib/fm/topo: $(ROOT)/usr/platform/%/lib/fm
48	$(INS.dir)
49
50$(ROOT)/usr/platform/%/lib/fm/topo/$(MODCLASS): $(ROOT)/usr/platform/%/lib/fm/topo
51	$(INS.dir)
52