phunix/external/bsd/top/dist/config.amd64.make
David van Moolenbroek b89261ba01 Rename top(1) to mtop(1), import NetBSD top(1)
Due to differences in (mainly) measuring and accumulating CPU times,
the two top programs end up serving different purposes: the NetBSD
top is a system administration tool, while the MINIX3 top (now mtop)
is a performance debugging tool.  Therefore, we keep both.

The newly imported BSD top has a few MINIX3-specific changes.  CPU
statistics separate system time from kernel time, rather than kernel
time from time spent on handling interrupts.  Memory statistics show
numbers that are currently relevant for MINIX3.  Swap statistics are
disabled entirely.  All of these changes effectively bring it closer
to how mtop already worked as well.

Change-Id: I9611917cb03e164ddf012c5def6da0e7fede826d
2016-01-13 20:32:53 +01:00

11 lines
331 B
Makefile

# Special rules for making 32-bit and 64-bit binaries on a sunos5 x86 box
all: i386/top amd64/top
-cp -f /usr/lib/isaexec top
i386/top: $(SRC) $(INC)
cd i386; $(MAKE) -f ../Makefile VPATH=.. srcdir=.. \
BINARY=./top ARCHFLAG= top
amd64/top: $(SRC) $(INC)
cd amd64; $(MAKE) -f ../Makefile VPATH=.. srcdir=.. BINARY=./top top