|
|
1.1 root 1: CC=cc
2: CFLAGS= -DDMMIN=32
3:
4: SRC=ps.h ps.c doselect.c printp.c fdprint.c \
5: getargs.c gettty.c getuname.c getfs.c sort.c nalloc.c
6:
7: OBJ=ps.o doselect.o printp.o fdprint.o \
8: getargs.o gettty.o getuname.o getfs.o sort.o nalloc.o
9:
10: ps: & $(OBJ)
11: rm -f $@
12: $(CC) $(CFLAGS) -o $@ $(OBJ)
13: chmod a=rx,u+ws $@
14:
15: $(OBJ): ps.h
16:
17: install: ps
18: cp ps /bin
19: strip /bin/ps
20: /etc/chown root /bin/ps
21: chmod a=rx,u+ws /bin/ps
22:
23: clean:
24: rm -f *.o ps nohup.out core jim.recover
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.