blob: 39e7f0dfac03396e80737f7ef281d4108715c510 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
BUILDTOP=@BUILDTOP@
srcdir = @srcdir@
VPATH = @srcdir@
DEFS = @DEFS@
CC = @CC@
CCOPTS = @CCOPTS@
LIBS = @LIBS@
KRB5ROOT = @KRB5ROOT@
KRB5MANROOT = $(KRB5ROOT)/man
ADMIN_BINDIR = $(KRB5ROOT)/admin
SERVER_BINDIR = $(KRB5ROOT)/sbin
CLIENT_BINDIR = $(KRB5ROOT)/bin
ADMIN_MANDIR = $(KRB5MANROOT)/man8
SERVER_MANDIR = $(KRB5MANROOT)/man8
CLIENT_MANDIR = $(KRB5MANROOT)/man1
FILE_MANDIR = $(KRB5MANROOT)/man5
KRB5_LIBDIR = $(KRB5ROOT)/lib
KRB5_INCDIR = $(KRB5ROOT)/include
KRB5_INCSUBDIRS = \
$(KRB5_INCDIR)/krb5 \
$(KRB5_INCDIR)/asn.1 \
$(KRB5_INCDIR)/kerberosIV
CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDE)
LDFLAGS = -g
SRCTOP = $(srcdir)/$(BUILDTOP)
TOPLIBD = $(BUILDTOP)/lib
ISODELIB=@ISODELIB@
COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a
SSLIB=$(BUILDTOP)/util/ss/libss.a
DBMLIB=
KDBLIB=$(TOPLIBD)/libkdb5.a
RM = rm -f
all::
KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(SSLIB) $(COMERRLIB) $(DBMLIB)
DEPLIBS = $(DEPKDBLIB) $(DEPKLIB)
LOCAL_LIBRARIES = $(KDBLIB) $(KLIB)
SRCS = \
$(srcdir)/networked.c \
$(srcdir)/kpasswd.c
OBJS = \
networked.o \
kpasswd.o
all:: kpasswd
kpasswd: $(KDBDEPLIB) $(OBJS) $(DEBKLIB)
$(CC) $(CFLAGS) -o kpasswd $(OBJS) $(KLIB) $(LIBS)
install::
cp kpasswd ${DESTDIR}$(CLIENT_BINDIR)/kpasswd
cp kpasswd.M ${DESTDIR}$(CLIENT_MANDIR)/kpasswd.1
clean::
$(RM) kpasswd
clean::
$(RM) $(OBJS)
|