summaryrefslogtreecommitdiffstats
path: root/src/lib/kadm5/srv/Makefile.in
blob: d57d6f08f3875ead77c48fdafe99ce2aac94b6eb (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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
mydir=lib$(S)kadm5$(S)srv
BUILDTOP=$(REL)..$(S)..$(S)..
LOCALINCLUDES = -I$(BUILDTOP)/include/kadm5 \
	-I$(top_srcdir)/lib/gssapi/krb5 -I$(top_srcdir)/lib/gssapi/generic \
	-I$(BUILDTOP)/lib/gssapi/krb5 -I$(BUILDTOP)/lib/gssapi/generic
DEFINES = @HESIOD_DEFS@
DEFS=

##DOSBUILDTOP = ..\..\..
##DOSLIBNAME = libkadm5srv.lib

LIBBASE=kadm5srv_mit
LIBMAJOR=8
LIBMINOR=0
STOBJLISTS=../OBJS.ST OBJS.ST

SHLIB_EXPDEPS=\
	$(TOPLIBD)/libgssrpc$(SHLIBEXT) \
	$(TOPLIBD)/libgssapi_krb5$(SHLIBEXT) \
	$(TOPLIBD)/libkdb5$(SHLIBEXT) \
	$(TOPLIBD)/libkrb5$(SHLIBEXT) \
	$(TOPLIBD)/libk5crypto$(SHLIBEXT) \
	$(COM_ERR_DEPLIB) $(SUPPORT_LIBDEP)
SHLIB_EXPLIBS =	-lgssrpc -lgssapi_krb5 -lkdb5 $(KDB5_DB_LIB) \
		-lkrb5 -lk5crypto $(SUPPORT_LIB) -lcom_err @GEN_LIB@
SHLIB_DIRS=-L$(TOPLIBD)
SHLIB_RDIRS=$(KRB5_LIBDIR)
RELDIR=kadm5/srv

SRCS =	$(srcdir)/pwqual.c \
	$(srcdir)/kadm5_hook.c \
	$(srcdir)/pwqual_dict.c \
	$(srcdir)/pwqual_empty.c \
	$(srcdir)/pwqual_hesiod.c \
	$(srcdir)/pwqual_princ.c \
	$(srcdir)/svr_policy.c \
	$(srcdir)/svr_principal.c \
	$(srcdir)/server_acl.c \
	$(srcdir)/server_kdb.c \
	$(srcdir)/server_misc.c \
	$(srcdir)/server_init.c \
	$(srcdir)/svr_iters.c \
	$(srcdir)/svr_chpass_util.c \
	$(srcdir)/adb_xdr.c 

OBJS =	pwqual.$(OBJEXT) \
	pwqual_dict.$(OBJEXT) \
	pwqual_empty.$(OBJEXT) \
	pwqual_hesiod.$(OBJEXT) \
	pwqual_princ.$(OBJEXT) \
	kadm5_hook.$(OBJEXT) \
	svr_policy.$(OBJEXT) \
	svr_principal.$(OBJEXT) \
	server_acl.$(OBJEXT) \
	server_kdb.$(OBJEXT) \
	server_misc.$(OBJEXT) \
	server_init.$(OBJEXT) \
	svr_iters.$(OBJEXT) \
	svr_chpass_util.$(OBJEXT) \
	adb_xdr.$(OBJEXT) 

STLIBOBJS = \
	pwqual.o \
	pwqual_dict.o \
	pwqual_empty.o \
	pwqual_hesiod.o \
	pwqual_princ.o \
	kadm5_hook.o \
	svr_policy.o \
	svr_principal.o \
	server_acl.o \
	server_kdb.o \
	server_misc.o \
	server_init.o \
	svr_iters.o \
	svr_chpass_util.o \
	adb_xdr.o

all-unix:: includes
all-unix:: all-liblinks
all-windows:: $(OBJS)

generate-files-mac: includes darwin.exports

includes:: server_acl.h
	if cmp $(srcdir)/server_acl.h \
	$(BUILDTOP)/include/kadm5/server_acl.h >/dev/null 2>&1; then :; \
	else \
		(set -x; $(RM) $(BUILDTOP)/include/kadm5/server_acl.h; \
		 $(CP) $(srcdir)/server_acl.h \
			$(BUILDTOP)/include/kadm5/server_acl.h) ; \
	fi

clean-unix::
	$(RM) $(BUILDTOP)/include/kadm5/server_acl.h

check-windows::

clean-windows::

clean-unix:: clean-liblinks clean-libs clean-libobjs

install:: install-libs

install-unix::
	$(RM) $(DESTDIR)$(KRB5_LIBDIR)/libkadm5srv$(DEPLIBEXT)
	(cd $(DESTDIR)$(KRB5_LIBDIR) && $(LN_S) lib$(LIBBASE)$(DEPLIBEXT) \
		libkadm5srv$(DEPLIBEXT))

depend:: includes

@lib_frag@
@libobj_frag@