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