summaryrefslogtreecommitdiffstats
path: root/src/kadmin/dbutil/Makefile.in
blob: 89420eefd7ae43469b46bd2b6c3ca5251c795255 (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
thisconfigdir=./
BUILDTOP=$(U)$(U)
CFLAGS = $(CCOPTS) $(DEFS) -DKDB4_DISABLE -I. $(LOCALINCLUDE) @KRB4_INCLUDES@ 
PROG_LIBPATH=-L$(TOPLIBD) $(KRB4_LIBPATH)
PROG_RPATH=$(KRB5_LIBDIR)

PROG = kdb5_util
OBJS	= kdb5_util.o dump.o dumpv4.o loadv4.o \
	kdb5_create.o kadm5_create.o string_table.o kdb5_stash.o \
	kdb5_destroy.o ovload.o import_err.o strtok.o

all:: $(PROG)

$(PROG): $(OBJS) $(KADMSRV_DEPLIBS) $(KRB4COMPAT_DEPLIBS)
	$(CC_LINK) -o $(PROG) $(OBJS) $(KADMSRV_LIBS) $(KRB4COMPAT_LIBS)

import_err.c import_err.h: $(srcdir)/import_err.et

$(OBJS): import_err.h

install::
	$(INSTALL_PROGRAM) $(PROG) ${DESTDIR}$(ADMIN_BINDIR)/$(PROG)
	$(INSTALL_DATA) $(srcdir)/$(PROG).M ${DESTDIR}$(ADMIN_MANDIR)/$(PROG).8

clean::
	$(RM) $(PROG) $(OBJS) import_err.c import_err.h