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