Makefile revision 7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fe
5cd4555ad444fd391002ae32450572054369fd42Rob Austein#
5cd4555ad444fd391002ae32450572054369fd42Rob Austein# CDDL HEADER START
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# The contents of this file are subject to the terms of the
39844d471080b2de4f8bb9d81f7e136ef80f0ae2Automatic Updater# Common Development and Distribution License, Version 1.0 only
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# (the "License"). You may not use this file except in compliance
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# with the License.
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater#
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# or http://www.opensolaris.org/os/licensing.
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# See the License for the specific language governing permissions
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# and limitations under the License.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews#
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington#
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark Andrews# CDDL HEADER END
39844d471080b2de4f8bb9d81f7e136ef80f0ae2Automatic Updater#
b5ad6dfea4cc3e7d1d322ac99f1e5a31096837c4Mark Andrews#
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington# Use is subject to license terms.
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington#
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington#ident "%Z%%M% %I% %E% SMI"
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellingtoninclude ../../../Makefile.lib
6ed53e5949d9fcd9715b440015b56e5a896d63dfDavid Hankinsinclude ../../Makefile.lib
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonFMHDRS = libtopo.h topo_mod.h
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonHDRDIR = common
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonMACH_SUBDIRS = $(MACH)
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonSUBDIRS = $(MACH)
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein$(BUILD64)SUBDIRS += $(MACH64)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeinall := TARGET = all
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeinclean := TARGET = clean
4b3f3cc67135e676a9b3b688685fb59e3494b0e6Mark Andrewsclobber := TARGET = clobber
c1a883f2e04d94e99c433b1f6cfd0c0338f4ed85Mark Andrewsinstall := TARGET = install
3398334b3acda24b086957286288ca9852662b12Automatic Updaterlint := TARGET = lint
39844d471080b2de4f8bb9d81f7e136ef80f0ae2Automatic Updater
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein.KEEP_STATE:
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeinall clean clobber: spec .WAIT $(SUBDIRS)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeininstall: install_h spec .WAIT $(SUBDIRS)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeinlint: $(SUBDIRS)
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark Andrews
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeininstall_h: $(ROOTFMHDRS)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeincheck: $(CHECKHDRS)
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellingtonspec $(SUBDIRS): FRC
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington @cd $@; pwd; $(MAKE) $(TARGET)
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington
0b062f4990db5cc6db2fe3398926f71b92a67407Brian WellingtonFRC:
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellington
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellingtoninclude ../../../Makefile.targ
0b062f4990db5cc6db2fe3398926f71b92a67407Brian Wellingtoninclude ../../Makefile.targ
b0c15bd9792112fb47f6d956e580e4369e92f4e7Mark Andrews