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