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