blob: d0acac0219db27c0fe60b0de0fa88c939e130194 (
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
|
TOP = ../..
include $(TOP)/config.mk/template
ifdef KRB5B4
CFLAGS += -DKRB5B4 $(D_POSIX_SIGNALS)
endif
PROG := ovsec_v4adm_server
SRCS := kadm_server.c admin_server.c kadm_ser_wrap.c \
kadm_stream.c kadm_supp.c acl_files.c
OBJS := kadm_server.o admin_server.o kadm_ser_wrap.o \
kadm_stream.o kadm_supp.o acl_files.o
LIBS := $(LIBADMCLNT) $(LIBRPCLIB) $(LIBGSSAPI_KRB5) $(LIBKRB5) \
$(LIBKADM) $(LIBKRB) $(LIBDES425) $(LIBKDB5) \
$(LIBCRYPTO) $(LIBISODE) \
$(LIBDYN) $(LIBDB) $(LIBCOM_ERR) $(NDBMLIB) $(NETLIB) $(BSDLIB)
ifdef WAIT_USES_INT
WAIT_FLAGS = -DWAIT_USES_INT
endif
ifdef OPEN_NEEDS_FCNTL
FCNTL_FLAGS = -DNEED_SYS_FCNTL_H
endif
# XXX the -D's should probably be moved somewhere; in krb5.4.2 they
# are in osconf.h
CFLAGS := -DOVSEC_KADM \
-DKADM_SYSLOG="\"/krb5/admin_server.syslog\"" \
-DDEFAULT_ACL_DIR="\"/krb5\"" $(WAIT_FLAGS) $(FCNTL_FLAGS) \
$(CFLAGS)
expand InstallServer
expand Depend
SUBDIRS = unit-test
expand SubdirTarget
|