$ su
# make install
(cd lib; make DEBUG="-O" CFGF="-DLINUXV=22010 -DLSOF_VSTR=\"2.2.10\"")
make[1]: Entering directory `/usr/local/src/lsof/lsof_4.48/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/src/lsof/lsof_4.48/lib'
Constructing version.h
cc -DLINUXV=22010 -DLSOF_VSTR=\"2.2.10\" -O -c usage.c -o usage.o
cc -o lsof dfile.o dmnt.o dnode.o dproc.o dsock.o dstore.o arg.o main.o misc.o
node.o print.o proc.o store.o usage.o -L./lib -llsof
Please write your own install rule. Lsof should be installed
setuid to root if you wish any lsof user to be able to examine
all open files. Your install rule actions might look something
like this:
install -m 4xxx -o root -g ${PROG} ${BIN}
install -m 444 ${MAN} ${DOC}
You will have to complete the 4xxx modes, the value,
and the skeletons for the BIN and DOC strings, given at the
beginning of this Makefile, e.g.,
BIN= ${DESTDIR}/usr/local/etc
DOC= ${DESTDIR}/usr/man/man8
GRP= sys
|