125cf1a30Sjl#
225cf1a30Sjl# CDDL HEADER START
325cf1a30Sjl#
425cf1a30Sjl# The contents of this file are subject to the terms of the
525cf1a30Sjl# Common Development and Distribution License (the "License").
625cf1a30Sjl# You may not use this file except in compliance with the License.
725cf1a30Sjl#
825cf1a30Sjl# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
925cf1a30Sjl# or http://www.opensolaris.org/os/licensing.
1025cf1a30Sjl# See the License for the specific language governing permissions
1125cf1a30Sjl# and limitations under the License.
1225cf1a30Sjl#
1325cf1a30Sjl# When distributing Covered Code, include this CDDL HEADER in each
1425cf1a30Sjl# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1525cf1a30Sjl# If applicable, add the following below this CDDL HEADER, with the
1625cf1a30Sjl# fields enclosed by brackets "[]" replaced with your own identifying
1725cf1a30Sjl# information: Portions Copyright [yyyy] [name of copyright owner]
1825cf1a30Sjl#
1925cf1a30Sjl# CDDL HEADER END
2025cf1a30Sjl#
21*24fe0b3bSjmcp# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
2225cf1a30Sjl# Use is subject to license terms.
2325cf1a30Sjl#
2425cf1a30Sjl# usr/src/cmd/prtdscp/sparc/sun4u/Makefile
2525cf1a30Sjl#
2625cf1a30Sjl
2725cf1a30SjlPROG=		prtdscp
2825cf1a30SjlROOTFS_PROG=	$(PROG)
2925cf1a30SjlPLATFORM=	SUNW,SPARC-Enterprise
3025cf1a30Sjl
3125cf1a30SjlCLASS=		32
3225cf1a30SjlSRCS=		$(PROG:%=%.c)
3325cf1a30SjlOBJS=		$(PROG:%=%.o)
3425cf1a30Sjl
3525cf1a30Sjlinclude	../../../Makefile.cmd
3625cf1a30Sjlinclude	../../../../Makefile.psm
3725cf1a30Sjl
3825cf1a30SjlLDLIBS +=	-ldscp -lnsl
3925cf1a30Sjl
4025cf1a30SjlCFLAGS +=	$(CCVERBOSE)
4125cf1a30Sjl
4225cf1a30SjlLDFLAGS	+=	-L$(USR_PSM_LIB_DIR)
4325cf1a30SjlLDFLAGS	+=	-R\$$ORIGIN/../lib
4425cf1a30Sjl
4525cf1a30SjlLINT_FLAGS=	-c -Nlevel=4 -Ncheck $($(CONCURR_MODE)_FLAGS)
4625cf1a30Sjl
4725cf1a30Sjl.KEEP_STATE:
4825cf1a30Sjl
4925cf1a30Sjl# Definitions for installation of the program
5025cf1a30SjlFILEMODE=	0755
5125cf1a30SjlROOTPSMPROG	= $(USR_PSM_SBIN_DIR)/$(PROG)
5225cf1a30Sjl
5325cf1a30Sjlall: $(ROOTFS_PROG)
5425cf1a30Sjl
5525cf1a30Sjlinstall: all .WAIT $(ROOTPSMPROG)
5625cf1a30Sjl
5725cf1a30Sjlclean:
5825cf1a30Sjl	$(RM) $(PROG) $(OBJS)
5925cf1a30Sjl
6025cf1a30Sjllint:
6125cf1a30Sjl	$(LINT) $(LINT_FLAGS) $(CPPFLAGS) $(SRCS)
6225cf1a30Sjl
6325cf1a30Sjlinclude	../../../Makefile.targ
6425cf1a30Sjlinclude	../../../../Makefile.psm.targ
65