blob: 26c487ad79d43d6d5c6ad3e76c11d9897878dc9e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDE) -I. -DUSE_KADM5_API_VERSION=1
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)
PROG = kpasswd
OBJS = tty_kpasswd.o kpasswd.o kpasswd_strings.o
all:: $(PROG)
kpasswd_strings.c kpasswd_strings.h: $(srcdir)/kpasswd_strings.et
$(OBJS): kpasswd_strings.h
$(PROG): $(OBJS) $(KADMCLNT_DEPLIBS) $(KRB5_BASE_DEPLIBS)
$(CC_LINK) -o $(PROG) $(OBJS) $(KADMCLNT_LIBS) $(KRB5_BASE_LIBS)
install::
$(INSTALL_PROGRAM) $(PROG) ${DESTDIR}$(CLIENT_BINDIR)/$(PROG)
$(INSTALL_DATA) $(srcdir)/$(PROG).M ${DESTDIR}$(CLIENT_MANDIR)/$(PROG).1
clean::
$(RM) kpasswd_strings.c kpasswd_strings.h $(PROG) $(OBJS)
|