Import Upstream version 0.66.4
[hcoop/debian/courier-authlib.git] / Makefile.in
CommitLineData
d50284c4 1# Makefile.in generated by automake 1.15 from Makefile.am.
d9898ee8 2# @configure_input@
3
d50284c4 4# Copyright (C) 1994-2014 Free Software Foundation, Inc.
b0322a85 5
d9898ee8 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
d9898ee8 17#
8d138742 18# Copyright 1998 - 2009 Double Precision, Inc. See COPYING for
d9898ee8 19# distribution information.
20
21
22
23
24
d9898ee8 25VPATH = @srcdir@
d50284c4
CE
26am__is_gnu_make = { \
27 if test -z '$(MAKELEVEL)'; then \
28 false; \
29 elif test -n '$(MAKE_HOST)'; then \
30 true; \
31 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
32 true; \
33 else \
34 false; \
35 fi; \
36}
b0322a85
CE
37am__make_running_with_option = \
38 case $${target_option-} in \
39 ?) ;; \
40 *) echo "am__make_running_with_option: internal error: invalid" \
41 "target option '$${target_option-}' specified" >&2; \
42 exit 1;; \
43 esac; \
44 has_opt=no; \
45 sane_makeflags=$$MAKEFLAGS; \
46 if $(am__is_gnu_make); then \
47 sane_makeflags=$$MFLAGS; \
48 else \
49 case $$MAKEFLAGS in \
50 *\\[\ \ ]*) \
51 bs=\\; \
52 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
53 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
54 esac; \
55 fi; \
56 skip_next=no; \
57 strip_trailopt () \
58 { \
59 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
60 }; \
61 for flg in $$sane_makeflags; do \
62 test $$skip_next = yes && { skip_next=no; continue; }; \
63 case $$flg in \
64 *=*|--*) continue;; \
65 -*I) strip_trailopt 'I'; skip_next=yes;; \
66 -*I?*) strip_trailopt 'I';; \
67 -*O) strip_trailopt 'O'; skip_next=yes;; \
68 -*O?*) strip_trailopt 'O';; \
69 -*l) strip_trailopt 'l'; skip_next=yes;; \
70 -*l?*) strip_trailopt 'l';; \
71 -[dEDm]) skip_next=yes;; \
72 -[JT]) skip_next=yes;; \
73 esac; \
74 case $$flg in \
75 *$$target_option*) has_opt=yes; break;; \
76 esac; \
77 done; \
78 test $$has_opt = yes
79am__make_dryrun = (target_option=n; $(am__make_running_with_option))
80am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
d9898ee8 81pkgdatadir = $(datadir)/@PACKAGE@
d9898ee8 82pkgincludedir = $(includedir)/@PACKAGE@
8d138742 83pkglibdir = $(libdir)/@PACKAGE@
d9898ee8 84am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
d9898ee8 85install_sh_DATA = $(install_sh) -c -m 644
86install_sh_PROGRAM = $(install_sh) -c
87install_sh_SCRIPT = $(install_sh) -c
88INSTALL_HEADER = $(INSTALL_DATA)
89transform = $(program_transform_name)
90NORMAL_INSTALL = :
91PRE_INSTALL = :
92POST_INSTALL = :
93NORMAL_UNINSTALL = :
94PRE_UNINSTALL = :
95POST_UNINSTALL = :
96build_triplet = @build@
97host_triplet = @host@
98sbin_PROGRAMS = authtest$(EXEEXT) authenumerate$(EXEEXT) \
99 authpasswd$(EXEEXT)
100bin_PROGRAMS = courierauthconfig$(EXEEXT)
101noinst_PROGRAMS = authdaemontest$(EXEEXT) authmksock$(EXEEXT) \
102 authdaemondprog$(EXEEXT)
d50284c4 103@HAVE_SGML_TRUE@am__append_1 = $(GITFILES)
dd184caf 104subdir = .
d9898ee8 105ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
b0322a85 106am__aclocal_m4_deps = $(top_srcdir)/configure.ac
d9898ee8 107am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
108 $(ACLOCAL_M4)
d50284c4
CE
109DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
110 $(am__configure_deps) $(include_HEADERS) $(am__DIST_COMMON)
d9898ee8 111am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
dd184caf 112 configure.lineno config.status.lineno
d9898ee8 113mkinstalldirs = $(install_sh) -d
114CONFIG_HEADER = courier_auth_config.h
115CONFIG_CLEAN_FILES = authdaemond authdaemonrc authsystem.passwd \
ac40fd9e 116 README.authdebug.html dbobj.config dbobj.h authmigrate \
117 courier-authlib.spec courier-authlib.lpspec \
b0322a85
CE
118 courier-authlib.sysvinit courier-authlib.service \
119 userdb-test-cram-md5.pl
8d138742 120CONFIG_CLEAN_VPATH_FILES =
d9898ee8 121am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
122am__vpath_adj = case $$p in \
123 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
124 *) f=$$p;; \
125 esac;
8d138742
CE
126am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
127am__install_max = 40
128am__nobase_strip_setup = \
129 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
130am__nobase_strip = \
131 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
132am__nobase_list = $(am__nobase_strip_setup); \
133 for p in $$list; do echo "$$p $$p"; done | \
134 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
135 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
136 if (++n[$$2] == $(am__install_max)) \
137 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
138 END { for (dir in files) print dir, files[dir] }'
139am__base_list = \
140 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
141 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
b0322a85
CE
142am__uninstall_files_from_dir = { \
143 test -z "$$files" \
144 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
145 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
146 $(am__cd) "$$dir" && rm -f $$files; }; \
147 }
d9898ee8 148am__installdirs = "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(bindir)" \
149 "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(pkglibexecdir)" \
150 "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man1dir)" \
151 "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(includedir)"
d9898ee8 152LTLIBRARIES = $(pkglib_LTLIBRARIES)
d9898ee8 153am_libauthcustom_la_OBJECTS = authcustom.lo preauthcustom.lo
154libauthcustom_la_OBJECTS = $(am_libauthcustom_la_OBJECTS)
b0322a85
CE
155AM_V_lt = $(am__v_lt_@AM_V@)
156am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
157am__v_lt_0 = --silent
158am__v_lt_1 =
159libauthcustom_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
160 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
161 $(AM_CFLAGS) $(CFLAGS) $(libauthcustom_la_LDFLAGS) $(LDFLAGS) \
162 -o $@
ac40fd9e 163am__DEPENDENCIES_1 =
d9898ee8 164am_libauthldap_la_OBJECTS = authldap.lo preauthldap.lo authldaplib.lo
165libauthldap_la_OBJECTS = $(am_libauthldap_la_OBJECTS)
b0322a85
CE
166libauthldap_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
167 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
168 $(AM_CFLAGS) $(CFLAGS) $(libauthldap_la_LDFLAGS) $(LDFLAGS) -o \
169 $@
d9898ee8 170am_libauthmysql_la_OBJECTS = authmysql.lo preauthmysql.lo \
171 authmysqllib.lo
172libauthmysql_la_OBJECTS = $(am_libauthmysql_la_OBJECTS)
b0322a85
CE
173libauthmysql_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
174 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
175 $(AM_CFLAGS) $(CFLAGS) $(libauthmysql_la_LDFLAGS) $(LDFLAGS) \
176 -o $@
d9898ee8 177am_libauthpam_la_OBJECTS = authpam.lo preauthpam.lo
178libauthpam_la_OBJECTS = $(am_libauthpam_la_OBJECTS)
b0322a85 179libauthpam_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
dd184caf 180 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
181 $(libauthpam_la_LDFLAGS) $(LDFLAGS) -o $@
d9898ee8 182am_libauthpgsql_la_OBJECTS = authpgsql.lo preauthpgsql.lo \
183 authpgsqllib.lo
184libauthpgsql_la_OBJECTS = $(am_libauthpgsql_la_OBJECTS)
b0322a85
CE
185libauthpgsql_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
186 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
187 $(AM_CFLAGS) $(CFLAGS) $(libauthpgsql_la_LDFLAGS) $(LDFLAGS) \
188 -o $@
d9898ee8 189am_libauthpipe_la_OBJECTS = authpipe.lo authpipelib.lo
190libauthpipe_la_OBJECTS = $(am_libauthpipe_la_OBJECTS)
b0322a85
CE
191libauthpipe_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
192 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
193 $(AM_CFLAGS) $(CFLAGS) $(libauthpipe_la_LDFLAGS) $(LDFLAGS) -o \
194 $@
d9898ee8 195am_libauthpwd_la_OBJECTS = authpwd.lo preauthpwd.lo
196libauthpwd_la_OBJECTS = $(am_libauthpwd_la_OBJECTS)
b0322a85 197libauthpwd_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
dd184caf 198 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
199 $(libauthpwd_la_LDFLAGS) $(LDFLAGS) -o $@
d9898ee8 200am_libauthshadow_la_OBJECTS = authshadow.lo preauthshadow.lo
201libauthshadow_la_OBJECTS = $(am_libauthshadow_la_OBJECTS)
b0322a85
CE
202libauthshadow_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
203 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
204 $(AM_CFLAGS) $(CFLAGS) $(libauthshadow_la_LDFLAGS) $(LDFLAGS) \
205 -o $@
206am_libauthsqlite_la_OBJECTS = authsqlite.lo preauthsqlite.lo \
207 authsqlitelib.lo
208libauthsqlite_la_OBJECTS = $(am_libauthsqlite_la_OBJECTS)
209libauthsqlite_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
210 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
211 $(AM_CFLAGS) $(CFLAGS) $(libauthsqlite_la_LDFLAGS) $(LDFLAGS) \
212 -o $@
ac40fd9e 213am__DEPENDENCIES_2 = userdb/libuserdb.la
d9898ee8 214am_libauthuserdb_la_OBJECTS = authuserdb.lo preauthuserdb.lo \
215 preauthuserdbcommon.lo authuserdbpwd.lo
216libauthuserdb_la_OBJECTS = $(am_libauthuserdb_la_OBJECTS)
b0322a85
CE
217libauthuserdb_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
218 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
219 $(AM_CFLAGS) $(CFLAGS) $(libauthuserdb_la_LDFLAGS) $(LDFLAGS) \
220 -o $@
221libcourierauth_la_DEPENDENCIES = libs/libhmac/libhmac.la \
222 libs/md5/libmd5.la libs/sha1/libsha1.la \
223 libs/numlib/libnumlib.la libs/random128/librandom128.la \
224 libs/rfc822/libencode.la
d9898ee8 225am_libcourierauth_la_OBJECTS = authdaemon.lo authdaemonlib.lo \
226 preauthdaemon.lo authmoduser2.lo authmoduser3.lo debug.lo \
227 authoption.lo
228libcourierauth_la_OBJECTS = $(am_libcourierauth_la_OBJECTS)
b0322a85
CE
229libcourierauth_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
230 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
231 $(AM_CFLAGS) $(CFLAGS) $(libcourierauth_la_LDFLAGS) $(LDFLAGS) \
232 -o $@
233am_libcourierauthcommon_la_OBJECTS = authgetconfig.lo \
234 authpwdenumerate.lo authsaslfrombase64.lo authsasltobase64.lo \
235 authsyschangepwd.lo authsyscommon.lo authldapescape.lo \
236 cramlib.lo checkpassword.lo cryptpassword.lo \
237 checkpasswordmd5.lo checkpasswordsha1.lo
d9898ee8 238libcourierauthcommon_la_OBJECTS = \
239 $(am_libcourierauthcommon_la_OBJECTS)
b0322a85
CE
240libcourierauthcommon_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
241 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
242 $(AM_CFLAGS) $(CFLAGS) $(libcourierauthcommon_la_LDFLAGS) \
243 $(LDFLAGS) -o $@
244libcourierauthsasl_la_DEPENDENCIES = libcourierauthcommon.la \
245 libcourierauth.la
d9898ee8 246am_libcourierauthsasl_la_OBJECTS = authsasl.lo authsaslcram.lo \
247 authsasllogin.lo authsaslplain.lo authsaslfrombase64.lo \
248 authsasltobase64.lo
249libcourierauthsasl_la_OBJECTS = $(am_libcourierauthsasl_la_OBJECTS)
b0322a85
CE
250libcourierauthsasl_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
251 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
252 $(AM_CFLAGS) $(CFLAGS) $(libcourierauthsasl_la_LDFLAGS) \
253 $(LDFLAGS) -o $@
d9898ee8 254libcourierauthsaslclient_la_DEPENDENCIES = libcourierauth.la
255am_libcourierauthsaslclient_la_OBJECTS = authsaslclient.lo \
256 authsaslclientcram.lo authsaslclientcrammd5.lo \
257 authsaslclientcramsha1.lo authsaslclientlogin.lo \
ac40fd9e 258 authsaslclientplain.lo authsaslclientexternal.lo \
259 authsaslfrombase64.lo authsasltobase64.lo
d9898ee8 260libcourierauthsaslclient_la_OBJECTS = \
261 $(am_libcourierauthsaslclient_la_OBJECTS)
b0322a85 262libcourierauthsaslclient_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
dd184caf 263 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
264 $(AM_CFLAGS) $(CFLAGS) $(libcourierauthsaslclient_la_LDFLAGS) \
265 $(LDFLAGS) -o $@
d9898ee8 266PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS) $(sbin_PROGRAMS)
267am_authdaemondprog_OBJECTS = authdaemond.$(OBJEXT)
268authdaemondprog_OBJECTS = $(am_authdaemondprog_OBJECTS)
b0322a85
CE
269authdaemondprog_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
270 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
271 $(AM_CFLAGS) $(CFLAGS) $(authdaemondprog_LDFLAGS) $(LDFLAGS) \
272 -o $@
d9898ee8 273am_authdaemontest_OBJECTS = authdaemontest.$(OBJEXT)
274authdaemontest_OBJECTS = $(am_authdaemontest_OBJECTS)
b0322a85
CE
275authdaemontest_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
276 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
277 $(AM_CFLAGS) $(CFLAGS) $(authdaemontest_LDFLAGS) $(LDFLAGS) -o \
278 $@
d9898ee8 279am_authenumerate_OBJECTS = authenumerate.$(OBJEXT)
280authenumerate_OBJECTS = $(am_authenumerate_OBJECTS)
b0322a85 281authenumerate_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
dd184caf 282 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
283 $(authenumerate_LDFLAGS) $(LDFLAGS) -o $@
d9898ee8 284am_authmksock_OBJECTS = authmksock.$(OBJEXT)
285authmksock_OBJECTS = $(am_authmksock_OBJECTS)
286authmksock_DEPENDENCIES =
287am_authpasswd_OBJECTS = authpasswd.$(OBJEXT)
288authpasswd_OBJECTS = $(am_authpasswd_OBJECTS)
b0322a85
CE
289authpasswd_DEPENDENCIES = libcourierauthcommon.la \
290 libs/libhmac/libhmac.la libs/md5/libmd5.la \
291 libs/sha1/libsha1.la libs/rfc822/libencode.la
d9898ee8 292am_authtest_OBJECTS = authtest.$(OBJEXT)
293authtest_OBJECTS = $(am_authtest_OBJECTS)
294am_courierauthconfig_OBJECTS = authinfo.$(OBJEXT)
295courierauthconfig_OBJECTS = $(am_courierauthconfig_OBJECTS)
296courierauthconfig_LDADD = $(LDADD)
d9898ee8 297SCRIPTS = $(pkglibexec_SCRIPTS) $(sbin_SCRIPTS)
b0322a85
CE
298AM_V_P = $(am__v_P_@AM_V@)
299am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
300am__v_P_0 = false
301am__v_P_1 = :
302AM_V_GEN = $(am__v_GEN_@AM_V@)
303am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
304am__v_GEN_0 = @echo " GEN " $@;
305am__v_GEN_1 =
306AM_V_at = $(am__v_at_@AM_V@)
307am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
308am__v_at_0 = @
309am__v_at_1 =
dd184caf 310DEFAULT_INCLUDES = -I.@am__isrc@
d9898ee8 311depcomp = $(SHELL) $(top_srcdir)/depcomp
312am__depfiles_maybe = depfiles
8d138742 313am__mv = mv -f
d9898ee8 314COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
315 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
b0322a85
CE
316LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
317 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
318 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
319 $(AM_CFLAGS) $(CFLAGS)
320AM_V_CC = $(am__v_CC_@AM_V@)
321am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
322am__v_CC_0 = @echo " CC " $@;
323am__v_CC_1 =
d9898ee8 324CCLD = $(CC)
b0322a85
CE
325LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
326 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
327 $(AM_LDFLAGS) $(LDFLAGS) -o $@
328AM_V_CCLD = $(am__v_CCLD_@AM_V@)
329am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
330am__v_CCLD_0 = @echo " CCLD " $@;
331am__v_CCLD_1 =
d9898ee8 332SOURCES = $(libauthcustom_la_SOURCES) $(libauthldap_la_SOURCES) \
333 $(libauthmysql_la_SOURCES) $(libauthpam_la_SOURCES) \
334 $(libauthpgsql_la_SOURCES) $(libauthpipe_la_SOURCES) \
335 $(libauthpwd_la_SOURCES) $(libauthshadow_la_SOURCES) \
b0322a85
CE
336 $(libauthsqlite_la_SOURCES) $(libauthuserdb_la_SOURCES) \
337 $(libcourierauth_la_SOURCES) \
d9898ee8 338 $(libcourierauthcommon_la_SOURCES) \
339 $(libcourierauthsasl_la_SOURCES) \
340 $(libcourierauthsaslclient_la_SOURCES) \
341 $(authdaemondprog_SOURCES) $(authdaemontest_SOURCES) \
342 $(authenumerate_SOURCES) $(authmksock_SOURCES) \
343 $(authpasswd_SOURCES) $(authtest_SOURCES) \
344 $(courierauthconfig_SOURCES)
345DIST_SOURCES = $(libauthcustom_la_SOURCES) $(libauthldap_la_SOURCES) \
346 $(libauthmysql_la_SOURCES) $(libauthpam_la_SOURCES) \
347 $(libauthpgsql_la_SOURCES) $(libauthpipe_la_SOURCES) \
348 $(libauthpwd_la_SOURCES) $(libauthshadow_la_SOURCES) \
b0322a85
CE
349 $(libauthsqlite_la_SOURCES) $(libauthuserdb_la_SOURCES) \
350 $(libcourierauth_la_SOURCES) \
ac40fd9e 351 $(libcourierauthcommon_la_SOURCES) \
d9898ee8 352 $(libcourierauthsasl_la_SOURCES) \
353 $(libcourierauthsaslclient_la_SOURCES) \
354 $(authdaemondprog_SOURCES) $(authdaemontest_SOURCES) \
355 $(authenumerate_SOURCES) $(authmksock_SOURCES) \
356 $(authpasswd_SOURCES) $(authtest_SOURCES) \
357 $(courierauthconfig_SOURCES)
b0322a85
CE
358RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
359 ctags-recursive dvi-recursive html-recursive info-recursive \
360 install-data-recursive install-dvi-recursive \
361 install-exec-recursive install-html-recursive \
362 install-info-recursive install-pdf-recursive \
363 install-ps-recursive install-recursive installcheck-recursive \
364 installdirs-recursive pdf-recursive ps-recursive \
365 tags-recursive uninstall-recursive
366am__can_run_installinfo = \
367 case $$AM_UPDATE_INFO_DIR in \
368 n|no|NO) false;; \
369 *) (install-info --version) >/dev/null 2>&1;; \
370 esac
d9898ee8 371man1dir = $(mandir)/man1
372man3dir = $(mandir)/man3
373NROFF = nroff
374MANS = $(man_MANS)
375DATA = $(noinst_DATA)
d9898ee8 376HEADERS = $(include_HEADERS)
dd184caf 377RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
378 distclean-recursive maintainer-clean-recursive
b0322a85
CE
379am__recursive_targets = \
380 $(RECURSIVE_TARGETS) \
381 $(RECURSIVE_CLEAN_TARGETS) \
382 $(am__extra_recursive_targets)
383AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
384 cscope distdir dist dist-all distcheck
385am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
386 $(LISP)courier_auth_config.h.in
387# Read a list of newline-separated strings from the standard input,
388# and print each of them once, without duplicates. Input order is
389# *not* preserved.
390am__uniquify_input = $(AWK) '\
391 BEGIN { nonempty = 0; } \
392 { items[$$0] = 1; nonempty = 1; } \
393 END { if (nonempty) { for (i in items) print i; }; } \
394'
395# Make sure the list of sources is unique. This is necessary because,
396# e.g., the same source file might be shared among _SOURCES variables
397# for different programs/libraries.
398am__define_uniq_tagged_files = \
399 list='$(am__tagged_files)'; \
400 unique=`for i in $$list; do \
401 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
402 done | $(am__uniquify_input)`
d9898ee8 403ETAGS = etags
404CTAGS = ctags
b0322a85 405CSCOPE = cscope
ac40fd9e 406DIST_SUBDIRS = $(SUBDIRS)
d50284c4
CE
407am__DIST_COMMON = $(srcdir)/Makefile.in \
408 $(srcdir)/README.authdebug.html.in $(srcdir)/authdaemond.in \
409 $(srcdir)/authdaemonrc.in $(srcdir)/authmigrate.in \
410 $(srcdir)/authsystem.passwd.in \
411 $(srcdir)/courier-authlib.lpspec.in \
412 $(srcdir)/courier-authlib.service.in \
413 $(srcdir)/courier-authlib.spec.in \
414 $(srcdir)/courier-authlib.sysvinit.in \
415 $(srcdir)/courier_auth_config.h.in $(srcdir)/dbobj.config.in \
416 $(srcdir)/dbobj.h.in $(srcdir)/userdb-test-cram-md5.pl.in \
417 AUTHORS COPYING ChangeLog INSTALL NEWS README compile \
418 config.guess config.sub depcomp install-sh ltmain.sh missing
d9898ee8 419DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
420distdir = $(PACKAGE)-$(VERSION)
421top_distdir = $(distdir)
422am__remove_distdir = \
b0322a85
CE
423 if test -d "$(distdir)"; then \
424 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
425 && rm -rf "$(distdir)" \
426 || { sleep 5 && rm -rf "$(distdir)"; }; \
427 else :; fi
428am__post_remove_distdir = $(am__remove_distdir)
8d138742
CE
429am__relativize = \
430 dir0=`pwd`; \
431 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
432 sed_rest='s,^[^/]*/*,,'; \
433 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
434 sed_butlast='s,/*[^/]*$$,,'; \
435 while test -n "$$dir1"; do \
436 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
437 if test "$$first" != "."; then \
438 if test "$$first" = ".."; then \
439 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
440 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
441 else \
442 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
443 if test "$$first2" = "$$first"; then \
444 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
445 else \
446 dir2="../$$dir2"; \
447 fi; \
448 dir0="$$dir0"/"$$first"; \
449 fi; \
450 fi; \
451 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
452 done; \
453 reldir="$$dir2"
d9898ee8 454DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
455GZIP_ENV = --best
b0322a85 456DIST_TARGETS = dist-bzip2 dist-gzip
d9898ee8 457distuninstallcheck_listfiles = find . -type f -print
b0322a85
CE
458am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
459 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
d9898ee8 460distcleancheck_listfiles = find . -type f -print
8d138742 461pkglibexecdir = $(libexecdir)/courier-authlib
d9898ee8 462ACLOCAL = @ACLOCAL@
d9898ee8 463AMTAR = @AMTAR@
b0322a85 464AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
d9898ee8 465AR = @AR@
466AUTHPAMCRYPT = @AUTHPAMCRYPT@
467AUTOCONF = @AUTOCONF@
468AUTOHEADER = @AUTOHEADER@
dd184caf 469AUTOMAKE = @AUTOMAKE@
d9898ee8 470AWK = @AWK@
471CC = @CC@
472CCDEPMODE = @CCDEPMODE@
473CFLAGS = @CFLAGS@
474COURIERCONFIG = @COURIERCONFIG@
475CPP = @CPP@
476CPPFLAGS = @CPPFLAGS@
477CRYPTLIBS = @CRYPTLIBS@
d9898ee8 478CYGPATH_W = @CYGPATH_W@
d9898ee8 479DEFS = @DEFS@
480DEPDIR = @DEPDIR@
b0322a85 481DLLTOOL = @DLLTOOL@
8d138742
CE
482DSYMUTIL = @DSYMUTIL@
483DUMPBIN = @DUMPBIN@
d9898ee8 484ECHO_C = @ECHO_C@
485ECHO_N = @ECHO_N@
486ECHO_T = @ECHO_T@
487EGREP = @EGREP@
488EXEEXT = @EXEEXT@
489EXPECT = @EXPECT@
8d138742 490FGREP = @FGREP@
dd184caf 491GREP = @GREP@
8d138742 492INCLTDL = @INCLTDL@
dd184caf 493INSTALL = @INSTALL@
d9898ee8 494INSTALL_DATA = @INSTALL_DATA@
495INSTALL_PROGRAM = @INSTALL_PROGRAM@
496INSTALL_SCRIPT = @INSTALL_SCRIPT@
497INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
8d138742 498LD = @LD@
d9898ee8 499LDAPLIBS = @LDAPLIBS@
500LDFLAGS = @LDFLAGS@
8d138742
CE
501LIBADD_DL = @LIBADD_DL@
502LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
503LIBADD_DLOPEN = @LIBADD_DLOPEN@
504LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
d9898ee8 505LIBAUTHCUSTOM = @LIBAUTHCUSTOM@
506LIBAUTHLDAP = @LIBAUTHLDAP@
507LIBAUTHMYSQL = @LIBAUTHMYSQL@
508LIBAUTHPAM = @LIBAUTHPAM@
509LIBAUTHPGSQL = @LIBAUTHPGSQL@
510LIBAUTHPIPE = @LIBAUTHPIPE@
511LIBAUTHPWD = @LIBAUTHPWD@
512LIBAUTHSHADOW = @LIBAUTHSHADOW@
b0322a85 513LIBAUTHSQLITE = @LIBAUTHSQLITE@
d9898ee8 514LIBAUTHUSERDB = @LIBAUTHUSERDB@
d9898ee8 515LIBDB = @LIBDB@
516LIBDL = @LIBDL@
517LIBGDBM = @LIBGDBM@
518LIBLTDL = @LIBLTDL@
d9898ee8 519LIBM = @LIBM@
520LIBOBJS = @LIBOBJS@
521LIBS = @LIBS@
522LIBTOOL = @LIBTOOL@
8d138742 523LIPO = @LIPO@
d9898ee8 524LN_S = @LN_S@
8d138742 525LTDLDEPS = @LTDLDEPS@
d9898ee8 526LTDLINCL = @LTDLINCL@
8d138742 527LTDLOPEN = @LTDLOPEN@
d9898ee8 528LTLIBOBJS = @LTLIBOBJS@
d50284c4 529LT_ARGZ_H = @LT_ARGZ_H@
8d138742
CE
530LT_CONFIG_H = @LT_CONFIG_H@
531LT_DLLOADERS = @LT_DLLOADERS@
532LT_DLPREOPEN = @LT_DLPREOPEN@
d50284c4 533LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
d9898ee8 534MAKEINFO = @MAKEINFO@
b0322a85 535MANIFEST_TOOL = @MANIFEST_TOOL@
dd184caf 536MKDIR_P = @MKDIR_P@
d9898ee8 537MYSQL_CONFIG = @MYSQL_CONFIG@
538MYSQL_LIBS = @MYSQL_LIBS@
539NETLIBS = @NETLIBS@
8d138742
CE
540NM = @NM@
541NMEDIT = @NMEDIT@
542OBJDUMP = @OBJDUMP@
d9898ee8 543OBJEXT = @OBJEXT@
8d138742
CE
544OTOOL = @OTOOL@
545OTOOL64 = @OTOOL64@
d9898ee8 546PACKAGE = @PACKAGE@
547PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
548PACKAGE_NAME = @PACKAGE_NAME@
549PACKAGE_STRING = @PACKAGE_STRING@
550PACKAGE_TARNAME = @PACKAGE_TARNAME@
b0322a85 551PACKAGE_URL = @PACKAGE_URL@
d9898ee8 552PACKAGE_VERSION = @PACKAGE_VERSION@
553PASSWD = @PASSWD@
554PATH_SEPARATOR = @PATH_SEPARATOR@
555PERL = @PERL@
556PGSQL_LIBS = @PGSQL_LIBS@
557PG_CONFIG = @PG_CONFIG@
558RANLIB = @RANLIB@
559REPOSITORY = @REPOSITORY@
560SED = @SED@
561SET_MAKE = @SET_MAKE@
d9898ee8 562SHADOWLIBS = @SHADOWLIBS@
563SHELL = @SHELL@
b0322a85 564SQLITE_LIBS = @SQLITE_LIBS@
d9898ee8 565STRIP = @STRIP@
566SYSCONFTOOL = @SYSCONFTOOL@
567SYSCONFTOOL_PERL = @SYSCONFTOOL_PERL@
568USE_DB = @USE_DB@
569USE_GDBM = @USE_GDBM@
570VERSION = @VERSION@
dd184caf 571abs_builddir = @abs_builddir@
572abs_srcdir = @abs_srcdir@
573abs_top_builddir = @abs_top_builddir@
574abs_top_srcdir = @abs_top_srcdir@
b0322a85 575ac_ct_AR = @ac_ct_AR@
d9898ee8 576ac_ct_CC = @ac_ct_CC@
8d138742 577ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
d9898ee8 578am__include = @am__include@
579am__leading_dot = @am__leading_dot@
580am__quote = @am__quote@
581am__tar = @am__tar@
582am__untar = @am__untar@
583authProg = @authProg@
584authdaemonrc = @authdaemonrc@
585authdaemonvar = @authdaemonvar@
586authldaprc = @authldaprc@
587authmysqlrc = @authmysqlrc@
588authpgsqlrc = @authpgsqlrc@
b0322a85 589authsqliterc = @authsqliterc@
d9898ee8 590bindir = @bindir@
591build = @build@
592build_alias = @build_alias@
593build_cpu = @build_cpu@
594build_os = @build_os@
595build_vendor = @build_vendor@
dd184caf 596builddir = @builddir@
d9898ee8 597datadir = @datadir@
dd184caf 598datarootdir = @datarootdir@
d9898ee8 599dblibrary = @dblibrary@
dd184caf 600docdir = @docdir@
601dvidir = @dvidir@
d9898ee8 602exec_prefix = @exec_prefix@
603host = @host@
604host_alias = @host_alias@
605host_cpu = @host_cpu@
606host_os = @host_os@
607host_vendor = @host_vendor@
dd184caf 608htmldir = @htmldir@
d9898ee8 609includedir = @includedir@
610infodir = @infodir@
611install_sh = @install_sh@
612libdir = @libdir@
613libexecdir = @libexecdir@
dd184caf 614localedir = @localedir@
d9898ee8 615localstatedir = @localstatedir@
8d138742
CE
616ltdl_LIBOBJS = @ltdl_LIBOBJS@
617ltdl_LTLIBOBJS = @ltdl_LTLIBOBJS@
d9898ee8 618mailgroup = @mailgroup@
619mailuser = @mailuser@
620mandir = @mandir@
621mkdir_p = @mkdir_p@
622oldincludedir = @oldincludedir@
dd184caf 623pdfdir = @pdfdir@
d9898ee8 624prefix = @prefix@
625program_transform_name = @program_transform_name@
dd184caf 626psdir = @psdir@
d9898ee8 627sbindir = @sbindir@
628sharedstatedir = @sharedstatedir@
dd184caf 629srcdir = @srcdir@
d9898ee8 630subdirs = @subdirs@
8d138742 631sys_symbol_underscore = @sys_symbol_underscore@
d9898ee8 632sysconfdir = @sysconfdir@
633target_alias = @target_alias@
8d138742 634top_build_prefix = @top_build_prefix@
dd184caf 635top_builddir = @top_builddir@
636top_srcdir = @top_srcdir@
d9898ee8 637userdb = @userdb@
d9898ee8 638AUTOMAKE_OPTIONS = dist-bzip2
d50284c4 639SUBDIRS = libs/gdbmobj libs/bdbobj libs/md5 libs/sha1 libs/libhmac libs/numlib libs/makedat userdb libs/rfc822 libs/random128 libs/liblock liblog
b0322a85 640AM_CPPFLAGS = -I liblock $(LTDLINCL)
d9898ee8 641modules = @LIBAUTHUSERDB@ \
642 @LIBAUTHPAM@ @LIBAUTHPWD@ @LIBAUTHSHADOW@ \
b0322a85 643 @LIBAUTHPGSQL@ @LIBAUTHLDAP@ @LIBAUTHMYSQL@ @LIBAUTHSQLITE@ \
ac40fd9e 644 @LIBAUTHCUSTOM@ @LIBAUTHPIPE@
d9898ee8 645
d9898ee8 646pkglibexec_SCRIPTS = authsystem.passwd
647pkglib_LTLIBRARIES = libcourierauth.la \
648 libcourierauthsasl.la libcourierauthsaslclient.la \
649 libcourierauthcommon.la $(modules)
650
651sbin_SCRIPTS = authdaemond
652EXTRA_LTLIBRARIES = libauthuserdb.la \
653 libauthpam.la libauthpwd.la libauthshadow.la \
d9898ee8 654 libauthpgsql.la \
655 libauthldap.la \
656 libauthmysql.la \
b0322a85 657 libauthsqlite.la \
d9898ee8 658 libauthcustom.la \
659 libauthpipe.la
660
b0322a85 661CLEANFILES = authldaprc.h authmysqlrc.h authsqliterc.h authdaemonrc.h \
d9898ee8 662 authpgsqlrc.h authpiperc.h authdaemon \
663 authlib.3 authlib.html packageversion.h \
664 authchangepwdir.h sbindir.h pkglibdir.h pkgincludedir.h \
665 mailusergroup.h authinfodaemondlist.c permissions.dat \
666 README.authdebug.html
667
668DISTCLEANFILES = dbobj.config README_authlib.html
669commonlibdep = libcourierauthcommon.la
ac40fd9e 670commonldflags = -module -rpath $(pkglibdir) -export-symbols-regex 'courier_auth.*_init' -avoid-version
d9898ee8 671commonlibadd = libcourierauthcommon.la
672libcourierauthcommon_t = @CRYPTLIBS@
673libcourierauthcommon_la_SOURCES = \
674 auth.h courierauth.h \
b0322a85 675 authgetconfig.c \
d9898ee8 676 authpwdenumerate.c \
677 authsaslfrombase64.c authsasltobase64.c \
b0322a85 678 courierauthstaticlist.h \
d9898ee8 679 authsyschangepwd.c authsyscommon.c \
8d138742 680 authldapescape.c \
d9898ee8 681 cramlib.c cramlib.h \
682 checkpassword.c cryptpassword.c \
ac40fd9e 683 checkpasswordmd5.c checkpasswordsha1.c
d9898ee8 684
685libcourierauthcommon_la_DEPENDENCIES = libcourierauth.la
686libcourierauthcommon_la_LIBADD = libcourierauth.la
ac40fd9e 687libcourierauthcommon_la_LDFLAGS = $(libcourierauthcommon_t:%=-Wl,%) -avoid-version
d9898ee8 688libcourierauth_la_SOURCES = authdaemon.c authdaemonlib.c preauthdaemon.c \
689 authmoduser2.c authmoduser3.c debug.c \
690 courierauthdebug.h \
691 authoption.c
692
b0322a85
CE
693libcourierauth_la_LIBADD = libs/libhmac/libhmac.la libs/md5/libmd5.la libs/sha1/libsha1.la libs/numlib/libnumlib.la \
694 libs/random128/librandom128.la libs/rfc822/libencode.la
d9898ee8 695
ac40fd9e 696libcourierauth_la_LDFLAGS = @NETLIBS@ -avoid-version
d9898ee8 697
698# The userdb module
699libauthuserdb_t = userdb/libuserdb.la @dblibrary@ @LIBGDBM@ @LIBDB@
700libauthuserdb_la_SOURCES = authuserdb.c preauthuserdb.c preauthuserdbcommon.c \
701 authuserdbpwd.c
702
703libauthuserdb_la_DEPENDENCIES = libcourierauthcommon.la @dblibrary@
704libauthuserdb_la_LIBADD = $(commonlibadd) $(libauthuserdb_t)
705libauthuserdb_la_LDFLAGS = $(commonldflags)
706
707# the authpam module
708libauthpam_t = -lpam @SHADOWLIBS@ @AUTHPAMCRYPT@ @LIBDL@
709libauthpam_la_SOURCES = authpam.c preauthpam.c authwait.h
710libauthpam_la_DEPENDENCIES = $(commonlibdep)
ac40fd9e 711libauthpam_la_LIBADD = $(commonlibadd) $(libauthpam_t)
712libauthpam_la_LDFLAGS = $(commonldflags)
d9898ee8 713
714# The authpwd module
715libauthpwd_la_SOURCES = authpwd.c preauthpwd.c
716libauthpwd_la_DEPENDENCIES = $(commonlibdep)
717libauthpwd_la_LIBADD = $(commonlibadd)
718libauthpwd_la_LDFLAGS = $(commonldflags)
719
720# The authshadow module
721libauthshadow_t = @SHADOWLIBS@
722libauthshadow_la_SOURCES = authshadow.c preauthshadow.c
723libauthshadow_la_DEPENDENCIES = $(commonlibdep)
ac40fd9e 724libauthshadow_la_LIBADD = $(commonlibadd) $(libauthshadow_t)
725libauthshadow_la_LDFLAGS = $(commonldflags)
d9898ee8 726
727# The authpgsql module
728libauthpgsql_t = @PGSQL_LIBS@ @LIBM@ @NETLIBS@
729libauthpgsql_la_SOURCES = authpgsql.c preauthpgsql.c authpgsqllib.c authpgsql.h
730libauthpgsql_la_DEPENDENCIES = $(commonlibdep)
ac40fd9e 731libauthpgsql_la_LIBADD = $(commonlibadd) $(libauthpgsql_t)
732libauthpgsql_la_LDFLAGS = $(commonldflags)
d9898ee8 733
734# The authldap module
735libauthldap_t = @LDAPLIBS@ @NETLIBS@
736libauthldap_la_SOURCES = authldap.c preauthldap.c authldaplib.c authldap.h
737libauthldap_la_DEPENDENCIES = $(commonlibdep)
ac40fd9e 738libauthldap_la_LIBADD = $(commonlibadd) $(libauthldap_t)
739libauthldap_la_LDFLAGS = $(commonldflags)
d9898ee8 740
741# The authmysql module
742libauthmysql_t = @MYSQL_LIBS@ @LIBM@ @NETLIBS@
743libauthmysql_la_SOURCES = authmysql.c preauthmysql.c authmysqllib.c authmysql.h
744libauthmysql_la_DEPENDENCIES = $(commonlibdep)
ac40fd9e 745libauthmysql_la_LIBADD = $(commonlibadd) $(libauthmysql_t)
746libauthmysql_la_LDFLAGS = $(commonldflags)
d9898ee8 747
b0322a85
CE
748# The authsqlite module
749libauthsqlite_t = @SQLITE_LIBS@ @NETLIBS@
750libauthsqlite_la_SOURCES = authsqlite.c preauthsqlite.c authsqlitelib.c authsqlite.h
751libauthsqlite_la_DEPENDENCIES = $(commonlibdep)
752libauthsqlite_la_LIBADD = $(commonlibadd) $(libauthsqlite_t)
753libauthsqlite_la_LDFLAGS = $(commonldflags)
754
d9898ee8 755# The authcustom module
756libauthcustom_la_SOURCES = authcustom.c preauthcustom.c authcustom.h
757libauthcustom_la_DEPENDENCIES = $(commonlibdep)
758libauthcustom_la_LIBADD = $(commonlibadd)
759libauthcustom_la_LDFLAGS = $(commonldflags)
760
761# The authpipe module
762libauthpipe_la_SOURCES = authpipe.c authpipelib.h authpipelib.c
763libauthpipe_la_DEPENDENCIES = $(commonlibdep)
764libauthpipe_la_LIBADD = $(commonlibadd)
765libauthpipe_la_LDFLAGS = $(commonldflags)
d9898ee8 766HTMLFILES = README.html NEWS.html INSTALL.html \
b0322a85 767 README.authsqlite.html README.authmysql.html README.authpostgres.html
d9898ee8 768
769EXTRA_DIST = $(HTMLFILES) sysconftool COPYING COPYING.GPL\
770 authldap.schema \
8d138742 771 authldap.ldif \
b0322a85 772 authldaprc authmysqlrc authpgsqlrc authsqliterc README.ldap \
d9898ee8 773 README.authmysql.myownquery \
dd184caf 774 README.authdebug.html.in \
d9898ee8 775 courier-authlib.spec \
776 courier-authlib.lpspec pgpkeys.txt \
777 README_authlib.html.in \
778 authlib.html.in authlib.3.in \
779 authpasswd.html authpasswd.1 \
780 authtest.html authtest.1 \
8d138742 781 auth_sasl.html auth_sasl.3 auth_sasl_ex.3 \
d9898ee8 782 auth_generic.html auth_generic.3 \
783 auth_login.html auth_login.3 \
784 auth_passwd.html auth_passwd.3 \
785 auth_getuserinfo.html auth_getuserinfo.3 \
d50284c4 786 auth_mkhomedir.html auth_mkhomedir.3 \
d9898ee8 787 auth_enumerate.html auth_enumerate.3 \
788 auth_getoption.html auth_getoption.3 \
dd184caf 789 samplepipe.pl
d9898ee8 790
791libcourierauthsasl_la_SOURCES = \
792 authsasl.c courierauthsasl.h \
793 authsaslcram.c authsasllogin.c authsaslplain.c \
794 authsaslfrombase64.c authsasltobase64.c
795
b0322a85
CE
796libcourierauthsasl_la_LIBADD = libcourierauthcommon.la libcourierauth.la
797libcourierauthsasl_la_LDFLAGS = -export-symbols-regex '^auth_sasl|auth_sasl_ex|auth_sasl_extract_userid$$' -avoid-version
d9898ee8 798libcourierauthsaslclient_la_SOURCES = courierauthsaslclient.h \
799 authsaslclient.c authsaslclient.h authsaslclientcram.c \
800 authsaslclientcrammd5.c authsaslclientcramsha1.c \
801 authsaslclientlogin.c authsaslclientplain.c \
ac40fd9e 802 authsaslclientexternal.c \
d9898ee8 803 authsaslfrombase64.c authsasltobase64.c
804
805libcourierauthsaslclient_la_LIBADD = libcourierauth.la
ac40fd9e 806libcourierauthsaslclient_la_LDFLAGS = -export-symbols-regex '^auth_sasl_client$$' -avoid-version
d9898ee8 807include_HEADERS = courier_auth_config.h courierauth.h courierauthsasl.h \
b0322a85 808 courierauthsaslclient.h courierauthdebug.h courierauthstaticlist.h
d9898ee8 809
810courierauthconfig_SOURCES = authinfo.c
811authpasswd_SOURCES = authpasswd.c
812authpasswd_LDADD = libcourierauthcommon.la \
b0322a85 813 libs/libhmac/libhmac.la libs/md5/libmd5.la libs/sha1/libsha1.la libs/rfc822/libencode.la
d9898ee8 814
815authtest_SOURCES = authtest.c
816authtest_DEPENDENCIES = libcourierauth.la
817authtest_LDADD = libcourierauth.la
818authenumerate_SOURCES = authenumerate.c
819authenumerate_DEPENDENCIES = libcourierauth.la \
b0322a85 820 libs/numlib/libnumlib.la
d9898ee8 821
822authenumerate_LDADD = libcourierauth.la \
b0322a85 823 libs/numlib/libnumlib.la
d9898ee8 824
825authenumerate_LDFLAGS =
826
827#
828# The main daemon.
829authdaemondprog_SOURCES = authdaemond.c
830authdaemondprog_DEPENDENCIES = libcourierauthcommon.la \
b0322a85
CE
831 libs/liblock/liblock.la $(modules) \
832 libs/libhmac/libhmac.la libs/md5/libmd5.la libs/sha1/libsha1.la \
833 libs/rfc822/libencode.la libs/numlib/libnumlib.la
d9898ee8 834
b0322a85
CE
835authdaemondprog_LDADD = $(LIBLTDL) libcourierauthcommon.la libs/liblock/liblock.la \
836 libs/libhmac/libhmac.la libs/md5/libmd5.la libs/sha1/libsha1.la \
837 libs/rfc822/libencode.la libs/numlib/libnumlib.la
d9898ee8 838
839authdaemondprog_LDFLAGS = -export-dynamic $(modules:%=-dlopen %) @NETLIBS@
840authdaemontest_SOURCES = authdaemontest.c
841authdaemontest_DEPENDENCIES = libcourierauthcommon.la
842authdaemontest_LDADD = libcourierauthcommon.la @NETLIBS@
843authdaemontest_LDFLAGS = -static
844authmksock_SOURCES = authmksock.c
845authmksock_LDADD = @NETLIBS@
d50284c4 846man3 = authlib.3 auth_generic.3 auth_login.3 auth_getuserinfo.3 auth_mkhomedir.3 \
d9898ee8 847 auth_enumerate.3 auth_passwd.3 auth_getoption.3 auth_sasl.3
848
849man1 = authpasswd.1 authtest.1
8d138742 850man_MANS = $(man1) $(man3) auth_sasl_ex.3
d9898ee8 851BUILT1 = authlib.html authldaprc.h authmysqlrc.h authpgsqlrc.h authpiperc.h \
ac40fd9e 852 authdaemonrc.h packageversion.h \
d9898ee8 853 authchangepwdir.h sbindir.h \
854 pkglibdir.h pkgincludedir.h mailusergroup.h \
855 README_authlib.html
856
d50284c4
CE
857BUILT_SOURCES = $(BUILT1) $(man3:%.3=%.html) $(man1:%.1=%.html) \
858 $(am__append_1)
d9898ee8 859noinst_DATA = $(BUILT_SOURCES)
d50284c4 860@HAVE_SGML_TRUE@GITFILES = authdaemonrc.in
d9898ee8 861HTMLDOCFILES = $(HTMLFILES) README.authdebug.html README_authlib.html \
b0322a85 862 $(man3:%.3=%.html) $(man1:%.1=%.html) userdb/userdb.html userdb/makeuserdb.html userdb/userdbpw.html
d9898ee8 863
864all: $(BUILT_SOURCES) courier_auth_config.h
865 $(MAKE) $(AM_MAKEFLAGS) all-recursive
866
867.SUFFIXES:
868.SUFFIXES: .c .lo .o .obj
b0322a85 869am--refresh: Makefile
d9898ee8 870 @:
871$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
872 @for dep in $?; do \
873 case '$(am__configure_deps)' in \
874 *$$dep*) \
d50284c4
CE
875 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
876 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
d9898ee8 877 && exit 0; \
878 exit 1;; \
879 esac; \
880 done; \
d50284c4 881 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
8d138742 882 $(am__cd) $(top_srcdir) && \
d50284c4 883 $(AUTOMAKE) --gnu Makefile
d9898ee8 884Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
885 @case '$?' in \
886 *config.status*) \
887 echo ' $(SHELL) ./config.status'; \
888 $(SHELL) ./config.status;; \
889 *) \
890 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
891 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
892 esac;
893
894$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
895 $(SHELL) ./config.status --recheck
896
897$(top_srcdir)/configure: $(am__configure_deps)
8d138742 898 $(am__cd) $(srcdir) && $(AUTOCONF)
d9898ee8 899$(ACLOCAL_M4): $(am__aclocal_m4_deps)
8d138742
CE
900 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
901$(am__aclocal_m4_deps):
d9898ee8 902
903courier_auth_config.h: stamp-h1
d50284c4
CE
904 @test -f $@ || rm -f stamp-h1
905 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
d9898ee8 906
907stamp-h1: $(srcdir)/courier_auth_config.h.in $(top_builddir)/config.status
908 @rm -f stamp-h1
909 cd $(top_builddir) && $(SHELL) ./config.status courier_auth_config.h
910$(srcdir)/courier_auth_config.h.in: $(am__configure_deps)
8d138742 911 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
d9898ee8 912 rm -f stamp-h1
913 touch $@
914
915distclean-hdr:
916 -rm -f courier_auth_config.h stamp-h1
917authdaemond: $(top_builddir)/config.status $(srcdir)/authdaemond.in
918 cd $(top_builddir) && $(SHELL) ./config.status $@
919authdaemonrc: $(top_builddir)/config.status $(srcdir)/authdaemonrc.in
920 cd $(top_builddir) && $(SHELL) ./config.status $@
921authsystem.passwd: $(top_builddir)/config.status $(srcdir)/authsystem.passwd.in
922 cd $(top_builddir) && $(SHELL) ./config.status $@
923README.authdebug.html: $(top_builddir)/config.status $(srcdir)/README.authdebug.html.in
924 cd $(top_builddir) && $(SHELL) ./config.status $@
ac40fd9e 925dbobj.config: $(top_builddir)/config.status $(srcdir)/dbobj.config.in
926 cd $(top_builddir) && $(SHELL) ./config.status $@
d9898ee8 927dbobj.h: $(top_builddir)/config.status $(srcdir)/dbobj.h.in
928 cd $(top_builddir) && $(SHELL) ./config.status $@
929authmigrate: $(top_builddir)/config.status $(srcdir)/authmigrate.in
930 cd $(top_builddir) && $(SHELL) ./config.status $@
931courier-authlib.spec: $(top_builddir)/config.status $(srcdir)/courier-authlib.spec.in
932 cd $(top_builddir) && $(SHELL) ./config.status $@
933courier-authlib.lpspec: $(top_builddir)/config.status $(srcdir)/courier-authlib.lpspec.in
934 cd $(top_builddir) && $(SHELL) ./config.status $@
935courier-authlib.sysvinit: $(top_builddir)/config.status $(srcdir)/courier-authlib.sysvinit.in
936 cd $(top_builddir) && $(SHELL) ./config.status $@
b0322a85
CE
937courier-authlib.service: $(top_builddir)/config.status $(srcdir)/courier-authlib.service.in
938 cd $(top_builddir) && $(SHELL) ./config.status $@
d9898ee8 939userdb-test-cram-md5.pl: $(top_builddir)/config.status $(srcdir)/userdb-test-cram-md5.pl.in
940 cd $(top_builddir) && $(SHELL) ./config.status $@
b0322a85 941
d9898ee8 942install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
943 @$(NORMAL_INSTALL)
8d138742
CE
944 @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
945 list2=; for p in $$list; do \
d9898ee8 946 if test -f $$p; then \
8d138742 947 list2="$$list2 $$p"; \
d9898ee8 948 else :; fi; \
8d138742
CE
949 done; \
950 test -z "$$list2" || { \
b0322a85
CE
951 echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \
952 $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \
8d138742
CE
953 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \
954 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \
955 }
d9898ee8 956
957uninstall-pkglibLTLIBRARIES:
958 @$(NORMAL_UNINSTALL)
8d138742
CE
959 @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \
960 for p in $$list; do \
961 $(am__strip_dir) \
962 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \
963 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \
d9898ee8 964 done
965
966clean-pkglibLTLIBRARIES:
967 -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES)
b0322a85
CE
968 @list='$(pkglib_LTLIBRARIES)'; \
969 locs=`for p in $$list; do echo $$p; done | \
970 sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
971 sort -u`; \
972 test -z "$$locs" || { \
973 echo rm -f $${locs}; \
974 rm -f $${locs}; \
975 }
976
977libauthcustom.la: $(libauthcustom_la_OBJECTS) $(libauthcustom_la_DEPENDENCIES) $(EXTRA_libauthcustom_la_DEPENDENCIES)
978 $(AM_V_CCLD)$(libauthcustom_la_LINK) $(libauthcustom_la_OBJECTS) $(libauthcustom_la_LIBADD) $(LIBS)
979
980libauthldap.la: $(libauthldap_la_OBJECTS) $(libauthldap_la_DEPENDENCIES) $(EXTRA_libauthldap_la_DEPENDENCIES)
981 $(AM_V_CCLD)$(libauthldap_la_LINK) $(libauthldap_la_OBJECTS) $(libauthldap_la_LIBADD) $(LIBS)
982
983libauthmysql.la: $(libauthmysql_la_OBJECTS) $(libauthmysql_la_DEPENDENCIES) $(EXTRA_libauthmysql_la_DEPENDENCIES)
984 $(AM_V_CCLD)$(libauthmysql_la_LINK) $(libauthmysql_la_OBJECTS) $(libauthmysql_la_LIBADD) $(LIBS)
985
986libauthpam.la: $(libauthpam_la_OBJECTS) $(libauthpam_la_DEPENDENCIES) $(EXTRA_libauthpam_la_DEPENDENCIES)
987 $(AM_V_CCLD)$(libauthpam_la_LINK) $(libauthpam_la_OBJECTS) $(libauthpam_la_LIBADD) $(LIBS)
988
989libauthpgsql.la: $(libauthpgsql_la_OBJECTS) $(libauthpgsql_la_DEPENDENCIES) $(EXTRA_libauthpgsql_la_DEPENDENCIES)
990 $(AM_V_CCLD)$(libauthpgsql_la_LINK) $(libauthpgsql_la_OBJECTS) $(libauthpgsql_la_LIBADD) $(LIBS)
991
992libauthpipe.la: $(libauthpipe_la_OBJECTS) $(libauthpipe_la_DEPENDENCIES) $(EXTRA_libauthpipe_la_DEPENDENCIES)
993 $(AM_V_CCLD)$(libauthpipe_la_LINK) $(libauthpipe_la_OBJECTS) $(libauthpipe_la_LIBADD) $(LIBS)
994
995libauthpwd.la: $(libauthpwd_la_OBJECTS) $(libauthpwd_la_DEPENDENCIES) $(EXTRA_libauthpwd_la_DEPENDENCIES)
996 $(AM_V_CCLD)$(libauthpwd_la_LINK) $(libauthpwd_la_OBJECTS) $(libauthpwd_la_LIBADD) $(LIBS)
997
998libauthshadow.la: $(libauthshadow_la_OBJECTS) $(libauthshadow_la_DEPENDENCIES) $(EXTRA_libauthshadow_la_DEPENDENCIES)
999 $(AM_V_CCLD)$(libauthshadow_la_LINK) $(libauthshadow_la_OBJECTS) $(libauthshadow_la_LIBADD) $(LIBS)
1000
1001libauthsqlite.la: $(libauthsqlite_la_OBJECTS) $(libauthsqlite_la_DEPENDENCIES) $(EXTRA_libauthsqlite_la_DEPENDENCIES)
1002 $(AM_V_CCLD)$(libauthsqlite_la_LINK) $(libauthsqlite_la_OBJECTS) $(libauthsqlite_la_LIBADD) $(LIBS)
1003
1004libauthuserdb.la: $(libauthuserdb_la_OBJECTS) $(libauthuserdb_la_DEPENDENCIES) $(EXTRA_libauthuserdb_la_DEPENDENCIES)
1005 $(AM_V_CCLD)$(libauthuserdb_la_LINK) $(libauthuserdb_la_OBJECTS) $(libauthuserdb_la_LIBADD) $(LIBS)
1006
1007libcourierauth.la: $(libcourierauth_la_OBJECTS) $(libcourierauth_la_DEPENDENCIES) $(EXTRA_libcourierauth_la_DEPENDENCIES)
1008 $(AM_V_CCLD)$(libcourierauth_la_LINK) -rpath $(pkglibdir) $(libcourierauth_la_OBJECTS) $(libcourierauth_la_LIBADD) $(LIBS)
1009
1010libcourierauthcommon.la: $(libcourierauthcommon_la_OBJECTS) $(libcourierauthcommon_la_DEPENDENCIES) $(EXTRA_libcourierauthcommon_la_DEPENDENCIES)
1011 $(AM_V_CCLD)$(libcourierauthcommon_la_LINK) -rpath $(pkglibdir) $(libcourierauthcommon_la_OBJECTS) $(libcourierauthcommon_la_LIBADD) $(LIBS)
1012
1013libcourierauthsasl.la: $(libcourierauthsasl_la_OBJECTS) $(libcourierauthsasl_la_DEPENDENCIES) $(EXTRA_libcourierauthsasl_la_DEPENDENCIES)
1014 $(AM_V_CCLD)$(libcourierauthsasl_la_LINK) -rpath $(pkglibdir) $(libcourierauthsasl_la_OBJECTS) $(libcourierauthsasl_la_LIBADD) $(LIBS)
1015
1016libcourierauthsaslclient.la: $(libcourierauthsaslclient_la_OBJECTS) $(libcourierauthsaslclient_la_DEPENDENCIES) $(EXTRA_libcourierauthsaslclient_la_DEPENDENCIES)
1017 $(AM_V_CCLD)$(libcourierauthsaslclient_la_LINK) -rpath $(pkglibdir) $(libcourierauthsaslclient_la_OBJECTS) $(libcourierauthsaslclient_la_LIBADD) $(LIBS)
d9898ee8 1018install-binPROGRAMS: $(bin_PROGRAMS)
1019 @$(NORMAL_INSTALL)
8d138742 1020 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
b0322a85
CE
1021 if test -n "$$list"; then \
1022 echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
1023 $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
1024 fi; \
8d138742
CE
1025 for p in $$list; do echo "$$p $$p"; done | \
1026 sed 's/$(EXEEXT)$$//' | \
b0322a85
CE
1027 while read p p1; do if test -f $$p \
1028 || test -f $$p1 \
1029 ; then echo "$$p"; echo "$$p"; else :; fi; \
8d138742 1030 done | \
b0322a85
CE
1031 sed -e 'p;s,.*/,,;n;h' \
1032 -e 's|.*|.|' \
8d138742
CE
1033 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
1034 sed 'N;N;N;s,\n, ,g' | \
1035 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
1036 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
1037 if ($$2 == $$4) files[d] = files[d] " " $$1; \
1038 else { print "f", $$3 "/" $$4, $$1; } } \
1039 END { for (d in files) print "f", d, files[d] }' | \
1040 while read type dir files; do \
1041 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
1042 test -z "$$files" || { \
1043 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
1044 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
1045 } \
1046 ; done
d9898ee8 1047
1048uninstall-binPROGRAMS:
1049 @$(NORMAL_UNINSTALL)
8d138742
CE
1050 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
1051 files=`for p in $$list; do echo "$$p"; done | \
1052 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
b0322a85
CE
1053 -e 's/$$/$(EXEEXT)/' \
1054 `; \
8d138742
CE
1055 test -n "$$list" || exit 0; \
1056 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
1057 cd "$(DESTDIR)$(bindir)" && rm -f $$files
d9898ee8 1058
1059clean-binPROGRAMS:
8d138742
CE
1060 @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
1061 echo " rm -f" $$list; \
1062 rm -f $$list || exit $$?; \
1063 test -n "$(EXEEXT)" || exit 0; \
1064 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
1065 echo " rm -f" $$list; \
1066 rm -f $$list
d9898ee8 1067
1068clean-noinstPROGRAMS:
8d138742
CE
1069 @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
1070 echo " rm -f" $$list; \
1071 rm -f $$list || exit $$?; \
1072 test -n "$(EXEEXT)" || exit 0; \
1073 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
1074 echo " rm -f" $$list; \
1075 rm -f $$list
d9898ee8 1076install-sbinPROGRAMS: $(sbin_PROGRAMS)
1077 @$(NORMAL_INSTALL)
8d138742 1078 @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
b0322a85
CE
1079 if test -n "$$list"; then \
1080 echo " $(MKDIR_P) '$(DESTDIR)$(sbindir)'"; \
1081 $(MKDIR_P) "$(DESTDIR)$(sbindir)" || exit 1; \
1082 fi; \
8d138742
CE
1083 for p in $$list; do echo "$$p $$p"; done | \
1084 sed 's/$(EXEEXT)$$//' | \
b0322a85
CE
1085 while read p p1; do if test -f $$p \
1086 || test -f $$p1 \
1087 ; then echo "$$p"; echo "$$p"; else :; fi; \
8d138742 1088 done | \
b0322a85
CE
1089 sed -e 'p;s,.*/,,;n;h' \
1090 -e 's|.*|.|' \
8d138742
CE
1091 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
1092 sed 'N;N;N;s,\n, ,g' | \
1093 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
1094 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
1095 if ($$2 == $$4) files[d] = files[d] " " $$1; \
1096 else { print "f", $$3 "/" $$4, $$1; } } \
1097 END { for (d in files) print "f", d, files[d] }' | \
1098 while read type dir files; do \
1099 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
1100 test -z "$$files" || { \
1101 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(sbindir)$$dir'"; \
1102 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \
1103 } \
1104 ; done
d9898ee8 1105
1106uninstall-sbinPROGRAMS:
1107 @$(NORMAL_UNINSTALL)
8d138742
CE
1108 @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
1109 files=`for p in $$list; do echo "$$p"; done | \
1110 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
b0322a85
CE
1111 -e 's/$$/$(EXEEXT)/' \
1112 `; \
8d138742
CE
1113 test -n "$$list" || exit 0; \
1114 echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \
1115 cd "$(DESTDIR)$(sbindir)" && rm -f $$files
d9898ee8 1116
1117clean-sbinPROGRAMS:
8d138742
CE
1118 @list='$(sbin_PROGRAMS)'; test -n "$$list" || exit 0; \
1119 echo " rm -f" $$list; \
1120 rm -f $$list || exit $$?; \
1121 test -n "$(EXEEXT)" || exit 0; \
1122 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
1123 echo " rm -f" $$list; \
1124 rm -f $$list
b0322a85
CE
1125
1126authdaemondprog$(EXEEXT): $(authdaemondprog_OBJECTS) $(authdaemondprog_DEPENDENCIES) $(EXTRA_authdaemondprog_DEPENDENCIES)
d9898ee8 1127 @rm -f authdaemondprog$(EXEEXT)
b0322a85
CE
1128 $(AM_V_CCLD)$(authdaemondprog_LINK) $(authdaemondprog_OBJECTS) $(authdaemondprog_LDADD) $(LIBS)
1129
1130authdaemontest$(EXEEXT): $(authdaemontest_OBJECTS) $(authdaemontest_DEPENDENCIES) $(EXTRA_authdaemontest_DEPENDENCIES)
d9898ee8 1131 @rm -f authdaemontest$(EXEEXT)
b0322a85
CE
1132 $(AM_V_CCLD)$(authdaemontest_LINK) $(authdaemontest_OBJECTS) $(authdaemontest_LDADD) $(LIBS)
1133
1134authenumerate$(EXEEXT): $(authenumerate_OBJECTS) $(authenumerate_DEPENDENCIES) $(EXTRA_authenumerate_DEPENDENCIES)
d9898ee8 1135 @rm -f authenumerate$(EXEEXT)
b0322a85
CE
1136 $(AM_V_CCLD)$(authenumerate_LINK) $(authenumerate_OBJECTS) $(authenumerate_LDADD) $(LIBS)
1137
1138authmksock$(EXEEXT): $(authmksock_OBJECTS) $(authmksock_DEPENDENCIES) $(EXTRA_authmksock_DEPENDENCIES)
d9898ee8 1139 @rm -f authmksock$(EXEEXT)
b0322a85
CE
1140 $(AM_V_CCLD)$(LINK) $(authmksock_OBJECTS) $(authmksock_LDADD) $(LIBS)
1141
1142authpasswd$(EXEEXT): $(authpasswd_OBJECTS) $(authpasswd_DEPENDENCIES) $(EXTRA_authpasswd_DEPENDENCIES)
d9898ee8 1143 @rm -f authpasswd$(EXEEXT)
b0322a85
CE
1144 $(AM_V_CCLD)$(LINK) $(authpasswd_OBJECTS) $(authpasswd_LDADD) $(LIBS)
1145
1146authtest$(EXEEXT): $(authtest_OBJECTS) $(authtest_DEPENDENCIES) $(EXTRA_authtest_DEPENDENCIES)
d9898ee8 1147 @rm -f authtest$(EXEEXT)
b0322a85
CE
1148 $(AM_V_CCLD)$(LINK) $(authtest_OBJECTS) $(authtest_LDADD) $(LIBS)
1149
1150courierauthconfig$(EXEEXT): $(courierauthconfig_OBJECTS) $(courierauthconfig_DEPENDENCIES) $(EXTRA_courierauthconfig_DEPENDENCIES)
d9898ee8 1151 @rm -f courierauthconfig$(EXEEXT)
b0322a85 1152 $(AM_V_CCLD)$(LINK) $(courierauthconfig_OBJECTS) $(courierauthconfig_LDADD) $(LIBS)
d9898ee8 1153install-pkglibexecSCRIPTS: $(pkglibexec_SCRIPTS)
1154 @$(NORMAL_INSTALL)
8d138742 1155 @list='$(pkglibexec_SCRIPTS)'; test -n "$(pkglibexecdir)" || list=; \
b0322a85
CE
1156 if test -n "$$list"; then \
1157 echo " $(MKDIR_P) '$(DESTDIR)$(pkglibexecdir)'"; \
1158 $(MKDIR_P) "$(DESTDIR)$(pkglibexecdir)" || exit 1; \
1159 fi; \
8d138742 1160 for p in $$list; do \
d9898ee8 1161 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
8d138742
CE
1162 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
1163 done | \
1164 sed -e 'p;s,.*/,,;n' \
1165 -e 'h;s|.*|.|' \
1166 -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
1167 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
1168 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
1169 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
1170 if (++n[d] == $(am__install_max)) { \
1171 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
1172 else { print "f", d "/" $$4, $$1 } } \
1173 END { for (d in files) print "f", d, files[d] }' | \
1174 while read type dir files; do \
1175 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
1176 test -z "$$files" || { \
1177 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(pkglibexecdir)$$dir'"; \
1178 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(pkglibexecdir)$$dir" || exit $$?; \
1179 } \
1180 ; done
d9898ee8 1181
1182uninstall-pkglibexecSCRIPTS:
1183 @$(NORMAL_UNINSTALL)
8d138742
CE
1184 @list='$(pkglibexec_SCRIPTS)'; test -n "$(pkglibexecdir)" || exit 0; \
1185 files=`for p in $$list; do echo "$$p"; done | \
1186 sed -e 's,.*/,,;$(transform)'`; \
b0322a85 1187 dir='$(DESTDIR)$(pkglibexecdir)'; $(am__uninstall_files_from_dir)
d9898ee8 1188install-sbinSCRIPTS: $(sbin_SCRIPTS)
1189 @$(NORMAL_INSTALL)
8d138742 1190 @list='$(sbin_SCRIPTS)'; test -n "$(sbindir)" || list=; \
b0322a85
CE
1191 if test -n "$$list"; then \
1192 echo " $(MKDIR_P) '$(DESTDIR)$(sbindir)'"; \
1193 $(MKDIR_P) "$(DESTDIR)$(sbindir)" || exit 1; \
1194 fi; \
8d138742 1195 for p in $$list; do \
d9898ee8 1196 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
8d138742
CE
1197 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
1198 done | \
1199 sed -e 'p;s,.*/,,;n' \
1200 -e 'h;s|.*|.|' \
1201 -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
1202 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
1203 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
1204 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
1205 if (++n[d] == $(am__install_max)) { \
1206 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
1207 else { print "f", d "/" $$4, $$1 } } \
1208 END { for (d in files) print "f", d, files[d] }' | \
1209 while read type dir files; do \
1210 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
1211 test -z "$$files" || { \
1212 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(sbindir)$$dir'"; \
1213 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \
1214 } \
1215 ; done
d9898ee8 1216
1217uninstall-sbinSCRIPTS:
1218 @$(NORMAL_UNINSTALL)
8d138742
CE
1219 @list='$(sbin_SCRIPTS)'; test -n "$(sbindir)" || exit 0; \
1220 files=`for p in $$list; do echo "$$p"; done | \
1221 sed -e 's,.*/,,;$(transform)'`; \
b0322a85 1222 dir='$(DESTDIR)$(sbindir)'; $(am__uninstall_files_from_dir)
d9898ee8 1223
1224mostlyclean-compile:
1225 -rm -f *.$(OBJEXT)
1226
1227distclean-compile:
1228 -rm -f *.tab.c
1229
1230@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authcustom.Plo@am__quote@
1231@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authdaemon.Plo@am__quote@
1232@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authdaemond.Po@am__quote@
1233@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authdaemonlib.Plo@am__quote@
1234@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authdaemontest.Po@am__quote@
1235@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authenumerate.Po@am__quote@
b0322a85 1236@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authgetconfig.Plo@am__quote@
d9898ee8 1237@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authinfo.Po@am__quote@
1238@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authldap.Plo@am__quote@
8d138742 1239@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authldapescape.Plo@am__quote@
d9898ee8 1240@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authldaplib.Plo@am__quote@
1241@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authmksock.Po@am__quote@
1242@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authmoduser2.Plo@am__quote@
1243@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authmoduser3.Plo@am__quote@
1244@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authmysql.Plo@am__quote@
1245@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authmysqllib.Plo@am__quote@
1246@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authoption.Plo@am__quote@
1247@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authpam.Plo@am__quote@
1248@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authpasswd.Po@am__quote@
1249@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authpgsql.Plo@am__quote@
1250@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authpgsqllib.Plo@am__quote@
1251@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authpipe.Plo@am__quote@
1252@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authpipelib.Plo@am__quote@
1253@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authpwd.Plo@am__quote@
1254@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authpwdenumerate.Plo@am__quote@
1255@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authsasl.Plo@am__quote@
1256@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authsaslclient.Plo@am__quote@
1257@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authsaslclientcram.Plo@am__quote@
1258@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authsaslclientcrammd5.Plo@am__quote@
1259@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authsaslclientcramsha1.Plo@am__quote@
ac40fd9e 1260@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authsaslclientexternal.Plo@am__quote@
d9898ee8 1261@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authsaslclientlogin.Plo@am__quote@
1262@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authsaslclientplain.Plo@am__quote@
1263@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authsaslcram.Plo@am__quote@
1264@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authsaslfrombase64.Plo@am__quote@
1265@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authsasllogin.Plo@am__quote@
1266@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authsaslplain.Plo@am__quote@
1267@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authsasltobase64.Plo@am__quote@
1268@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authshadow.Plo@am__quote@
b0322a85
CE
1269@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authsqlite.Plo@am__quote@
1270@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authsqlitelib.Plo@am__quote@
d9898ee8 1271@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authsyschangepwd.Plo@am__quote@
1272@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authsyscommon.Plo@am__quote@
1273@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authtest.Po@am__quote@
1274@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authuserdb.Plo@am__quote@
1275@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/authuserdbpwd.Plo@am__quote@
d9898ee8 1276@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/checkpassword.Plo@am__quote@
1277@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/checkpasswordmd5.Plo@am__quote@
1278@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/checkpasswordsha1.Plo@am__quote@
1279@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cramlib.Plo@am__quote@
1280@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cryptpassword.Plo@am__quote@
1281@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/debug.Plo@am__quote@
1282@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/preauthcustom.Plo@am__quote@
1283@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/preauthdaemon.Plo@am__quote@
1284@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/preauthldap.Plo@am__quote@
1285@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/preauthmysql.Plo@am__quote@
1286@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/preauthpam.Plo@am__quote@
1287@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/preauthpgsql.Plo@am__quote@
1288@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/preauthpwd.Plo@am__quote@
1289@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/preauthshadow.Plo@am__quote@
b0322a85 1290@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/preauthsqlite.Plo@am__quote@
d9898ee8 1291@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/preauthuserdb.Plo@am__quote@
1292@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/preauthuserdbcommon.Plo@am__quote@
d9898ee8 1293
1294.c.o:
b0322a85
CE
1295@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
1296@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
1297@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
d9898ee8 1298@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
d50284c4 1299@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
d9898ee8 1300
1301.c.obj:
b0322a85
CE
1302@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
1303@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
1304@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
d9898ee8 1305@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
d50284c4 1306@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
d9898ee8 1307
1308.c.lo:
b0322a85
CE
1309@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
1310@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
1311@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
d9898ee8 1312@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
b0322a85 1313@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
d9898ee8 1314
1315mostlyclean-libtool:
1316 -rm -f *.lo
1317
1318clean-libtool:
1319 -rm -rf .libs _libs
1320
1321distclean-libtool:
8d138742
CE
1322 -rm -f libtool config.lt
1323install-man1: $(man_MANS)
d9898ee8 1324 @$(NORMAL_INSTALL)
b0322a85
CE
1325 @list1=''; \
1326 list2='$(man_MANS)'; \
1327 test -n "$(man1dir)" \
1328 && test -n "`echo $$list1$$list2`" \
1329 || exit 0; \
1330 echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
1331 $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
1332 { for i in $$list1; do echo "$$i"; done; \
1333 if test -n "$$list2"; then \
1334 for i in $$list2; do echo "$$i"; done \
1335 | sed -n '/\.1[a-z]*$$/p'; \
1336 fi; \
8d138742
CE
1337 } | while read p; do \
1338 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
1339 echo "$$d$$p"; echo "$$p"; \
1340 done | \
1341 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
1342 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
1343 sed 'N;N;s,\n, ,g' | { \
1344 list=; while read file base inst; do \
1345 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
1346 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
1347 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
1348 fi; \
d9898ee8 1349 done; \
8d138742
CE
1350 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
1351 while read files; do \
1352 test -z "$$files" || { \
1353 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
1354 $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
1355 done; }
1356
d9898ee8 1357uninstall-man1:
1358 @$(NORMAL_UNINSTALL)
8d138742
CE
1359 @list=''; test -n "$(man1dir)" || exit 0; \
1360 files=`{ for i in $$list; do echo "$$i"; done; \
1361 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
1362 sed -n '/\.1[a-z]*$$/p'; \
1363 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
1364 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
b0322a85 1365 dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
8d138742 1366install-man3: $(man_MANS)
d9898ee8 1367 @$(NORMAL_INSTALL)
b0322a85
CE
1368 @list1=''; \
1369 list2='$(man_MANS)'; \
1370 test -n "$(man3dir)" \
1371 && test -n "`echo $$list1$$list2`" \
1372 || exit 0; \
1373 echo " $(MKDIR_P) '$(DESTDIR)$(man3dir)'"; \
1374 $(MKDIR_P) "$(DESTDIR)$(man3dir)" || exit 1; \
1375 { for i in $$list1; do echo "$$i"; done; \
1376 if test -n "$$list2"; then \
1377 for i in $$list2; do echo "$$i"; done \
1378 | sed -n '/\.3[a-z]*$$/p'; \
1379 fi; \
8d138742
CE
1380 } | while read p; do \
1381 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
1382 echo "$$d$$p"; echo "$$p"; \
1383 done | \
1384 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
1385 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
1386 sed 'N;N;s,\n, ,g' | { \
1387 list=; while read file base inst; do \
1388 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
1389 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \
1390 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst" || exit $$?; \
1391 fi; \
d9898ee8 1392 done; \
8d138742
CE
1393 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
1394 while read files; do \
1395 test -z "$$files" || { \
1396 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3dir)'"; \
1397 $(INSTALL_DATA) $$files "$(DESTDIR)$(man3dir)" || exit $$?; }; \
1398 done; }
1399
d9898ee8 1400uninstall-man3:
1401 @$(NORMAL_UNINSTALL)
8d138742
CE
1402 @list=''; test -n "$(man3dir)" || exit 0; \
1403 files=`{ for i in $$list; do echo "$$i"; done; \
1404 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
1405 sed -n '/\.3[a-z]*$$/p'; \
1406 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \
1407 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
b0322a85 1408 dir='$(DESTDIR)$(man3dir)'; $(am__uninstall_files_from_dir)
d9898ee8 1409install-includeHEADERS: $(include_HEADERS)
1410 @$(NORMAL_INSTALL)
8d138742 1411 @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
b0322a85
CE
1412 if test -n "$$list"; then \
1413 echo " $(MKDIR_P) '$(DESTDIR)$(includedir)'"; \
1414 $(MKDIR_P) "$(DESTDIR)$(includedir)" || exit 1; \
1415 fi; \
8d138742 1416 for p in $$list; do \
d9898ee8 1417 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
8d138742
CE
1418 echo "$$d$$p"; \
1419 done | $(am__base_list) | \
1420 while read files; do \
1421 echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \
1422 $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \
d9898ee8 1423 done
1424
1425uninstall-includeHEADERS:
1426 @$(NORMAL_UNINSTALL)
8d138742
CE
1427 @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
1428 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
b0322a85 1429 dir='$(DESTDIR)$(includedir)'; $(am__uninstall_files_from_dir)
d9898ee8 1430
1431# This directory's subdirectories are mostly independent; you can cd
b0322a85
CE
1432# into them and run 'make' without going through this Makefile.
1433# To change the values of 'make' variables: instead of editing Makefiles,
1434# (1) if the variable is set in 'config.status', edit 'config.status'
1435# (which will cause the Makefiles to be regenerated when you run 'make');
1436# (2) otherwise, pass the desired values on the 'make' command line.
1437$(am__recursive_targets):
1438 @fail=; \
1439 if $(am__make_keepgoing); then \
1440 failcom='fail=yes'; \
1441 else \
1442 failcom='exit 1'; \
1443 fi; \
d9898ee8 1444 dot_seen=no; \
1445 target=`echo $@ | sed s/-recursive//`; \
b0322a85
CE
1446 case "$@" in \
1447 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
1448 *) list='$(SUBDIRS)' ;; \
1449 esac; \
1450 for subdir in $$list; do \
d9898ee8 1451 echo "Making $$target in $$subdir"; \
1452 if test "$$subdir" = "."; then \
1453 dot_seen=yes; \
1454 local_target="$$target-am"; \
1455 else \
1456 local_target="$$target"; \
1457 fi; \
8d138742 1458 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
d9898ee8 1459 || eval $$failcom; \
1460 done; \
1461 if test "$$dot_seen" = "no"; then \
1462 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
1463 fi; test -z "$$fail"
1464
b0322a85
CE
1465ID: $(am__tagged_files)
1466 $(am__define_uniq_tagged_files); mkid -fID $$unique
1467tags: tags-recursive
1468TAGS: tags
d9898ee8 1469
b0322a85 1470tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
8d138742 1471 set x; \
d9898ee8 1472 here=`pwd`; \
1473 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
1474 include_option=--etags-include; \
1475 empty_fix=.; \
1476 else \
1477 include_option=--include; \
1478 empty_fix=; \
1479 fi; \
1480 list='$(SUBDIRS)'; for subdir in $$list; do \
1481 if test "$$subdir" = .; then :; else \
1482 test ! -f $$subdir/TAGS || \
8d138742 1483 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
d9898ee8 1484 fi; \
1485 done; \
b0322a85 1486 $(am__define_uniq_tagged_files); \
8d138742
CE
1487 shift; \
1488 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
d9898ee8 1489 test -n "$$unique" || unique=$$empty_fix; \
8d138742
CE
1490 if test $$# -gt 0; then \
1491 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1492 "$$@" $$unique; \
1493 else \
1494 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1495 $$unique; \
1496 fi; \
d9898ee8 1497 fi
b0322a85
CE
1498ctags: ctags-recursive
1499
1500CTAGS: ctags
1501ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
1502 $(am__define_uniq_tagged_files); \
8d138742 1503 test -z "$(CTAGS_ARGS)$$unique" \
d9898ee8 1504 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
8d138742 1505 $$unique
d9898ee8 1506
1507GTAGS:
1508 here=`$(am__cd) $(top_builddir) && pwd` \
8d138742
CE
1509 && $(am__cd) $(top_srcdir) \
1510 && gtags -i $(GTAGS_ARGS) "$$here"
b0322a85
CE
1511cscope: cscope.files
1512 test ! -s cscope.files \
1513 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
1514clean-cscope:
1515 -rm -f cscope.files
1516cscope.files: clean-cscope cscopelist
1517cscopelist: cscopelist-recursive
1518
1519cscopelist-am: $(am__tagged_files)
1520 list='$(am__tagged_files)'; \
1521 case "$(srcdir)" in \
1522 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
1523 *) sdir=$(subdir)/$(srcdir) ;; \
1524 esac; \
1525 for i in $$list; do \
1526 if test -f "$$i"; then \
1527 echo "$(subdir)/$$i"; \
1528 else \
1529 echo "$$sdir/$$i"; \
1530 fi; \
1531 done >> $(top_builddir)/cscope.files
d9898ee8 1532
1533distclean-tags:
1534 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
b0322a85 1535 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
d9898ee8 1536
1537distdir: $(DISTFILES)
1538 $(am__remove_distdir)
8d138742 1539 test -d "$(distdir)" || mkdir "$(distdir)"
dd184caf 1540 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1541 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1542 list='$(DISTFILES)'; \
1543 dist_files=`for file in $$list; do echo $$file; done | \
1544 sed -e "s|^$$srcdirstrip/||;t" \
1545 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1546 case $$dist_files in \
1547 */*) $(MKDIR_P) `echo "$$dist_files" | \
1548 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1549 sort -u` ;; \
1550 esac; \
1551 for file in $$dist_files; do \
d9898ee8 1552 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
d9898ee8 1553 if test -d $$d/$$file; then \
dd184caf 1554 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
8d138742
CE
1555 if test -d "$(distdir)/$$file"; then \
1556 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1557 fi; \
d9898ee8 1558 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
8d138742
CE
1559 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1560 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
d9898ee8 1561 fi; \
8d138742 1562 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
d9898ee8 1563 else \
8d138742
CE
1564 test -f "$(distdir)/$$file" \
1565 || cp -p $$d/$$file "$(distdir)/$$file" \
d9898ee8 1566 || exit 1; \
1567 fi; \
1568 done
8d138742 1569 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
d9898ee8 1570 if test "$$subdir" = .; then :; else \
b0322a85
CE
1571 $(am__make_dryrun) \
1572 || test -d "$(distdir)/$$subdir" \
1573 || $(MKDIR_P) "$(distdir)/$$subdir" \
1574 || exit 1; \
8d138742
CE
1575 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
1576 $(am__relativize); \
1577 new_distdir=$$reldir; \
1578 dir1=$$subdir; dir2="$(top_distdir)"; \
1579 $(am__relativize); \
1580 new_top_distdir=$$reldir; \
1581 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
1582 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
1583 ($(am__cd) $$subdir && \
d9898ee8 1584 $(MAKE) $(AM_MAKEFLAGS) \
8d138742
CE
1585 top_distdir="$$new_top_distdir" \
1586 distdir="$$new_distdir" \
dd184caf 1587 am__remove_distdir=: \
1588 am__skip_length_check=: \
8d138742 1589 am__skip_mode_fix=: \
d9898ee8 1590 distdir) \
1591 || exit 1; \
1592 fi; \
1593 done
1594 $(MAKE) $(AM_MAKEFLAGS) \
1595 top_distdir="$(top_distdir)" distdir="$(distdir)" \
1596 dist-hook
8d138742 1597 -test -n "$(am__skip_mode_fix)" \
b0322a85
CE
1598 || find "$(distdir)" -type d ! -perm -755 \
1599 -exec chmod u+rwx,go+rx {} \; -o \
d9898ee8 1600 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
1601 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
dd184caf 1602 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
8d138742 1603 || chmod -R a+r "$(distdir)"
d9898ee8 1604dist-gzip: distdir
1605 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
b0322a85 1606 $(am__post_remove_distdir)
d9898ee8 1607dist-bzip2: distdir
b0322a85
CE
1608 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
1609 $(am__post_remove_distdir)
d9898ee8 1610
b0322a85
CE
1611dist-lzip: distdir
1612 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
1613 $(am__post_remove_distdir)
ac40fd9e 1614
8d138742 1615dist-xz: distdir
b0322a85
CE
1616 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
1617 $(am__post_remove_distdir)
8d138742 1618
d9898ee8 1619dist-tarZ: distdir
d50284c4
CE
1620 @echo WARNING: "Support for distribution archives compressed with" \
1621 "legacy program 'compress' is deprecated." >&2
1622 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
d9898ee8 1623 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
b0322a85 1624 $(am__post_remove_distdir)
d9898ee8 1625
1626dist-shar: distdir
d50284c4
CE
1627 @echo WARNING: "Support for shar distribution archives is" \
1628 "deprecated." >&2
1629 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
d9898ee8 1630 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
b0322a85 1631 $(am__post_remove_distdir)
d9898ee8 1632
1633dist-zip: distdir
1634 -rm -f $(distdir).zip
1635 zip -rq $(distdir).zip $(distdir)
b0322a85 1636 $(am__post_remove_distdir)
d9898ee8 1637
b0322a85
CE
1638dist dist-all:
1639 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
1640 $(am__post_remove_distdir)
d9898ee8 1641
1642# This target untars the dist file and tries a VPATH configuration. Then
1643# it guarantees that the distribution is self-contained by making another
1644# tarfile.
1645distcheck: dist
1646 case '$(DIST_ARCHIVES)' in \
1647 *.tar.gz*) \
b0322a85 1648 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
d9898ee8 1649 *.tar.bz2*) \
b0322a85
CE
1650 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
1651 *.tar.lz*) \
1652 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
8d138742
CE
1653 *.tar.xz*) \
1654 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
d9898ee8 1655 *.tar.Z*) \
1656 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
1657 *.shar.gz*) \
b0322a85 1658 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
d9898ee8 1659 *.zip*) \
1660 unzip $(distdir).zip ;;\
1661 esac
b0322a85
CE
1662 chmod -R a-w $(distdir)
1663 chmod u+w $(distdir)
d50284c4 1664 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
d9898ee8 1665 chmod a-w $(distdir)
8d138742 1666 test -d $(distdir)/_build || exit 0; \
d9898ee8 1667 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
1668 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
8d138742 1669 && am__cwd=`pwd` \
d50284c4
CE
1670 && $(am__cd) $(distdir)/_build/sub \
1671 && ../../configure \
b0322a85 1672 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
d9898ee8 1673 $(DISTCHECK_CONFIGURE_FLAGS) \
d50284c4 1674 --srcdir=../.. --prefix="$$dc_install_base" \
d9898ee8 1675 && $(MAKE) $(AM_MAKEFLAGS) \
1676 && $(MAKE) $(AM_MAKEFLAGS) dvi \
1677 && $(MAKE) $(AM_MAKEFLAGS) check \
1678 && $(MAKE) $(AM_MAKEFLAGS) install \
1679 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
1680 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
1681 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
1682 distuninstallcheck \
1683 && chmod -R a-w "$$dc_install_base" \
1684 && ({ \
1685 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
1686 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
1687 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
1688 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
1689 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
1690 } || { rm -rf "$$dc_destdir"; exit 1; }) \
1691 && rm -rf "$$dc_destdir" \
1692 && $(MAKE) $(AM_MAKEFLAGS) dist \
1693 && rm -rf $(DIST_ARCHIVES) \
8d138742
CE
1694 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
1695 && cd "$$am__cwd" \
1696 || exit 1
b0322a85 1697 $(am__post_remove_distdir)
d9898ee8 1698 @(echo "$(distdir) archives ready for distribution: "; \
1699 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
dd184caf 1700 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
d9898ee8 1701distuninstallcheck:
b0322a85
CE
1702 @test -n '$(distuninstallcheck_dir)' || { \
1703 echo 'ERROR: trying to run $@ with an empty' \
1704 '$$(distuninstallcheck_dir)' >&2; \
1705 exit 1; \
1706 }; \
1707 $(am__cd) '$(distuninstallcheck_dir)' || { \
1708 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
1709 exit 1; \
1710 }; \
1711 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
d9898ee8 1712 || { echo "ERROR: files left after uninstall:" ; \
1713 if test -n "$(DESTDIR)"; then \
1714 echo " (check DESTDIR support)"; \
1715 fi ; \
1716 $(distuninstallcheck_listfiles) ; \
1717 exit 1; } >&2
1718distcleancheck: distclean
1719 @if test '$(srcdir)' = . ; then \
1720 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
1721 exit 1 ; \
1722 fi
1723 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
1724 || { echo "ERROR: files left in build directory after distclean:" ; \
1725 $(distcleancheck_listfiles) ; \
1726 exit 1; } >&2
1727check-am: all-am
1728check: $(BUILT_SOURCES)
1729 $(MAKE) $(AM_MAKEFLAGS) check-recursive
1730all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) \
1731 $(HEADERS) courier_auth_config.h
1732installdirs: installdirs-recursive
1733installdirs-am:
1734 for dir in "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(pkglibexecdir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(includedir)"; do \
dd184caf 1735 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
d9898ee8 1736 done
1737install: $(BUILT_SOURCES)
1738 $(MAKE) $(AM_MAKEFLAGS) install-recursive
1739install-exec: install-exec-recursive
1740install-data: install-data-recursive
1741uninstall: uninstall-recursive
1742
1743install-am: all-am
1744 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1745
1746installcheck: installcheck-recursive
1747install-strip:
b0322a85
CE
1748 if test -z '$(STRIP)'; then \
1749 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1750 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1751 install; \
1752 else \
1753 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1754 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1755 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1756 fi
d9898ee8 1757mostlyclean-generic:
1758
1759clean-generic:
1760 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1761
1762distclean-generic:
1763 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
8d138742 1764 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
d9898ee8 1765 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
1766
1767maintainer-clean-generic:
1768 @echo "This command is intended for maintainers to use"
1769 @echo "it deletes files that may require special tools to rebuild."
1770 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
1771clean: clean-recursive
1772
1773clean-am: clean-binPROGRAMS clean-generic clean-libtool \
1774 clean-noinstPROGRAMS clean-pkglibLTLIBRARIES \
1775 clean-sbinPROGRAMS mostlyclean-am
1776
1777distclean: distclean-recursive
1778 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1779 -rm -rf ./$(DEPDIR)
1780 -rm -f Makefile
1781distclean-am: clean-am distclean-compile distclean-generic \
1782 distclean-hdr distclean-libtool distclean-tags
1783
1784dvi: dvi-recursive
1785
1786dvi-am:
1787
1788html: html-recursive
1789
8d138742
CE
1790html-am:
1791
d9898ee8 1792info: info-recursive
1793
1794info-am:
1795
1796install-data-am: install-includeHEADERS install-man
1797 @$(NORMAL_INSTALL)
1798 $(MAKE) $(AM_MAKEFLAGS) install-data-hook
dd184caf 1799install-dvi: install-dvi-recursive
1800
8d138742
CE
1801install-dvi-am:
1802
d9898ee8 1803install-exec-am: install-binPROGRAMS install-pkglibLTLIBRARIES \
1804 install-pkglibexecSCRIPTS install-sbinPROGRAMS \
1805 install-sbinSCRIPTS
1806 @$(NORMAL_INSTALL)
1807 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
dd184caf 1808install-html: install-html-recursive
1809
8d138742
CE
1810install-html-am:
1811
d9898ee8 1812install-info: install-info-recursive
1813
8d138742
CE
1814install-info-am:
1815
d9898ee8 1816install-man: install-man1 install-man3
1817
dd184caf 1818install-pdf: install-pdf-recursive
1819
8d138742
CE
1820install-pdf-am:
1821
dd184caf 1822install-ps: install-ps-recursive
1823
8d138742
CE
1824install-ps-am:
1825
d9898ee8 1826installcheck-am:
1827
1828maintainer-clean: maintainer-clean-recursive
1829 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1830 -rm -rf $(top_srcdir)/autom4te.cache
1831 -rm -rf ./$(DEPDIR)
1832 -rm -f Makefile
1833maintainer-clean-am: distclean-am maintainer-clean-generic
1834
1835mostlyclean: mostlyclean-recursive
1836
1837mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1838 mostlyclean-libtool
1839
1840pdf: pdf-recursive
1841
1842pdf-am:
1843
1844ps: ps-recursive
1845
1846ps-am:
1847
1848uninstall-am: uninstall-binPROGRAMS uninstall-includeHEADERS \
dd184caf 1849 uninstall-man uninstall-pkglibLTLIBRARIES \
d9898ee8 1850 uninstall-pkglibexecSCRIPTS uninstall-sbinPROGRAMS \
1851 uninstall-sbinSCRIPTS
1852 @$(NORMAL_INSTALL)
1853 $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
d9898ee8 1854uninstall-man: uninstall-man1 uninstall-man3
1855
b0322a85
CE
1856.MAKE: $(am__recursive_targets) all check install install-am \
1857 install-data-am install-exec-am install-strip uninstall-am
1858
1859.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
1860 am--refresh check check-am clean clean-binPROGRAMS \
1861 clean-cscope clean-generic clean-libtool clean-noinstPROGRAMS \
1862 clean-pkglibLTLIBRARIES clean-sbinPROGRAMS cscope \
1863 cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
1864 dist-gzip dist-hook dist-lzip dist-shar dist-tarZ dist-xz \
1865 dist-zip distcheck distclean distclean-compile \
1866 distclean-generic distclean-hdr distclean-libtool \
1867 distclean-tags distcleancheck distdir distuninstallcheck dvi \
1868 dvi-am html html-am info info-am install install-am \
1869 install-binPROGRAMS install-data install-data-am \
1870 install-data-hook install-dvi install-dvi-am install-exec \
1871 install-exec-am install-exec-hook install-html install-html-am \
1872 install-includeHEADERS install-info install-info-am \
1873 install-man install-man1 install-man3 install-pdf \
1874 install-pdf-am install-pkglibLTLIBRARIES \
dd184caf 1875 install-pkglibexecSCRIPTS install-ps install-ps-am \
d9898ee8 1876 install-sbinPROGRAMS install-sbinSCRIPTS install-strip \
1877 installcheck installcheck-am installdirs installdirs-am \
dd184caf 1878 maintainer-clean maintainer-clean-generic mostlyclean \
1879 mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
b0322a85 1880 pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am \
d9898ee8 1881 uninstall-binPROGRAMS uninstall-hook uninstall-includeHEADERS \
dd184caf 1882 uninstall-man uninstall-man1 uninstall-man3 \
d9898ee8 1883 uninstall-pkglibLTLIBRARIES uninstall-pkglibexecSCRIPTS \
1884 uninstall-sbinPROGRAMS uninstall-sbinSCRIPTS
1885
d50284c4
CE
1886.PRECIOUS: Makefile
1887
d9898ee8 1888
d9898ee8 1889authpgsqllib.lo: authpgsqllib.c authpgsqlrc.h
1890
1891@HAVE_AUTHPGSQL_TRUE@install-authpgsqlrc:
1892@HAVE_AUTHPGSQL_TRUE@ $(mkinstalldirs) $(DESTDIR)`dirname @authpgsqlrc@` || :
1893@HAVE_AUTHPGSQL_TRUE@ $(INSTALL_DATA) -m 660 $(srcdir)/authpgsqlrc \
1894@HAVE_AUTHPGSQL_TRUE@ $(DESTDIR)@authpgsqlrc@.dist
1895@HAVE_AUTHPGSQL_TRUE@ -chown @mailuser@ $(DESTDIR)@authpgsqlrc@.dist
1896@HAVE_AUTHPGSQL_TRUE@ -chgrp @mailgroup@ $(DESTDIR)@authpgsqlrc@.dist
1897
1898@HAVE_AUTHPGSQL_TRUE@uninstall-authpgsqlrc:
1899@HAVE_AUTHPGSQL_TRUE@ rm -f $(DESTDIR)@authpgsqlrc@.dist
1900
1901@HAVE_AUTHPGSQL_FALSE@install-authpgsqlrc:
1902@HAVE_AUTHPGSQL_FALSE@ @:
1903
1904@HAVE_AUTHPGSQL_FALSE@uninstall-authpgsqlrc:
1905@HAVE_AUTHPGSQL_FALSE@ @:
1906
1907authpgsqlrc.h:
1908 echo "#define AUTHPGSQLRC \"@authpgsqlrc@\"" >authpgsqlrc.h
1909
1910authldaplib.lo: authldaplib.c authldaprc.h
1911
1912@HAVE_LDAP_TRUE@install-authldaprc:
1913@HAVE_LDAP_TRUE@ $(mkinstalldirs) $(DESTDIR)`dirname @authldaprc@` || :
1914@HAVE_LDAP_TRUE@ $(INSTALL_DATA) -m 660 $(srcdir)/authldaprc \
1915@HAVE_LDAP_TRUE@ $(DESTDIR)@authldaprc@.dist
1916@HAVE_LDAP_TRUE@ -chown @mailuser@ $(DESTDIR)@authldaprc@.dist
1917@HAVE_LDAP_TRUE@ -chgrp @mailgroup@ $(DESTDIR)@authldaprc@.dist
1918
1919@HAVE_LDAP_TRUE@uninstall-authldaprc:
1920@HAVE_LDAP_TRUE@ rm -f $(DESTDIR)@authldaprc@.dist
1921
1922@HAVE_LDAP_FALSE@install-authldaprc:
1923@HAVE_LDAP_FALSE@ @:
1924
1925@HAVE_LDAP_FALSE@uninstall-authldaprc:
1926@HAVE_LDAP_FALSE@ @:
1927
1928authldaprc.h:
1929 echo "#define AUTHLDAPRC \"@authldaprc@\"" >authldaprc.h
1930
1931authmysqllib.lo: authmysqllib.c authmysqlrc.h
1932
1933@HAVE_AUTHMYSQL_TRUE@install-authmysqlrc:
1934@HAVE_AUTHMYSQL_TRUE@ $(mkinstalldirs) $(DESTDIR)`dirname @authmysqlrc@` || :
1935@HAVE_AUTHMYSQL_TRUE@ $(INSTALL_DATA) -m 660 $(srcdir)/authmysqlrc \
1936@HAVE_AUTHMYSQL_TRUE@ $(DESTDIR)@authmysqlrc@.dist
1937@HAVE_AUTHMYSQL_TRUE@ -chown @mailuser@ $(DESTDIR)@authmysqlrc@.dist
1938@HAVE_AUTHMYSQL_TRUE@ -chgrp @mailgroup@ $(DESTDIR)@authmysqlrc@.dist
1939
1940@HAVE_AUTHMYSQL_TRUE@uninstall-authmysqlrc:
1941@HAVE_AUTHMYSQL_TRUE@ rm -f $(DESTDIR)@authmysqlrc@.dist
1942
1943@HAVE_AUTHMYSQL_FALSE@install-authmysqlrc:
1944@HAVE_AUTHMYSQL_FALSE@ @:
1945
1946@HAVE_AUTHMYSQL_FALSE@uninstall-authmysqlrc:
1947@HAVE_AUTHMYSQL_FALSE@ @:
1948
1949authmysqlrc.h:
1950 echo "#define AUTHMYSQLRC \"@authmysqlrc@\"" >authmysqlrc.h
1951
b0322a85
CE
1952authsqlitelib.lo: authsqlitelib.c authsqliterc.h
1953
1954@HAVE_AUTHSQLITE_TRUE@install-authsqliterc:
1955@HAVE_AUTHSQLITE_TRUE@ $(mkinstalldirs) $(DESTDIR)`dirname @authsqliterc@` || :
1956@HAVE_AUTHSQLITE_TRUE@ $(INSTALL_DATA) -m 660 $(srcdir)/authsqliterc \
1957@HAVE_AUTHSQLITE_TRUE@ $(DESTDIR)@authsqliterc@.dist
1958@HAVE_AUTHSQLITE_TRUE@ -chown @mailuser@ $(DESTDIR)@authsqliterc@.dist
1959@HAVE_AUTHSQLITE_TRUE@ -chgrp @mailgroup@ $(DESTDIR)@authsqliterc@.dist
1960
1961@HAVE_AUTHSQLITE_TRUE@uninstall-authsqliterc:
1962@HAVE_AUTHSQLITE_TRUE@ rm -f $(DESTDIR)@authsqliterc@.dist
1963
1964@HAVE_AUTHSQLITE_FALSE@install-authsqliterc:
1965@HAVE_AUTHSQLITE_FALSE@ @:
1966
1967@HAVE_AUTHSQLITE_FALSE@uninstall-authsqliterc:
1968@HAVE_AUTHSQLITE_FALSE@ @:
1969
1970authsqliterc.h:
1971 echo "#define AUTHSQLITERC \"@authsqliterc@\"" >authsqliterc.h
1972
d9898ee8 1973authpipelib.lo: authpipelib.c authpipelib.h authpiperc.h
1974
1975authpiperc.h:
1976 echo "#define PIPE_PROGRAM \"@authProg@\"" >authpiperc.h
1977
1978install-authdaemonrc:
1979 $(mkinstalldirs) $(DESTDIR)`dirname @authdaemonrc@` || :
1980 sed 's/@ALLMODULES@/$(modules:lib%.la=%)/' <authdaemonrc >authdaemonrc.tmp
1981 $(INSTALL_DATA) -m 660 authdaemonrc.tmp $(DESTDIR)@authdaemonrc@.dist
1982 rm -f authdaemonrc.tmp
1983 -chown @mailuser@ $(DESTDIR)@authdaemonrc@.dist
1984 -chgrp @mailgroup@ $(DESTDIR)@authdaemonrc@.dist
1985
1986uninstall-authdaemonrc:
1987 rm -f $(DESTDIR)@authdaemonrc@.dist
1988
1989authdaemonrc.h:
1990 echo "#define AUTHDAEMONRC \"@authdaemonrc@\"" >authdaemonrc.h
1991 echo "#define AUTHDAEMONVAR \"@authdaemonvar@\"" >>authdaemonrc.h
1992 echo "#define AUTHDAEMONPID AUTHDAEMONVAR \"/pid\"" >>authdaemonrc.h
1993 echo "#define AUTHDAEMONSOCK AUTHDAEMONVAR \"/socket\"" >>authdaemonrc.h
1994 echo "#define AUTHDAEMONLOCK AUTHDAEMONVAR \"/lock\"" >>authdaemonrc.h
1995
1996README: README.html
dd184caf 1997 links -dump -no-references README.html >README
d9898ee8 1998
1999NEWS: NEWS.html
dd184caf 2000 links -dump -no-references NEWS.html >NEWS
d9898ee8 2001
2002INSTALL: INSTALL.html
dd184caf 2003 rm -f INSTALL; links -dump -no-references INSTALL.html >INSTALL
d9898ee8 2004
2005authchangepwdir.h: config.status
2006 echo '#define AUTHCHANGEPWDIR "$(pkglibexecdir)"' >authchangepwdir.h
2007
2008sbindir.h: config.status
2009 echo '#define SBINDIR "@sbindir@"' >sbindir.h
2010
2011pkglibdir.h: config.status
2012 echo '#define PKGLIBDIR "$(pkglibdir)"' >pkglibdir.h
2013
2014packageversion.h: config.status
2015 echo '#define PKGVERSION "@PACKAGE_VERSION@"' >packageversion.h
2016
2017pkgincludedir.h: config.status
2018 echo '#define PKGINCLUDEDIR "$(includedir)"' >pkgincludedir.h
2019
2020mailusergroup.h: config.status
2021 echo '#define MAILUSER "@mailuser@"' >mailusergroup.h
2022 echo '#define MAILGROUP "@mailgroup@"' >>mailusergroup.h
2023
2024dist-hook:
2025 for f in $(BUILT1) ; do rm -f $(distdir)/$$f; done
2026
2027# automake still a bit stupid...
2028
2029install-data-hook: install-authdaemonrc install-authpgsqlrc \
b0322a85 2030 install-authldaprc install-authmysqlrc install-authsqliterc
d9898ee8 2031 :
2032
2033install-exec-hook:
2034 $(mkinstalldirs) $(DESTDIR)$(bindir) || :
2035 $(mkinstalldirs) $(DESTDIR)$(sbindir) || :
2036 $(mkinstalldirs) $(DESTDIR)$(pkglibexecdir) || :
b0322a85
CE
2037 chmod 755 $(DESTDIR)$(pkglibexecdir)
2038 -chown @mailuser@ $(DESTDIR)$(pkglibexecdir)
2039 -chgrp @mailgroup@ $(DESTDIR)$(pkglibexecdir)
d9898ee8 2040 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) authdaemondprog $(DESTDIR)$(pkglibexecdir)/authdaemond
2041 $(mkinstalldirs) $(DESTDIR)@authdaemonvar@ || :
2042 chmod 750 $(DESTDIR)@authdaemonvar@
2043 -chown @mailuser@ $(DESTDIR)@authdaemonvar@
2044 -chgrp @mailgroup@ $(DESTDIR)@authdaemonvar@
2045 test "@LIBAUTHUSERDB@" = "" && exit 0 ;\
b0322a85 2046 $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) libs/makedat/makedatprog \
d9898ee8 2047 $(DESTDIR)$(pkglibexecdir)/makedatprog ; \
d9898ee8 2048 $(INSTALL_SCRIPT) userdb/pw2userdb \
2049 $(DESTDIR)$(sbindir)/pw2userdb ; \
2050 $(INSTALL_SCRIPT) userdb/makeuserdb \
2051 $(DESTDIR)$(sbindir)/makeuserdb ; \
2052 $(INSTALL_SCRIPT) userdb/userdb.pl \
2053 $(DESTDIR)$(sbindir)/userdb ; \
2054 $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) userdb/userdbpw \
2055 $(DESTDIR)$(sbindir)/userdbpw ; \
2056 $(INSTALL_SCRIPT) userdb-test-cram-md5.pl \
2057 $(DESTDIR)$(sbindir)/userdb-test-cram-md5
2058
b0322a85 2059uninstall-hook: uninstall-authldaprc uninstall-authdaemonrc uninstall-authmysqlrc uninstall-authpgsqlrc uninstall-authsqliterc
d9898ee8 2060 rm -f $(DESTDIR)$(pkglibexecdir)/authdaemond
2061 test "@AUTHUSERDB@" = "" && exit 0 ;\
2062 rm -f $(DESTDIR)$(pkglibexecdir)/makedatprog \
d9898ee8 2063 $(DESTDIR)$(sbindir)/pw2userdb \
2064 $(DESTDIR)$(sbindir)/makeuserdb \
2065 $(DESTDIR)$(sbindir)/userdb \
2066 $(DESTDIR)$(sbindir)/userdbpw \
2067 $(DESTDIR)$(sbindir)/userdb-test-cram-md5
2068
2069authlib.html: authlib.html.in
8d138742 2070 $(SHELL) ./config.status --file=authlib.html
d9898ee8 2071
2072authlib.3: authlib.3.in
8d138742 2073 $(SHELL) ./config.status --file=authlib.3
d9898ee8 2074
d50284c4
CE
2075@HAVE_SGML_TRUE@$(GITFILES): %: %.git
2076@HAVE_SGML_TRUE@ perl -p -e 's/\$$Id:[^\$$]*/\$$Id: '"`git log --pretty=format:\"%H\" -n 1 -- $<`-`date +%Y%m%d%H%M%S`/" <$< >$@.tmp
2077@HAVE_SGML_TRUE@ mv -f $@.tmp $@
2078
b0322a85
CE
2079@HAVE_SGML_TRUE@authpasswd.html: authpasswd.sgml libs/docbook/sgml2html
2080@HAVE_SGML_TRUE@ libs/docbook/sgml2html authpasswd.sgml authpasswd.html
d9898ee8 2081
b0322a85
CE
2082@HAVE_SGML_TRUE@authpasswd.1: authpasswd.sgml libs/docbook/sgml2man
2083@HAVE_SGML_TRUE@ libs/docbook/sgml2man authpasswd.sgml authpasswd.1
d9898ee8 2084
b0322a85
CE
2085@HAVE_SGML_TRUE@authtest.html: authtest.sgml libs/docbook/sgml2html
2086@HAVE_SGML_TRUE@ libs/docbook/sgml2html authtest.sgml authtest.html
d9898ee8 2087
b0322a85
CE
2088@HAVE_SGML_TRUE@authtest.1: authtest.sgml libs/docbook/sgml2man
2089@HAVE_SGML_TRUE@ libs/docbook/sgml2man authtest.sgml authtest.1
d9898ee8 2090
b0322a85
CE
2091@HAVE_SGML_TRUE@authlib.html.in: authlib.sgml libs/docbook/sgml2html
2092@HAVE_SGML_TRUE@ libs/docbook/sgml2html authlib.sgml authlib.html.in
d9898ee8 2093
b0322a85
CE
2094@HAVE_SGML_TRUE@authlib.3.in: authlib.sgml libs/docbook/sgml2man
2095@HAVE_SGML_TRUE@ libs/docbook/sgml2man authlib.sgml authlib.3.in
8d138742 2096@HAVE_SGML_TRUE@ mv authlib.3 authlib.3.in
d9898ee8 2097
b0322a85 2098@HAVE_SGML_TRUE@README_authlib.html.in: README_authlib.sgml optionlist.sgml libs/docbook/sgml2html
d50284c4 2099@HAVE_SGML_TRUE@ libs/docbook/sgml2html README_authlib.sgml README_authlib.html.in "--stringparam man.base.url.for.relative.links http://www.courier-mta.org/authlib/"
d9898ee8 2100
b0322a85 2101@HAVE_SGML_TRUE@auth_generic.html: auth_generic.sgml authcallback.sgml optionlist.sgml libs/docbook/sgml2html
d50284c4 2102@HAVE_SGML_TRUE@ libs/docbook/sgml2html auth_generic.sgml auth_generic.html "--stringparam man.base.url.for.relative.links http://www.courier-mta.org/authlib/"
d9898ee8 2103
b0322a85 2104@HAVE_SGML_TRUE@auth_generic.3: auth_generic.sgml authcallback.sgml optionlist.sgml libs/docbook/sgml2man
d50284c4 2105@HAVE_SGML_TRUE@ libs/docbook/sgml2man auth_generic.sgml auth_generic.3 "--stringparam man.base.url.for.relative.links http://www.courier-mta.org/authlib/"
d9898ee8 2106
b0322a85 2107@HAVE_SGML_TRUE@auth_login.html: auth_login.sgml authcallback.sgml optionlist.sgml libs/docbook/sgml2html
d50284c4 2108@HAVE_SGML_TRUE@ libs/docbook/sgml2html auth_login.sgml auth_login.html "--stringparam man.base.url.for.relative.links http://www.courier-mta.org/authlib/"
d9898ee8 2109
b0322a85 2110@HAVE_SGML_TRUE@auth_login.3: auth_login.sgml authcallback.sgml optionlist.sgml libs/docbook/sgml2man
d50284c4 2111@HAVE_SGML_TRUE@ libs/docbook/sgml2man auth_login.sgml auth_login.3 "--stringparam man.base.url.for.relative.links http://www.courier-mta.org/authlib/"
d9898ee8 2112
b0322a85 2113@HAVE_SGML_TRUE@auth_getuserinfo.html: auth_getuserinfo.sgml authcallback.sgml optionlist.sgml libs/docbook/sgml2html
d50284c4 2114@HAVE_SGML_TRUE@ libs/docbook/sgml2html auth_getuserinfo.sgml auth_getuserinfo.html "--stringparam man.base.url.for.relative.links http://www.courier-mta.org/authlib/"
d9898ee8 2115
b0322a85 2116@HAVE_SGML_TRUE@auth_getuserinfo.3: auth_getuserinfo.sgml authcallback.sgml optionlist.sgml libs/docbook/sgml2man
d50284c4
CE
2117@HAVE_SGML_TRUE@ libs/docbook/sgml2man auth_getuserinfo.sgml auth_getuserinfo.3 "--stringparam man.base.url.for.relative.links http://www.courier-mta.org/authlib/"
2118
2119@HAVE_SGML_TRUE@auth_mkhomedir.html: auth_mkhomedir.sgml authcallback.sgml optionlist.sgml libs/docbook/sgml2html
2120@HAVE_SGML_TRUE@ libs/docbook/sgml2html auth_mkhomedir.sgml auth_mkhomedir.html "--stringparam man.base.url.for.relative.links http://www.courier-mta.org/authlib/"
2121
2122@HAVE_SGML_TRUE@auth_mkhomedir.3: auth_mkhomedir.sgml authcallback.sgml optionlist.sgml libs/docbook/sgml2man
2123@HAVE_SGML_TRUE@ libs/docbook/sgml2man auth_mkhomedir.sgml auth_mkhomedir.3 "--stringparam man.base.url.for.relative.links http://www.courier-mta.org/authlib/"
d9898ee8 2124
b0322a85 2125@HAVE_SGML_TRUE@auth_enumerate.html: auth_enumerate.sgml libs/docbook/sgml2html
d50284c4 2126@HAVE_SGML_TRUE@ libs/docbook/sgml2html auth_enumerate.sgml auth_enumerate.html "--stringparam man.base.url.for.relative.links http://www.courier-mta.org/authlib/"
d9898ee8 2127
b0322a85 2128@HAVE_SGML_TRUE@auth_enumerate.3: auth_enumerate.sgml libs/docbook/sgml2man
d50284c4 2129@HAVE_SGML_TRUE@ libs/docbook/sgml2man auth_enumerate.sgml auth_enumerate.3 "--stringparam man.base.url.for.relative.links http://www.courier-mta.org/authlib/"
d9898ee8 2130
b0322a85 2131@HAVE_SGML_TRUE@auth_passwd.html: auth_passwd.sgml libs/docbook/sgml2html
d50284c4 2132@HAVE_SGML_TRUE@ libs/docbook/sgml2html auth_passwd.sgml auth_passwd.html "--stringparam man.base.url.for.relative.links http://www.courier-mta.org/authlib/"
d9898ee8 2133
b0322a85 2134@HAVE_SGML_TRUE@auth_passwd.3: auth_passwd.sgml libs/docbook/sgml2man
d50284c4 2135@HAVE_SGML_TRUE@ libs/docbook/sgml2man auth_passwd.sgml auth_passwd.3 "--stringparam man.base.url.for.relative.links http://www.courier-mta.org/authlib/"
d9898ee8 2136
b0322a85 2137@HAVE_SGML_TRUE@auth_getoption.html: auth_getoption.sgml libs/docbook/sgml2html
d50284c4 2138@HAVE_SGML_TRUE@ libs/docbook/sgml2html auth_getoption.sgml auth_getoption.html "--stringparam man.base.url.for.relative.links http://www.courier-mta.org/authlib/"
d9898ee8 2139
b0322a85 2140@HAVE_SGML_TRUE@auth_getoption.3: auth_getoption.sgml libs/docbook/sgml2man
d50284c4 2141@HAVE_SGML_TRUE@ libs/docbook/sgml2man auth_getoption.sgml auth_getoption.3 "--stringparam man.base.url.for.relative.links http://www.courier-mta.org/authlib/"
d9898ee8 2142
b0322a85 2143@HAVE_SGML_TRUE@auth_sasl.html: auth_sasl.sgml libs/docbook/sgml2html
d50284c4 2144@HAVE_SGML_TRUE@ libs/docbook/sgml2html auth_sasl.sgml auth_sasl.html "--stringparam man.base.url.for.relative.links http://www.courier-mta.org/authlib/"
d9898ee8 2145
b0322a85 2146@HAVE_SGML_TRUE@auth_sasl.3: auth_sasl.sgml libs/docbook/sgml2man
d50284c4 2147@HAVE_SGML_TRUE@ libs/docbook/sgml2man auth_sasl.sgml auth_sasl.3 "--stringparam man.base.url.for.relative.links http://www.courier-mta.org/authlib/"
d9898ee8 2148
8d138742
CE
2149@HAVE_SGML_TRUE@auth_sasl_ex.3: auth_sasl.3
2150@HAVE_SGML_TRUE@ touch $@
2151
2152authldap.ldif: authldap.schema
2153 echo 'dn: cn=courier,cn=schema,cn=config' >authldap.ldif.tmp
2154 echo 'objectClass: olcSchemaConfig' >>authldap.ldif.tmp
2155 echo 'cn: courier' >>authldap.ldif.tmp
2156 sed '/^#/d;s/^attributetype/olcAttributeTypes:/;s/^objectclass/olcObjectClasses:/;s/^$$/#/' <$(srcdir)/authldap.schema | tr '\011' ' ' >>authldap.ldif.tmp
2157 mv -f authldap.ldif.tmp authldap.ldif
2158
d9898ee8 2159README_authlib.html: README_authlib.html.in config.status
8d138742 2160 $(SHELL) ./config.status --file=README_authlib.html
d9898ee8 2161
2162authdaemond.o: authdaemonrc.h authdaemond.c
2163
2164install-migrate: authmigrate
2165 @SHELL@ authmigrate
2166
2167install-configure:
2168 test -f $(DESTDIR)@authdaemonrc@.dist && @SYSCONFTOOL@ $(DESTDIR)@authdaemonrc@.dist || true
2169 test -f $(DESTDIR)@authmysqlrc@.dist && @SYSCONFTOOL@ $(DESTDIR)@authmysqlrc@.dist || true
2170 test -f $(DESTDIR)@authpgsqlrc@.dist && @SYSCONFTOOL@ $(DESTDIR)@authpgsqlrc@.dist || true
2171 test -f $(DESTDIR)@authldaprc@.dist && @SYSCONFTOOL@ $(DESTDIR)@authldaprc@.dist || true
b0322a85 2172 test -f $(DESTDIR)@authsqliterc@.dist && @SYSCONFTOOL@ $(DESTDIR)@authsqliterc@.dist || true
d9898ee8 2173
2174# For maintainer's use only
2175
2176distrelease:
8d138742
CE
2177 umask 022; $(MAKE) distcheck
2178 $(MAKE) rpm
8d138742
CE
2179 $(MAKE)
2180 $(MAKE)
d9898ee8 2181 rm -f @PACKAGE@.spec @PACKAGE@.lpspec
8d138742
CE
2182 $(MAKE) @PACKAGE@.spec @PACKAGE@.lpspec
2183 $(MAKE) dist
d9898ee8 2184
d9898ee8 2185rpm: rpm-build
2186
2187rpm-build:
8d138742
CE
2188 $(MAKE) bump.rpm.release
2189 $(MAKE) dist
2190 $(MAKE) dorpm
d9898ee8 2191
2192lpm: lpm-build
2193
2194lpm-build:
8d138742
CE
2195 $(MAKE) bump.rpm.release
2196 $(MAKE) dist
2197 $(MAKE) dolpm
d9898ee8 2198
2199dolpm:
2200 rm -rf lpm
2201 mkdir lpm
2202 lpbuild `test "@REPOSITORY@" == "" || echo --define "repository=1"` --srcbuild -o lpm @PACKAGE@-@VERSION@.tar.bz2
2203
2204publish: publish-@REPOSITORY@
2205
2206publish-dev:
8d138742 2207 $(MAKE) dopublish SUBDIR=dev
d9898ee8 2208
2209publish-prod:
8d138742 2210 $(MAKE) dopublish SUBDIR=prod
d9898ee8 2211
2212dopublish:
2213 lpbuild --resign lpm/*
2214 rm -rf lpmtmp
2215 mkdir lpmtmp
2216 ln lpm/* lpmtmp
2217 rm -f lpmtmp/*debuginfo*
2218 mv lpmtmp/*.src.lp repository-$(SUBDIR)/`lpm -q --distribution`/sources
2219 mv lpmtmp/*.lp repository-$(SUBDIR)/`lpm -q --distribution`/packages
2220 rm -rf lpmtmp
2221 ls -t repository-$(SUBDIR)/`lpm -q --distribution`/sources | tail -n +6 | xargs -r -n 1 lpm --erase repository-$(SUBDIR)
2222 lpm --sync repository-$(SUBDIR)
2223 rsync -a -v --delete-after repository-$(SUBDIR)/`lpm -q --distribution`/. headache:lpmtool.com/www/repositories/$(SUBDIR)/courier-authlib/`lpm -q --distribution`
2224
2225dorpm:
2226 rm -rf rpm/BUILD/*
2227 rm -f rpm/RPMS/*/*
2228 rm -f rpm/SOURCES/*
2229 rm -f rpm/SPECS/*
2230 rm -f rpm/SRPMS/*
8d138742
CE
2231 rpmbuild -ta --clean \
2232 --define "_topdir `pwd`/rpm" \
2233 --define '_rpmdir %{_topdir}/RPMS' \
2234 --define '_srcrpmdir %{_topdir}/SRPMS' \
2235 --define '_sourcedir %{_topdir}/SOURCES' \
2236 --define '_specdir %{_topdir}/SPECS' \
2237 --define '_builddir %{_topdir}/BUILD' \
2238 --define '_build_name_fmt %%{ARCH}/%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm' \
2239 --define '_tmppath %{_var}/tmp' \
2240 --define '__spec_prep_pre %{___build_pre}' \
2241 @PACKAGE@-@VERSION@.tar.bz2
d9898ee8 2242
2243bump.rpm.release: @PACKAGE@.spec @PACKAGE@.lpspec
2244 test -f $(srcdir)/rpm.release && . $(srcdir)/rpm.release; \
2245 NEXT_RELEASE=0; \
2246 test "$$VERSION" = "@VERSION@" && NEXT_RELEASE="$$RELEASE"; \
2247 RELEASE=`expr $$NEXT_RELEASE + 1`; \
2248 echo "VERSION=@VERSION@" >$(srcdir)/rpm.release; \
2249 echo "RELEASE=$$RELEASE" >>$(srcdir)/rpm.release; \
dd184caf 2250 sed 's/^Release: .*/Release: '$$RELEASE'%{?dist}%{?courier_release}/' \
d9898ee8 2251 <@PACKAGE@.spec >@PACKAGE@.spec.new; \
2252 mv @PACKAGE@.spec.new @PACKAGE@.spec; \
2253 sed 's/^Release: .*/Release: '$$RELEASE'/' \
2254 <@PACKAGE@.lpspec >@PACKAGE@.lpspec.new; \
2255 mv @PACKAGE@.lpspec.new @PACKAGE@.lpspec
2256
2257upload-beta:
ac40fd9e 2258 test -z "$(SFPASSWD)" && exit 1; exit 0
d9898ee8 2259 rm -f @PACKAGE@-@VERSION@.tar.bz2.sig; gpg --detach-sign --default-key mrsam@courier-mta.com @PACKAGE@-@VERSION@.tar.bz2; test -f @PACKAGE@-@VERSION@.tar.bz2.sig || exit 1
b0322a85 2260 ~/src/sftools/release.pl mrsam $(SFPASSWD) courier authlib-devel `echo @VERSION@|sed 's/.*\(........\)/\1/'` @PACKAGE@-@VERSION@.tar.bz2 @PACKAGE@-@VERSION@.tar.bz2.sig
d9898ee8 2261
2262upload-dist:
d9898ee8 2263 test -z "$(SFPASSWD)" && exit 1; exit 0
b0322a85
CE
2264 rm -f @PACKAGE@-@VERSION@.tar.bz2.sig; gpg --detach-sign --default-key mrsam@courier-mta.com @PACKAGE@-@VERSION@.tar.bz2; test -f @PACKAGE@-@VERSION@.tar.bz2.sig || exit 1
2265 set -e; v="@PACKAGE@/@VERSION@/`date +%Y%m%d%H%M%S`"; git tag -s $$v -m 'Tag version @VERSION@'; cd libs; git tag -s $$v -m 'Tag version @VERSION@'
2266 socksify ~/src/sftools/release.pl mrsam $(SFPASSWD) courier authlib @VERSION@ @PACKAGE@-@VERSION@.tar.bz2 @PACKAGE@-@VERSION@.tar.bz2.sig
d9898ee8 2267
2268htmldoc: $(HTMLDOCFILES)
b0322a85 2269 for f in $^; do d=`basename $$f`; test "$$d" = "README.html" && d="index.html"; tidy -i -q --tidy-mark no --doctype transitional --input-encoding utf8 --output-encoding utf8 -asxml <$$f >$$f.tmp ; xsltproc --nonet $$HOME/www/www.courier-mta.org/xsl/authlib.xsl $$f.tmp | perl -ne 's~\$(id):.*\$$~\$(id):'"$$h"'\$$~; print' >$$HOME/www/www.courier-mta.org/authlib/$$d; rm -f $$f.tmp; done
8d138742 2270
d9898ee8 2271# Tell versions [3.59,3.63) of GNU make to not export all variables.
2272# Otherwise a system limit (for SysV at least) may be exceeded.
2273.NOEXPORT: