c0e7198471
little library is actually exportable (we think) even though it's pretty useless iwithout the (non-exportable) clients.
24 lines
714 B
Makefile
24 lines
714 B
Makefile
# $Id$
|
|
|
|
LIB= kadm
|
|
|
|
SRCS= kadm_err.c kadm_stream.c kadm_supp.c kadm_cli_wrap.c
|
|
CFLAGS+= -I. -I${.CURDIR} -I${.CURDIR}/../include -I${KRBOBJDIR} -DPOSIX
|
|
CLEANFILES+= kadm_err.c kadm_err.h
|
|
|
|
kadm_err.c kadm_err.h: kadm_err.et
|
|
test -e kadm_err.et || ln -s ${.CURDIR}/kadm_err.et .
|
|
compile_et kadm_err.et
|
|
|
|
beforeinstall:
|
|
-cd ${.CURDIR}; cmp -s kadm.h \
|
|
${DESTDIR}/usr/include/kerberosIV/kadm.h || \
|
|
install -c -o ${BINOWN} -g ${BINGRP} -m 444 kadm.h \
|
|
${DESTDIR}/usr/include/kerberosIV
|
|
-cd ${.OBJDIR}; cmp -s kadm_err.h \
|
|
${DESTDIR}/usr/include/kerberosIV/kadm_err.h || \
|
|
install -c -o ${BINOWN} -g ${BINGRP} -m 444 kadm_err.h \
|
|
${DESTDIR}/usr/include/kerberosIV
|
|
|
|
.include <bsd.lib.mk>
|