# $FreeBSD: src/kerberos5/lib/libvers/Makefile,v 1.3.2.1 2001/03/04 13:49:57 markm Exp $

LIB=		vers

CFLAGS+=	-I${KRB5DIR}/include \
		-I${ROKENOBJDIR} \
		-I${KRB5DIR}/lib/roken \
		-I${.OBJDIR}

SRCS=		\
		print_version.c	\
		print_version.h

install:

__initialized__:

.include "../../Makefile.inc"

.include <bsd.lib.mk>

beforedepend all:	print_version.h

.PATH:		${KRB5DIR}/lib/vers

build-tools:	make-print-version

print_version.h: make-print-version
	./make-print-version print_version.h

make-print-version: make-print-version.c
	${CC} ${CFLAGS} -static -o ${.TARGET} ${.OODATE}

CLEANFILES+=	make-print-version print_version.h
