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