2005-04-21 16:53:53 +02:00
|
|
|
# Makefile for the process status utility.
|
|
|
|
#
|
|
|
|
u=/usr
|
|
|
|
CC= exec cc
|
|
|
|
CFLAGS= -O -D_MINIX -D_POSIX_SOURCE
|
|
|
|
MAKE= exec make -$(MAKEFLAGS)
|
|
|
|
|
2005-06-20 11:23:55 +02:00
|
|
|
all: ps
|
|
|
|
|
2005-04-21 16:53:53 +02:00
|
|
|
# process status utility
|
|
|
|
ps: ps.c /usr/include/minix/config.h /usr/include/minix/const.h \
|
2005-10-03 13:01:21 +02:00
|
|
|
../../kernel/const.h ../../kernel/type.h \
|
|
|
|
../../kernel/proc.h ../../servers/pm/mproc.h \
|
2006-10-25 15:40:36 +02:00
|
|
|
../../servers/vfs/fproc.h ../../servers/mfs/const.h
|
2005-04-21 16:53:53 +02:00
|
|
|
$(CC) -i $(CFLAGS) -o $@ ps.c
|
|
|
|
install -S 32kw $@
|
|
|
|
install: /usr/bin/ps
|
|
|
|
/usr/bin/ps: ps
|
2006-07-26 13:34:26 +02:00
|
|
|
install -cs -o root -m 4755 $? $@
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# clean up compile results
|
|
|
|
clean:
|
|
|
|
rm -f *.bak ps
|