1 # 2 # 3 # CDDL HEADER START 4 # 5 # The contents of this file are subject to the terms of the 6 # Common Development and Distribution License (the "License"). 7 # You may not use this file except in compliance with the License. 8 # 9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10 # or http://www.opensolaris.org/os/licensing. 11 # See the License for the specific language governing permissions 12 # and limitations under the License. 13 # 14 # When distributing Covered Code, include this CDDL HEADER in each 15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16 # If applicable, add the following below this CDDL HEADER, with the 17 # fields enclosed by brackets "[]" replaced with your own identifying 18 # information: Portions Copyright [yyyy] [name of copyright owner] 19 # 20 # CDDL HEADER END 21 # 22 # Copyright (c) 2000-2001 by Sun Microsystems, Inc. 23 # All rights reserved. 24 # 25 #ident "@(#)Makefile.cmd 1.5 06/03/18 SMI" 26 # 27 # cmd/Makefile.cmd 28 # 29 # Definitions common to command source. 30 # 31 # include global definitions; SRC should be defined in the shell. 32 # SRC is needed until RFE 1026993 is implemented. 33 34 include $(SRC)/Makefile.master 35 36 FILEMODE= 0555 37 LIBFILEMODE= 0444 38 39 NES_MAPFILE= $(SRC)/cmd/mapfile_noexstk 40 41 LDLIBS = $(LDLIBS.cmd) 42 LDFLAGS = $(LDFLAGS.cmd) $(NES_MAPFILE:%=-M %) 43 44 LINTFLAGS= -axs 45 LINTOUT= lint.out 46 47 $(ROOTMAN1)/%: %.sunman 48 $(INS.rename) 49 50