CFLAGS = $(CCOPTS) -DKPOP -DKRB5 $(DEFS) $(LOCALINCLUDE)

all::

HESIODLIB =
LOCAL_LIBRARIES = $(HESIODLIB)
DEPLOCAL_LIBRARIES = $(HESIODLIB)

mailquery: mailquery.o poplib.o $(DEPLIBS)
	$(LD) $(LDFLAGS) $(LDARGS) -o mailquery mailquery.o poplib.o $(LIBS)

mailquery.o:	$(srcdir)/mailquery.c
poplib.o:	$(srcdir)/poplib.c

all:: mailquery

clean::
	$(RM) mailquery.o poplib.o mailquery

install::
	$(INSTALL_PROGRAM) mailquery ${DESTDIR}$(CLIENT_BINDIR)/mailquery
	$(INSTALL_DATA) $(srcdir)/mailquery.M ${DESTDIR}$(CLIENT_MANDIR)/mailquery.1

