108 lines
1.8 KiB
Makefile
108 lines
1.8 KiB
Makefile
# $NetBSD: Makefile,v 1.17 2008/07/20 16:25:35 veego Exp $
|
|
|
|
NOLINT= # defined
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
DIST= ${NETBSDSRCDIR}/crypto/dist
|
|
.PATH: ${DIST}/heimdal/lib/roken ${NETBSDSRCDIR}/include/heimdal
|
|
|
|
WARNS?= 1
|
|
|
|
LIB= roken
|
|
|
|
.if ${OBJECT_FMT} == "ELF"
|
|
LIBDPLIBS+= util ${.CURDIR}/../libutil
|
|
.else
|
|
.PATH: ${NETBSDSRCDIR}/lib/libutil
|
|
SRCS+= efun.c
|
|
.endif
|
|
|
|
BUILT_SRCS=vis.h
|
|
|
|
CLEANFILES+= ${BUILT_SRCS}
|
|
|
|
SRCS= \
|
|
base64.c \
|
|
concat.c \
|
|
dumpdata.c \
|
|
environment.c \
|
|
eread.c \
|
|
esetenv.c \
|
|
ewrite.c \
|
|
getaddrinfo_hostspec.c \
|
|
get_default_username.c \
|
|
get_window_size.c \
|
|
getarg.c \
|
|
getnameinfo_verified.c \
|
|
getprogname.c \
|
|
h_errno.c \
|
|
hex.c \
|
|
hostent_find_fqdn.c \
|
|
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 \
|
|
realloc.c \
|
|
resolve.c \
|
|
roken_gethostby.c \
|
|
rtbl.c \
|
|
setprogname.c \
|
|
signal.c \
|
|
simple_exec.c \
|
|
socket.c \
|
|
strcollect.c \
|
|
strlwr.c \
|
|
strpool.c \
|
|
strsep_copy.c \
|
|
strupr.c \
|
|
timeval.c \
|
|
tm2time.c \
|
|
unvis.c \
|
|
verify.c \
|
|
vis.c \
|
|
warnerr.c \
|
|
write_pid.c \
|
|
${BUILT_SRCS}
|
|
|
|
MANS= \
|
|
getarg.3 \
|
|
parse_time.3 \
|
|
rtbl.3
|
|
|
|
INCS= base64.h \
|
|
getarg.h \
|
|
hex.h \
|
|
parse_bytes.h \
|
|
parse_time.h \
|
|
parse_units.h \
|
|
resolve.h \
|
|
roken.h \
|
|
roken-common.h \
|
|
rtbl.h \
|
|
xdbm.h
|
|
INCSDIR= /usr/include/krb5
|
|
|
|
CPPFLAGS+= -I. \
|
|
-I${NETBSDSRCDIR}/include/heimdal \
|
|
-I${DIST}/heimdal/lib/roken \
|
|
-DHAVE_CONFIG_H
|
|
|
|
.if (${USE_INET6} != "no")
|
|
CPPFLAGS+=-DHAVE_IPV6
|
|
.endif
|
|
|
|
HOST_CPPFLAGS+= -I${NETBSDSRCDIR}/include/heimdal -DHAVE_CONFIG_H
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
.SUFFIXES: .hin
|
|
|
|
.hin.h:
|
|
cp $< $@
|