Define and use HIAVE_IFADDRS_H
[nfs-utils.git] / utils / statd / Makefile.in
1 # Makefile.in generated by automake 1.9.6 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005  Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16
17 srcdir = @srcdir@
18 top_srcdir = @top_srcdir@
19 VPATH = @srcdir@
20 pkgdatadir = $(datadir)/@PACKAGE@
21 pkglibdir = $(libdir)/@PACKAGE@
22 pkgincludedir = $(includedir)/@PACKAGE@
23 top_builddir = ../..
24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25 INSTALL = @INSTALL@
26 install_sh_DATA = $(install_sh) -c -m 644
27 install_sh_PROGRAM = $(install_sh) -c
28 install_sh_SCRIPT = $(install_sh) -c
29 INSTALL_HEADER = $(INSTALL_DATA)
30 transform = $(program_transform_name)
31 NORMAL_INSTALL = :
32 PRE_INSTALL = :
33 POST_INSTALL = :
34 NORMAL_UNINSTALL = :
35 PRE_UNINSTALL = :
36 POST_UNINSTALL = :
37 build_triplet = @build@
38 host_triplet = @host@
39 sbin_PROGRAMS = statd$(EXEEXT)
40 subdir = utils/statd
41 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in COPYING TODO
42 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
43 am__aclocal_m4_deps = $(top_srcdir)/aclocal/bsdsignals.m4 \
44         $(top_srcdir)/aclocal/kerberos5.m4 \
45         $(top_srcdir)/aclocal/nfs-utils.m4 \
46         $(top_srcdir)/aclocal/tcp-wrappers.m4 \
47         $(top_srcdir)/configure.in
48 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
49         $(ACLOCAL_M4)
50 mkinstalldirs = $(install_sh) -d
51 CONFIG_HEADER = $(top_builddir)/support/include/config.h
52 CONFIG_CLEAN_FILES =
53 am__installdirs = "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man8dir)"
54 sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
55 PROGRAMS = $(sbin_PROGRAMS)
56 am_statd_OBJECTS = callback.$(OBJEXT) notlist.$(OBJEXT) log.$(OBJEXT) \
57         misc.$(OBJEXT) monitor.$(OBJEXT) notify.$(OBJEXT) \
58         simu.$(OBJEXT) stat.$(OBJEXT) statd.$(OBJEXT) state.$(OBJEXT) \
59         svc_run.$(OBJEXT) rmtcall.$(OBJEXT) sm_inter_clnt.$(OBJEXT) \
60         sm_inter_svc.$(OBJEXT) sm_inter_xdr.$(OBJEXT)
61 statd_OBJECTS = $(am_statd_OBJECTS)
62 am__DEPENDENCIES_1 =
63 statd_DEPENDENCIES = ../../support/export/libexport.a \
64         ../../support/nfs/libnfs.a ../../support/misc/libmisc.a \
65         $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
66 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/support/include
67 depcomp = $(SHELL) $(top_srcdir)/depcomp
68 am__depfiles_maybe = depfiles
69 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
70         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
71 LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
72         $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
73         $(AM_CFLAGS) $(CFLAGS)
74 CCLD = $(CC)
75 LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
76         $(AM_LDFLAGS) $(LDFLAGS) -o $@
77 SOURCES = $(statd_SOURCES)
78 DIST_SOURCES = $(statd_SOURCES)
79 man8dir = $(mandir)/man8
80 NROFF = nroff
81 MANS = $(man8_MANS)
82 ETAGS = etags
83 CTAGS = ctags
84 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
85 ACLOCAL = @ACLOCAL@
86 ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
87 ALLOCA = @ALLOCA@
88 AMDEP_FALSE = @AMDEP_FALSE@
89 AMDEP_TRUE = @AMDEP_TRUE@
90 AMTAR = @AMTAR@
91 AM_CFLAGS = @AM_CFLAGS@
92 AM_CPPFLAGS = @AM_CPPFLAGS@
93 AR = @AR@
94 AUTOCONF = @AUTOCONF@
95 AUTOHEADER = @AUTOHEADER@
96 AUTOMAKE = @AUTOMAKE@
97 AWK = @AWK@
98 CC = @CC@
99 CCDEPMODE = @CCDEPMODE@
100 CC_FOR_BUILD = @CC_FOR_BUILD@
101 CFLAGS = @CFLAGS@
102 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
103 CONFIG_GSS_FALSE = @CONFIG_GSS_FALSE@
104 CONFIG_GSS_TRUE = @CONFIG_GSS_TRUE@
105 CONFIG_NFSV4_FALSE = @CONFIG_NFSV4_FALSE@
106 CONFIG_NFSV4_TRUE = @CONFIG_NFSV4_TRUE@
107 CONFIG_RQUOTAD_FALSE = @CONFIG_RQUOTAD_FALSE@
108 CONFIG_RQUOTAD_TRUE = @CONFIG_RQUOTAD_TRUE@
109 CPP = @CPP@
110 CPPFLAGS = @CPPFLAGS@
111 CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
112 CXX = @CXX@
113 CXXCPP = @CXXCPP@
114 CXXDEPMODE = @CXXDEPMODE@
115 CXXFLAGS = @CXXFLAGS@
116 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
117 CYGPATH_W = @CYGPATH_W@
118 DEFS = @DEFS@
119 DEPDIR = @DEPDIR@
120 ECHO = @ECHO@
121 ECHO_C = @ECHO_C@
122 ECHO_N = @ECHO_N@
123 ECHO_T = @ECHO_T@
124 EGREP = @EGREP@
125 EXEEXT = @EXEEXT@
126 F77 = @F77@
127 FFLAGS = @FFLAGS@
128 GSSAPI_CFLAGS = @GSSAPI_CFLAGS@
129 GSSAPI_LIBS = @GSSAPI_LIBS@
130 GSSD = @GSSD@
131 HAVE_LIBWRAP = @HAVE_LIBWRAP@
132 HAVE_TCP_WRAPPER = @HAVE_TCP_WRAPPER@
133 IDMAPD = @IDMAPD@
134 INSTALL_DATA = @INSTALL_DATA@
135 INSTALL_PROGRAM = @INSTALL_PROGRAM@
136 INSTALL_SCRIPT = @INSTALL_SCRIPT@
137 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
138 K5VERS = @K5VERS@
139 KRBCFLAGS = @KRBCFLAGS@
140 KRBDIR = @KRBDIR@
141 KRBLIBS = @KRBLIBS@
142 LD = @LD@
143 LDFLAGS = @LDFLAGS@
144 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
145 LIBBSD = @LIBBSD@
146 LIBCRYPT = @LIBCRYPT@
147 LIBNSL = @LIBNSL@
148 LIBOBJS = @LIBOBJS@
149 LIBS = @LIBS@
150 LIBSOCKET = @LIBSOCKET@
151 LIBTOOL = @LIBTOOL@
152 LIBWRAP = @LIBWRAP@
153 LN_S = @LN_S@
154 LTLIBOBJS = @LTLIBOBJS@
155 MAKEINFO = @MAKEINFO@
156 OBJEXT = @OBJEXT@
157 PACKAGE = @PACKAGE@
158 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
159 PACKAGE_NAME = @PACKAGE_NAME@
160 PACKAGE_STRING = @PACKAGE_STRING@
161 PACKAGE_TARNAME = @PACKAGE_TARNAME@
162 PACKAGE_VERSION = @PACKAGE_VERSION@
163 PATH_SEPARATOR = @PATH_SEPARATOR@
164 PKG_CONFIG = @PKG_CONFIG@
165 RANLIB = @RANLIB@
166 RELEASE = @RELEASE@
167 RPCSECGSS_CFLAGS = @RPCSECGSS_CFLAGS@
168 RPCSECGSS_LIBS = @RPCSECGSS_LIBS@
169 SET_MAKE = @SET_MAKE@
170 SHELL = @SHELL@
171 STRIP = @STRIP@
172 SVCGSSD = @SVCGSSD@
173 VERSION = @VERSION@
174 ac_ct_AR = @ac_ct_AR@
175 ac_ct_CC = @ac_ct_CC@
176 ac_ct_CXX = @ac_ct_CXX@
177 ac_ct_F77 = @ac_ct_F77@
178 ac_ct_LD = @ac_ct_LD@
179 ac_ct_RANLIB = @ac_ct_RANLIB@
180 ac_ct_STRIP = @ac_ct_STRIP@
181 ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
182 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
183 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
184 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
185 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
186 am__include = @am__include@
187 am__leading_dot = @am__leading_dot@
188 am__quote = @am__quote@
189 am__tar = @am__tar@
190 am__untar = @am__untar@
191 bindir = @bindir@
192 build = @build@
193 build_alias = @build_alias@
194 build_cpu = @build_cpu@
195 build_os = @build_os@
196 build_vendor = @build_vendor@
197 datadir = @datadir@
198 enable_gss = @enable_gss@
199 enable_nfsv3 = @enable_nfsv3@
200 enable_nfsv4 = @enable_nfsv4@
201 exec_prefix = @exec_prefix@
202 host = @host@
203 host_alias = @host_alias@
204 host_cpu = @host_cpu@
205 host_os = @host_os@
206 host_vendor = @host_vendor@
207 includedir = @includedir@
208 infodir = @infodir@
209 install_sh = @install_sh@
210 kprefix = @kprefix@
211 libdir = @libdir@
212 libexecdir = @libexecdir@
213 localstatedir = @localstatedir@
214 mandir = @mandir@
215 mkdir_p = @mkdir_p@
216 oldincludedir = @oldincludedir@
217 prefix = @prefix@
218 program_transform_name = @program_transform_name@
219 sbindir = @sbindir@
220 secure_statd = @secure_statd@
221 sharedstatedir = @sharedstatedir@
222 statduser = @statduser@
223 statedir = @statedir@
224 sysconfdir = @sysconfdir@
225 target_alias = @target_alias@
226 man8_MANS = statd.man
227 RPCGEN = $(top_builddir)/tools/rpcgen/rpcgen
228 GENFILES_CLNT = sm_inter_clnt.c
229 GENFILES_SVC = sm_inter_svc.c
230 GENFILES_XDR = sm_inter_xdr.c
231 GENFILES_H = sm_inter.h
232 GENFILES = $(GENFILES_CLNT) $(GENFILES_SVC) $(GENFILES_XDR) $(GENFILES_H)
233 RPCPREFIX = rpc.
234 KPREFIX = @kprefix@
235 statd_SOURCES = callback.c notlist.c log.c misc.c monitor.c notify.c \
236                 simu.c stat.c statd.c state.c svc_run.c rmtcall.c \
237                 sm_inter_clnt.c sm_inter_svc.c sm_inter_xdr.c log.h \
238                 notlist.h statd.h system.h version.h sm_inter.h
239
240 BUILT_SOURCES = $(GENFILES)
241 statd_LDADD = ../../support/export/libexport.a \
242               ../../support/nfs/libnfs.a \
243               ../../support/misc/libmisc.a \
244               $(LIBWRAP) $(LIBNSL)
245
246 EXTRA_DIST = sim_sm_inter.x sm_inter.x $(man8_MANS) COPYRIGHT simulate.c
247 MAINTAINERCLEANFILES = Makefile.in
248 CLEANFILES = $(GENFILES)
249 all: $(BUILT_SOURCES)
250         $(MAKE) $(AM_MAKEFLAGS) all-am
251
252 .SUFFIXES:
253 .SUFFIXES: .c .lo .o .obj
254 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
255         @for dep in $?; do \
256           case '$(am__configure_deps)' in \
257             *$$dep*) \
258               cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
259                 && exit 0; \
260               exit 1;; \
261           esac; \
262         done; \
263         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  utils/statd/Makefile'; \
264         cd $(top_srcdir) && \
265           $(AUTOMAKE) --gnu  utils/statd/Makefile
266 .PRECIOUS: Makefile
267 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
268         @case '$?' in \
269           *config.status*) \
270             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
271           *) \
272             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
273             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
274         esac;
275
276 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
277         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
278
279 $(top_srcdir)/configure:  $(am__configure_deps)
280         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
281 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
282         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
283 install-sbinPROGRAMS: $(sbin_PROGRAMS)
284         @$(NORMAL_INSTALL)
285         test -z "$(sbindir)" || $(mkdir_p) "$(DESTDIR)$(sbindir)"
286         @list='$(sbin_PROGRAMS)'; for p in $$list; do \
287           p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
288           if test -f $$p \
289              || test -f $$p1 \
290           ; then \
291             f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
292            echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(sbindir)/$$f'"; \
293            $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(sbindir)/$$f" || exit 1; \
294           else :; fi; \
295         done
296
297 uninstall-sbinPROGRAMS:
298         @$(NORMAL_UNINSTALL)
299         @list='$(sbin_PROGRAMS)'; for p in $$list; do \
300           f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
301           echo " rm -f '$(DESTDIR)$(sbindir)/$$f'"; \
302           rm -f "$(DESTDIR)$(sbindir)/$$f"; \
303         done
304
305 clean-sbinPROGRAMS:
306         @list='$(sbin_PROGRAMS)'; for p in $$list; do \
307           f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
308           echo " rm -f $$p $$f"; \
309           rm -f $$p $$f ; \
310         done
311 statd$(EXEEXT): $(statd_OBJECTS) $(statd_DEPENDENCIES) 
312         @rm -f statd$(EXEEXT)
313         $(LINK) $(statd_LDFLAGS) $(statd_OBJECTS) $(statd_LDADD) $(LIBS)
314
315 mostlyclean-compile:
316         -rm -f *.$(OBJEXT)
317
318 distclean-compile:
319         -rm -f *.tab.c
320
321 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/callback.Po@am__quote@
322 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/log.Po@am__quote@
323 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/misc.Po@am__quote@
324 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/monitor.Po@am__quote@
325 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/notify.Po@am__quote@
326 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/notlist.Po@am__quote@
327 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rmtcall.Po@am__quote@
328 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/simu.Po@am__quote@
329 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sm_inter_clnt.Po@am__quote@
330 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sm_inter_svc.Po@am__quote@
331 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sm_inter_xdr.Po@am__quote@
332 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stat.Po@am__quote@
333 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/statd.Po@am__quote@
334 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/state.Po@am__quote@
335 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/svc_run.Po@am__quote@
336
337 .c.o:
338 @am__fastdepCC_TRUE@    if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
339 @am__fastdepCC_TRUE@    then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
340 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
341 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
342 @am__fastdepCC_FALSE@   $(COMPILE) -c $<
343
344 .c.obj:
345 @am__fastdepCC_TRUE@    if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
346 @am__fastdepCC_TRUE@    then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
347 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
348 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
349 @am__fastdepCC_FALSE@   $(COMPILE) -c `$(CYGPATH_W) '$<'`
350
351 .c.lo:
352 @am__fastdepCC_TRUE@    if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
353 @am__fastdepCC_TRUE@    then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
354 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
355 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
356 @am__fastdepCC_FALSE@   $(LTCOMPILE) -c -o $@ $<
357
358 mostlyclean-libtool:
359         -rm -f *.lo
360
361 clean-libtool:
362         -rm -rf .libs _libs
363
364 distclean-libtool:
365         -rm -f libtool
366 uninstall-info-am:
367 install-man8: $(man8_MANS) $(man_MANS)
368         @$(NORMAL_INSTALL)
369         test -z "$(man8dir)" || $(mkdir_p) "$(DESTDIR)$(man8dir)"
370         @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
371         l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
372         for i in $$l2; do \
373           case "$$i" in \
374             *.8*) list="$$list $$i" ;; \
375           esac; \
376         done; \
377         for i in $$list; do \
378           if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
379           else file=$$i; fi; \
380           ext=`echo $$i | sed -e 's/^.*\\.//'`; \
381           case "$$ext" in \
382             8*) ;; \
383             *) ext='8' ;; \
384           esac; \
385           inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
386           inst=`echo $$inst | sed -e 's/^.*\///'`; \
387           inst=`echo $$inst | sed '$(transform)'`.$$ext; \
388           echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
389           $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
390         done
391 uninstall-man8:
392         @$(NORMAL_UNINSTALL)
393         @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
394         l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
395         for i in $$l2; do \
396           case "$$i" in \
397             *.8*) list="$$list $$i" ;; \
398           esac; \
399         done; \
400         for i in $$list; do \
401           ext=`echo $$i | sed -e 's/^.*\\.//'`; \
402           case "$$ext" in \
403             8*) ;; \
404             *) ext='8' ;; \
405           esac; \
406           inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
407           inst=`echo $$inst | sed -e 's/^.*\///'`; \
408           inst=`echo $$inst | sed '$(transform)'`.$$ext; \
409           echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
410           rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
411         done
412
413 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
414         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
415         unique=`for i in $$list; do \
416             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
417           done | \
418           $(AWK) '    { files[$$0] = 1; } \
419                END { for (i in files) print i; }'`; \
420         mkid -fID $$unique
421 tags: TAGS
422
423 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
424                 $(TAGS_FILES) $(LISP)
425         tags=; \
426         here=`pwd`; \
427         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
428         unique=`for i in $$list; do \
429             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
430           done | \
431           $(AWK) '    { files[$$0] = 1; } \
432                END { for (i in files) print i; }'`; \
433         if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
434           test -n "$$unique" || unique=$$empty_fix; \
435           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
436             $$tags $$unique; \
437         fi
438 ctags: CTAGS
439 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
440                 $(TAGS_FILES) $(LISP)
441         tags=; \
442         here=`pwd`; \
443         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
444         unique=`for i in $$list; do \
445             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
446           done | \
447           $(AWK) '    { files[$$0] = 1; } \
448                END { for (i in files) print i; }'`; \
449         test -z "$(CTAGS_ARGS)$$tags$$unique" \
450           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
451              $$tags $$unique
452
453 GTAGS:
454         here=`$(am__cd) $(top_builddir) && pwd` \
455           && cd $(top_srcdir) \
456           && gtags -i $(GTAGS_ARGS) $$here
457
458 distclean-tags:
459         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
460
461 distdir: $(DISTFILES)
462         @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
463         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
464         list='$(DISTFILES)'; for file in $$list; do \
465           case $$file in \
466             $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
467             $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
468           esac; \
469           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
470           dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
471           if test "$$dir" != "$$file" && test "$$dir" != "."; then \
472             dir="/$$dir"; \
473             $(mkdir_p) "$(distdir)$$dir"; \
474           else \
475             dir=''; \
476           fi; \
477           if test -d $$d/$$file; then \
478             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
479               cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
480             fi; \
481             cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
482           else \
483             test -f $(distdir)/$$file \
484             || cp -p $$d/$$file $(distdir)/$$file \
485             || exit 1; \
486           fi; \
487         done
488 check-am: all-am
489 check: $(BUILT_SOURCES)
490         $(MAKE) $(AM_MAKEFLAGS) check-am
491 all-am: Makefile $(PROGRAMS) $(MANS)
492 installdirs:
493         for dir in "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man8dir)"; do \
494           test -z "$$dir" || $(mkdir_p) "$$dir"; \
495         done
496 install: $(BUILT_SOURCES)
497         $(MAKE) $(AM_MAKEFLAGS) install-am
498 install-exec: install-exec-am
499 install-data: install-data-am
500 uninstall: uninstall-am
501
502 install-am: all-am
503         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
504
505 installcheck: installcheck-am
506 install-strip:
507         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
508           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
509           `test -z '$(STRIP)' || \
510             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
511 mostlyclean-generic:
512
513 clean-generic:
514         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
515
516 distclean-generic:
517         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
518
519 maintainer-clean-generic:
520         @echo "This command is intended for maintainers to use"
521         @echo "it deletes files that may require special tools to rebuild."
522         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
523         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
524 clean: clean-am
525
526 clean-am: clean-generic clean-libtool clean-sbinPROGRAMS \
527         mostlyclean-am
528
529 distclean: distclean-am
530         -rm -rf ./$(DEPDIR)
531         -rm -f Makefile
532 distclean-am: clean-am distclean-compile distclean-generic \
533         distclean-libtool distclean-tags
534
535 dvi: dvi-am
536
537 dvi-am:
538
539 html: html-am
540
541 info: info-am
542
543 info-am:
544
545 install-data-am: install-man
546
547 install-exec-am: install-sbinPROGRAMS
548         @$(NORMAL_INSTALL)
549         $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
550
551 install-info: install-info-am
552
553 installcheck-am:
554
555 maintainer-clean: maintainer-clean-am
556         -rm -rf ./$(DEPDIR)
557         -rm -f Makefile
558 maintainer-clean-am: distclean-am maintainer-clean-generic
559
560 mostlyclean: mostlyclean-am
561
562 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
563         mostlyclean-libtool
564
565 pdf: pdf-am
566
567 pdf-am:
568
569 ps: ps-am
570
571 ps-am:
572
573 uninstall-am: uninstall-info-am uninstall-man uninstall-sbinPROGRAMS
574         @$(NORMAL_INSTALL)
575         $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
576
577 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
578         clean-libtool clean-sbinPROGRAMS ctags distclean \
579         distclean-compile distclean-generic distclean-libtool \
580         distclean-tags distdir dvi dvi-am html html-am info info-am \
581         install install-am install-data install-data-am install-exec \
582         install-exec-am install-exec-hook install-info install-info-am \
583         install-man install-man8 install-sbinPROGRAMS install-strip \
584         installcheck installcheck-am installdirs maintainer-clean \
585         maintainer-clean-generic mostlyclean mostlyclean-compile \
586         mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
587         tags uninstall uninstall-am uninstall-hook uninstall-info-am \
588         uninstall-man uninstall-man8 uninstall-sbinPROGRAMS
589
590
591 $(RPCGEN):
592         make -C ../../tools/rpcgen all
593
594 $(GENFILES_CLNT): %_clnt.c: %.x $(RPCGEN)
595         test -f $@ && rm -rf $@ || true
596         $(RPCGEN) -l -o $@ $<
597
598 $(GENFILES_SVC): %_svc.c: %.x $(RPCGEN)
599         test -f $@ && rm -rf $@ || true
600         $(RPCGEN) -m -o $@ $<
601
602 $(GENFILES_XDR): %_xdr.c: %.x $(RPCGEN)
603         test -f $@ && rm -rf $@ || true
604         $(RPCGEN) -c -o $@ $<
605
606 $(GENFILES_H): %.h: %.x $(RPCGEN)
607         test -f $@ && rm -rf $@ || true
608         $(RPCGEN) -h -o $@ $<
609
610 #######################################################################
611 # The following allows the current practice of having
612 # daemons renamed during the install to include RPCPREFIX
613 # and the KPREFIX
614 # This could all be done much easier with program_transform_name
615 # ( program_transform_name = s/^/$(RPCPREFIX)$(KPREFIX)/ )
616 # but that also renames the man pages, which the current
617 # practice does not do.
618 install-exec-hook:
619         (cd $(DESTDIR)$(sbindir) && \
620           for p in $(sbin_PROGRAMS); do \
621             mv -f $$p$(EXEEXT) $(RPCPREFIX)$(KPREFIX)$$p$(EXEEXT) ;\
622           done)
623 uninstall-hook:
624         (cd $(DESTDIR)$(sbindir) && \
625           for p in $(sbin_PROGRAMS); do \
626             rm -f $(RPCPREFIX)$(KPREFIX)$$p$(EXEEXT) ;\
627           done)
628
629 # XXX This makes some assumptions about what automake does.
630 # XXX But there is no install-man-hook or install-man-local.
631 install-man: install-man8 install-man-links
632 uninstall-man: uninstall-man8 uninstall-man-links
633
634 install-man-links:
635         (cd $(DESTDIR)$(man8dir) && \
636           for m in $(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS); do \
637             inst=`echo $$m | sed -e 's/man$$/8/'`; \
638             rm -f $(RPCPREFIX)$$inst ; \
639             $(LN_S) $$inst $(RPCPREFIX)$$inst ; \
640           done)
641
642 uninstall-man-links:
643         (cd $(DESTDIR)$(man8dir) && \
644           for m in $(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS); do \
645             inst=`echo $$m | sed -e 's/man$$/8/'`; \
646             rm -f $(RPCPREFIX)$$inst ; \
647           done)
648 # Tell versions [3.59,3.63) of GNU make to not export all variables.
649 # Otherwise a system limit (for SysV at least) may be exceeded.
650 .NOEXPORT: