#	$NetBSD: Makefile,v 1.16 1998/02/05 23:10:15 cgd Exp $

LIB=	ss
SRCS=	ss_err.c ss_err.h data.c error.c execute_cmd.c help.c invocation.c \
	list_rqs.c listen.c pager.c parse.c prompt.c request_tbl.c requests.c \
	std_rqs.c

SHLIB_MAJOR?= 2
SHLIB_MINOR?= 0

CPPFLAGS+= -I. -I${.CURDIR} -I${.CURDIR}/../com_err
# COPTS+= -Wmissing-prototypes # hmm, not quite done yet...

CLEANFILES+=	ss_err.c ss_err.h std_rqs.c
LDADD+=	-L${COMERROBJDIR} -lcom_err_pic

beforedepend:
# XXX Hack attack: this is so we can use #include <kerberosIV/xx.h> in the
# compile tree and is terrible but better than installing from a beforedepend
# target, which seems like the only other option.
	-if [ ! -h kerberosIV ]; then \
	ln -s . kerberosIV; \
	fi

INCS=ss_err.h
INCSDIR=/usr/include/kerberosIV

.include <bsd.lib.mk>
