Makefile revision 126512
1# @(#)Makefile 8.2 (Berkeley) 4/22/94 2# $FreeBSD: head/usr.sbin/nologin/Makefile 126117 2004-02-22 10:03:24Z cperciva $ 3 4PROG= nologin 5MAN= nologin.5 nologin.8 6 7# It is important that nologin be statically linked for security 8# reasons. A dynamic non-setuid binary can be linked against a trojan 9# libc by setting LD_LIBRARY_PATH appropriately. Both sshd(8) and 10# login(1) make it possible to log in with an unsanitized environment, 11# rendering a dynamic nologin binary virtually useless. 12NOSHARED= YES 13 14# Logging to syslog increases the size of the statically linked 15# binary by over 100K. Provide an option for disabling this on 16# systems where conserving space on the root device is critical. 17.ifdef NO_NOLOGIN_LOG 18CFLAGS+= -DNO_NOLOGIN_LOG 19.endif 20 21.include <bsd.prog.mk> 22