blob: 7009d8d395b5d1a0a90c1e629f34810d649b7721 (
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
|
## Process this file with automake to produce Makefile.in
man8_MANS = gssd.man svcgssd.man
RPCPREFIX = rpc.
KPREFIX = @kprefix@
sbin_PREFIXED = gssd svcgssd
sbin_PROGRAMS = $(sbin_PREFIXED) gss_clnt_send_err
sbin_SCRIPTS = gss_destroy_creds
EXTRA_DIST = \
gss_destroy_creds \
$(man8_MANS)
COMMON_SRCS = \
context.c \
context_mit.c \
context_heimdal.c \
context_spkm3.c \
gss_util.c \
gss_oids.c \
err_util.c \
\
context.h \
err_util.h \
gss_oids.h \
gss_util.h
gssd_SOURCES = \
$(COMMON_SRCS) \
gssd.c \
gssd_main_loop.c \
gssd_proc.c \
krb5_util.c \
\
gssd.h \
krb5_util.h \
write_bytes.h
gssd_LDADD = $(RPCSECGSS_LIBS) $(KRBLIBS)
gssd_LDFLAGS = $(KRBLDFLAGS)
gssd_CFLAGS = $(AM_CFLAGS) $(CFLAGS) \
$(RPCSECGSS_CFLAGS) $(KRBCFLAGS)
svcgssd_SOURCES = \
$(COMMON_SRCS) \
cacheio.c \
svcgssd.c \
svcgssd_main_loop.c \
svcgssd_mech2file.c \
svcgssd_proc.c \
\
cacheio.h \
svcgssd.h
svcgssd_LDADD = \
../../support/nfs/libnfs.a \
$(RPCSECGSS_LIBS) -lnfsidmap \
$(KRBLIBS)
svcgssd_LDFLAGS = $(KRBLDFLAGS)
svcgssd_CFLAGS = $(AM_CFLAGS) $(CFLAGS) \
$(RPCSECGSS_CFLAGS) $(KRBCFLAGS)
gss_clnt_send_err_SOURCES = gss_clnt_send_err.c
gss_clnt_send_err_CFLAGS = $(AM_CFLAGS) $(CFLAGS) \
$(RPCSECGSS_CFLAGS) $(KRBCFLAGS)
MAINTAINERCLEANFILES = Makefile.in
#######################################################################
# The following allows the current practice of having
# daemons renamed during the install to include RPCPREFIX
# and the KPREFIX
# This could all be done much easier with program_transform_name
# ( program_transform_name = s/^/$(RPCPREFIX)$(KPREFIX)/ )
# but that also renames the man pages, which the current
# practice does not do.
install-exec-hook:
(cd $(DESTDIR)$(sbindir) && \
for p in $(sbin_PREFIXED); do \
mv -f $$p$(EXEEXT) $(RPCPREFIX)$(KPREFIX)$$p$(EXEEXT) ;\
done)
uninstall-hook:
(cd $(DESTDIR)$(sbindir) && \
for p in $(sbin_PREFIXED); do \
rm -f $(RPCPREFIX)$(KPREFIX)$$p$(EXEEXT) ;\
done)
# XXX This makes some assumptions about what automake does.
# XXX But there is no install-man-hook or install-man-local.
install-man: install-man8 install-man-links
uninstall-man: uninstall-man8 uninstall-man-links
install-man-links:
(cd $(DESTDIR)$(man8dir) && \
for m in $(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS); do \
inst=`echo $$m | sed -e 's/man$$/8/'`; \
rm -f $(RPCPREFIX)$$inst ; \
$(LN_S) $$inst $(RPCPREFIX)$$inst ; \
done)
uninstall-man-links:
(cd $(DESTDIR)$(man8dir) && \
for m in $(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS); do \
inst=`echo $$m | sed -e 's/man$$/8/'`; \
rm -f $(RPCPREFIX)$$inst ; \
done)
|