mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-08-03 06:38:24 +00:00
initial tree
This commit is contained in:
parent
0cde2ae787
commit
209937078b
15 changed files with 737 additions and 0 deletions
16
tools/munin-plugins-busybox/Makefile
Normal file
16
tools/munin-plugins-busybox/Makefile
Normal file
|
@ -0,0 +1,16 @@
|
|||
CC=gcc
|
||||
CFLAGS=-W -Wall -pedantic -Wextra -g -O2
|
||||
OBJS=main.o common.o cpu.o entropy.o forks.o fw_packets.o interrupts.o load.o \
|
||||
open_files.o open_inodes.o processes.o swap.o uptime.o
|
||||
LINKS=cpu entropy forks fw_packets interrupts load open_files open_inodes \
|
||||
processes swap uptime
|
||||
|
||||
%.o:%.c
|
||||
${CC} ${CFLAGS} -c $< -o $@
|
||||
all:main
|
||||
for l in ${LINKS}; do test -f $$l || ln -s main $$l; done
|
||||
main:${OBJS}
|
||||
${CC} ${CFLAGS} $^ -o $@
|
||||
clean:
|
||||
rm -f main ${OBJS} ${LINKS}
|
||||
.PHONY:all clean
|
Loading…
Add table
Add a link
Reference in a new issue