blob: d0be5705fa15af6167efc631e13e71c85cb56b1a (
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
28
29
30
31
32
33
|
CFLAGS = $(CCOPTS) $(DEFS) $(KRB4_INCLUDES)
PROG_LIBPATH=-L$(TOPLIBD) $(KRB4_LIBPATH)
PROG_RPATH=$(KRB5_LIBDIR)
OBJS= ktutil.o \
ktutil_ct.o \
ktutil_funcs.o
SRCS= $(srcdir)/ktutil.c \
$(srcdir)/ktutil_ct.c \
$(srcdir)/ktutil_funcs.c
all:: ktutil
ktutil: ktutil.o $(OBJS) $(SS_DEPLIB) $(KRB4COMPAT_DEPLIBS)
$(CC_LINK) -o ktutil $(OBJS) $(SS_LIB) $(KRB4COMPAT_LIBS)
install::
$(INSTALL_PROGRAM) ktutil ${DESTDIR}$(ADMIN_BINDIR)/ktutil
$(INSTALL_DATA) $(srcdir)/ktutil.M ${DESTDIR}$(ADMIN_MANDIR)/ktutil.8
# needed until we run makedepend
ktutil_ct.c: ktutil_ct.ct
ktutil_ct.o: ktutil_ct.c
clean::
$(RM) ktutil_ct.c
depend:: ktutil_ct.c
clean::
$(RM) ktutil
|