summaryrefslogtreecommitdiffstats
path: root/src/kdc/Makefile.in
blob: a179a999a6d18a6448d4f66c1df19594e6678068 (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
KRB4_LIB = @KRB4_LIB@

CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDE)
LDFLAGS = -g

COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a
DBMLIB=
KDBLIB=$(TOPLIBD)/libkdb5.a 

KLIB = $(TOPLIBD)/libkrb5.a $(KRB4_LIB) $(TOPLIBD)/libcrypto.a $(COMERRLIB) $(DBMLIB)
DEPKLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(COMERRLIB) $(DBMLIB)

KRB4INCLUDES=-I$(SRCTOP)/include/kerberosIV

all::

DEFINES = -DBACKWARD_COMPAT $(KRB4DEF)

LOCALINCLUDE = $(KRB4INCLUDES) -I.
SRCS= \
	kdc5_err.c \
	$(srcdir)/dispatch.c \
	$(srcdir)/do_as_req.c \
	$(srcdir)/do_tgs_req.c \
	$(srcdir)/kdc_util.c \
	$(srcdir)/main.c \
	$(srcdir)/network.c \
	$(srcdir)/policy.c \
	$(srcdir)/extern.c \
	$(srcdir)/replay.c \
	$(srcdir)/kerberos_v4.c

OBJS= \
	kdc5_err.o \
 	dispatch.o \
	do_as_req.o \
	do_tgs_req.o \
	kdc_util.o \
	main.o \
	network.o \
	policy.o \
	extern.o \
	replay.o \
	kerberos_v4.o

all::	krb5kdc

depend:: kdc5_err.c

kdc5_err.c: kdc5_err.et

kdc5_err.h: kdc5_err.et

kdc5_err.o: kdc5_err.h

krb5kdc: $(OBJS) $(KDBDEPLIB) $(DEPKLIB)
	$(CC) $(CFLAGS) -o krb5kdc $(OBJS) $(KDBLIB) $(KLIB) $(LIBS)

install::
	$(INSTALL_PROGRAM) krb5kdc ${DESTDIR}$(SERVER_BINDIR)/krb5kdc
	$(INSTALL_DATA) $(srcdir)/krb5kdc.M ${DESTDIR}$(SERVER_MANDIR)/krb5kdc.8

clean::
	$(RM) kdc5_err.h kdc5_err.c krb5kdc