1*25cf1a30Sjl139090# 2*25cf1a30Sjl139090# CDDL HEADER START 3*25cf1a30Sjl139090# 4*25cf1a30Sjl139090# The contents of this file are subject to the terms of the 5*25cf1a30Sjl139090# Common Development and Distribution License (the "License"). 6*25cf1a30Sjl139090# You may not use this file except in compliance with the License. 7*25cf1a30Sjl139090# 8*25cf1a30Sjl139090# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*25cf1a30Sjl139090# or http://www.opensolaris.org/os/licensing. 10*25cf1a30Sjl139090# See the License for the specific language governing permissions 11*25cf1a30Sjl139090# and limitations under the License. 12*25cf1a30Sjl139090# 13*25cf1a30Sjl139090# When distributing Covered Code, include this CDDL HEADER in each 14*25cf1a30Sjl139090# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*25cf1a30Sjl139090# If applicable, add the following below this CDDL HEADER, with the 16*25cf1a30Sjl139090# fields enclosed by brackets "[]" replaced with your own identifying 17*25cf1a30Sjl139090# information: Portions Copyright [yyyy] [name of copyright owner] 18*25cf1a30Sjl139090# 19*25cf1a30Sjl139090# CDDL HEADER END 20*25cf1a30Sjl139090# 21*25cf1a30Sjl139090# 22*25cf1a30Sjl139090# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 23*25cf1a30Sjl139090# Use is subject to license terms. 24*25cf1a30Sjl139090# 25*25cf1a30Sjl139090# ident "%Z%%M% %I% %E% SMI" 26*25cf1a30Sjl139090# 27*25cf1a30Sjl139090# usr/src/cmd/prtdscp/sparc/sun4u/Makefile 28*25cf1a30Sjl139090# 29*25cf1a30Sjl139090 30*25cf1a30Sjl139090PROG= prtdscp 31*25cf1a30Sjl139090ROOTFS_PROG= $(PROG) 32*25cf1a30Sjl139090PLATFORM= SUNW,SPARC-Enterprise 33*25cf1a30Sjl139090 34*25cf1a30Sjl139090CLASS= 32 35*25cf1a30Sjl139090SRCS= $(PROG:%=%.c) 36*25cf1a30Sjl139090OBJS= $(PROG:%=%.o) 37*25cf1a30Sjl139090 38*25cf1a30Sjl139090include ../../../Makefile.cmd 39*25cf1a30Sjl139090include ../../../../Makefile.psm 40*25cf1a30Sjl139090 41*25cf1a30Sjl139090LDLIBS += -ldscp -lnsl 42*25cf1a30Sjl139090 43*25cf1a30Sjl139090CFLAGS += $(CCVERBOSE) 44*25cf1a30Sjl139090 45*25cf1a30Sjl139090LDFLAGS += -L$(USR_PSM_LIB_DIR) 46*25cf1a30Sjl139090LDFLAGS += -R\$$ORIGIN/../lib 47*25cf1a30Sjl139090 48*25cf1a30Sjl139090LINT_FLAGS= -c -Nlevel=4 -Ncheck $($(CONCURR_MODE)_FLAGS) 49*25cf1a30Sjl139090 50*25cf1a30Sjl139090.KEEP_STATE: 51*25cf1a30Sjl139090 52*25cf1a30Sjl139090# Definitions for installation of the program 53*25cf1a30Sjl139090FILEMODE= 0755 54*25cf1a30Sjl139090OWNER= root 55*25cf1a30Sjl139090GROUP= sys 56*25cf1a30Sjl139090ROOTPSMPROG = $(USR_PSM_SBIN_DIR)/$(PROG) 57*25cf1a30Sjl139090 58*25cf1a30Sjl139090all: $(ROOTFS_PROG) 59*25cf1a30Sjl139090 60*25cf1a30Sjl139090install: all .WAIT $(ROOTPSMPROG) 61*25cf1a30Sjl139090 62*25cf1a30Sjl139090clean: 63*25cf1a30Sjl139090 $(RM) $(PROG) $(OBJS) 64*25cf1a30Sjl139090 65*25cf1a30Sjl139090lint: 66*25cf1a30Sjl139090 $(LINT) $(LINT_FLAGS) $(CPPFLAGS) $(SRCS) 67*25cf1a30Sjl139090 68*25cf1a30Sjl139090include ../../../Makefile.targ 69*25cf1a30Sjl139090include ../../../../Makefile.psm.targ 70