| Line |  | 
|---|
| 1 | # Makefile for the process status utility. | 
|---|
| 2 | # | 
|---|
| 3 | u=/usr | 
|---|
| 4 | CC=     exec cc | 
|---|
| 5 | CFLAGS= -O -D_MINIX -D_POSIX_SOURCE | 
|---|
| 6 | MAKE=   exec make -$(MAKEFLAGS) | 
|---|
| 7 |  | 
|---|
| 8 | all: ps | 
|---|
| 9 |  | 
|---|
| 10 | # process status utility | 
|---|
| 11 | ps:     ps.c /usr/include/minix/config.h /usr/include/minix/const.h \ | 
|---|
| 12 | ../../kernel/const.h ../../kernel/type.h \ | 
|---|
| 13 | ../../kernel/proc.h ../../servers/pm/mproc.h \ | 
|---|
| 14 | ../../servers/fs/fproc.h ../../servers/fs/const.h | 
|---|
| 15 | $(CC) -i $(CFLAGS) -o $@ ps.c | 
|---|
| 16 | install -S 32kw $@ | 
|---|
| 17 | install:        /usr/bin/ps | 
|---|
| 18 | /usr/bin/ps:    ps | 
|---|
| 19 | install -cs -o bin -g kmem -m 2755 $? $@ | 
|---|
| 20 |  | 
|---|
| 21 |  | 
|---|
| 22 |  | 
|---|
| 23 | # clean up compile results | 
|---|
| 24 | clean: | 
|---|
| 25 | rm -f *.bak ps | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.