summaryrefslogtreecommitdiffstats
path: root/src/lib/kadm5/clnt/Makefile.in
blob: 73597a26cba078ed55bca7b4704fbad90a9dc844 (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
mydir=lib$(S)kadm5$(S)clnt
BUILDTOP=$(REL)..$(S)..$(S)..
LOCALINCLUDES = -I$(BUILDTOP)/include/kadm5
DEFS=

LIBBASE=kadm5clnt_mit
LIBMAJOR=8
LIBMINOR=0
STOBJLISTS=../OBJS.ST OBJS.ST
SHLIB_EXPDEPS=\
	$(TOPLIBD)/libgssrpc$(SHLIBEXT) \
	$(TOPLIBD)/libgssapi_krb5$(SHLIBEXT) \
	$(TOPLIBD)/libkrb5$(SHLIBEXT) \
	$(TOPLIBD)/libk5crypto$(SHLIBEXT) \
	$(COM_ERR_DEPLIB) $(SUPPORT_LIBDEP)
SHLIB_EXPLIBS=-lgssrpc -lgssapi_krb5 -lkrb5 -lk5crypto $(SUPPORT_LIB) -lcom_err $(LIBS)
SHLIB_DIRS=-L$(TOPLIBD)
SHLIB_RDIRS=$(KRB5_LIBDIR)
RELDIR=kadm5/clnt

##DOSBUILDTOP = ..\..\..
##DOSLIBNAME = libkadm5clnt.lib

SRCS =	$(srcdir)/clnt_policy.c \
	$(srcdir)/client_rpc.c \
	$(srcdir)/client_principal.c \
	$(srcdir)/client_init.c \
	$(srcdir)/clnt_privs.c \
	$(srcdir)/clnt_chpass_util.c

OBJS =	\
	clnt_policy.$(OBJEXT) \
	client_rpc.$(OBJEXT) \
	client_principal.$(OBJEXT) \
	client_init.$(OBJEXT) \
	clnt_privs.$(OBJEXT) \
	clnt_chpass_util.$(OBJEXT)

STLIBOBJS = \
	clnt_policy.o \
	client_rpc.o \
	client_principal.o \
	client_init.o \
	clnt_privs.o \
	clnt_chpass_util.o

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

generate-files-mac: includes darwin.exports

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

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

check-windows::

clean-windows::

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

install:: install-libs

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

depend:: includes

@lib_frag@
@libobj_frag@