Makefile revision 48bc00d6814e04ff3edb32cafe7d1bc580baff68
454N/A#
454N/A# CDDL HEADER START
454N/A#
454N/A# The contents of this file are subject to the terms of the
454N/A# Common Development and Distribution License (the "License").
454N/A# You may not use this file except in compliance with the License.
454N/A#
454N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
454N/A# or http://www.opensolaris.org/os/licensing.
454N/A# See the License for the specific language governing permissions
454N/A# and limitations under the License.
454N/A#
454N/A# When distributing Covered Code, include this CDDL HEADER in each
454N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
454N/A# If applicable, add the following below this CDDL HEADER, with the
454N/A# fields enclosed by brackets "[]" replaced with your own identifying
454N/A# information: Portions Copyright [yyyy] [name of copyright owner]
454N/A#
454N/A# CDDL HEADER END
454N/A#
454N/A#
2666N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
454N/A# Use is subject to license terms.
454N/A#
454N/A
454N/A#
454N/A# cmd/oplhpd/Makefile
1258N/A#
1258N/A
2666N/APROG = oplhpd
586N/APLATFORM = SUNW,SPARC-Enterprise
454N/AMANIFEST = oplhpd.xml
454N/ASVCMETHOD = svc-oplhpd
454N/A
2666N/Ainclude ../Makefile.cmd
454N/Ainclude ../Makefile.cmd.64
454N/Ainclude ../../Makefile.psm
454N/A
454N/ASRCS = oplhpd.c scf_notify.c
2123N/AOBJS = $(SRCS:%.c=%.o)
2123N/ALINTFILES = $(SRCS:%.c=%.ln)
2123N/A
454N/AROOTMANIFESTDIR = $(ROOTSVCPLATFORMSUN4U)
454N/A
1938N/ACPPFLAGS += -I$(SRC)/uts/sun4u/opl
1938N/ALDLIBS64 += -lsysevent -lnvpair -lcfgadm -ldevinfo
454N/A
454N/APSMPROG = $(USR_PSM_LIB64_DIR)/$(PROG)
454N/A
454N/A$(PSMPROG) := FILEMODE = 0755
454N/A
454N/A.KEEP_STATE:
454N/A
454N/Aall: $(PROG)
454N/A
454N/A$(PROG): $(OBJS)
454N/A $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
454N/A $(POST_PROCESS)
454N/A
454N/Ainstall: all $(PSMPROG) $(ROOTMANIFEST) $(ROOTSVCMETHOD)
454N/A
454N/Acheck: $(CHKMANIFEST)
454N/A
454N/Aclean:
454N/A $(RM) $(OBJS)
454N/A
454N/Alint: lint_SRCS
454N/A
$(USR_PLAT_DIR):
-$(INS.dir)
$(USR_PSM_DIR): $(USR_PLAT_DIR)
-$(INS.dir)
$(USR_PSM_LIB_DIR): $(USR_PSM_DIR)
-$(INS.dir)
$(USR_PSM_LIB64_DIR): $(USR_PSM_LIB_DIR)
-$(INS.dir)
$(USR_PSM_LIB64_DIR)/%: % $(USR_PSM_LIB64_DIR)
$(INS.file)
include ../Makefile.targ