2 |
|
|
3 |
|
DEFS = |
4 |
|
|
5 |
< |
CFLAGS = -g |
5 |
> |
LIBUKCPROG = ../libukcprog |
6 |
|
|
7 |
+ |
CFLAGS = -g -I${LIBUKCPROG} |
8 |
+ |
|
9 |
|
CCFLAGS = ${CFLAGS} ${ARCH_CFLAGS} ${MORE_CFLAGS} |
10 |
|
|
11 |
|
CCLINE = ${CC} ${DEFS} ${CCFLAGS} -c |
12 |
|
|
13 |
|
MAKE_LIBRARY = ar cq |
14 |
|
|
15 |
< |
OBJS = load_stat.o disk_stat.o os_info.o user_stats.o |
15 |
> |
OBJS = load_stat.o disk_stat.o os_info.o user_stats.o cpu_stats.o \ |
16 |
> |
process_stats.o swap_stats.o memory_stats.o page_stats.o |
17 |
|
|
18 |
|
HDRS = statgrab.h |
19 |
|
|
52 |
|
${CCLINE} os_info.c |
53 |
|
user_stats.o: user_stats.c ${HDRS} |
54 |
|
${CCLINE} user_stats.c |
55 |
+ |
cpu_stats.o: cpu_stats.c ${HDRS} |
56 |
+ |
${CCLINE} cpu_stats.c |
57 |
+ |
process_stats.o: process_stats.c ${HDRS} |
58 |
+ |
${CCLINE} process_stats.c |
59 |
+ |
swap_stats.o: swap_stats.c ${HDRS} |
60 |
+ |
${CCLINE} swap_stats.c |
61 |
+ |
memory_stats.o: memory_stats.c ${HDRS} |
62 |
+ |
${CCLINE} memory_stats.c |
63 |
+ |
page_stats.o: page_stats.c ${HDRS} |
64 |
+ |
${CCLINE} page_stats.c |