2 CFLAGS
= -D_GNU_SOURCE
-O2
-pipe
-Wall
3 #CFLAGS = -D_GNU_SOURCE -O -g -DDEBUG -Wall
4 LDFLAGS
= -Wl
,-warn-common
8 su-wrapper
: su-wrapper.o
9 $(CC
) $(LDFLAGS
) su-wrapper.o
-o su-wrapper
12 install -s
-o root
-g root
-m
4711 su-wrapper
/usr
/sbin
/
15 rm -f su-wrapper su-wrapper.o
18 rm -f
/usr
/sbin
/su-wrapper
19 mv
/etc
/su-wrapper.conf
/etc
/su-wrapper.conf.
---