blob: 0ccbee0a816cec56b35e3afffb16d37b488d8bad (
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
27
|
CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDE)
LDFLAGS = -g
COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a
KDBLIB=-lkdb5
DEPKDBLIB=$(TOPLIBD)/libkdb5.a
all::
KLIB = -lkrb5 -lcrypto $(COMERRLIB)
DEPKLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(COMERRLIB)
DEPLIBS = $(DEPKDBLIB) $(DEPKLIB)
LOCAL_LIBRARIES = $(KDBLIB) $(KLIB)
all:: kdb5_stash
kdb5_stash: kdb5_stash.o $(DEPLIBS)
$(LD) $(LDFLAGS) $(LDARGS) -o kdb5_stash kdb5_stash.o $(LOCAL_LIBRARIES) $(LIBS)
install::
$(INSTALL_PROGRAM) kdb5_stash ${DESTDIR}$(ADMIN_BINDIR)/kdb5_stash
$(INSTALL_DATA) $(srcdir)/kdb5_stash.M ${DESTDIR}$(ADMIN_MANDIR)/kdb5_stash.8
clean::
$(RM) kdb5_stash kdb5_stash.o
|