summaryrefslogtreecommitdiffstats
path: root/src/clients/kinit/Makefile.in
blob: e1b9737c13ee726beb9d10252892c35526361878 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDE)

COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a

all::

KLIB = -lkrb5 -lcrypto $(COMERRLIB) 
DEPKLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(COMERRLIB) 

kinit: kinit.o $(DEPKLIB)
	$(LD) $(LDFLAGS) $(LDARGS) $(LDFLAGS) -o kinit kinit.o $(KLIB) $(LIBS)

kinit.o:	$(srcdir)/kinit.c

all:: kinit


clean::
	$(RM) kinit.o kinit

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