2005-01-10 06:11:17 +03:00
|
|
|
# $NetBSD: Makefile,v 1.13 2005/01/10 03:11:17 lukem Exp $
|
2001-12-12 03:51:00 +03:00
|
|
|
|
2002-08-19 13:41:27 +04:00
|
|
|
NOLINT= # defined
|
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
DIST= ${NETBSDSRCDIR}/crypto/dist
|
|
|
|
.PATH: ${DIST}/heimdal/lib/roken ${NETBSDSRCDIR}/include/heimdal
|
2000-06-16 23:27:31 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
WARNS?= 1
|
2000-06-16 23:27:31 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
LIB= roken
|
2000-06-16 23:27:31 +04:00
|
|
|
|
2000-08-03 07:53:35 +04:00
|
|
|
SRCS= \
|
|
|
|
base64.c \
|
|
|
|
concat.c \
|
2001-09-17 16:34:40 +04:00
|
|
|
ecalloc.c \
|
2000-08-03 07:53:35 +04:00
|
|
|
emalloc.c \
|
|
|
|
environment.c \
|
|
|
|
eread.c \
|
|
|
|
erealloc.c \
|
2001-02-11 21:02:04 +03:00
|
|
|
esetenv.c \
|
2000-08-03 07:53:35 +04:00
|
|
|
estrdup.c \
|
|
|
|
ewrite.c \
|
|
|
|
get_default_username.c \
|
|
|
|
get_window_size.c \
|
|
|
|
getaddrinfo_hostspec.c \
|
|
|
|
getarg.c \
|
|
|
|
getnameinfo_verified.c \
|
2001-09-17 16:34:40 +04:00
|
|
|
getprogname.c \
|
|
|
|
h_errno.c \
|
|
|
|
hostent_find_fqdn.c \
|
2000-08-03 07:53:35 +04:00
|
|
|
issuid.c \
|
|
|
|
k_getpwnam.c \
|
|
|
|
k_getpwuid.c \
|
|
|
|
mini_inetd.c \
|
|
|
|
net_read.c \
|
|
|
|
net_write.c \
|
|
|
|
parse_bytes.c \
|
|
|
|
parse_time.c \
|
|
|
|
parse_units.c \
|
|
|
|
resolve.c \
|
|
|
|
roken_gethostby.c \
|
|
|
|
rtbl.c \
|
2001-09-17 16:34:40 +04:00
|
|
|
setprogname.c \
|
2000-08-03 07:53:35 +04:00
|
|
|
signal.c \
|
|
|
|
simple_exec.c \
|
|
|
|
socket.c \
|
|
|
|
strcollect.c \
|
|
|
|
strlwr.c \
|
|
|
|
strndup.c \
|
|
|
|
strnlen.c \
|
|
|
|
strsep_copy.c \
|
|
|
|
strupr.c \
|
|
|
|
tm2time.c \
|
|
|
|
verify.c \
|
|
|
|
warnerr.c \
|
|
|
|
write_pid.c
|
2000-06-16 23:27:31 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
INCS= base64.h getarg.h parse_bytes.h parse_time.h parse_units.h \
|
|
|
|
resolve.h roken.h roken-common.h rtbl.h
|
|
|
|
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 \
|
2000-06-16 23:27:31 +04:00
|
|
|
-I${DIST}/heimdal/lib/roken \
|
|
|
|
-DHAVE_CONFIG_H
|
|
|
|
|
2005-01-10 06:11:17 +03:00
|
|
|
.if (${USE_INET6} != "no")
|
|
|
|
CPPFLAGS+=-DHAVE_IPV6
|
|
|
|
.endif
|
|
|
|
|
2002-08-19 13:41:27 +04:00
|
|
|
HOST_CPPFLAGS+= -I${NETBSDSRCDIR}/include/heimdal -DHAVE_CONFIG_H
|
2000-06-20 00:53:26 +04:00
|
|
|
|
2000-06-16 23:27:31 +04:00
|
|
|
.include <bsd.lib.mk>
|