CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDE) 

all::

SRCS = \
	$(srcdir)/srv_main.c $(srcdir)/srv_key.c  \
	$(srcdir)/srv_acl.c $(srcdir)/srv_output.c $(srcdir)/srv_net.c \
	$(srcdir)/proto_serv.c $(srcdir)/passwd.c $(srcdir)/admin.c

OBJS = \
	srv_main.o srv_key.o srv_acl.o srv_output.o srv_net.o \
	proto_serv.o passwd.o admin.o


all::	kadmind5

kadmind5: $(OBJS) $(DEPLIBS)
	$(LD) $(LDFLAGS) $(LDARGS) -o kadmind5 $(OBJS) $(LIBS)

install::
	$(INSTALL_PROGRAM) $(C)kadmind5 ${DESTDIR}$(SERVER_BINDIR)$(S)kadmind5
	$(INSTALL_DATA) $(srcdir)$(S)kadmind5.M ${DESTDIR}$(SERVER_MANDIR)$(S)kadmind5.8

clean::
	$(RM) kadmind5

