Makefile revision ed5289f91b9bf164dccd6c75398362be77a4478d
70N/A#
70N/A# CDDL HEADER START
286N/A#
70N/A# The contents of this file are subject to the terms of the
70N/A# Common Development and Distribution License (the "License").
70N/A# You may not use this file except in compliance with the License.
70N/A#
70N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
70N/A# or http://www.opensolaris.org/os/licensing.
70N/A# See the License for the specific language governing permissions
70N/A# and limitations under the License.
70N/A#
70N/A# When distributing Covered Code, include this CDDL HEADER in each
70N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
70N/A# If applicable, add the following below this CDDL HEADER, with the
70N/A# fields enclosed by brackets "[]" replaced with your own identifying
70N/A# information: Portions Copyright [yyyy] [name of copyright owner]
70N/A#
70N/A# CDDL HEADER END
70N/A#
70N/A#
70N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
70N/A# Use is subject to license terms.
70N/A#
70N/A
70N/APROG= hostid
70N/A
70N/Ainclude ../Makefile.cmd
70N/A
70N/A# Currently, the only architecture-specific things are
472N/A# the SMF pieces that set up the software-defined hostid on
70N/A# non-sparc platforms. These need to get installed on x86
70N/A# which is why we do this in a $MACH subdir.
70N/A
359N/Asparc_SUBDIRS =
359N/Ai386_SUBDIRS = smf
359N/A
98N/ASUBDIRS = $($(MACH)_SUBDIRS)
321N/A
321N/Aall := TARGET = all
213N/Ainstall := TARGET = install
304N/Aclean := TARGET = clean
425N/Aclobber := TARGET = clobber
425N/Alint := TARGET = lint
325N/A
456N/A
320N/A.KEEP_STATE:
332N/A
231N/Aall: $(PROG)
98N/A
347N/Ainstall: all $(ROOTPROG) $(SUBDIRS)
463N/A
346N/A$(SUBDIRS): FRC
425N/A @cd $@; pwd; $(MAKE) $(TARGET)
472N/A
324N/Aclean:
347N/A
310N/Alint: lint_PROG
316N/A
290N/AFRC:
332N/A
464N/Ainclude ../Makefile.targ
332N/A