Makefile revision ccbf80fa3b6bf6b986dca9037e5ad9d6c9f9fa65
255N/A#
255N/A# CDDL HEADER START
255N/A#
255N/A# The contents of this file are subject to the terms of the
255N/A# Common Development and Distribution License (the "License").
255N/A# You may not use this file except in compliance with the License.
255N/A#
255N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
255N/A# or http://www.opensolaris.org/os/licensing.
255N/A# See the License for the specific language governing permissions
255N/A# and limitations under the License.
255N/A#
255N/A# When distributing Covered Code, include this CDDL HEADER in each
255N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
255N/A# If applicable, add the following below this CDDL HEADER, with the
255N/A# fields enclosed by brackets "[]" replaced with your own identifying
255N/A# information: Portions Copyright [yyyy] [name of copyright owner]
255N/A#
255N/A# CDDL HEADER END
255N/A#
255N/A#
255N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
255N/A# Use is subject to license terms.
255N/A#
255N/A#ident "%Z%%M% %I% %E% SMI"
255N/A#
255N/A# lib/efcode/efdaemon/Makefile
255N/A
255N/Ainclude $(SRC)/cmd/Makefile.cmd
255N/Ainclude $(SRC)/cmd/Makefile.cmd.64
255N/A
255N/AEFCODEDIR = $(ROOT)/usr/lib/efcode
255N/AEFCODEDIR64 = $(EFCODEDIR)/$(MACH64)
255N/A
255N/ACPPFLAGS += -DDEBUG -DFCODE_INTERNAL
255N/ACPPFLAGS += -I ../include -I $(ROOT)/usr/platform/sun4u/include
255N/A
255N/APROG = efdaemon
255N/AEFTARGETS += $(EFCODEDIR64)/$(PROG)
255N/AEFTARGETS += $(EFCODEDIR)/efcode.sh
255N/A
255N/AMFSTDIR = $(ROOT)/var/svc/manifest/platform/sun4u
255N/AMFSTDIR_SUN4V = $(ROOT)/var/svc/manifest/platform/sun4v
255N/AMANIFEST = efdaemon.xml
255N/AMANIFEST_SUN4V = efdaemon_sun4v.xml
255N/AEFTARGETS += $(MFSTDIR)/$(MANIFEST)
255N/AEFTARGETS += $(MFSTDIR_SUN4V)/$(MANIFEST_SUN4V)
255N/A
255N/A$(MFSTDIR)/$(MANIFEST) := FILEMODE = 0444
255N/A$(MFSTDIR_SUN4V)/$(MANIFEST_SUN4V) := FILEMODE = 0444
255N/A
255N/Aall: $(PROG)
255N/A
255N/Aclean:
255N/A -$(RM) $(PROG)
255N/A -$(RM) $(MFSTDIR)/$(MANIFEST)
255N/A -$(RM) $(MFSTDIR_SUN4V)/$(MANIFEST)
255N/A -$(RM) $(MFSTDIR_SUN4V)/$(MANIFEST_SUN4V)
255N/A
255N/A$(EFCODEDIR64)/%: %
255N/A $(INS.file)
255N/A
$(EFCODEDIR)/%.sh: %.sh
$(INS.file)
$(MFSTDIR)/%: %
$(INS.file)
$(MFSTDIR_SUN4V)/%: %
$(INS.file)
install: all .WAIT $(EFTARGETS)
-$(MV) $(MFSTDIR_SUN4V)/$(MANIFEST_SUN4V) $(MFSTDIR_SUN4V)/$(MANIFEST)
lint: lint_PROG
.KEEP_STATE:
include $(SRC)/cmd/Makefile.targ