~ubuntu-branches/ubuntu/precise/nss-pam-ldapd/precise-security

« back to all changes in this revision

Viewing changes to pynslcd/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Arthur de Jong
  • Date: 2011-09-04 21:00:00 UTC
  • mfrom: (14.1.4 experimental)
  • Revision ID: package-import@ubuntu.com-20110904210000-pe3u91iga88vtr16
Tags: 0.8.4
* Upload to unstable
* switch to using the member attribute by default instead of
  uniqueMember (backwards incompatible change)
* only return "x" as a password hash when the object has the shadowAccount
  objectClass and nsswitch.conf is configured to do shadow lookups using
  LDAP (this avoids some problems with pam_unix)
* fix problem with partial attribute name matches in DN (thanks Timothy
  White)
* fix a problem with objectSid mappings with recent versions of OpenLDAP
  (patch by Wesley Mason)
* set the socket timeout in a connection callback to avoid timeout
  issues during the SSL handshake (patch by Stefan Völkel)
* check for unknown variables in pam_authz_search
* only check password expiration when authenticating, only check account
  expiration when doing authorisation
* make buffer sizes consistent and grow all buffers holding string
  representations of numbers to be able to hold 64-bit numbers
* update AX_PTHREAD from autoconf-archive
* support querying DNS SRV records from a different domain than the current
  one (based on a patch by James M. Leddy)
* fix a problem with uninitialised memory while parsing the tls_ciphers
  option (closes: #638872) (but doesn't work yet due to #640384)
* implement bounds checking of numeric values read from LDAP (patch by
  Jakub Hrozek)
* correctly support large uid and gid values from LDAP (patch by Jakub
  Hrozek)
* improvements to the configure script (patch by Jakub Hrozek)
* switch to dh for debian/rules and bump debhelper compatibility to 8
* build Debian packages with multiarch support
* ship shlibs (but still no symbol files) for libnss-ldapd since that was
  the easiest way to support multiarch
* fix output in init script when restarting nslcd (closes: #637132)
* correctly handle leading and trailing spaces in preseeded debconf uri
  option (patch by Andreas B. Mundt) (closes: #637863)
* support spaces around database names in /etc/nsswitch.conf while
  configuring package (closes: #640185)
* updated Russian debconf translation by Yuri Kozlov (closes: #637751)
* updated French debconf translation by Christian Perrier (closes: #637756)
* added Slovak debconf translation by Slavko (closes: #637759)
* updated Danish debconf translation by Joe Hansen (closes :#637763)
* updated Brazilian Portuguese debconf translation by Denis Doria
* updated Portuguese debconf translation by Américo Monteiro
* updated Japanese debconf translation by Kenshi Muto (closes: #638195)
* updated Czech debconf translation by Miroslav Kure (closes: #639026)
* updated German debconf translation by Chris Leick (closes: #639107)
* updated Spanish debconf translation by Francisco Javier Cuadrado
  (closes: #639236)
* updated Dutch debconf translation by Arthur de Jong with help from Paul
  Gevers and Jeroen Schot

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Makefile.in generated by automake 1.11.1 from Makefile.am.
 
2
# @configure_input@
 
3
 
 
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
 
5
# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
 
6
# Inc.
 
7
# This Makefile.in is free software; the Free Software Foundation
 
8
# gives unlimited permission to copy and/or distribute it,
 
9
# with or without modifications, as long as this notice is preserved.
 
10
 
 
11
# This program is distributed in the hope that it will be useful,
 
12
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
 
13
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 
14
# PARTICULAR PURPOSE.
 
15
 
 
16
@SET_MAKE@
 
17
 
 
18
# Makefile.am - use automake to generate Makefile.in
 
19
#
 
20
# Copyright (C) 2010, 2011 Arthur de Jong
 
21
#
 
22
# This library is free software; you can redistribute it and/or
 
23
# modify it under the terms of the GNU Lesser General Public
 
24
# License as published by the Free Software Foundation; either
 
25
# version 2.1 of the License, or (at your option) any later version.
 
26
#
 
27
# This library is distributed in the hope that it will be useful,
 
28
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
29
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
30
# Lesser General Public License for more details.
 
31
#
 
32
# You should have received a copy of the GNU Lesser General Public
 
33
# License along with this library; if not, write to the Free Software
 
34
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 
35
# 02110-1301 USA
 
36
VPATH = @srcdir@
 
37
pkgdatadir = $(datadir)/@PACKAGE@
 
38
pkgincludedir = $(includedir)/@PACKAGE@
 
39
pkglibdir = $(libdir)/@PACKAGE@
 
40
pkglibexecdir = $(libexecdir)/@PACKAGE@
 
41
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
 
42
install_sh_DATA = $(install_sh) -c -m 644
 
43
install_sh_PROGRAM = $(install_sh) -c
 
44
install_sh_SCRIPT = $(install_sh) -c
 
45
INSTALL_HEADER = $(INSTALL_DATA)
 
46
transform = $(program_transform_name)
 
47
NORMAL_INSTALL = :
 
48
PRE_INSTALL = :
 
49
POST_INSTALL = :
 
50
NORMAL_UNINSTALL = :
 
51
PRE_UNINSTALL = :
 
52
POST_UNINSTALL = :
 
53
build_triplet = @build@
 
54
host_triplet = @host@
 
55
target_triplet = @target@
 
56
subdir = pynslcd
 
57
DIST_COMMON = $(pynslcd_PYTHON) $(srcdir)/Makefile.am \
 
58
        $(srcdir)/Makefile.in $(srcdir)/config.py.in
 
59
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
60
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_pthread.m4 \
 
61
        $(top_srcdir)/configure.ac
 
62
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
63
        $(ACLOCAL_M4)
 
64
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 
65
CONFIG_HEADER = $(top_builddir)/config.h
 
66
CONFIG_CLEAN_FILES = config.py
 
67
CONFIG_CLEAN_VPATH_FILES =
 
68
SOURCES =
 
69
DIST_SOURCES =
 
70
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
 
71
am__vpath_adj = case $$p in \
 
72
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
 
73
    *) f=$$p;; \
 
74
  esac;
 
75
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
 
76
am__install_max = 40
 
77
am__nobase_strip_setup = \
 
78
  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
 
79
am__nobase_strip = \
 
80
  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
 
81
am__nobase_list = $(am__nobase_strip_setup); \
 
82
  for p in $$list; do echo "$$p $$p"; done | \
 
83
  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
 
84
  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
 
85
    if (++n[$$2] == $(am__install_max)) \
 
86
      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
 
87
    END { for (dir in files) print dir, files[dir] }'
 
88
am__base_list = \
 
89
  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
 
90
  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
 
91
am__installdirs = "$(DESTDIR)$(pynslcddir)" "$(DESTDIR)$(pynslcddir)"
 
92
py_compile = $(top_srcdir)/py-compile
 
93
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
94
ACLOCAL = @ACLOCAL@
 
95
AMTAR = @AMTAR@
 
96
AUTOCONF = @AUTOCONF@
 
97
AUTOHEADER = @AUTOHEADER@
 
98
AUTOMAKE = @AUTOMAKE@
 
99
AWK = @AWK@
 
100
CC = @CC@
 
101
CCDEPMODE = @CCDEPMODE@
 
102
CFLAGS = @CFLAGS@
 
103
CPP = @CPP@
 
104
CPPFLAGS = @CPPFLAGS@
 
105
CYGPATH_W = @CYGPATH_W@
 
106
DEFS = @DEFS@
 
107
DEPDIR = @DEPDIR@
 
108
DOCBOOK2X_MAN = @DOCBOOK2X_MAN@
 
109
ECHO_C = @ECHO_C@
 
110
ECHO_N = @ECHO_N@
 
111
ECHO_T = @ECHO_T@
 
112
EGREP = @EGREP@
 
113
ENABLE_CONFIGFILE_CHECKING = @ENABLE_CONFIGFILE_CHECKING@
 
114
EXEEXT = @EXEEXT@
 
115
GREP = @GREP@
 
116
INSTALL = @INSTALL@
 
117
INSTALL_DATA = @INSTALL_DATA@
 
118
INSTALL_PROGRAM = @INSTALL_PROGRAM@
 
119
INSTALL_SCRIPT = @INSTALL_SCRIPT@
 
120
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
 
121
LDFLAGS = @LDFLAGS@
 
122
LIBOBJS = @LIBOBJS@
 
123
LIBS = @LIBS@
 
124
LN_S = @LN_S@
 
125
LTLIBOBJS = @LTLIBOBJS@
 
126
MAINT = @MAINT@
 
127
MAKEINFO = @MAKEINFO@
 
128
MKDIR_P = @MKDIR_P@
 
129
NSLCD_BINDPW_PATH = @NSLCD_BINDPW_PATH@
 
130
NSLCD_CONF_PATH = @NSLCD_CONF_PATH@
 
131
NSLCD_PIDFILE = @NSLCD_PIDFILE@
 
132
NSLCD_SOCKET = @NSLCD_SOCKET@
 
133
NSS_LDAP_SONAME = @NSS_LDAP_SONAME@
 
134
NSS_MODULE_OBJS = @NSS_MODULE_OBJS@
 
135
OBJEXT = @OBJEXT@
 
136
PACKAGE = @PACKAGE@
 
137
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
 
138
PACKAGE_NAME = @PACKAGE_NAME@
 
139
PACKAGE_STRING = @PACKAGE_STRING@
 
140
PACKAGE_TARNAME = @PACKAGE_TARNAME@
 
141
PACKAGE_URL = @PACKAGE_URL@
 
142
PACKAGE_VERSION = @PACKAGE_VERSION@
 
143
PAM_LDAP_SONAME = @PAM_LDAP_SONAME@
 
144
PAM_SECLIB_DIR = @PAM_SECLIB_DIR@
 
145
PATH_SEPARATOR = @PATH_SEPARATOR@
 
146
PTHREAD_CC = @PTHREAD_CC@
 
147
PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
 
148
PTHREAD_LIBS = @PTHREAD_LIBS@
 
149
PYTHON = @PYTHON@
 
150
PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
 
151
PYTHON_PLATFORM = @PYTHON_PLATFORM@
 
152
PYTHON_PREFIX = @PYTHON_PREFIX@
 
153
PYTHON_VERSION = @PYTHON_VERSION@
 
154
RANLIB = @RANLIB@
 
155
RELEASE_MONTH = @RELEASE_MONTH@
 
156
SET_MAKE = @SET_MAKE@
 
157
SHELL = @SHELL@
 
158
STRIP = @STRIP@
 
159
VERSION = @VERSION@
 
160
abs_builddir = @abs_builddir@
 
161
abs_srcdir = @abs_srcdir@
 
162
abs_top_builddir = @abs_top_builddir@
 
163
abs_top_srcdir = @abs_top_srcdir@
 
164
ac_ct_CC = @ac_ct_CC@
 
165
am__include = @am__include@
 
166
am__leading_dot = @am__leading_dot@
 
167
am__quote = @am__quote@
 
168
am__tar = @am__tar@
 
169
am__untar = @am__untar@
 
170
ax_pthread_config = @ax_pthread_config@
 
171
bindir = @bindir@
 
172
build = @build@
 
173
build_alias = @build_alias@
 
174
build_cpu = @build_cpu@
 
175
build_os = @build_os@
 
176
build_vendor = @build_vendor@
 
177
builddir = @builddir@
 
178
datadir = @datadir@
 
179
datarootdir = @datarootdir@
 
180
docdir = @docdir@
 
181
dvidir = @dvidir@
 
182
exec_prefix = @exec_prefix@
 
183
host = @host@
 
184
host_alias = @host_alias@
 
185
host_cpu = @host_cpu@
 
186
host_os = @host_os@
 
187
host_vendor = @host_vendor@
 
188
htmldir = @htmldir@
 
189
includedir = @includedir@
 
190
infodir = @infodir@
 
191
install_sh = @install_sh@
 
192
libdir = @libdir@
 
193
libexecdir = @libexecdir@
 
194
localedir = @localedir@
 
195
localstatedir = @localstatedir@
 
196
mandir = @mandir@
 
197
mkdir_p = @mkdir_p@
 
198
nslcd_LIBS = @nslcd_LIBS@
 
199
nss_ldap_so_LDFLAGS = @nss_ldap_so_LDFLAGS@
 
200
nss_ldap_so_LINK = @nss_ldap_so_LINK@
 
201
oldincludedir = @oldincludedir@
 
202
pam_ldap_so_LDFLAGS = @pam_ldap_so_LDFLAGS@
 
203
pam_ldap_so_LINK = @pam_ldap_so_LINK@
 
204
pdfdir = @pdfdir@
 
205
pkgpyexecdir = @pkgpyexecdir@
 
206
pkgpythondir = @pkgpythondir@
 
207
prefix = @prefix@
 
208
program_transform_name = @program_transform_name@
 
209
psdir = @psdir@
 
210
pyexecdir = @pyexecdir@
 
211
pythondir = @pythondir@
 
212
sbindir = @sbindir@
 
213
sharedstatedir = @sharedstatedir@
 
214
srcdir = @srcdir@
 
215
sysconfdir = @sysconfdir@
 
216
target = @target@
 
217
target_alias = @target_alias@
 
218
target_cpu = @target_cpu@
 
219
target_os = @target_os@
 
220
target_vendor = @target_vendor@
 
221
top_build_prefix = @top_build_prefix@
 
222
top_builddir = @top_builddir@
 
223
top_srcdir = @top_srcdir@
 
224
pynslcddir = $(datadir)/pynslcd
 
225
pynslcd_PYTHON = pynslcd.py cfg.py common.py tio.py mypidfile.py \
 
226
                 alias.py ether.py group.py host.py netgroup.py network.py \
 
227
                 pam.py passwd.py shadow.py
 
228
 
 
229
nodist_pynslcd_PYTHON = constants.py config.py
 
230
CLEANFILES = $(nodist_pynslcd_PYTHON)
 
231
all: all-am
 
232
 
 
233
.SUFFIXES:
 
234
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
 
235
        @for dep in $?; do \
 
236
          case '$(am__configure_deps)' in \
 
237
            *$$dep*) \
 
238
              ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
 
239
                && { if test -f $@; then exit 0; else break; fi; }; \
 
240
              exit 1;; \
 
241
          esac; \
 
242
        done; \
 
243
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu pynslcd/Makefile'; \
 
244
        $(am__cd) $(top_srcdir) && \
 
245
          $(AUTOMAKE) --gnu pynslcd/Makefile
 
246
.PRECIOUS: Makefile
 
247
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
248
        @case '$?' in \
 
249
          *config.status*) \
 
250
            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
 
251
          *) \
 
252
            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
 
253
            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
 
254
        esac;
 
255
 
 
256
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
 
257
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 
258
 
 
259
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
 
260
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 
261
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
 
262
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 
263
$(am__aclocal_m4_deps):
 
264
config.py: $(top_builddir)/config.status $(srcdir)/config.py.in
 
265
        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
 
266
install-nodist_pynslcdPYTHON: $(nodist_pynslcd_PYTHON)
 
267
        @$(NORMAL_INSTALL)
 
268
        test -z "$(pynslcddir)" || $(MKDIR_P) "$(DESTDIR)$(pynslcddir)"
 
269
        @list='$(nodist_pynslcd_PYTHON)'; dlist=; list2=; test -n "$(pynslcddir)" || list=; \
 
270
        for p in $$list; do \
 
271
          if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \
 
272
          if test -f $$b$$p; then \
 
273
            $(am__strip_dir) \
 
274
            dlist="$$dlist $$f"; \
 
275
            list2="$$list2 $$b$$p"; \
 
276
          else :; fi; \
 
277
        done; \
 
278
        for file in $$list2; do echo $$file; done | $(am__base_list) | \
 
279
        while read files; do \
 
280
          echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pynslcddir)'"; \
 
281
          $(INSTALL_DATA) $$files "$(DESTDIR)$(pynslcddir)" || exit $$?; \
 
282
        done || exit $$?; \
 
283
        if test -n "$$dlist"; then \
 
284
          if test -z "$(DESTDIR)"; then \
 
285
            PYTHON=$(PYTHON) $(py_compile) --basedir "$(pynslcddir)" $$dlist; \
 
286
          else \
 
287
            PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(pynslcddir)" $$dlist; \
 
288
          fi; \
 
289
        else :; fi
 
290
 
 
291
uninstall-nodist_pynslcdPYTHON:
 
292
        @$(NORMAL_UNINSTALL)
 
293
        @list='$(nodist_pynslcd_PYTHON)'; test -n "$(pynslcddir)" || list=; \
 
294
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
 
295
        test -n "$$files" || exit 0; \
 
296
        filesc=`echo "$$files" | sed 's|$$|c|'`; \
 
297
        fileso=`echo "$$files" | sed 's|$$|o|'`; \
 
298
        echo " ( cd '$(DESTDIR)$(pynslcddir)' && rm -f" $$files ")"; \
 
299
        cd "$(DESTDIR)$(pynslcddir)" && rm -f $$files || exit $$?; \
 
300
        echo " ( cd '$(DESTDIR)$(pynslcddir)' && rm -f" $$filesc ")"; \
 
301
        cd "$(DESTDIR)$(pynslcddir)" && rm -f $$filesc || exit $$?; \
 
302
        echo " ( cd '$(DESTDIR)$(pynslcddir)' && rm -f" $$fileso ")"; \
 
303
        cd "$(DESTDIR)$(pynslcddir)" && rm -f $$fileso
 
304
install-pynslcdPYTHON: $(pynslcd_PYTHON)
 
305
        @$(NORMAL_INSTALL)
 
306
        test -z "$(pynslcddir)" || $(MKDIR_P) "$(DESTDIR)$(pynslcddir)"
 
307
        @list='$(pynslcd_PYTHON)'; dlist=; list2=; test -n "$(pynslcddir)" || list=; \
 
308
        for p in $$list; do \
 
309
          if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \
 
310
          if test -f $$b$$p; then \
 
311
            $(am__strip_dir) \
 
312
            dlist="$$dlist $$f"; \
 
313
            list2="$$list2 $$b$$p"; \
 
314
          else :; fi; \
 
315
        done; \
 
316
        for file in $$list2; do echo $$file; done | $(am__base_list) | \
 
317
        while read files; do \
 
318
          echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pynslcddir)'"; \
 
319
          $(INSTALL_DATA) $$files "$(DESTDIR)$(pynslcddir)" || exit $$?; \
 
320
        done || exit $$?; \
 
321
        if test -n "$$dlist"; then \
 
322
          if test -z "$(DESTDIR)"; then \
 
323
            PYTHON=$(PYTHON) $(py_compile) --basedir "$(pynslcddir)" $$dlist; \
 
324
          else \
 
325
            PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(pynslcddir)" $$dlist; \
 
326
          fi; \
 
327
        else :; fi
 
328
 
 
329
uninstall-pynslcdPYTHON:
 
330
        @$(NORMAL_UNINSTALL)
 
331
        @list='$(pynslcd_PYTHON)'; test -n "$(pynslcddir)" || list=; \
 
332
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
 
333
        test -n "$$files" || exit 0; \
 
334
        filesc=`echo "$$files" | sed 's|$$|c|'`; \
 
335
        fileso=`echo "$$files" | sed 's|$$|o|'`; \
 
336
        echo " ( cd '$(DESTDIR)$(pynslcddir)' && rm -f" $$files ")"; \
 
337
        cd "$(DESTDIR)$(pynslcddir)" && rm -f $$files || exit $$?; \
 
338
        echo " ( cd '$(DESTDIR)$(pynslcddir)' && rm -f" $$filesc ")"; \
 
339
        cd "$(DESTDIR)$(pynslcddir)" && rm -f $$filesc || exit $$?; \
 
340
        echo " ( cd '$(DESTDIR)$(pynslcddir)' && rm -f" $$fileso ")"; \
 
341
        cd "$(DESTDIR)$(pynslcddir)" && rm -f $$fileso
 
342
tags: TAGS
 
343
TAGS:
 
344
 
 
345
ctags: CTAGS
 
346
CTAGS:
 
347
 
 
348
 
 
349
distdir: $(DISTFILES)
 
350
        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
 
351
        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
 
352
        list='$(DISTFILES)'; \
 
353
          dist_files=`for file in $$list; do echo $$file; done | \
 
354
          sed -e "s|^$$srcdirstrip/||;t" \
 
355
              -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
 
356
        case $$dist_files in \
 
357
          */*) $(MKDIR_P) `echo "$$dist_files" | \
 
358
                           sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
 
359
                           sort -u` ;; \
 
360
        esac; \
 
361
        for file in $$dist_files; do \
 
362
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
 
363
          if test -d $$d/$$file; then \
 
364
            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
 
365
            if test -d "$(distdir)/$$file"; then \
 
366
              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
 
367
            fi; \
 
368
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
 
369
              cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
 
370
              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
 
371
            fi; \
 
372
            cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
 
373
          else \
 
374
            test -f "$(distdir)/$$file" \
 
375
            || cp -p $$d/$$file "$(distdir)/$$file" \
 
376
            || exit 1; \
 
377
          fi; \
 
378
        done
 
379
check-am: all-am
 
380
check: check-am
 
381
all-am: Makefile all-local
 
382
installdirs:
 
383
        for dir in "$(DESTDIR)$(pynslcddir)" "$(DESTDIR)$(pynslcddir)"; do \
 
384
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
 
385
        done
 
386
install: install-am
 
387
install-exec: install-exec-am
 
388
install-data: install-data-am
 
389
uninstall: uninstall-am
 
390
 
 
391
install-am: all-am
 
392
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
 
393
 
 
394
installcheck: installcheck-am
 
395
install-strip:
 
396
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
 
397
          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
 
398
          `test -z '$(STRIP)' || \
 
399
            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
 
400
mostlyclean-generic:
 
401
 
 
402
clean-generic:
 
403
        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
 
404
 
 
405
distclean-generic:
 
406
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
407
        -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
 
408
 
 
409
maintainer-clean-generic:
 
410
        @echo "This command is intended for maintainers to use"
 
411
        @echo "it deletes files that may require special tools to rebuild."
 
412
clean: clean-am
 
413
 
 
414
clean-am: clean-generic clean-local mostlyclean-am
 
415
 
 
416
distclean: distclean-am
 
417
        -rm -f Makefile
 
418
distclean-am: clean-am distclean-generic
 
419
 
 
420
dvi: dvi-am
 
421
 
 
422
dvi-am:
 
423
 
 
424
html: html-am
 
425
 
 
426
html-am:
 
427
 
 
428
info: info-am
 
429
 
 
430
info-am:
 
431
 
 
432
install-data-am: install-nodist_pynslcdPYTHON install-pynslcdPYTHON
 
433
        @$(NORMAL_INSTALL)
 
434
        $(MAKE) $(AM_MAKEFLAGS) install-data-hook
 
435
install-dvi: install-dvi-am
 
436
 
 
437
install-dvi-am:
 
438
 
 
439
install-exec-am:
 
440
 
 
441
install-html: install-html-am
 
442
 
 
443
install-html-am:
 
444
 
 
445
install-info: install-info-am
 
446
 
 
447
install-info-am:
 
448
 
 
449
install-man:
 
450
 
 
451
install-pdf: install-pdf-am
 
452
 
 
453
install-pdf-am:
 
454
 
 
455
install-ps: install-ps-am
 
456
 
 
457
install-ps-am:
 
458
 
 
459
installcheck-am:
 
460
 
 
461
maintainer-clean: maintainer-clean-am
 
462
        -rm -f Makefile
 
463
maintainer-clean-am: distclean-am maintainer-clean-generic
 
464
 
 
465
mostlyclean: mostlyclean-am
 
466
 
 
467
mostlyclean-am: mostlyclean-generic
 
468
 
 
469
pdf: pdf-am
 
470
 
 
471
pdf-am:
 
472
 
 
473
ps: ps-am
 
474
 
 
475
ps-am:
 
476
 
 
477
uninstall-am: uninstall-nodist_pynslcdPYTHON uninstall-pynslcdPYTHON
 
478
 
 
479
.MAKE: install-am install-data-am install-strip
 
480
 
 
481
.PHONY: all all-am all-local check check-am clean clean-generic \
 
482
        clean-local distclean distclean-generic distdir dvi dvi-am \
 
483
        html html-am info info-am install install-am install-data \
 
484
        install-data-am install-data-hook install-dvi install-dvi-am \
 
485
        install-exec install-exec-am install-html install-html-am \
 
486
        install-info install-info-am install-man \
 
487
        install-nodist_pynslcdPYTHON install-pdf install-pdf-am \
 
488
        install-ps install-ps-am install-pynslcdPYTHON install-strip \
 
489
        installcheck installcheck-am installdirs maintainer-clean \
 
490
        maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
 
491
        pdf-am ps ps-am uninstall uninstall-am \
 
492
        uninstall-nodist_pynslcdPYTHON uninstall-pynslcdPYTHON
 
493
 
 
494
 
 
495
all-local: $(nodist_pynslcd_PYTHON)
 
496
 
 
497
# clean up locally created compiled Python files
 
498
clean-local:
 
499
        rm -f *.pyc *.pyo
 
500
 
 
501
# create a symbolic link for the pynslcd daemon and fix permissions
 
502
install-data-hook:
 
503
        chmod a+rx $(DESTDIR)$(pynslcddir)/pynslcd.py
 
504
        $(MKDIR_P) $(DESTDIR)$(sbindir)
 
505
        [ -L $(DESTDIR)$(sbindir)/pynslcd ] || $(LN_S) $(pynslcddir)/pynslcd.py $(DESTDIR)$(sbindir)/pynslcd
 
506
 
 
507
# generate constants module
 
508
constants.py: $(top_srcdir)/nslcd.h Makefile
 
509
        ( echo "# This file is automatically generated from nslcd.h." ; \
 
510
          echo "# See that file for details." ; \
 
511
          echo "" ; \
 
512
          sed -n 's| */\*.*\*/ *||;s/^.define  *\(NSLCD_[A-Z_]*\)  */\1 = /p' \
 
513
              $< ) > $@
 
514
 
 
515
# Tell versions [3.59,3.63) of GNU make to not export all variables.
 
516
# Otherwise a system limit (for SysV at least) may be exceeded.
 
517
.NOEXPORT: