2000-08-02 06:42:24 +04:00
|
|
|
# $NetBSD: Makefile,v 1.7 2000/08/02 02:42:24 garbled Exp $
|
2000-06-17 02:46:43 +04:00
|
|
|
DIST= ${.CURDIR}/../../crypto/dist
|
2000-06-16 23:27:31 +04:00
|
|
|
.PATH: ${DIST}/heimdal/lib/roken
|
|
|
|
.PATH: ${.CURDIR}/../../include/heimdal
|
|
|
|
|
|
|
|
WARNS?= 1
|
|
|
|
MKLINT= no
|
|
|
|
|
|
|
|
includes: print_version.h
|
|
|
|
|
|
|
|
LIB= roken
|
|
|
|
|
|
|
|
SRCS= base64.c concat.c emalloc.c eread.c erealloc.c estrdup.c ewrite.c \
|
|
|
|
getaddrinfo_hostspec.c \
|
|
|
|
get_default_username.c get_window_size.c getarg.c \
|
|
|
|
getnameinfo_verified.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 resolve.c roken_gethostby.c signal.c simple_exec.c \
|
|
|
|
socket.c tm2time.c verify.c warnerr.c print_version.c \
|
|
|
|
strcollect.c strlwr.c strndup.c strnlen.c strupr.c
|
|
|
|
|
|
|
|
INCS= base64.h getarg.h parse_bytes.h parse_time.h parse_units.h \
|
|
|
|
resolve.h roken.h roken-common.h
|
|
|
|
|
|
|
|
INCSDIR= /usr/include/krb5
|
|
|
|
|
|
|
|
DPSRCS= print_version.h
|
|
|
|
|
|
|
|
CPPFLAGS+= -I. \
|
|
|
|
-I${.CURDIR}/../../include/heimdal \
|
|
|
|
-I${DIST}/heimdal/lib/roken \
|
|
|
|
-DHAVE_CONFIG_H
|
|
|
|
|
2000-06-20 00:53:26 +04:00
|
|
|
HOST_CPPFLAGS+= -I${.CURDIR}/../../include/heimdal -DHAVE_CONFIG_H
|
|
|
|
|
|
|
|
make-print-version.lo: ${.CURDIR}/../../include/heimdal/version.h
|
2000-06-20 00:45:13 +04:00
|
|
|
|
2000-06-17 20:39:19 +04:00
|
|
|
make-print-version: make-print-version.lo
|
2000-08-02 06:42:24 +04:00
|
|
|
${HOST_CC} ${HOST_LDFLAGS} -o ${.TARGET} ${.ALLSRC}
|
2000-06-16 23:27:31 +04:00
|
|
|
|
|
|
|
print_version.h: make-print-version
|
|
|
|
./make-print-version print_version.h
|
|
|
|
|
|
|
|
print_version.o print_version.so print_version.po print_version.So print_version.ln: print_version.h
|
|
|
|
|
2000-06-17 20:41:09 +04:00
|
|
|
CLEANFILES+= print_version.h make-print-version make-print-version.lo
|
2000-06-16 23:27:31 +04:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|