summaryrefslogtreecommitdiffstats
path: root/src/admin/destroy/Makefile.in
blob: ddfd70e82e66735b732d0a532987bd40bd4bbd1e (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=@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_destroy

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

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

clean::
	$(RM) kdb5_destroy kdb5_destroy.o