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