1 ## Process this file with automake to produce Makefile.in
3 man8_MANS = gssd.man svcgssd.man
7 sbin_PREFIXED = gssd svcgssd
8 sbin_PROGRAMS = $(sbin_PREFIXED) gss_clnt_send_err
9 sbin_SCRIPTS = gss_destroy_creds
41 gssd_LDADD = ../../support/nfs/libnfs.a \
42 $(RPCSECGSS_LIBS) $(GSSGLUE_LIBS) $(KRBLIBS)
43 gssd_LDFLAGS = $(KRBLDFLAGS)
45 gssd_CFLAGS = $(AM_CFLAGS) $(CFLAGS) \
46 $(RPCSECGSS_CFLAGS) $(GSSGLUE_CFLAGS) $(KRBCFLAGS)
58 ../../support/nfs/libnfs.a \
59 $(RPCSECGSS_LIBS) $(GSSGLUE_LIBS) -lnfsidmap \
62 svcgssd_LDFLAGS = $(KRBLDFLAGS)
64 svcgssd_CFLAGS = $(AM_CFLAGS) $(CFLAGS) \
65 $(RPCSECGSS_CFLAGS) $(GSSGLUE_CFLAGS) $(KRBCFLAGS)
67 gss_clnt_send_err_SOURCES = gss_clnt_send_err.c
69 gss_clnt_send_err_CFLAGS = $(AM_CFLAGS) $(CFLAGS) \
70 $(RPCSECGSS_CFLAGS) $(GSSGLUE_CFLAGS) $(KRBCFLAGS)
72 MAINTAINERCLEANFILES = Makefile.in
74 #######################################################################
75 # The following allows the current practice of having
76 # daemons renamed during the install to include RPCPREFIX
78 # This could all be done much easier with program_transform_name
79 # ( program_transform_name = s/^/$(RPCPREFIX)$(KPREFIX)/ )
80 # but that also renames the man pages, which the current
81 # practice does not do.
83 (cd $(DESTDIR)$(sbindir) && \
84 for p in $(sbin_PREFIXED); do \
85 mv -f $$p$(EXEEXT) $(RPCPREFIX)$(KPREFIX)$$p$(EXEEXT) ;\
88 (cd $(DESTDIR)$(sbindir) && \
89 for p in $(sbin_PREFIXED); do \
90 rm -f $(RPCPREFIX)$(KPREFIX)$$p$(EXEEXT) ;\
94 # XXX This makes some assumptions about what automake does.
95 # XXX But there is no install-man-hook or install-man-local.
96 install-man: install-man8 install-man-links
97 uninstall-man: uninstall-man8 uninstall-man-links
100 (cd $(DESTDIR)$(man8dir) && \
101 for m in $(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS); do \
102 inst=`echo $$m | sed -e 's/man$$/8/'`; \
103 rm -f $(RPCPREFIX)$$inst ; \
104 $(LN_S) $$inst $(RPCPREFIX)$$inst ; \
108 (cd $(DESTDIR)$(man8dir) && \
109 for m in $(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS); do \
110 inst=`echo $$m | sed -e 's/man$$/8/'`; \
111 rm -f $(RPCPREFIX)$$inst ; \