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