1SHLIBDIR?=/lib 2 3.include <src.opts.mk> 4 5LIB= ulog 6SHLIB_MAJOR= 0 7INCS= ulog.h utempter.h 8SRCS= ulog.h ulog_login.c ulog_login_pseudo.c utempter.c 9 10MAN= ulog_login.3 utempter_add_record.3 11MLINKS+=ulog_login.3 ulog_login_pseudo.3 \ 12 ulog_login.3 ulog_logout.3 \ 13 ulog_login.3 ulog_logout_pseudo.3 \ 14 utempter_add_record.3 utempter_remove_added_record.3 \ 15 utempter_add_record.3 utempter_remove_record.3 \ 16 utempter_add_record.3 addToUtmp.3 \ 17 utempter_remove_added_record.3 removeFromUtmp.3 \ 18 utempter_remove_record.3 removeLineFromUtmp.3 19 20LIBADD= md 21 22VERSION_DEF= ${SRCTOP}/lib/libc/Versions.def 23SYMBOL_MAPS= ${.CURDIR}/Symbol.map 24 25.if ${MK_INSTALLLIB} != "no" 26SYMLINKS+=libulog.a ${LIBDIR}/libutempter.a 27.endif 28.if !defined(NO_PIC) 29SYMLINKS+=libulog.so ${LIBDIR}/libutempter.so 30.endif 31 32.include <bsd.lib.mk> 33