diff options
Diffstat (limited to 'usr/src/ucbcmd')
31 files changed, 25 insertions, 120 deletions
diff --git a/usr/src/ucbcmd/Makefile.ucbcmd b/usr/src/ucbcmd/Makefile.ucbcmd index 5eb4ee73e7..d8d43c44d2 100644 --- a/usr/src/ucbcmd/Makefile.ucbcmd +++ b/usr/src/ucbcmd/Makefile.ucbcmd @@ -68,7 +68,8 @@ LDLIBS = $(LDLIBS.cmd) LDFLAGS.cmd = \ $(ENVLDFLAGS1) $(ENVLDFLAGS2) $(ENVLDFLAGS3) \ - $(MAPFILE.NES:%=-M%) $(MAPFILE.PGA:%=-M%) $(MAPFILE.NED:%=-M%) + $(MAPFILE.NES:%=-M%) $(MAPFILE.PGA:%=-M%) $(MAPFILE.NED:%=-M%) \ + $(BDIRECT) LDFLAGS = $(LDFLAGS.cmd) diff --git a/usr/src/ucbcmd/basename/Makefile b/usr/src/ucbcmd/basename/Makefile index b364c97a47..483e4e3056 100644 --- a/usr/src/ucbcmd/basename/Makefile +++ b/usr/src/ucbcmd/basename/Makefile @@ -19,9 +19,6 @@ # # CDDL HEADER END # -# -#ident "%Z%%M% %I% %E% SMI" -# # Copyright (c) 1989 by Sun Microsystems, Inc. # @@ -33,12 +30,10 @@ FILEMODE= 755 .KEEP_STATE: -all: $(PROG) +all: $(PROG) install: all $(ROOTPROG) clean: -lint: lint_PROG - include ../Makefile.ucbtarg diff --git a/usr/src/ucbcmd/biff/Makefile b/usr/src/ucbcmd/biff/Makefile index 1fdf222478..749259a458 100644 --- a/usr/src/ucbcmd/biff/Makefile +++ b/usr/src/ucbcmd/biff/Makefile @@ -19,9 +19,6 @@ # # CDDL HEADER END # -# -#ident "%Z%%M% %I% %E% SMI" /* SVr4.0 -# PROG= biff @@ -31,12 +28,10 @@ FILEMODE= 755 .KEEP_STATE: -all: $(PROG) +all: $(PROG) install: all $(ROOTPROG) clean: -lint: lint_PROG - include ../Makefile.ucbtarg diff --git a/usr/src/ucbcmd/chown/Makefile b/usr/src/ucbcmd/chown/Makefile index 7c1ba6f850..a27c3e0259 100644 --- a/usr/src/ucbcmd/chown/Makefile +++ b/usr/src/ucbcmd/chown/Makefile @@ -43,6 +43,4 @@ install: all $(ROOTPROG) clean: -lint: lint_PROG - include ../Makefile.ucbtarg diff --git a/usr/src/ucbcmd/df/Makefile b/usr/src/ucbcmd/df/Makefile index 84ca9221c4..ae2b7aa0cc 100644 --- a/usr/src/ucbcmd/df/Makefile +++ b/usr/src/ucbcmd/df/Makefile @@ -19,13 +19,10 @@ # # CDDL HEADER END # -# -#ident "%Z%%M% %I% %E% SMI" -# # Copyright (c) 1989 by Sun Microsystems, Inc. # -PROG= df +PROG= df include ../Makefile.ucbcmd @@ -33,12 +30,10 @@ FILEMODE= 755 .KEEP_STATE: -all: $(PROG) +all: $(PROG) install: all $(ROOTPROG) clean: -lint: - include ../Makefile.ucbtarg diff --git a/usr/src/ucbcmd/du/Makefile b/usr/src/ucbcmd/du/Makefile index c90380447e..39369a00c6 100644 --- a/usr/src/ucbcmd/du/Makefile +++ b/usr/src/ucbcmd/du/Makefile @@ -19,13 +19,10 @@ # # CDDL HEADER END # -# -#ident "%Z%%M% %I% %E% SMI" -# # Copyright (c) 1989 by Sun Microsystems, Inc. # -PROG= du +PROG= du include ../Makefile.ucbcmd @@ -33,12 +30,10 @@ FILEMODE= 755 .KEEP_STATE: -all: $(PROG) +all: $(PROG) install: all $(ROOTPROG) clean: -lint: - include ../Makefile.ucbtarg diff --git a/usr/src/ucbcmd/echo/Makefile b/usr/src/ucbcmd/echo/Makefile index ccfdb759a0..60aced26a3 100644 --- a/usr/src/ucbcmd/echo/Makefile +++ b/usr/src/ucbcmd/echo/Makefile @@ -19,9 +19,6 @@ # # CDDL HEADER END # -# -#ident "%Z%%M% %I% %E% SMI" -# # Copyright (c) 1989 by Sun Microsystems, Inc. # @@ -33,12 +30,10 @@ FILEMODE= 755 .KEEP_STATE: -all: $(PROG) +all: $(PROG) install: all $(ROOTPROG) clean: -lint: lint_PROG - include ../Makefile.ucbtarg diff --git a/usr/src/ucbcmd/expr/Makefile b/usr/src/ucbcmd/expr/Makefile index 83bc7561ed..cf2cc48442 100644 --- a/usr/src/ucbcmd/expr/Makefile +++ b/usr/src/ucbcmd/expr/Makefile @@ -36,12 +36,10 @@ LDFLAGS += $(MAPFILE.NGB:%=-M%) .KEEP_STATE: -all: $(PROG) +all: $(PROG) install: all $(ROOTPROG) clean: -lint: lint_PROG - include ../Makefile.ucbtarg diff --git a/usr/src/ucbcmd/fastboot/Makefile b/usr/src/ucbcmd/fastboot/Makefile index da92928022..9cb0a20835 100644 --- a/usr/src/ucbcmd/fastboot/Makefile +++ b/usr/src/ucbcmd/fastboot/Makefile @@ -19,8 +19,6 @@ # # CDDL HEADER END # -#ident "%Z%%M% %I% %E% SMI" -# # Copyright 2005 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # @@ -37,6 +35,4 @@ install: all $(ROOTBIN) $(ROOTPROG) clean: -lint: - include ../Makefile.ucbtarg diff --git a/usr/src/ucbcmd/fasthalt/Makefile b/usr/src/ucbcmd/fasthalt/Makefile index 1ef17093f1..66025c5674 100644 --- a/usr/src/ucbcmd/fasthalt/Makefile +++ b/usr/src/ucbcmd/fasthalt/Makefile @@ -19,8 +19,6 @@ # # CDDL HEADER END # -#ident "%Z%%M% %I% %E% SMI" -# # Copyright 2005 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # @@ -37,6 +35,4 @@ install: all $(ROOTBIN) $(ROOTPROG) clean: -lint: - include ../Makefile.ucbtarg diff --git a/usr/src/ucbcmd/file/Makefile b/usr/src/ucbcmd/file/Makefile index 582d15ce4f..9e83bf47d6 100644 --- a/usr/src/ucbcmd/file/Makefile +++ b/usr/src/ucbcmd/file/Makefile @@ -19,8 +19,6 @@ # # CDDL HEADER END # -#ident "%Z%%M% %I% %E% SMI" -# # Copyright 2005 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # @@ -37,6 +35,4 @@ install: all $(ROOTBIN) $(ROOTPROG) clean: -lint: - include ../Makefile.ucbtarg diff --git a/usr/src/ucbcmd/from/Makefile b/usr/src/ucbcmd/from/Makefile index 4471e6379b..45595273d3 100644 --- a/usr/src/ucbcmd/from/Makefile +++ b/usr/src/ucbcmd/from/Makefile @@ -33,12 +33,10 @@ CERRWARN += -_gcc=-Wno-parentheses .KEEP_STATE: -all: $(PROG) +all: $(PROG) install: all $(ROOTPROG) clean: -lint: lint_PROG - include ../Makefile.ucbtarg diff --git a/usr/src/ucbcmd/groups/Makefile b/usr/src/ucbcmd/groups/Makefile index c0759fe2dd..1db116ac01 100644 --- a/usr/src/ucbcmd/groups/Makefile +++ b/usr/src/ucbcmd/groups/Makefile @@ -34,12 +34,10 @@ CERRWARN += -_gcc=-Wno-parentheses .KEEP_STATE: -all: $(PROG) +all: $(PROG) install: all $(ROOTPROG) clean: -lint: lint_PROG - include ../Makefile.ucbtarg diff --git a/usr/src/ucbcmd/install.d/Makefile b/usr/src/ucbcmd/install.d/Makefile index fef3ba8707..cd69c3230d 100644 --- a/usr/src/ucbcmd/install.d/Makefile +++ b/usr/src/ucbcmd/install.d/Makefile @@ -45,7 +45,7 @@ POFILE= install.po .KEEP_STATE: -all: $(PROG) +all: $(PROG) $(PROG): $(PROGSRC) $(LINK.c) $(PROGSRC) -o $@ $(LDLIBS) @@ -57,6 +57,4 @@ install: all $(ROOTPROG) clean: -lint: lint_PROG - include ../Makefile.ucbtarg diff --git a/usr/src/ucbcmd/ln/Makefile b/usr/src/ucbcmd/ln/Makefile index 3eed7f4896..8fdea53749 100644 --- a/usr/src/ucbcmd/ln/Makefile +++ b/usr/src/ucbcmd/ln/Makefile @@ -35,12 +35,10 @@ CERRWARN += -_gcc=-Wno-unused-label .KEEP_STATE: -all: $(PROG) +all: $(PROG) install: all $(ROOTPROG) clean: -lint: lint_PROG - include ../Makefile.ucbtarg diff --git a/usr/src/ucbcmd/ls/Makefile b/usr/src/ucbcmd/ls/Makefile index d14cba8845..c2deebfe5f 100644 --- a/usr/src/ucbcmd/ls/Makefile +++ b/usr/src/ucbcmd/ls/Makefile @@ -38,12 +38,10 @@ FILEMODE= 755 .KEEP_STATE: -all: $(PROG) +all: $(PROG) install: all $(ROOTPROG) clean: -lint: lint_PROG - include ../Makefile.ucbtarg diff --git a/usr/src/ucbcmd/mkstr/Makefile b/usr/src/ucbcmd/mkstr/Makefile index d4a73d44f2..0689c0d1e6 100644 --- a/usr/src/ucbcmd/mkstr/Makefile +++ b/usr/src/ucbcmd/mkstr/Makefile @@ -41,6 +41,4 @@ install: all $(ROOTPROG) clean: -lint: lint_PROG - include ../Makefile.ucbtarg diff --git a/usr/src/ucbcmd/printenv/Makefile b/usr/src/ucbcmd/printenv/Makefile index 4fa3e209de..15053d4a82 100644 --- a/usr/src/ucbcmd/printenv/Makefile +++ b/usr/src/ucbcmd/printenv/Makefile @@ -19,9 +19,6 @@ # # CDDL HEADER END # -# -#ident "%Z%%M% %I% %E% SMI" -# # Copyright (c) 1989 by Sun Microsystems, Inc. # @@ -33,12 +30,10 @@ FILEMODE= 755 .KEEP_STATE: -all: $(PROG) +all: $(PROG) install: all $(ROOTPROG) clean: -lint: lint_PROG - include ../Makefile.ucbtarg diff --git a/usr/src/ucbcmd/rusage/Makefile b/usr/src/ucbcmd/rusage/Makefile index 23b44d6b90..82305f8e2b 100644 --- a/usr/src/ucbcmd/rusage/Makefile +++ b/usr/src/ucbcmd/rusage/Makefile @@ -52,7 +52,5 @@ install: all $(ROOTPROG) clean: -lint: lint_PROG - include ../Makefile.ucbtarg diff --git a/usr/src/ucbcmd/sed/Makefile b/usr/src/ucbcmd/sed/Makefile index 1a801f689c..9c3f25db01 100644 --- a/usr/src/ucbcmd/sed/Makefile +++ b/usr/src/ucbcmd/sed/Makefile @@ -46,9 +46,7 @@ $(PROG): $(OBJS) install: all $(ROOTPROG) -clean: +clean: $(RM) $(OBJS) -lint: lint_SRCS - include ../Makefile.ucbtarg diff --git a/usr/src/ucbcmd/shutdown/Makefile b/usr/src/ucbcmd/shutdown/Makefile index b170ea6df8..56a070b65e 100644 --- a/usr/src/ucbcmd/shutdown/Makefile +++ b/usr/src/ucbcmd/shutdown/Makefile @@ -45,7 +45,7 @@ XGETFLAGS += -a -x shutdown.xcl .KEEP_STATE: -all: $(PROG) +all: $(PROG) $(PROG): $(PROGOBJS) $(LINK.c) $(PROGOBJS) -o $@ $(LDLIBS) @@ -56,6 +56,4 @@ install: all $(ROOTPROG) clean: $(RM) $(PROGOBJS) -lint: lint_PROG - include ../Makefile.ucbtarg diff --git a/usr/src/ucbcmd/stty/Makefile b/usr/src/ucbcmd/stty/Makefile index 2e4da9e793..cc66a9f5ae 100644 --- a/usr/src/ucbcmd/stty/Makefile +++ b/usr/src/ucbcmd/stty/Makefile @@ -36,7 +36,7 @@ CERRWARN += -_gcc=-Wno-parentheses .KEEP_STATE: -all: $(PROG) +all: $(PROG) $(PROG): $(OBJS) $(LINK.c) $(OBJS) -o $@ $(LDLIBS) @@ -47,6 +47,4 @@ install: all $(ROOTPROG) clean: -$(RM) $(OBJS) -lint: lint_PROG - include ../Makefile.ucbtarg diff --git a/usr/src/ucbcmd/sum/Makefile b/usr/src/ucbcmd/sum/Makefile index 4d9b9a556e..85001fc61e 100644 --- a/usr/src/ucbcmd/sum/Makefile +++ b/usr/src/ucbcmd/sum/Makefile @@ -19,9 +19,6 @@ # # CDDL HEADER END # -# -#ident "%Z%%M% %I% %E% SMI" -# # Copyright (c) 1989,1996 by Sun Microsystems, Inc. # All rights reserved. # @@ -35,12 +32,10 @@ CPPFLAGS += -D_FILE_OFFSET_BITS=64 .KEEP_STATE: -all: $(PROG) +all: $(PROG) install: all $(ROOTPROG) clean: -lint: lint_PROG - include ../Makefile.ucbtarg diff --git a/usr/src/ucbcmd/test/Makefile b/usr/src/ucbcmd/test/Makefile index 1d07eb4854..61239d2a68 100644 --- a/usr/src/ucbcmd/test/Makefile +++ b/usr/src/ucbcmd/test/Makefile @@ -36,12 +36,10 @@ CERRWARN += -_gcc=-Wno-parentheses .KEEP_STATE: -all: $(PROG) +all: $(PROG) install: all $(ROOTPROG) clean: -lint: lint_PROG - include ../Makefile.ucbtarg diff --git a/usr/src/ucbcmd/touch/Makefile b/usr/src/ucbcmd/touch/Makefile index 798988d2e4..bf8266257c 100644 --- a/usr/src/ucbcmd/touch/Makefile +++ b/usr/src/ucbcmd/touch/Makefile @@ -35,12 +35,10 @@ CERRWARN += -_gcc=-Wno-implicit-function-declaration .KEEP_STATE: -all: $(PROG) +all: $(PROG) install: all $(ROOTPROG) clean: -lint: lint_PROG - include ../Makefile.ucbtarg diff --git a/usr/src/ucbcmd/tr/Makefile b/usr/src/ucbcmd/tr/Makefile index b7465117bb..2e6e97f6f4 100644 --- a/usr/src/ucbcmd/tr/Makefile +++ b/usr/src/ucbcmd/tr/Makefile @@ -34,12 +34,10 @@ CERRWARN += -_gcc=-Wno-parentheses .KEEP_STATE: -all: $(PROG) +all: $(PROG) install: all $(ROOTPROG) clean: -lint: lint_PROG - include ../Makefile.ucbtarg diff --git a/usr/src/ucbcmd/tset/Makefile b/usr/src/ucbcmd/tset/Makefile index 50dc7c0409..7c6dbe5e90 100644 --- a/usr/src/ucbcmd/tset/Makefile +++ b/usr/src/ucbcmd/tset/Makefile @@ -59,6 +59,4 @@ $(ROOTSYMLINK): clean: -lint: lint_PROG - include ../Makefile.ucbtarg diff --git a/usr/src/ucbcmd/users/Makefile b/usr/src/ucbcmd/users/Makefile index e1c9c18914..7933ae5fa7 100644 --- a/usr/src/ucbcmd/users/Makefile +++ b/usr/src/ucbcmd/users/Makefile @@ -19,9 +19,6 @@ # # CDDL HEADER END # -# -#ident "%Z%%M% %I% %E% SMI" -# # Copyright (c) 1989 by Sun Microsystems, Inc. # @@ -33,12 +30,10 @@ FILEMODE= 755 .KEEP_STATE: -all: $(PROG) +all: $(PROG) install: all $(ROOTPROG) clean: -lint: lint_PROG - include ../Makefile.ucbtarg diff --git a/usr/src/ucbcmd/vipw/Makefile b/usr/src/ucbcmd/vipw/Makefile index 2df968d9b7..7ace49a99e 100644 --- a/usr/src/ucbcmd/vipw/Makefile +++ b/usr/src/ucbcmd/vipw/Makefile @@ -51,6 +51,4 @@ install: all $(ROOTPROG) clean: -lint: lint_PROG - include ../Makefile.ucbtarg diff --git a/usr/src/ucbcmd/whereis/Makefile b/usr/src/ucbcmd/whereis/Makefile index decddebb18..444e4571a3 100644 --- a/usr/src/ucbcmd/whereis/Makefile +++ b/usr/src/ucbcmd/whereis/Makefile @@ -39,6 +39,4 @@ install: all $(ROOTPROG) clean: -lint: lint_PROG - include ../Makefile.ucbtarg diff --git a/usr/src/ucbcmd/whoami/Makefile b/usr/src/ucbcmd/whoami/Makefile index 02cb1a6811..86fb30ebfc 100644 --- a/usr/src/ucbcmd/whoami/Makefile +++ b/usr/src/ucbcmd/whoami/Makefile @@ -19,9 +19,6 @@ # # CDDL HEADER END # -# -#ident "%Z%%M% %I% %E% SMI" -# # Copyright 2004 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # @@ -30,21 +27,16 @@ PROG= whoami include ../Makefile.ucbcmd -CFLAGS += $(CCVERBOSE) - XGETFLAGS += -a -x rmdir.xcl - FILEMODE= 755 .KEEP_STATE: -all: $(PROG) +all: $(PROG) install: all $(ROOTPROG) clean: -lint: lint_PROG - include ../Makefile.ucbtarg |