summaryrefslogtreecommitdiffstats
path: root/src/admin/stash/Makefile.in
blob: f5d211ccfd7a02306b145b180b22ca08ff8a2871 (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

ISODELIB=@ISODELIB@
COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a
DBMLIB=
KDBLIB=$(TOPLIBD)/libkdb5.a 

all::

KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) $(DBMLIB)


DEPLIBS = $(DEPKDBLIB) $(DEPKLIB)
LOCAL_LIBRARIES = $(KDBLIB) $(KLIB)

all:: kdb5_stash

kdb5_stash: kdb5_stash.o $(DEPLIBS)
	$(CC) $(CFLAGS) -o kdb5_stash kdb5_stash.o $(LOCAL_LIBRARIES) $(LIBS)

install::
	cp kdb5_stash ${DESTDIR}$(ADMIN_BINDIR)/kdb5_stash
	cp kdb5_stash.M ${DESTDIR}$(ADMIN_MANDIR)/kdb5_stash.8

clean::
	$(RM) kdb5_stash kdb5_stash.o