#	@(#)Makefile for zephyr libs

LIB=	zephyr
CFLAGS+=-DKERBEROS -DHESIOD -DX11 -I${.CURDIR}/../include -I/usr/include/bsd

SRCS=	ZCheckAuthentication.c \
        ZCheckIfNotice.c \
        ZClosePort.c \
        ZCompareUID.c \
        ZCompareUIDPred.c \
        ZFlushLocations.c \
        ZFlushSubscriptions.c \
        ZFormatAuthenticNotice.c \
        ZFormatNotice.c \
        ZFmtNoticeList.c \
        ZFormatRawNotice.c \
        ZFormatRawNoticeList.c \
        ZFormatSmallRawNotice.c \
        ZFormatSmallRawNoticeList.c \
        ZFreeNotice.c \
        ZGetLocations.c \
        ZGetSender.c \
        ZGetSubscriptions.c \
        ZGetWGPort.c \
        ZIfNotice.c \
        ZInitialize.c \
        ZLocateUser.c \
        ZLocations.c \
        ZMakeAscii.c \
        ZMakeAuthentication.c \
        ZOpenPort.c \
        ZParseNotice.c \
        ZPeekIfNotice.c \
        ZPeekNotice.c \
        ZPeekPacket.c \
        ZPending.c \
        ZReadAscii.c \
        ZReceiveNotice.c \
        ZReceivePacket.c \
        ZRetrieveSubscriptions.c \
        ZSendList.c \
        ZSendNotice.c \
        ZSendPacket.c \
        ZSendRawNotice.c \
        ZSendRawList.c \
        ZSetDestAddr.c \
        ZSetFD.c \
        ZSetServerState.c \
        ZSubscriptions.c \
        ZVariables.c \
        Zinternal.c \
        acl_files.c 

OBJS+=	krb_err.o zephyr_err.o

krb_err.o krb_err.c: krb_err.et	
		${.CURDIR}/../et/compile_et/compile_et krb_err.et
zephyr_err.o zephyr_err.c: zephyr_err.et
		${.CURDIR}/../et/compile_et/compile_et zephyr_err.et

all: 	${OBJS}
	/usr/local/bin/pmake install
.include <bsd.lib.mk>



