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

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

PROG = kadmind4
OBJS = kadm_server.o admin_server.o kadm_ser_wrap.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)

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

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