blob: 8017aaf9f854fcb53e1d769760cbfb7610b6edc6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
CFLAGS = $(CCOPTS) -DKPOP -DKRB5 $(DEFS) $(LOCALINCLUDE)
COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a
all::
KLIB = -lkrb5 -lcrypto $(COMERRLIB)
DEPKLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(COMERRLIB)
HESIODLIB =
mailquery: mailquery.o poplib.o $(DEPKLIB)
$(LD) $(LDFLAGS) $(LDARGS) -o mailquery mailquery.o poplib.o $(KLIB) \
$(HESIODLIB) $(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
|