summaryrefslogtreecommitdiffstats
path: root/src/kadmin/client/Makefile.in
blob: 36dbf8a6e8cc10945182cc3032bd84e1b3c2095d (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
BUILDTOP=@BUILDTOP@
srcdir = @srcdir@
VPATH = @srcdir@
 
DEFS = @DEFS@
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)/kadmin.c \
	$(srcdir)/kadmin_add.c \
	$(srcdir)/kadmin_adr.c \
	$(srcdir)/kadmin_cpr.c \
	$(srcdir)/kadmin_inq.c \
	$(srcdir)/kadmin_msnd.c \
	$(srcdir)/kadmin_mod.c \
	$(srcdir)/kadmin_cpw.c \
	$(srcdir)/kadmin_del.c \
	$(srcdir)/kadmin_done.c

OBJS = \
	kadmin.o \
	kadmin_add.o \
	kadmin_adr.o \
	kadmin_cpr.o \
	kadmin_inq.o \
	kadmin_msnd.o \
	kadmin_mod.o \
	kadmin_cpw.o \
	kadmin_del.o \
	kadmin_done.o

all::	kadmin

kadmin: $(KDBDEPLIB) $(OBJS) $(DEBKLIB)
	$(CC) $(CFLAGS) -o kadmin $(OBJS) $(KLIB) $(LIBS)

install::
	$(INSTALLPROG) kadmin ${DESTDIR}$(CLIENT_BINDIR)/kadmin
	$(INSTALLPROG) kadmin.M ${DESTDIR}$(CLIENT_MANDIR)/kadmin.$(CLIENT_MANSUFFIX)

clean::