xref: /illumos-gate/usr/src/lib/fm/topo/libtopo/Makefile (revision f808c858fa61e7769218966759510a8b1190dfcf)
17aec1d6eScindi#
27aec1d6eScindi# CDDL HEADER START
37aec1d6eScindi#
47aec1d6eScindi# The contents of this file are subject to the terms of the
5*f808c858Sraf# Common Development and Distribution License (the "License").
6*f808c858Sraf# 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#
227aec1d6eScindi# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
237aec1d6eScindi# Use is subject to license terms.
247aec1d6eScindi#
257aec1d6eScindi# ident	"%Z%%M%	%I%	%E% SMI"
26*f808c858Sraf#
277aec1d6eScindi
287aec1d6eScindiinclude ../../../Makefile.lib
297aec1d6eScindiinclude ../../Makefile.lib
307aec1d6eScindi
317aec1d6eScindiFMHDRS = libtopo.h topo_mod.h
327aec1d6eScindiHDRDIR = common
337aec1d6eScindi
347aec1d6eScindiSUBDIRS = $(MACH)
357aec1d6eScindi$(BUILD64)SUBDIRS += $(MACH64)
367aec1d6eScindi
377aec1d6eScindiall := TARGET = all
387aec1d6eScindiclean := TARGET = clean
397aec1d6eScindiclobber := TARGET = clobber
407aec1d6eScindiinstall := TARGET = install
417aec1d6eScindilint := TARGET = lint
427aec1d6eScindi
437aec1d6eScindi.KEEP_STATE:
447aec1d6eScindi
45*f808c858Srafall clean clobber lint: $(SUBDIRS)
467aec1d6eScindi
47*f808c858Srafinstall: install_h .WAIT $(SUBDIRS)
487aec1d6eScindi
497aec1d6eScindiinstall_h: $(ROOTFMHDRS)
507aec1d6eScindi
517aec1d6eScindicheck: $(CHECKHDRS)
527aec1d6eScindi
53*f808c858Sraf$(SUBDIRS): FRC
547aec1d6eScindi	@cd $@; pwd; $(MAKE) $(TARGET)
557aec1d6eScindi
567aec1d6eScindiFRC:
577aec1d6eScindi
587aec1d6eScindiinclude ../../../Makefile.targ
597aec1d6eScindiinclude ../../Makefile.targ
60