NetBSD/lib/libcom_err/Makefile

42 lines
788 B
Makefile

# $NetBSD: Makefile,v 1.7 2001/10/06 21:49:32 perry Exp $
.include <bsd.own.mk>
DIST= ${.CURDIR}/../../crypto/dist
.PATH: ${DIST}/heimdal/lib/com_err
WARNS?= 1
MKLINT= no
LIB= com_err
SRCS= error.c com_err.c roken_rename.h
INCS= com_err.h com_right.h
.if !defined(USETOOLS) || (${USETOOLS} == "no")
.PHONY: compile_et
includes: compile_et
compile_et:
@cd ${.CURDIR}/compile_et && ${MAKE}
.endif
INCSDIR=/usr/include/krb5
CPPFLAGS+= -I. \
-I${.CURDIR}/../../include/heimdal \
-I${.CURDIR}/../libroken \
-I${DIST}/heimdal/lib/com_err \
-I${DIST}/heimdal/lib/roken \
-DHAVE_CONFIG_H
.if !defined(USETOOLS) || (${USETOOLS} == "no")
SUBDIR= compile_et
.endif
.include <bsd.lib.mk>
.if !defined(USETOOLS) || (${USETOOLS} == "no")
.include <bsd.subdir.mk>
.endif