17c478bd9Sstevel@tonic-gate# 27c478bd9Sstevel@tonic-gate# CDDL HEADER START 37c478bd9Sstevel@tonic-gate# 47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the 524da5b34Srie# Common Development and Distribution License (the "License"). 624da5b34Srie# You may not use this file except in compliance with the License. 77c478bd9Sstevel@tonic-gate# 87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions 117c478bd9Sstevel@tonic-gate# and limitations under the License. 127c478bd9Sstevel@tonic-gate# 137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 187c478bd9Sstevel@tonic-gate# 197c478bd9Sstevel@tonic-gate# CDDL HEADER END 207c478bd9Sstevel@tonic-gate# 2124da5b34Srie 2224da5b34Srie# 23*bea83d02Smike_s# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 247c478bd9Sstevel@tonic-gate# Use is subject to license terms. 257c478bd9Sstevel@tonic-gate# 267c478bd9Sstevel@tonic-gate# ident "%Z%%M% %I% %E% SMI" 277c478bd9Sstevel@tonic-gate# 287c478bd9Sstevel@tonic-gate# ucbcmd/Makefile.ucbcmd 297c478bd9Sstevel@tonic-gate# 307c478bd9Sstevel@tonic-gate# Definitions common to ucb command source. 317c478bd9Sstevel@tonic-gate# 327c478bd9Sstevel@tonic-gate# include global definitions; SRC should be defined in the shell. 337c478bd9Sstevel@tonic-gate# SRC is needed until RFE 1026993 is implemented. 347c478bd9Sstevel@tonic-gate 357c478bd9Sstevel@tonic-gateinclude $(SRC)/Makefile.master 367c478bd9Sstevel@tonic-gate 377c478bd9Sstevel@tonic-gateLN= ln 387c478bd9Sstevel@tonic-gateCP= cp 397c478bd9Sstevel@tonic-gateSH= sh 407c478bd9Sstevel@tonic-gateCHMOD= chmod 417c478bd9Sstevel@tonic-gateMKDIR= mkdir 427c478bd9Sstevel@tonic-gateTOUCH= touch 437c478bd9Sstevel@tonic-gate 447c478bd9Sstevel@tonic-gateFILEMODE= 0555 457c478bd9Sstevel@tonic-gateLIBFILEMODE= 0444 467c478bd9Sstevel@tonic-gateROOTBIN= $(ROOT)/usr/ucb 477c478bd9Sstevel@tonic-gateROOTLIB= $(ROOT)/usr/ucblib 487c478bd9Sstevel@tonic-gateROOT4LIB= $(ROOT)/usr/4lib 497c478bd9Sstevel@tonic-gateROOTETC= $(ROOT)/etc 507c478bd9Sstevel@tonic-gateROOTSHLIB= $(ROOT)/usr/share/lib 517c478bd9Sstevel@tonic-gateROOTBIN32= $(ROOTBIN)/$(MACH32) 527c478bd9Sstevel@tonic-gateROOTBIN64= $(ROOTBIN)/$(MACH64) 537c478bd9Sstevel@tonic-gate 547c478bd9Sstevel@tonic-gateROOTPROG= $(PROG:%=$(ROOTBIN)/%) 557c478bd9Sstevel@tonic-gateROOTLIBPROG= $(PROG:%=$(ROOTLIB)/%) 567c478bd9Sstevel@tonic-gateROOT4LIBPROG= $(PROG:%=$(ROOT4LIB)/%) 577c478bd9Sstevel@tonic-gateROOTETCPROG= $(PROG:%=$(ROOTETC)/%) 587c478bd9Sstevel@tonic-gateROOTPROG64= $(PROG:%=$(ROOTBIN64)/%) 597c478bd9Sstevel@tonic-gateROOTPROG32= $(PROG:%=$(ROOTBIN32)/%) 607c478bd9Sstevel@tonic-gate 617c478bd9Sstevel@tonic-gateISAEXEC= $(ROOT)/usr/lib/isaexec 627c478bd9Sstevel@tonic-gate 637c478bd9Sstevel@tonic-gate# storing LDLIBS in two macros allows reordering of options 647c478bd9Sstevel@tonic-gateLDLIBS.cmd = $(ENVLDLIBS1) $(ENVLDLIBS2) $(ENVLDLIBS3) 657c478bd9Sstevel@tonic-gateLDLIBS = $(LDLIBS.cmd) 667c478bd9Sstevel@tonic-gate 677c478bd9Sstevel@tonic-gateLDFLAGS.cmd = \ 688ad60789Srie $(ENVLDFLAGS1) $(ENVLDFLAGS2) $(ENVLDFLAGS3) \ 6924da5b34Srie $(MAPFILE.NES:%=-M%) $(MAPFILE.PGA:%=-M%) $(MAPFILE.NED:%=-M%) 707c478bd9Sstevel@tonic-gate 718ad60789SrieLDFLAGS = $(LDFLAGS.cmd) 727c478bd9Sstevel@tonic-gate 737c478bd9Sstevel@tonic-gate$(ROOTBIN)/%: % 747c478bd9Sstevel@tonic-gate $(INS.file) 757c478bd9Sstevel@tonic-gate 767c478bd9Sstevel@tonic-gate$(ROOTLIB)/%: % 777c478bd9Sstevel@tonic-gate $(INS.file) 787c478bd9Sstevel@tonic-gate 797c478bd9Sstevel@tonic-gate$(ROOT4LIB)/%: % 807c478bd9Sstevel@tonic-gate $(INS.file) 817c478bd9Sstevel@tonic-gate 827c478bd9Sstevel@tonic-gate$(ROOTETC)/%: % 837c478bd9Sstevel@tonic-gate $(INS.file) 847c478bd9Sstevel@tonic-gate 857c478bd9Sstevel@tonic-gate$(ROOTBIN64)/%: % 867c478bd9Sstevel@tonic-gate $(INS.file) 877c478bd9Sstevel@tonic-gate 887c478bd9Sstevel@tonic-gate$(ROOTBIN32)/%: % 897c478bd9Sstevel@tonic-gate $(INS.file) 907c478bd9Sstevel@tonic-gate 917c478bd9Sstevel@tonic-gate# Define the majority text domain in this directory 927c478bd9Sstevel@tonic-gateTEXT_DOMAIN= SUNW_OST_UCBCMD 93