Index: b/usr/src/cmd/ztest/Makefile =================================================================== --- a/usr/src/cmd/ztest/Makefile 2014-03-10 12:36:41.038222129 +0400 +++ b/usr/src/cmd/ztest/Makefile 2014-03-10 12:37:45.418515938 +0400 @@ -25,12 +25,11 @@ # ident "%Z%%M% %I% %E% SMI" # -PROG:sh= basename `pwd` +PROG = ztest include ../Makefile.cmd $(INTEL_BLD)SUBDIRS = $(MACH) -$(BUILD64)SUBDIRS += $(MACH64) all := TARGET = all install := TARGET = install @@ -40,11 +39,7 @@ .KEEP_STATE: -all clean clobber lint: $(SUBDIRS) - -install: $(SUBDIRS) - -$(RM) $(ROOTPROG) - -$(LN) $(ISAEXEC) $(ROOTPROG) +all clean clobber lint install: $(SUBDIRS) $(SUBDIRS): FRC @cd $@; pwd; $(MAKE) $(TARGET) Index: b/usr/src/cmd/ztest/i386/Makefile =================================================================== --- a/usr/src/cmd/ztest/i386/Makefile 2014-03-10 12:36:41.038278038 +0400 +++ b/usr/src/cmd/ztest/i386/Makefile 2014-03-10 12:37:45.420306853 +0400 @@ -28,4 +28,4 @@ include ../Makefile.com -install: all $(ROOTPROG32) +install: all $(ROOTPROG)