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