1# Makefile.in generated by automake 1.10.1 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008  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@
16VPATH = @srcdir@
17pkgdatadir = $(datadir)/@PACKAGE@
18pkglibdir = $(libdir)/@PACKAGE@
19pkgincludedir = $(includedir)/@PACKAGE@
20am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
21install_sh_DATA = $(install_sh) -c -m 644
22install_sh_PROGRAM = $(install_sh) -c
23install_sh_SCRIPT = $(install_sh) -c
24INSTALL_HEADER = $(INSTALL_DATA)
25transform = $(program_transform_name)
26NORMAL_INSTALL = :
27PRE_INSTALL = :
28POST_INSTALL = :
29NORMAL_UNINSTALL = :
30PRE_UNINSTALL = :
31POST_UNINSTALL = :
32build_triplet = @build@
33host_triplet = @host@
34target_triplet = @target@
35@HAVE_ACLS_TRUE@am__append_1 = afp_ldap.conf
36@USE_APPLETALK_TRUE@am__append_2 = atalkd.conf papd.conf
37subdir = config
38DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
39ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40am__aclocal_m4_deps = $(top_srcdir)/macros/afs-check.m4 \
41	$(top_srcdir)/macros/cnid-backend.m4 \
42	$(top_srcdir)/macros/config-checks.m4 \
43	$(top_srcdir)/macros/cups.m4 $(top_srcdir)/macros/db3-check.m4 \
44	$(top_srcdir)/macros/grep-check.m4 \
45	$(top_srcdir)/macros/gssapi-check.m4 \
46	$(top_srcdir)/macros/iconv.m4 \
47	$(top_srcdir)/macros/largefile-check.m4 \
48	$(top_srcdir)/macros/libgcrypt.m4 \
49	$(top_srcdir)/macros/pam-check.m4 \
50	$(top_srcdir)/macros/perl-check.m4 \
51	$(top_srcdir)/macros/ps-check.m4 \
52	$(top_srcdir)/macros/quota-check.m4 \
53	$(top_srcdir)/macros/snprintf-check.m4 \
54	$(top_srcdir)/macros/srvloc.m4 \
55	$(top_srcdir)/macros/ssl-check.m4 \
56	$(top_srcdir)/macros/summary.m4 \
57	$(top_srcdir)/macros/tcp-wrappers.m4 \
58	$(top_srcdir)/macros/util.m4 $(top_srcdir)/macros/webmin.m4 \
59	$(top_srcdir)/macros/zeroconf.m4 $(top_srcdir)/configure.in
60am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
61	$(ACLOCAL_M4)
62mkinstalldirs = $(install_sh) -d
63CONFIG_HEADER = $(top_builddir)/config.h
64CONFIG_CLEAN_FILES =
65SOURCES =
66DIST_SOURCES =
67RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
68	html-recursive info-recursive install-data-recursive \
69	install-dvi-recursive install-exec-recursive \
70	install-html-recursive install-info-recursive \
71	install-pdf-recursive install-ps-recursive install-recursive \
72	installcheck-recursive installdirs-recursive pdf-recursive \
73	ps-recursive uninstall-recursive
74RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
75  distclean-recursive maintainer-clean-recursive
76ETAGS = etags
77CTAGS = ctags
78DIST_SUBDIRS = $(SUBDIRS)
79DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
80ACLOCAL = @ACLOCAL@
81ACL_LIBS = @ACL_LIBS@
82AFS_CFLAGS = @AFS_CFLAGS@
83AFS_LIBS = @AFS_LIBS@
84AMTAR = @AMTAR@
85AR = @AR@
86AUTOCONF = @AUTOCONF@
87AUTOHEADER = @AUTOHEADER@
88AUTOMAKE = @AUTOMAKE@
89AVAHI_CFLAGS = @AVAHI_CFLAGS@
90AVAHI_LIBS = @AVAHI_LIBS@
91AVAHI_TPOLL_CFLAGS = @AVAHI_TPOLL_CFLAGS@
92AVAHI_TPOLL_LIBS = @AVAHI_TPOLL_LIBS@
93AWK = @AWK@
94BDB_BIN = @BDB_BIN@
95BDB_CFLAGS = @BDB_CFLAGS@
96BDB_LIBS = @BDB_LIBS@
97BDB_PATH = @BDB_PATH@
98CC = @CC@
99CCDEPMODE = @CCDEPMODE@
100CFLAGS = @CFLAGS@
101COMPILE_64BIT_KMODULE = @COMPILE_64BIT_KMODULE@
102COMPILE_KERNEL_GCC = @COMPILE_KERNEL_GCC@
103CPP = @CPP@
104CPPFLAGS = @CPPFLAGS@
105CRYPT_LIBS = @CRYPT_LIBS@
106CUPS_CFLAGS = @CUPS_CFLAGS@
107CUPS_CONFIG = @CUPS_CONFIG@
108CUPS_LDFLAGS = @CUPS_LDFLAGS@
109CUPS_LIBS = @CUPS_LIBS@
110CXX = @CXX@
111CXXCPP = @CXXCPP@
112CXXDEPMODE = @CXXDEPMODE@
113CXXFLAGS = @CXXFLAGS@
114CYGPATH_W = @CYGPATH_W@
115DEFAULT_CNID_SCHEME = @DEFAULT_CNID_SCHEME@
116DEFS = @DEFS@
117DEPDIR = @DEPDIR@
118DSYMUTIL = @DSYMUTIL@
119ECHO = @ECHO@
120ECHO_C = @ECHO_C@
121ECHO_N = @ECHO_N@
122ECHO_T = @ECHO_T@
123EGREP = @EGREP@
124EXEEXT = @EXEEXT@
125F77 = @F77@
126FFLAGS = @FFLAGS@
127GREP = @GREP@
128GSSAPI_CFLAGS = @GSSAPI_CFLAGS@
129GSSAPI_LIBS = @GSSAPI_LIBS@
130ICONV_CFLAGS = @ICONV_CFLAGS@
131ICONV_LIBS = @ICONV_LIBS@
132INSTALL = @INSTALL@
133INSTALL_DATA = @INSTALL_DATA@
134INSTALL_PROGRAM = @INSTALL_PROGRAM@
135INSTALL_SCRIPT = @INSTALL_SCRIPT@
136INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
137KCFLAGS = @KCFLAGS@
138KLDFLAGS = @KLDFLAGS@
139KRB5_CONFIG = @KRB5_CONFIG@
140LDFLAGS = @LDFLAGS@
141LIBADD_DL = @LIBADD_DL@
142LIBGCRYPT_CFLAGS = @LIBGCRYPT_CFLAGS@
143LIBGCRYPT_CONFIG = @LIBGCRYPT_CONFIG@
144LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@
145LIBOBJS = @LIBOBJS@
146LIBS = @LIBS@
147LIBTOOL = @LIBTOOL@
148LN_S = @LN_S@
149LTLIBOBJS = @LTLIBOBJS@
150MAINT = @MAINT@
151MAKEINFO = @MAKEINFO@
152MKDIR_P = @MKDIR_P@
153NETATALK_VERSION = @NETATALK_VERSION@
154NMEDIT = @NMEDIT@
155OBJEXT = @OBJEXT@
156OVERWRITE_CONFIG = @OVERWRITE_CONFIG@
157PACKAGE = @PACKAGE@
158PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
159PACKAGE_NAME = @PACKAGE_NAME@
160PACKAGE_STRING = @PACKAGE_STRING@
161PACKAGE_TARNAME = @PACKAGE_TARNAME@
162PACKAGE_VERSION = @PACKAGE_VERSION@
163PAMDIR = @PAMDIR@
164PAM_ACCOUNT = @PAM_ACCOUNT@
165PAM_AUTH = @PAM_AUTH@
166PAM_CFLAGS = @PAM_CFLAGS@
167PAM_DIRECTIVE = @PAM_DIRECTIVE@
168PAM_LIBS = @PAM_LIBS@
169PAM_PASSWORD = @PAM_PASSWORD@
170PAM_SESSION = @PAM_SESSION@
171PATH_SEPARATOR = @PATH_SEPARATOR@
172PERL = @PERL@
173PKGCONFDIR = @PKGCONFDIR@
174PKG_CONFIG = @PKG_CONFIG@
175PS = @PS@
176PTHREAD_LIBS = @PTHREAD_LIBS@
177QUOTA_LIBS = @QUOTA_LIBS@
178RANLIB = @RANLIB@
179SED = @SED@
180SERVERTEXT = @SERVERTEXT@
181SET_MAKE = @SET_MAKE@
182SHELL = @SHELL@
183SLP_CFLAGS = @SLP_CFLAGS@
184SLP_LIBS = @SLP_LIBS@
185SPOOLDIR = @SPOOLDIR@
186SSL_CFLAGS = @SSL_CFLAGS@
187SSL_LIBS = @SSL_LIBS@
188STRIP = @STRIP@
189UAMS_PATH = @UAMS_PATH@
190VERSION = @VERSION@
191WEBMIN_PASS = @WEBMIN_PASS@
192WEBMIN_PATH = @WEBMIN_PATH@
193WEBMIN_PORT = @WEBMIN_PORT@
194WEBMIN_USER = @WEBMIN_USER@
195WEBMIN_VERSION = @WEBMIN_VERSION@
196WRAP_LIBS = @WRAP_LIBS@
197ZEROCONF_CFLAGS = @ZEROCONF_CFLAGS@
198ZEROCONF_LIBS = @ZEROCONF_LIBS@
199abs_builddir = @abs_builddir@
200abs_srcdir = @abs_srcdir@
201abs_top_builddir = @abs_top_builddir@
202abs_top_srcdir = @abs_top_srcdir@
203ac_ct_CC = @ac_ct_CC@
204ac_ct_CXX = @ac_ct_CXX@
205ac_ct_F77 = @ac_ct_F77@
206am__include = @am__include@
207am__leading_dot = @am__leading_dot@
208am__quote = @am__quote@
209am__tar = @am__tar@
210am__untar = @am__untar@
211bindir = @bindir@
212build = @build@
213build_alias = @build_alias@
214build_cpu = @build_cpu@
215build_os = @build_os@
216build_vendor = @build_vendor@
217builddir = @builddir@
218compiled_backends = @compiled_backends@
219datadir = @datadir@
220datarootdir = @datarootdir@
221docdir = @docdir@
222dvidir = @dvidir@
223exec_prefix = @exec_prefix@
224host = @host@
225host_alias = @host_alias@
226host_cpu = @host_cpu@
227host_os = @host_os@
228host_vendor = @host_vendor@
229htmldir = @htmldir@
230includedir = @includedir@
231infodir = @infodir@
232install_sh = @install_sh@
233libdir = @libdir@
234libexecdir = @libexecdir@
235localedir = @localedir@
236localstatedir = @localstatedir@
237mandir = @mandir@
238mkdir_p = @mkdir_p@
239oldincludedir = @oldincludedir@
240pdfdir = @pdfdir@
241prefix = @prefix@
242program_transform_name = @program_transform_name@
243psdir = @psdir@
244sbindir = @sbindir@
245sharedstatedir = @sharedstatedir@
246srcdir = @srcdir@
247sysconfdir = @sysconfdir@
248target = @target@
249target_alias = @target_alias@
250target_cpu = @target_cpu@
251target_os = @target_os@
252target_vendor = @target_vendor@
253top_builddir = @top_builddir@
254top_srcdir = @top_srcdir@
255SUBDIRS = pam
256SUFFIXES = .tmpl .
257TMPLFILES = afpd.conf.tmpl AppleVolumes.default.tmpl
258GENFILES = afpd.conf AppleVolumes.default
259CLEANFILES = $(GENFILES)
260EXTRA_DIST = \
261	AppleVolumes.default.tmpl \
262	AppleVolumes.system \
263	afp_ldap.conf \
264	afpd.conf.tmpl \
265	atalkd.conf \
266	netatalk.conf \
267	papd.conf
268
269@USE_DEBIAN_FALSE@CONFFILES = AppleVolumes.system netatalk.conf \
270@USE_DEBIAN_FALSE@	$(am__append_1) $(am__append_2)
271@USE_DEBIAN_TRUE@CONFFILES = AppleVolumes.system $(am__append_1) \
272@USE_DEBIAN_TRUE@	$(am__append_2)
273pkgconfdir = @PKGCONFDIR@
274webminpath = @WEBMIN_PATH@
275webminuser = @WEBMIN_USER@
276webminversion = @WEBMIN_VERSION@
277webminpass = @WEBMIN_PASS@
278webminport = @WEBMIN_PORT@
279all: all-recursive
280
281.SUFFIXES:
282.SUFFIXES: .tmpl .
283$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
284	@for dep in $?; do \
285	  case '$(am__configure_deps)' in \
286	    *$$dep*) \
287	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
288		&& exit 0; \
289	      exit 1;; \
290	  esac; \
291	done; \
292	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  config/Makefile'; \
293	cd $(top_srcdir) && \
294	  $(AUTOMAKE) --foreign  config/Makefile
295.PRECIOUS: Makefile
296Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
297	@case '$?' in \
298	  *config.status*) \
299	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
300	  *) \
301	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
302	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
303	esac;
304
305$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
306	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
307
308$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
309	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
310$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
311	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
312
313mostlyclean-libtool:
314	-rm -f *.lo
315
316clean-libtool:
317	-rm -rf .libs _libs
318
319# This directory's subdirectories are mostly independent; you can cd
320# into them and run `make' without going through this Makefile.
321# To change the values of `make' variables: instead of editing Makefiles,
322# (1) if the variable is set in `config.status', edit `config.status'
323#     (which will cause the Makefiles to be regenerated when you run `make');
324# (2) otherwise, pass the desired values on the `make' command line.
325$(RECURSIVE_TARGETS):
326	@failcom='exit 1'; \
327	for f in x $$MAKEFLAGS; do \
328	  case $$f in \
329	    *=* | --[!k]*);; \
330	    *k*) failcom='fail=yes';; \
331	  esac; \
332	done; \
333	dot_seen=no; \
334	target=`echo $@ | sed s/-recursive//`; \
335	list='$(SUBDIRS)'; for subdir in $$list; do \
336	  echo "Making $$target in $$subdir"; \
337	  if test "$$subdir" = "."; then \
338	    dot_seen=yes; \
339	    local_target="$$target-am"; \
340	  else \
341	    local_target="$$target"; \
342	  fi; \
343	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
344	  || eval $$failcom; \
345	done; \
346	if test "$$dot_seen" = "no"; then \
347	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
348	fi; test -z "$$fail"
349
350$(RECURSIVE_CLEAN_TARGETS):
351	@failcom='exit 1'; \
352	for f in x $$MAKEFLAGS; do \
353	  case $$f in \
354	    *=* | --[!k]*);; \
355	    *k*) failcom='fail=yes';; \
356	  esac; \
357	done; \
358	dot_seen=no; \
359	case "$@" in \
360	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
361	  *) list='$(SUBDIRS)' ;; \
362	esac; \
363	rev=''; for subdir in $$list; do \
364	  if test "$$subdir" = "."; then :; else \
365	    rev="$$subdir $$rev"; \
366	  fi; \
367	done; \
368	rev="$$rev ."; \
369	target=`echo $@ | sed s/-recursive//`; \
370	for subdir in $$rev; do \
371	  echo "Making $$target in $$subdir"; \
372	  if test "$$subdir" = "."; then \
373	    local_target="$$target-am"; \
374	  else \
375	    local_target="$$target"; \
376	  fi; \
377	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
378	  || eval $$failcom; \
379	done && test -z "$$fail"
380tags-recursive:
381	list='$(SUBDIRS)'; for subdir in $$list; do \
382	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
383	done
384ctags-recursive:
385	list='$(SUBDIRS)'; for subdir in $$list; do \
386	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
387	done
388
389ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
390	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
391	unique=`for i in $$list; do \
392	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
393	  done | \
394	  $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
395	      END { if (nonempty) { for (i in files) print i; }; }'`; \
396	mkid -fID $$unique
397tags: TAGS
398
399TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
400		$(TAGS_FILES) $(LISP)
401	tags=; \
402	here=`pwd`; \
403	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
404	  include_option=--etags-include; \
405	  empty_fix=.; \
406	else \
407	  include_option=--include; \
408	  empty_fix=; \
409	fi; \
410	list='$(SUBDIRS)'; for subdir in $$list; do \
411	  if test "$$subdir" = .; then :; else \
412	    test ! -f $$subdir/TAGS || \
413	      tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
414	  fi; \
415	done; \
416	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
417	unique=`for i in $$list; do \
418	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
419	  done | \
420	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
421	      END { if (nonempty) { for (i in files) print i; }; }'`; \
422	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
423	  test -n "$$unique" || unique=$$empty_fix; \
424	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
425	    $$tags $$unique; \
426	fi
427ctags: CTAGS
428CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
429		$(TAGS_FILES) $(LISP)
430	tags=; \
431	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
432	unique=`for i in $$list; do \
433	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
434	  done | \
435	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
436	      END { if (nonempty) { for (i in files) print i; }; }'`; \
437	test -z "$(CTAGS_ARGS)$$tags$$unique" \
438	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
439	     $$tags $$unique
440
441GTAGS:
442	here=`$(am__cd) $(top_builddir) && pwd` \
443	  && cd $(top_srcdir) \
444	  && gtags -i $(GTAGS_ARGS) $$here
445
446distclean-tags:
447	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
448
449distdir: $(DISTFILES)
450	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
451	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
452	list='$(DISTFILES)'; \
453	  dist_files=`for file in $$list; do echo $$file; done | \
454	  sed -e "s|^$$srcdirstrip/||;t" \
455	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
456	case $$dist_files in \
457	  */*) $(MKDIR_P) `echo "$$dist_files" | \
458			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
459			   sort -u` ;; \
460	esac; \
461	for file in $$dist_files; do \
462	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
463	  if test -d $$d/$$file; then \
464	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
465	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
466	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
467	    fi; \
468	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
469	  else \
470	    test -f $(distdir)/$$file \
471	    || cp -p $$d/$$file $(distdir)/$$file \
472	    || exit 1; \
473	  fi; \
474	done
475	list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
476	  if test "$$subdir" = .; then :; else \
477	    test -d "$(distdir)/$$subdir" \
478	    || $(MKDIR_P) "$(distdir)/$$subdir" \
479	    || exit 1; \
480	    distdir=`$(am__cd) $(distdir) && pwd`; \
481	    top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
482	    (cd $$subdir && \
483	      $(MAKE) $(AM_MAKEFLAGS) \
484	        top_distdir="$$top_distdir" \
485	        distdir="$$distdir/$$subdir" \
486		am__remove_distdir=: \
487		am__skip_length_check=: \
488	        distdir) \
489	      || exit 1; \
490	  fi; \
491	done
492check-am: all-am
493check: check-recursive
494all-am: Makefile
495installdirs: installdirs-recursive
496installdirs-am:
497install: install-recursive
498install-exec: install-exec-recursive
499install-data: install-data-recursive
500uninstall: uninstall-recursive
501
502install-am: all-am
503	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
504
505installcheck: installcheck-recursive
506install-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
511mostlyclean-generic:
512
513clean-generic:
514	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
515
516distclean-generic:
517	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
518
519maintainer-clean-generic:
520	@echo "This command is intended for maintainers to use"
521	@echo "it deletes files that may require special tools to rebuild."
522clean: clean-recursive
523
524clean-am: clean-generic clean-libtool mostlyclean-am
525
526distclean: distclean-recursive
527	-rm -f Makefile
528distclean-am: clean-am distclean-generic distclean-tags
529
530dvi: dvi-recursive
531
532dvi-am:
533
534html: html-recursive
535
536info: info-recursive
537
538info-am:
539
540install-data-am: install-data-local
541
542install-dvi: install-dvi-recursive
543
544install-exec-am:
545
546install-html: install-html-recursive
547
548install-info: install-info-recursive
549
550install-man:
551
552install-pdf: install-pdf-recursive
553
554install-ps: install-ps-recursive
555
556installcheck-am:
557
558maintainer-clean: maintainer-clean-recursive
559	-rm -f Makefile
560maintainer-clean-am: distclean-am maintainer-clean-generic
561
562mostlyclean: mostlyclean-recursive
563
564mostlyclean-am: mostlyclean-generic mostlyclean-libtool
565
566pdf: pdf-recursive
567
568pdf-am:
569
570ps: ps-recursive
571
572ps-am:
573
574uninstall-am: uninstall-local
575
576.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
577	install-strip
578
579.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
580	all all-am check check-am clean clean-generic clean-libtool \
581	ctags ctags-recursive distclean distclean-generic \
582	distclean-libtool distclean-tags distdir dvi dvi-am html \
583	html-am info info-am install install-am install-data \
584	install-data-am install-data-local install-dvi install-dvi-am \
585	install-exec install-exec-am install-html install-html-am \
586	install-info install-info-am install-man install-pdf \
587	install-pdf-am install-ps install-ps-am install-strip \
588	installcheck installcheck-am installdirs installdirs-am \
589	maintainer-clean maintainer-clean-generic mostlyclean \
590	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
591	tags tags-recursive uninstall uninstall-am uninstall-local
592
593
594#
595# rule to parse template files
596#
597
598.tmpl:
599	sed -e s@:UAMS_PATH:@${UAMS_PATH}@ \
600	    -e s@:ETCDIR:@${pkgconfdir}@ \
601	    -e s@:COMPILED_BACKENDS:@"$(compiled_backends)"@ \
602	    -e s@:DEFAULT_CNID_SCHEME:@$(DEFAULT_CNID_SCHEME)@ \
603	    <$< >$@
604
605#
606# install configuration files
607#
608
609install-data-local: install-config-files install-webmin
610
611uninstall-local:
612	for f in $(CONFFILES) $(GENFILES); do \
613		echo rm -f $(DESTDIR)$(pkgconfdir)/$$f; \
614		rm -f $(DESTDIR)$(pkgconfdir)/$$f; \
615	done
616@USE_DEBIAN_TRUE@	rm -f $(DESTDIR)/etc/default/netatalk
617
618install-config-files: $(CONFFILES) $(GENFILES)
619	$(mkinstalldirs) $(DESTDIR)$(pkgconfdir)
620	for f in $(CONFFILES) $(GENFILES); do \
621		if test "x$(OVERWRITE_CONFIG)" = "xyes" -o ! -f $(DESTDIR)$(pkgconfdir)/$$f; then \
622			echo "$(INSTALL_DATA) $$f $(DESTDIR)$(pkgconfdir)"; \
623			$(INSTALL_DATA) $$f $(DESTDIR)$(pkgconfdir); \
624		else \
625			echo "not overwriting $$f"; \
626		fi; \
627	done
628@USE_DEBIAN_TRUE@	$(mkinstalldirs) $(DESTDIR)/default
629@USE_DEBIAN_TRUE@	if test "x$(OVERWRITE_CONFIG)" = "xyes" -o ! -f /etc/default/netatalk; then \
630@USE_DEBIAN_TRUE@		echo "$(INSTALL_DATA) $(srcdir)/netatalk.conf $(DESTDIR)/etc/default/netatalk"; \
631@USE_DEBIAN_TRUE@		$(INSTALL_DATA) $(srcdir)/netatalk.conf $(DESTDIR)/etc/default/netatalk; \
632@USE_DEBIAN_TRUE@	else \
633@USE_DEBIAN_TRUE@		echo "not overwriting /etc/default/netatalk"; \
634@USE_DEBIAN_TRUE@	fi
635
636install-webmin:
637	if test "x$(webminpath)" != "x"; then \
638		if ! test -d "x$(webminpath)"; then \
639			mkdir -p "$(webminpath)"; \
640		fi; \
641		cd "$(webminpath)"; \
642		wget http://prdownloads.sourceforge.net/webadmin/webmin-$(webminversion).tar.gz ; \
643		tar xzf webmin-$(webminversion).tar.gz; \
644		rm webmin-$(webminversion).tar.gz; \
645		/etc/init.d/webmin stop; \
646		rm -r webmin; \
647		mv webmin-$(webminversion) webmin; \
648		cd webmin; \
649		rm -r adsl-client apache at backup-config bacula-backup bandwidth bind8 bsdexports burner \
650			cfengine cluster-copy cluster-cron cluster-passwd cluster-shell cluster-software cluster-useradmin \
651			cluster-usermin cluster-webmin custom \
652			cron dfsadmin dhcpd dnsadmin dovecot exim exports \
653			fdisk fetchmail file filter firewall format frox fsdump grub heartbeat hpuxexports \
654			htaccess-htpasswd idmapd inetd inittab ipfilter ipfw ipsec jabber \
655			ldap-server lilo logrotate lpadmin lvm \
656			mailboxes mailcap majordomo man mon mscstyle3 mysql \
657			net nis openslp pap phpini postfix postgresql ppp-client pptp-client pptp-server \
658			procmail proftpd pserver qmailadmin raid rbac \
659			samba sarg sendmail sentry sgiexports shell \
660			shorewall smart-status smf software spam squid sshd \
661			status stunnel tcpwrappers telnet time tunnel \
662			updown usermin vgetty webalizer wuftpd xinetd zones; \
663		wget https://sourceforge.net/projects/netatalk/files/Netatalk%20Webmin%20Module/0.9-beta2/netatalk.wbm.gz/download ; \
664		tar xzf netatalk.wbm.gz; \
665		rm netatalk.wbm.gz; \
666		cd netatalk; \
667		rm config; \
668		echo "applevolumedefault_c=$(sysconfdir)/netatalk/AppleVolumes.default" >> config; \
669		echo "applevolumesystem_c=$(sysconfdir)/netatalk/AppleVolumes.system" >> config; \
670		echo "afpd_c=$(sysconfdir)/netatalk/afpd.conf" >> config; \
671		echo "atalk_c=$(sysconfdir)/netatalk/atalk.conf" >> config; \
672		echo "papd_c=$(sysconfdir)/netatalk/papd.conf" >> config; \
673		echo "afpd_d=$(sbindir)/afpd" >> config; \
674		echo "atalkd_d=$(sbindir)/atalkd" >> config; \
675		echo "papd_d=$(sbindir)/papd" >> config; \
676		echo "netatalk_c=@PAMDIR@/etc/pam.d" >> config; \
677		echo "atalk_start=$(sysconfdir)/init.d/atalk" >> config; \
678		echo "select_minUsers=" >> config; \
679		echo "select_maxUsers=" >> config; \
680		echo "atalk_nls=" >> config; \
681		cd ..; \
682		config_dir="$(sysconfdir)/netatalk/webmin-config" \
683			var_dir="$(prefix)/var" \
684			perl="`which perl`" \
685			port="$(webminport)" \
686			login="$(webminuser)" \
687			password="$(webminpass)" \
688			ssl=1 \
689			atboot=1 \
690			bootscript=netamin \
691			./setup.sh > /dev/null; \
692	fi
693# Tell versions [3.59,3.63) of GNU make to not export all variables.
694# Otherwise a system limit (for SysV at least) may be exceeded.
695.NOEXPORT:
696