Home | History | Annotate | Line # | Download | only in libkdc
Makefile revision 1.2
      1 # $NetBSD: Makefile,v 1.2 2013/09/11 23:04:09 joerg Exp $
      2 
      3 .include <bsd.own.mk>
      4 .include <${.CURDIR}/../../Makefile.inc>
      5 
      6 USE_FORT?= yes	# network protocol library
      7 NOLINT=
      8 
      9 .PATH:		${HEIMDIST}/kdc ${HEIMBASE}/include
     10 
     11 LIB=		kdc
     12 
     13 LIBDPLIBS+=	krb5		${.CURDIR}/../libkrb5		\
     14 		crypto		${SSLBASE}/lib/libcrypto	\
     15 		hdb		${.CURDIR}/../libhdb		\
     16 		hx509		${.CURDIR}/../libhx509		\
     17 		asn1		${.CURDIR}/../libasn1		\
     18 		heimntlm	${.CURDIR}/../libheimntlm	\
     19 		roken		${.CURDIR}/../libroken
     20 
     21 SRCS =	default_config.c	\
     22         set_dbinfo.c		\
     23         digest.c		\
     24         kerberos5.c		\
     25         krb5tgs.c		\
     26         pkinit.c		\
     27         log.c			\
     28         misc.c			\
     29         kx509.c			\
     30         process.c		\
     31         windc.c
     32 
     33 INCSDIR=/usr/include/krb5
     34 INCS= kdc-protos.h kdc.h
     35 
     36 CPPFLAGS+= -I${HEIMDIST}/lib/krb5
     37 
     38 # Prevent collision with old MIT Kerberos includes -- require manual
     39 # intervention of the operator.
     40 .BEGIN:
     41 .ifmake includes
     42 	@if [ -f ${DESTDIR}${INCSDIR}/kadm_err.h ]; then \
     43 		echo "Error: you must first remove the MIT headers from ${DESTDIR}${INCSDIR}" >&2; \
     44 		false; \
     45 	fi
     46 .endif
     47 
     48 .include <${HEIMBASE}/Makefile.rules.inc>
     49 .include <bsd.lib.mk>
     50