2008-03-22 11:36:48 +03:00
|
|
|
# $NetBSD: Makefile,v 1.14 2008/03/22 08:37:26 mlelstv Exp $
|
2001-12-12 03:51:00 +03:00
|
|
|
|
|
|
|
NOLINT= # defined
|
2001-09-25 05:42:25 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2002-08-19 13:41:27 +04:00
|
|
|
DIST= ${NETBSDSRCDIR}/crypto/dist
|
2001-12-12 03:51:00 +03:00
|
|
|
.PATH: ${DIST}/heimdal/lib/com_err
|
2000-06-16 23:27:31 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
LIB= com_err
|
|
|
|
SRCS= error.c com_err.c roken_rename.h
|
2000-06-16 23:27:31 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
INCS= com_err.h com_right.h
|
2000-06-16 23:27:31 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
MAN= com_err.3
|
|
|
|
MLINKS= com_err.3 com_err_va.3 \
|
|
|
|
com_err.3 error_message.3 \
|
|
|
|
com_err.3 error_table_name.3 \
|
|
|
|
com_err.3 init_error_table.3 \
|
|
|
|
com_err.3 set_com_err_hook.3 \
|
2008-03-22 11:36:48 +03:00
|
|
|
com_err.3 reset_com_err_hook.3
|
2001-11-21 08:40:30 +03:00
|
|
|
|
2001-10-31 19:15:00 +03:00
|
|
|
.if ${USETOOLS} != "yes"
|
2001-12-12 03:51:00 +03:00
|
|
|
.PHONY: compile_et
|
|
|
|
includes: compile_et
|
|
|
|
SUBDIR= compile_et
|
2000-06-16 23:27:31 +04:00
|
|
|
|
|
|
|
compile_et:
|
2000-11-13 18:05:30 +03:00
|
|
|
@cd ${.CURDIR}/compile_et && ${MAKE}
|
2001-09-22 02:58:59 +04:00
|
|
|
.endif
|
2000-06-16 23:27:31 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
INCSDIR= /usr/include/krb5
|
2000-06-16 23:27:31 +04:00
|
|
|
|
|
|
|
CPPFLAGS+= -I. \
|
2002-08-19 13:41:27 +04:00
|
|
|
-I${NETBSDSRCDIR}/include/heimdal \
|
|
|
|
-I${NETBSDSRCDIR}/lib/libroken \
|
2000-06-16 23:27:31 +04:00
|
|
|
-I${DIST}/heimdal/lib/com_err \
|
|
|
|
-I${DIST}/heimdal/lib/roken \
|
|
|
|
-DHAVE_CONFIG_H
|
|
|
|
|
2005-01-10 06:11:17 +03:00
|
|
|
.if (${USE_INET6} != "no")
|
|
|
|
CPPFLAGS+=-DHAVE_IPV6
|
|
|
|
.endif
|
|
|
|
|
2000-06-16 23:27:31 +04:00
|
|
|
.include <bsd.lib.mk>
|
2001-10-31 19:15:00 +03:00
|
|
|
.if ${USETOOLS} != "yes"
|
2000-06-16 23:27:31 +04:00
|
|
|
.include <bsd.subdir.mk>
|
2001-09-22 02:58:59 +04:00
|
|
|
.endif
|