Home | History | Annotate | Line # | Download | only in libkdc
Makefile revision 1.1
      1 # $NetBSD: Makefile,v 1.1 2011/04/13 19:16:53 elric 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 		hdb		${.CURDIR}/../libhdb		\
     15 		heimntlm	${.CURDIR}/../libheimntlm	\
     16 		roken		${.CURDIR}/../libroken
     17 
     18 SRCS =	default_config.c	\
     19         set_dbinfo.c		\
     20         digest.c		\
     21         kerberos5.c		\
     22         krb5tgs.c		\
     23         pkinit.c		\
     24         log.c			\
     25         misc.c			\
     26         kx509.c			\
     27         process.c		\
     28         windc.c
     29 
     30 INCSDIR=/usr/include/krb5
     31 INCS= kdc-protos.h kdc.h
     32 
     33 CPPFLAGS+= -I${HEIMDIST}/lib/krb5
     34 
     35 # Prevent collision with old MIT Kerberos includes -- require manual
     36 # intervention of the operator.
     37 .BEGIN:
     38 .ifmake includes
     39 	@if [ -f ${DESTDIR}${INCSDIR}/kadm_err.h ]; then \
     40 		echo "Error: you must first remove the MIT headers from ${DESTDIR}${INCSDIR}" >&2; \
     41 		false; \
     42 	fi
     43 .endif
     44 
     45 .include <${HEIMBASE}/Makefile.rules.inc>
     46 .include <bsd.lib.mk>
     47