Makefile revision 25cf1a301a396c38e8adf52c15f537b80d2483f7
550N/A#
550N/A# CDDL HEADER START
550N/A#
550N/A# The contents of this file are subject to the terms of the
1097N/A# Common Development and Distribution License (the "License").
550N/A# You may not use this file except in compliance with the License.
550N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
919N/A# Use is subject to license terms.
919N/A#
550N/A# ident "%Z%%M% %I% %E% SMI"
550N/A#
550N/A# usr/src/cmd/prtdscp/sparc/sun4u/Makefile
550N/A#
550N/A
550N/APROG= prtdscp
970N/AROOTFS_PROG= $(PROG)
970N/APLATFORM= SUNW,SPARC-Enterprise
970N/A
970N/ACLASS= 32
550N/ASRCS= $(PROG:%=%.c)
550N/AOBJS= $(PROG:%=%.o)
550N/A
550N/Ainclude ../../../Makefile.cmd
550N/Ainclude ../../../../Makefile.psm
550N/A
1097N/ALDLIBS += -ldscp -lnsl
1097N/A
1097N/ACFLAGS += $(CCVERBOSE)
1097N/A
550N/ALDFLAGS += -L$(USR_PSM_LIB_DIR)
550N/ALDFLAGS += -R\$$ORIGIN/../lib
550N/A
550N/ALINT_FLAGS= -c -Nlevel=4 -Ncheck $($(CONCURR_MODE)_FLAGS)
550N/A
550N/A.KEEP_STATE:
550N/A
550N/A# Definitions for installation of the program
550N/AFILEMODE= 0755
550N/AOWNER= root
550N/AGROUP= sys
550N/AROOTPSMPROG = $(USR_PSM_SBIN_DIR)/$(PROG)
550N/A
all: $(ROOTFS_PROG)
install: all .WAIT $(ROOTPSMPROG)
clean:
$(RM) $(PROG) $(OBJS)
lint:
$(LINT) $(LINT_FLAGS) $(CPPFLAGS) $(SRCS)
include ../../../Makefile.targ
include ../../../../Makefile.psm.targ