blob: 2bbeb919e582f75f82383ab7380f2c4740b49361 (
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
|
BUILDTOP=@BUILDTOP@
srcdir = @srcdir@
VPATH = @srcdir@
DEFS = @DEFS@
CC = @CC@
CCOPTS = @CCOPTS@
LIBS = @LIBS@
CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDE)
LDFLAGS = -g
SRCTOP = $(srcdir)/$(BUILDTOP)
TOPLIBD = $(BUILDTOP)/lib
ISODELIB=$(TOPLIBD)/libisode.a
COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a
SSLIB=$(BUILDTOP)/util/ss/libss.a
DBMLIB=
KDBLIB=$(TOPLIBD)/libkdb5.a
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::
$(INSTALLPROG) kpasswd ${DESTDIR}$(CLIENT_BINDIR)/kpasswd
$(INSTALLPROG) kpasswd.M ${DESTDIR}$(CLIENT_MANDIR)/kpasswd.$(CLIENT_MANSUFFIX)
clean::
|