fc01c08028e970f2d4bdab7593335f709fc88641
[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 GSSD = @GSSD@
129 IDMAPD = @IDMAPD@
130 INSTALL_DATA = @INSTALL_DATA@
131 INSTALL_PROGRAM = @INSTALL_PROGRAM@
132 INSTALL_SCRIPT = @INSTALL_SCRIPT@
133 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
134 K5VERS = @K5VERS@
135 KRBCFLAGS = @KRBCFLAGS@
136 KRBDIR = @KRBDIR@
137 KRBLIBS = @KRBLIBS@
138 LD = @LD@
139 LDFLAGS = @LDFLAGS@
140 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
141 LIBBSD = @LIBBSD@
142 LIBCRYPT = @LIBCRYPT@
143 LIBNSL = @LIBNSL@
144 LIBOBJS = @LIBOBJS@
145 LIBS = @LIBS@
146 LIBSOCKET = @LIBSOCKET@
147 LIBTOOL = @LIBTOOL@
148 LIBWRAP = @LIBWRAP@
149 LN_S = @LN_S@
150 LTLIBOBJS = @LTLIBOBJS@
151 MAKEINFO = @MAKEINFO@
152 OBJEXT = @OBJEXT@
153 PACKAGE = @PACKAGE@
154 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
155 PACKAGE_NAME = @PACKAGE_NAME@
156 PACKAGE_STRING = @PACKAGE_STRING@
157 PACKAGE_TARNAME = @PACKAGE_TARNAME@
158 PACKAGE_VERSION = @PACKAGE_VERSION@
159 PATH_SEPARATOR = @PATH_SEPARATOR@
160 RANLIB = @RANLIB@
161 RELEASE = @RELEASE@
162 SET_MAKE = @SET_MAKE@
163 SHELL = @SHELL@
164 STRIP = @STRIP@
165 SVCGSSD = @SVCGSSD@
166 VERSION = @VERSION@
167 ac_ct_AR = @ac_ct_AR@
168 ac_ct_CC = @ac_ct_CC@
169 ac_ct_CXX = @ac_ct_CXX@
170 ac_ct_F77 = @ac_ct_F77@
171 ac_ct_LD = @ac_ct_LD@
172 ac_ct_RANLIB = @ac_ct_RANLIB@
173 ac_ct_STRIP = @ac_ct_STRIP@
174 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
175 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
176 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
177 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
178 am__include = @am__include@
179 am__leading_dot = @am__leading_dot@
180 am__quote = @am__quote@
181 am__tar = @am__tar@
182 am__untar = @am__untar@
183 bindir = @bindir@
184 build = @build@
185 build_alias = @build_alias@
186 build_cpu = @build_cpu@
187 build_os = @build_os@
188 build_vendor = @build_vendor@
189 datadir = @datadir@
190 enable_gss = @enable_gss@
191 enable_nfsv3 = @enable_nfsv3@
192 enable_nfsv4 = @enable_nfsv4@
193 exec_prefix = @exec_prefix@
194 host = @host@
195 host_alias = @host_alias@
196 host_cpu = @host_cpu@
197 host_os = @host_os@
198 host_vendor = @host_vendor@
199 includedir = @includedir@
200 infodir = @infodir@
201 install_sh = @install_sh@
202 kprefix = @kprefix@
203 libdir = @libdir@
204 libexecdir = @libexecdir@
205 localstatedir = @localstatedir@
206 mandir = @mandir@
207 mkdir_p = @mkdir_p@
208 oldincludedir = @oldincludedir@
209 prefix = @prefix@
210 program_transform_name = @program_transform_name@
211 sbindir = @sbindir@
212 secure_statd = @secure_statd@
213 sharedstatedir = @sharedstatedir@
214 statduser = @statduser@
215 statedir = @statedir@
216 sysconfdir = @sysconfdir@
217 target_alias = @target_alias@
218 man8_MANS = statd.man
219 RPCGEN = $(top_builddir)/tools/rpcgen/rpcgen
220 GENFILES_CLNT = sm_inter_clnt.c
221 GENFILES_SVC = sm_inter_svc.c
222 GENFILES_XDR = sm_inter_xdr.c
223 GENFILES_H = sm_inter.h
224 GENFILES = $(GENFILES_CLNT) $(GENFILES_SVC) $(GENFILES_XDR) $(GENFILES_H)
225 RPCPREFIX = rpc.
226 KPREFIX = @kprefix@
227 statd_SOURCES = callback.c notlist.c log.c misc.c monitor.c notify.c \
228                 simu.c stat.c statd.c state.c svc_run.c rmtcall.c \
229                 sm_inter_clnt.c sm_inter_svc.c sm_inter_xdr.c log.h \
230                 notlist.h statd.h system.h version.h sm_inter.h
231
232 BUILT_SOURCES = $(GENFILES)
233 statd_LDADD = ../../support/export/libexport.a \
234               ../../support/nfs/libnfs.a \
235               ../../support/misc/libmisc.a \
236               $(LIBWRAP) $(LIBNSL)
237
238 EXTRA_DIST = sim_sm_inter.x sm_inter.x $(man8_MANS) COPYRIGHT simulate.c
239 MAINTAINERCLEANFILES = Makefile.in
240 CLEANFILES = $(GENFILES)
241 all: $(BUILT_SOURCES)
242         $(MAKE) $(AM_MAKEFLAGS) all-am
243
244 .SUFFIXES:
245 .SUFFIXES: .c .lo .o .obj
246 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
247         @for dep in $?; do \
248           case '$(am__configure_deps)' in \
249             *$$dep*) \
250               cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
251                 && exit 0; \
252               exit 1;; \
253           esac; \
254         done; \
255         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  utils/statd/Makefile'; \
256         cd $(top_srcdir) && \
257           $(AUTOMAKE) --gnu  utils/statd/Makefile
258 .PRECIOUS: Makefile
259 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
260         @case '$?' in \
261           *config.status*) \
262             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
263           *) \
264             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
265             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
266         esac;
267
268 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
269         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
270
271 $(top_srcdir)/configure:  $(am__configure_deps)
272         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
273 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
274         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
275 install-sbinPROGRAMS: $(sbin_PROGRAMS)
276         @$(NORMAL_INSTALL)
277         test -z "$(sbindir)" || $(mkdir_p) "$(DESTDIR)$(sbindir)"
278         @list='$(sbin_PROGRAMS)'; for p in $$list; do \
279           p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
280           if test -f $$p \
281              || test -f $$p1 \
282           ; then \
283             f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
284            echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(sbindir)/$$f'"; \
285            $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(sbinPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(sbindir)/$$f" || exit 1; \
286           else :; fi; \
287         done
288
289 uninstall-sbinPROGRAMS:
290         @$(NORMAL_UNINSTALL)
291         @list='$(sbin_PROGRAMS)'; for p in $$list; do \
292           f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
293           echo " rm -f '$(DESTDIR)$(sbindir)/$$f'"; \
294           rm -f "$(DESTDIR)$(sbindir)/$$f"; \
295         done
296
297 clean-sbinPROGRAMS:
298         @list='$(sbin_PROGRAMS)'; for p in $$list; do \
299           f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
300           echo " rm -f $$p $$f"; \
301           rm -f $$p $$f ; \
302         done
303 statd$(EXEEXT): $(statd_OBJECTS) $(statd_DEPENDENCIES) 
304         @rm -f statd$(EXEEXT)
305         $(LINK) $(statd_LDFLAGS) $(statd_OBJECTS) $(statd_LDADD) $(LIBS)
306
307 mostlyclean-compile:
308         -rm -f *.$(OBJEXT)
309
310 distclean-compile:
311         -rm -f *.tab.c
312
313 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/callback.Po@am__quote@
314 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/log.Po@am__quote@
315 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/misc.Po@am__quote@
316 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/monitor.Po@am__quote@
317 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/notify.Po@am__quote@
318 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/notlist.Po@am__quote@
319 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rmtcall.Po@am__quote@
320 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/simu.Po@am__quote@
321 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sm_inter_clnt.Po@am__quote@
322 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sm_inter_svc.Po@am__quote@
323 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sm_inter_xdr.Po@am__quote@
324 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stat.Po@am__quote@
325 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/statd.Po@am__quote@
326 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/state.Po@am__quote@
327 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/svc_run.Po@am__quote@
328
329 .c.o:
330 @am__fastdepCC_TRUE@    if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
331 @am__fastdepCC_TRUE@    then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
332 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
333 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
334 @am__fastdepCC_FALSE@   $(COMPILE) -c $<
335
336 .c.obj:
337 @am__fastdepCC_TRUE@    if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
338 @am__fastdepCC_TRUE@    then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
339 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
340 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
341 @am__fastdepCC_FALSE@   $(COMPILE) -c `$(CYGPATH_W) '$<'`
342
343 .c.lo:
344 @am__fastdepCC_TRUE@    if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
345 @am__fastdepCC_TRUE@    then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
346 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
347 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
348 @am__fastdepCC_FALSE@   $(LTCOMPILE) -c -o $@ $<
349
350 mostlyclean-libtool:
351         -rm -f *.lo
352
353 clean-libtool:
354         -rm -rf .libs _libs
355
356 distclean-libtool:
357         -rm -f libtool
358 uninstall-info-am:
359 install-man8: $(man8_MANS) $(man_MANS)
360         @$(NORMAL_INSTALL)
361         test -z "$(man8dir)" || $(mkdir_p) "$(DESTDIR)$(man8dir)"
362         @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
363         l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
364         for i in $$l2; do \
365           case "$$i" in \
366             *.8*) list="$$list $$i" ;; \
367           esac; \
368         done; \
369         for i in $$list; do \
370           if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
371           else file=$$i; fi; \
372           ext=`echo $$i | sed -e 's/^.*\\.//'`; \
373           case "$$ext" in \
374             8*) ;; \
375             *) ext='8' ;; \
376           esac; \
377           inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
378           inst=`echo $$inst | sed -e 's/^.*\///'`; \
379           inst=`echo $$inst | sed '$(transform)'`.$$ext; \
380           echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
381           $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
382         done
383 uninstall-man8:
384         @$(NORMAL_UNINSTALL)
385         @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
386         l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
387         for i in $$l2; do \
388           case "$$i" in \
389             *.8*) list="$$list $$i" ;; \
390           esac; \
391         done; \
392         for i in $$list; do \
393           ext=`echo $$i | sed -e 's/^.*\\.//'`; \
394           case "$$ext" in \
395             8*) ;; \
396             *) ext='8' ;; \
397           esac; \
398           inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
399           inst=`echo $$inst | sed -e 's/^.*\///'`; \
400           inst=`echo $$inst | sed '$(transform)'`.$$ext; \
401           echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
402           rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
403         done
404
405 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
406         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
407         unique=`for i in $$list; do \
408             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
409           done | \
410           $(AWK) '    { files[$$0] = 1; } \
411                END { for (i in files) print i; }'`; \
412         mkid -fID $$unique
413 tags: TAGS
414
415 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
416                 $(TAGS_FILES) $(LISP)
417         tags=; \
418         here=`pwd`; \
419         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
420         unique=`for i in $$list; do \
421             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
422           done | \
423           $(AWK) '    { files[$$0] = 1; } \
424                END { for (i in files) print i; }'`; \
425         if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
426           test -n "$$unique" || unique=$$empty_fix; \
427           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
428             $$tags $$unique; \
429         fi
430 ctags: CTAGS
431 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
432                 $(TAGS_FILES) $(LISP)
433         tags=; \
434         here=`pwd`; \
435         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
436         unique=`for i in $$list; do \
437             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
438           done | \
439           $(AWK) '    { files[$$0] = 1; } \
440                END { for (i in files) print i; }'`; \
441         test -z "$(CTAGS_ARGS)$$tags$$unique" \
442           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
443              $$tags $$unique
444
445 GTAGS:
446         here=`$(am__cd) $(top_builddir) && pwd` \
447           && cd $(top_srcdir) \
448           && gtags -i $(GTAGS_ARGS) $$here
449
450 distclean-tags:
451         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
452
453 distdir: $(DISTFILES)
454         @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
455         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
456         list='$(DISTFILES)'; for file in $$list; do \
457           case $$file in \
458             $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
459             $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
460           esac; \
461           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
462           dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
463           if test "$$dir" != "$$file" && test "$$dir" != "."; then \
464             dir="/$$dir"; \
465             $(mkdir_p) "$(distdir)$$dir"; \
466           else \
467             dir=''; \
468           fi; \
469           if test -d $$d/$$file; then \
470             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
471               cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
472             fi; \
473             cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
474           else \
475             test -f $(distdir)/$$file \
476             || cp -p $$d/$$file $(distdir)/$$file \
477             || exit 1; \
478           fi; \
479         done
480 check-am: all-am
481 check: $(BUILT_SOURCES)
482         $(MAKE) $(AM_MAKEFLAGS) check-am
483 all-am: Makefile $(PROGRAMS) $(MANS)
484 installdirs:
485         for dir in "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man8dir)"; do \
486           test -z "$$dir" || $(mkdir_p) "$$dir"; \
487         done
488 install: $(BUILT_SOURCES)
489         $(MAKE) $(AM_MAKEFLAGS) install-am
490 install-exec: install-exec-am
491 install-data: install-data-am
492 uninstall: uninstall-am
493
494 install-am: all-am
495         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
496
497 installcheck: installcheck-am
498 install-strip:
499         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
500           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
501           `test -z '$(STRIP)' || \
502             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
503 mostlyclean-generic:
504
505 clean-generic:
506         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
507
508 distclean-generic:
509         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
510
511 maintainer-clean-generic:
512         @echo "This command is intended for maintainers to use"
513         @echo "it deletes files that may require special tools to rebuild."
514         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
515         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
516 clean: clean-am
517
518 clean-am: clean-generic clean-libtool clean-sbinPROGRAMS \
519         mostlyclean-am
520
521 distclean: distclean-am
522         -rm -rf ./$(DEPDIR)
523         -rm -f Makefile
524 distclean-am: clean-am distclean-compile distclean-generic \
525         distclean-libtool distclean-tags
526
527 dvi: dvi-am
528
529 dvi-am:
530
531 html: html-am
532
533 info: info-am
534
535 info-am:
536
537 install-data-am: install-man
538
539 install-exec-am: install-sbinPROGRAMS
540         @$(NORMAL_INSTALL)
541         $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
542
543 install-info: install-info-am
544
545 installcheck-am:
546
547 maintainer-clean: maintainer-clean-am
548         -rm -rf ./$(DEPDIR)
549         -rm -f Makefile
550 maintainer-clean-am: distclean-am maintainer-clean-generic
551
552 mostlyclean: mostlyclean-am
553
554 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
555         mostlyclean-libtool
556
557 pdf: pdf-am
558
559 pdf-am:
560
561 ps: ps-am
562
563 ps-am:
564
565 uninstall-am: uninstall-info-am uninstall-man uninstall-sbinPROGRAMS
566         @$(NORMAL_INSTALL)
567         $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
568
569 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
570         clean-libtool clean-sbinPROGRAMS ctags distclean \
571         distclean-compile distclean-generic distclean-libtool \
572         distclean-tags distdir dvi dvi-am html html-am info info-am \
573         install install-am install-data install-data-am install-exec \
574         install-exec-am install-exec-hook install-info install-info-am \
575         install-man install-man8 install-sbinPROGRAMS install-strip \
576         installcheck installcheck-am installdirs maintainer-clean \
577         maintainer-clean-generic mostlyclean mostlyclean-compile \
578         mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
579         tags uninstall uninstall-am uninstall-hook uninstall-info-am \
580         uninstall-man uninstall-man8 uninstall-sbinPROGRAMS
581
582
583 $(RPCGEN):
584         make -C ../../tools/rpcgen all
585
586 $(GENFILES_CLNT): %_clnt.c: %.x $(RPCGEN)
587         test -f $@ && rm -rf $@ || true
588         $(RPCGEN) -l -o $@ $<
589
590 $(GENFILES_SVC): %_svc.c: %.x $(RPCGEN)
591         test -f $@ && rm -rf $@ || true
592         $(RPCGEN) -m -o $@ $<
593
594 $(GENFILES_XDR): %_xdr.c: %.x $(RPCGEN)
595         test -f $@ && rm -rf $@ || true
596         $(RPCGEN) -c -o $@ $<
597
598 $(GENFILES_H): %.h: %.x $(RPCGEN)
599         test -f $@ && rm -rf $@ || true
600         $(RPCGEN) -h -o $@ $<
601
602 #######################################################################
603 # The following allows the current practice of having
604 # daemons renamed during the install to include RPCPREFIX
605 # and the KPREFIX
606 # This could all be done much easier with program_transform_name
607 # ( program_transform_name = s/^/$(RPCPREFIX)$(KPREFIX)/ )
608 # but that also renames the man pages, which the current
609 # practice does not do.
610 install-exec-hook:
611         (cd $(DESTDIR)$(sbindir) && \
612           for p in $(sbin_PROGRAMS); do \
613             mv -f $$p$(EXEEXT) $(RPCPREFIX)$(KPREFIX)$$p$(EXEEXT) ;\
614           done)
615 uninstall-hook:
616         (cd $(DESTDIR)$(sbindir) && \
617           for p in $(sbin_PROGRAMS); do \
618             rm -f $(RPCPREFIX)$(KPREFIX)$$p$(EXEEXT) ;\
619           done)
620
621 # XXX This makes some assumptions about what automake does.
622 # XXX But there is no install-man-hook or install-man-local.
623 install-man: install-man8 install-man-links
624 uninstall-man: uninstall-man8 uninstall-man-links
625
626 install-man-links:
627         (cd $(DESTDIR)$(man8dir) && \
628           for m in $(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS); do \
629             inst=`echo $$m | sed -e 's/man$$/8/'`; \
630             rm -f $(RPCPREFIX)$$inst ; \
631             $(LN_S) $$inst $(RPCPREFIX)$$inst ; \
632           done)
633
634 uninstall-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           done)
640 # Tell versions [3.59,3.63) of GNU make to not export all variables.
641 # Otherwise a system limit (for SysV at least) may be exceeded.
642 .NOEXPORT: