Print this page
16446 dtrace consumers should not be isaexec'd
Change-Id: Ibf80c7283c421cba98e80dce272c6dd51d24bb87
*** 21,54 ****
#
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
- #ident "%Z%%M% %I% %E% SMI"
PROG = plockstat
include ../Makefile.cmd
! $(64ONLY)SUBDIRS = $(MACH)
! $(BUILD64)SUBDIRS += $(MACH64)
! all := TARGET = all
! install := TARGET = install
! clean := TARGET = clean
! clobber := TARGET = clobber
! lint := TARGET = lint
.KEEP_STATE:
! all: $(SUBDIRS)
! clean clobber lint: $(SUBDIRS)
! install: $(SUBDIRS)
! -$(RM) $(ROOTUSRSBINPROG)
! -$(LN) $(ISAEXEC) $(ROOTUSRSBINPROG)
! $(SUBDIRS): FRC
! @cd $@; pwd; $(MAKE) $(TARGET)
! FRC:
--- 21,55 ----
#
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
PROG = plockstat
+ OBJS = plockstat.o
include ../Makefile.cmd
+ include ../Makefile.cmd.64
! LDLIBS += -ldtrace -lproc
! CLEANFILES += $(OBJS)
+ ROOTLINK = $(PROG:%=$(ROOTUSRSBIN64)/%)
+
.KEEP_STATE:
! all: $(PROG)
! install: all $(ROOTUSRSBINPROG) $(ROOTLINK)
! $(ROOTLINK):
! $(RM) $@; $(SYMLINK) ../../sbin/$(@F) $@
! $(PROG): $(OBJS)
! $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
! $(POST_PROCESS) ; $(STRIP_STABS)
! clean:
! -$(RM) $(CLEANFILES)
!
! include ../Makefile.targ