Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
8e0e07f28895a2dd96dbabd8119c8f4347e2c117vboxsync# CDDL HEADER START
9c9df2b728333cb734a7cc7856568e9ea9dc4600vboxsync# The contents of this file are subject to the terms of the
9c9df2b728333cb734a7cc7856568e9ea9dc4600vboxsync# Common Development and Distribution License, Version 1.0 only
8e0e07f28895a2dd96dbabd8119c8f4347e2c117vboxsync# (the "License"). You may not use this file except in compliance
c98fb3e16fcd571a790eab772c0c66173d225205vboxsync# with the License.
c98fb3e16fcd571a790eab772c0c66173d225205vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# See the License for the specific language governing permissions
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# and limitations under the License.
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# When distributing Covered Code, include this CDDL HEADER in each
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# If applicable, add the following below this CDDL HEADER, with the
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# fields enclosed by brackets "[]" replaced with your own identifying
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# CDDL HEADER END
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
9c9df2b728333cb734a7cc7856568e9ea9dc4600vboxsync# Use is subject to license terms.
9c9df2b728333cb734a7cc7856568e9ea9dc4600vboxsync# ident "%Z%%M% %I% %E% SMI"
9c9df2b728333cb734a7cc7856568e9ea9dc4600vboxsync# needed because POFILES is deleted by clobber, but it's under
9c9df2b728333cb734a7cc7856568e9ea9dc4600vboxsync# SCCS control here.
9c9df2b728333cb734a7cc7856568e9ea9dc4600vboxsync# we only need libdevinfo on sparc
9c9df2b728333cb734a7cc7856568e9ea9dc4600vboxsyncDAEMON_LDLIBS = $(LDLIBS.cmd) -lkstat $($(MACH)_LDEVINFO)
9c9df2b728333cb734a7cc7856568e9ea9dc4600vboxsyncPMCFG_LDLIBS = $(LDLIBS.cmd) -lcmd $($(MACH)_LDEVINFO)
9c9df2b728333cb734a7cc7856568e9ea9dc4600vboxsync# lint pass one enforcement
4e70517ea7c253ad227af80a841e38adb5420203vboxsyncall: $(PROG) $(POWERPERM).dfl $(ETCFILES) $(SCRIPTS)
9c9df2b728333cb734a7cc7856568e9ea9dc4600vboxsync $(CC) $(CFLAGS) -D_REENTRANT $(CPPFLAGS) -o $@ -c $<
9c9df2b728333cb734a7cc7856568e9ea9dc4600vboxsync $(CC) -o $@ $(DAEMON_OBJS) $(LDFLAGS) $(DAEMON_LDLIBS)
9c9df2b728333cb734a7cc7856568e9ea9dc4600vboxsyncinstall: all $(ROOTUSRSBINPMCFG) $(ROOTLIBPOWERDAEMON) \
9c9df2b728333cb734a7cc7856568e9ea9dc4600vboxsync $(ROOTETCFILES) $(ROOTUSRSBINSYSIDPM) $(ROOTDFLFILES) \
$(INS.file)
$(OPOFILES):
$(RM) $@
lint: