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