summaryrefslogtreecommitdiffstats
path: root/src/kadmin/v4server/Makefile.in
blob: 395d92ea95aa81af77ee1871e98303a0e7e9d15d (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
CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDE) \
	-DKADM5 -DNEED_SOCKETS @HESIOD_DEFS@
PROG_LIBPATH=-L$(TOPLIBD) $(KRB4_LIBPATH)
PROG_RPATH=$(KRB5_LIBDIR)

HESIOD_LIBS=@HESIOD_LIBS@

LOCALINCLUDE = $(KRB4_INCLUDES) -I. -I$(srcdir)

PROG = kadmind4
OBJS = kadm_server.o admin_server.o kadm_ser_wrap.o \
	kadm_funcs.o kadm_stream.o kadm_supp.o acl_files.o kadm_err.o

all:: $(PROG)

kadm_err.c kadm_err.h: kadm_err.et

$(OBJS): kadm_err.h

$(PROG): $(OBJS) $(KADMCLNT_DEPLIBS) $(DB_DEPLIB) $(KRB4COMPAT_DEPLIBS)
	$(CC_LINK) -o $(PROG) $(OBJS) $(KADMCLNT_LIBS) $(DB_LIB) $(KRB4COMPAT_LIBS) $(HESIOD_LIBS)

install::
	$(INSTALL_PROGRAM) $(PROG) ${DESTDIR}$(ADMIN_BINDIR)/$(PROG)

clean::
	$(RM) $(PROG) $(OBJS)
	$(RM) kadm_err.h kadm_err.c