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

all::

SRCS = \
	$(srcdir)/kadmin.c \
	$(srcdir)/kadmin_add.c \
	$(srcdir)/kadmin_adr.c \
	$(srcdir)/kadmin_cpr.c \
	$(srcdir)/kadmin_inq.c \
	$(srcdir)/kadmin_msnd.c \
	$(srcdir)/kadmin_mod.c \
	$(srcdir)/kadmin_cpw.c \
	$(srcdir)/kadmin_del.c \
	$(srcdir)/kadmin_done.c

OBJS = \
	kadmin.o \
	kadmin_add.o \
	kadmin_adr.o \
	kadmin_cpr.o \
	kadmin_inq.o \
	kadmin_msnd.o \
	kadmin_mod.o \
	kadmin_cpw.o \
	kadmin_del.o \
	kadmin_done.o

all::	kadmin

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

install::
	$(INSTALL_PROGRAM) $(C)kadmin ${DESTDIR}$(CLIENT_BINDIR)$(S)kadmin_old
	$(INSTALL_DATA) $(srcdir)$(S)kadmin.M ${DESTDIR}$(CLIENT_MANDIR)$(S)kadmin_old.1

clean::
	$(RM) kadmin

