1# Makefile.in generated by automake 1.10.1 from Makefile.am.
2# config/Makefile.  Generated from Makefile.in by configure.
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
16
17pkgdatadir = $(datadir)/netatalk
18pkglibdir = $(libdir)/netatalk
19pkgincludedir = $(includedir)/netatalk
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 = mipsel-uclibc-linux-gnu26
33host_triplet = mipsel-uclibc-linux-gnu
34target_triplet = mipsel-uclibc-linux-gnu26
35#am__append_1 = afp_ldap.conf
36#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 = ${SHELL} ${TIMEMACHINE_PATH}/netatalk-2.2.0/missing --run aclocal-1.10
81ACL_LIBS = 
82AFS_CFLAGS = 
83AFS_LIBS = 
84AMTAR = ${SHELL} ${TIMEMACHINE_PATH}/netatalk-2.2.0/missing --run tar
85AR = mipsel-linux-linux26-ar
86AUTOCONF = ${SHELL} ${TIMEMACHINE_PATH}/netatalk-2.2.0/missing --run autoconf
87AUTOHEADER = ${SHELL} ${TIMEMACHINE_PATH}/netatalk-2.2.0/missing --run autoheader
88AUTOMAKE = ${SHELL} ${TIMEMACHINE_PATH}/netatalk-2.2.0/missing --run automake-1.10
89AVAHI_CFLAGS = 
90AVAHI_LIBS = 
91AVAHI_TPOLL_CFLAGS = 
92AVAHI_TPOLL_LIBS = 
93AWK = gawk
94BDB_BIN = ${PKG_INSTALL_DIR}/usr/bin
95BDB_CFLAGS =  -I${PKG_INSTALL_DIR}/usr/include/
96BDB_LIBS =  ${PKG_INSTALL_DIR}/usr/lib/libdb-4.7.so
97BDB_PATH = ${PKG_INSTALL_DIR}/usr
98CC = mipsel-linux-uclibc-gcc
99CCDEPMODE = depmode=gcc3
100CFLAGS = -I$(top_srcdir)/include -D_U_="__attribute__((unused))" -I${PKG_INSTALL_DIR}/usr/include -I$(top_srcdir)/sys
101COMPILE_64BIT_KMODULE = 
102COMPILE_KERNEL_GCC = 
103CPP = mipsel-linux-uclibc-gcc -E
104CPPFLAGS = 
105CRYPT_LIBS = -lcrypt 
106CUPS_CFLAGS = 
107CUPS_CONFIG = 
108CUPS_LDFLAGS = 
109CUPS_LIBS = 
110CXX = mipsel-linux-uclibc-g++
111CXXCPP = mipsel-linux-uclibc-g++ -E
112CXXDEPMODE = depmode=gcc3
113CXXFLAGS = -Os -I${PKG_INSTALL_DIR}/usr/include
114CYGPATH_W = echo
115DEFAULT_CNID_SCHEME = dbd
116DEFS = -DHAVE_CONFIG_H
117DEPDIR = .deps
118DSYMUTIL = 
119ECHO = echo
120ECHO_C = 
121ECHO_N = -n
122ECHO_T = 
123EGREP = /bin/grep -E
124EXEEXT = 
125F77 = gfortran
126FFLAGS = -g -O2
127GREP = /bin/grep
128GSSAPI_CFLAGS = 
129GSSAPI_LIBS = 
130ICONV_CFLAGS = 
131ICONV_LIBS = 
132INSTALL = /usr/bin/install -c
133INSTALL_DATA = ${INSTALL} -m 644
134INSTALL_PROGRAM = ${INSTALL}
135INSTALL_SCRIPT = ${INSTALL}
136INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
137KCFLAGS = 
138KLDFLAGS = 
139KRB5_CONFIG = 
140LDFLAGS = -L${PKG_INSTALL_DIR}/usr/lib
141LIBADD_DL = -ldl
142LIBGCRYPT_CFLAGS = -I${PKG_INSTALL_DIR}/usr/include
143LIBGCRYPT_CONFIG = ${PKG_INSTALL_DIR}/usr/bin/libgcrypt-config
144LIBGCRYPT_LIBS = -L${PKG_INSTALL_DIR}/usr/lib ${PKG_INSTALL_DIR}/usr/lib/libgcrypt.so ${PKG_INSTALL_DIR}/usr/lib/libgpg-error.so
145LIBOBJS =  ${LIBOBJDIR}memcmp$U.o
146LIBS = -lpthread  -L$(top_srcdir)/libatalk
147LIBTOOL = $(SHELL) $(top_builddir)/libtool
148LN_S = ln -s
149LTLIBOBJS =  ${LIBOBJDIR}memcmp$U.lo
150MAINT = #
151MAKEINFO = ${SHELL} ${TIMEMACHINE_PATH}/netatalk-2.2.0/missing --run makeinfo
152MKDIR_P = /bin/mkdir -p
153NETATALK_VERSION = 2.2.0
154NMEDIT = 
155OBJEXT = o
156OVERWRITE_CONFIG = no
157PACKAGE = netatalk
158PACKAGE_BUGREPORT = 
159PACKAGE_NAME = 
160PACKAGE_STRING = 
161PACKAGE_TARNAME = 
162PACKAGE_VERSION = 
163PAMDIR = /
164PAM_ACCOUNT = system-auth
165PAM_AUTH = system-auth
166PAM_CFLAGS = 
167PAM_DIRECTIVE = include
168PAM_LIBS = 
169PAM_PASSWORD = system-auth
170PAM_SESSION = system-auth
171PATH_SEPARATOR = :
172PERL = /usr/bin/perl
173PKGCONFDIR = /etc/netatalk
174PKG_CONFIG = /usr/bin/pkg-config
175PS = /bin/ps
176PTHREAD_LIBS = -lpthread
177QUOTA_LIBS = 
178RANLIB = mipsel-linux-linux26-ranlib
179SED = /bin/sed
180SERVERTEXT = /etc/netatalk/msg
181SET_MAKE = 
182SHELL = /bin/sh
183SLP_CFLAGS = 
184SLP_LIBS = 
185SPOOLDIR = /var/spool/netatalk
186SSL_CFLAGS =  -I${PKG_INSTALL_DIR}/usr/include -I${PKG_INSTALL_DIR}/usr/include/openssl
187SSL_LIBS =  -L${PKG_INSTALL_DIR}/usr/lib -L${PKG_INSTALL_DIR}/usr -lcrypto
188STRIP = mipsel-linux-linux26-strip
189UAMS_PATH = /usr/lib/uams
190VERSION = 2.2.0
191WEBMIN_PASS = 
192WEBMIN_PATH = 
193WEBMIN_PORT = 
194WEBMIN_USER = 
195WEBMIN_VERSION = 
196WRAP_LIBS = 
197ZEROCONF_CFLAGS = 
198ZEROCONF_LIBS = 
199abs_builddir = ${TIMEMACHINE_PATH}/netatalk-2.2.0/config
200abs_srcdir = ${TIMEMACHINE_PATH}/netatalk-2.2.0/config
201abs_top_builddir = ${TIMEMACHINE_PATH}/netatalk-2.2.0
202abs_top_srcdir = ${TIMEMACHINE_PATH}/netatalk-2.2.0
203ac_ct_CC = 
204ac_ct_CXX = 
205ac_ct_F77 = gfortran
206am__include = include
207am__leading_dot = .
208am__quote = 
209am__tar = ${AMTAR} chof - "$$tardir"
210am__untar = ${AMTAR} xf -
211bindir = ${exec_prefix}/bin
212build = mipsel-uclibc-linux-gnu26
213build_alias = mipsel-uclibc-linux-gnu26
214build_cpu = mipsel
215build_os = linux-gnu26
216build_vendor = uclibc
217builddir = .
218compiled_backends =  dbd last tdb
219datadir = /usr/share
220datarootdir = ${prefix}/share
221docdir = ${datarootdir}/doc/${PACKAGE}
222dvidir = ${docdir}
223exec_prefix = /usr
224host = mipsel-uclibc-linux-gnu
225host_alias = mipsel-uclibc-linux
226host_cpu = mipsel
227host_os = linux-gnu
228host_vendor = uclibc
229htmldir = ${docdir}
230includedir = ${prefix}/include
231infodir = /usr/info
232install_sh = $(SHELL) ${TIMEMACHINE_PATH}/netatalk-2.2.0/install-sh
233libdir = ${PKG_INSTALL_DIR}/usr
234libexecdir = ${PKG_INSTALL_DIR}/usr/lib
235localedir = ${datarootdir}/locale
236localstatedir = /var
237mandir = /usr/man
238mkdir_p = /bin/mkdir -p
239oldincludedir = /usr/include
240pdfdir = ${docdir}
241prefix = /usr
242program_transform_name = s&$$&&;s&^&&
243psdir = ${docdir}
244sbindir = ${exec_prefix}/sbin
245sharedstatedir = ${prefix}/com
246srcdir = .
247sysconfdir = /etc
248target = mipsel-uclibc-linux-gnu26
249target_alias = mipsel-uclibc-linux-gnu26
250target_cpu = mipsel
251target_os = linux-gnu26
252target_vendor = uclibc
253top_builddir = ..
254top_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
269CONFFILES = AppleVolumes.system netatalk.conf \
270	$(am__append_1) $(am__append_2)
271#CONFFILES = AppleVolumes.system $(am__append_1) \
272#	$(am__append_2)
273pkgconfdir = /etc/netatalk
274webminpath = 
275webminuser = 
276webminversion = 
277webminpass = 
278webminport = 
279all: all-recursive
280
281.SUFFIXES:
282.SUFFIXES: .tmpl .
283$(srcdir)/Makefile.in: # $(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: # $(am__configure_deps)
309	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
310$(ACLOCAL_M4): # $(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#	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#	$(mkinstalldirs) $(DESTDIR)/default
629#	if test "x$(OVERWRITE_CONFIG)" = "xyes" -o ! -f /etc/default/netatalk; then \
630#		echo "$(INSTALL_DATA) $(srcdir)/netatalk.conf $(DESTDIR)/etc/default/netatalk"; \
631#		$(INSTALL_DATA) $(srcdir)/netatalk.conf $(DESTDIR)/etc/default/netatalk; \
632#	else \
633#		echo "not overwriting /etc/default/netatalk"; \
634#	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=//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