xref: /illumos-gate/usr/src/lib/fm/topo/libtopo/Makefile (revision 5801b0f01c3c34499a929ed96164a5a68b470945)
17aec1d6eScindi#
27aec1d6eScindi# CDDL HEADER START
37aec1d6eScindi#
47aec1d6eScindi# The contents of this file are subject to the terms of the
5f808c858Sraf# Common Development and Distribution License (the "License").
6f808c858Sraf# You may not use this file except in compliance with the License.
77aec1d6eScindi#
87aec1d6eScindi# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97aec1d6eScindi# or http://www.opensolaris.org/os/licensing.
107aec1d6eScindi# See the License for the specific language governing permissions
117aec1d6eScindi# and limitations under the License.
127aec1d6eScindi#
137aec1d6eScindi# When distributing Covered Code, include this CDDL HEADER in each
147aec1d6eScindi# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157aec1d6eScindi# If applicable, add the following below this CDDL HEADER, with the
167aec1d6eScindi# fields enclosed by brackets "[]" replaced with your own identifying
177aec1d6eScindi# information: Portions Copyright [yyyy] [name of copyright owner]
187aec1d6eScindi#
197aec1d6eScindi# CDDL HEADER END
207aec1d6eScindi#
217aec1d6eScindi#
22940d71d2Seschrock# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
237aec1d6eScindi# Use is subject to license terms.
247aec1d6eScindi#
257aec1d6eScindi
267aec1d6eScindiinclude ../../../Makefile.lib
277aec1d6eScindiinclude ../../Makefile.lib
287aec1d6eScindi
29940d71d2SeschrockFMHDRS = libtopo.h topo_mod.h topo_hc.h topo_list.h topo_method.h
307aec1d6eScindiHDRDIR = common
317aec1d6eScindi
327aec1d6eScindiSUBDIRS = $(MACH)
337aec1d6eScindi$(BUILD64)SUBDIRS += $(MACH64)
347aec1d6eScindi
357aec1d6eScindiall := TARGET = all
367aec1d6eScindiclean := TARGET = clean
377aec1d6eScindiclobber := TARGET = clobber
387aec1d6eScindiinstall := TARGET = install
397aec1d6eScindi
407aec1d6eScindi.KEEP_STATE:
417aec1d6eScindi
42*5801b0f0SToomas Soomeall clean clobber: $(SUBDIRS)
437aec1d6eScindi
44f808c858Srafinstall: install_h .WAIT $(SUBDIRS)
457aec1d6eScindi
467aec1d6eScindiinstall_h: $(ROOTFMHDRS)
477aec1d6eScindi
487aec1d6eScindicheck: $(CHECKHDRS)
497aec1d6eScindi
50f808c858Sraf$(SUBDIRS): FRC
517aec1d6eScindi	@cd $@; pwd; $(MAKE) $(TARGET)
527aec1d6eScindi
537aec1d6eScindiFRC:
547aec1d6eScindi
557aec1d6eScindiinclude ../../../Makefile.targ
567aec1d6eScindiinclude ../../Makefile.targ
57