Index: b/usr/src/cmd/zdb/Makefile =================================================================== --- a/usr/src/cmd/zdb/Makefile 2014-03-10 12:36:43.164430610 +0400 +++ b/usr/src/cmd/zdb/Makefile 2014-03-10 12:37:38.212871742 +0400 @@ -26,12 +26,11 @@ # ident "%Z%%M% %I% %E% SMI" # -PROG:sh= basename `pwd` +PROG = zdb include ../Makefile.cmd $(INTEL_BLD)SUBDIRS = $(MACH) -$(BUILD64)SUBDIRS += $(MACH64) all := TARGET = all install := TARGET = install @@ -41,11 +40,7 @@ .KEEP_STATE: -all clean clobber lint: $(SUBDIRS) - -install: $(SUBDIRS) - -$(RM) $(ROOTUSRSBINPROG) - -$(LN) $(ISAEXEC) $(ROOTUSRSBINPROG) +all clean clobber lint install: $(SUBDIRS) $(SUBDIRS): FRC @cd $@; pwd; $(MAKE) $(TARGET) Index: b/usr/src/cmd/zdb/Makefile.com =================================================================== --- a/usr/src/cmd/zdb/Makefile.com 2014-03-10 12:36:43.164274996 +0400 +++ b/usr/src/cmd/zdb/Makefile.com 2014-03-10 12:37:38.214370000 +0400 @@ -25,7 +25,7 @@ # Copyright (c) 2012 by Delphix. All rights reserved. # -PROG:sh= cd ..; basename `pwd` +PROG = zdb SRCS= ../$(PROG).c ../zdb_il.c OBJS= $(PROG).o zdb_il.o Index: b/usr/src/cmd/zdb/i386/Makefile =================================================================== --- a/usr/src/cmd/zdb/i386/Makefile 2014-03-10 12:36:43.164494409 +0400 +++ b/usr/src/cmd/zdb/i386/Makefile 2014-03-10 12:37:38.215827549 +0400 @@ -28,4 +28,4 @@ include ../Makefile.com -install: all $(ROOTUSRSBINPROG32) +install: all $(ROOTUSRSBINPROG)