]> git.sur5r.net Git - openldap/blob - include/Makefile.in
For ITS#157: Added LDAP backend for slapd, which also required adding
[openldap] / include / Makefile.in
1 ## Copyright 1998 The OpenLDAP Foundation, All Rights Reserved.
2 ## COPYING RESTRICTIONS APPLY, See COPYRIGHT file
3 ##
4 ## include Makefile.in for OpenLDAP
5
6 all-local: ldapconfig.h FORCE
7
8 install-local: FORCE
9                 -$(MKDIR) -p $(includedir)
10                 $(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/ldap.h $(includedir)
11                 $(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/lber.h $(includedir)
12                 $(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/ldap_cdefs.h $(includedir)
13                 $(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/disptmpl.h $(includedir)
14                 $(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/srchpref.h $(includedir)
15                 $(INSTALL) $(INSTALLFLAGS) -m 644 ldap_features.h $(includedir)
16
17 clean-local: FORCE 
18         $(RM) ldapconfig.h
19
20 veryclean-local: clean-local FORCE
21         $(RM) portable.h ldap_features.h
22
23 depend-local: ldapconfig.h FORCE
24
25 ldapconfig.h: $(srcdir)/ldapconfig.h.edit Makefile
26         @$(RM) $@
27         @echo "Making ldapconfig.h"
28         @echo "/*" > $@;  \
29         echo " * This file was automatically generated.  Do not edit it." >> $@; \
30         echo " * Instead, edit the file ldapconfig.h.edit.  See the LDAP" >> $@; \
31         echo " * INSTALL file for more information." >> $@; \
32         echo " */ " >> $@; \
33         echo "" >> $@; \
34         $(SED) \
35                         -e 's;%SYSCONFDIR%;$(sysconfdir);' \
36                         -e 's;%DATADIR%;$(datadir);' \
37                         -e 's;%BINDIR%;$(bindir);' \
38                         -e 's;%SBINDIR%;$(sbindir);' \
39                         -e 's;%LIBEXECDIR%;$(libexecdir);' \
40                         -e 's;%RUNDIR%;$(localstatedir);' \
41                         -e 's;%EDITOR%;$(EDITOR);' \
42                         -e 's;%FINGER%;$(FINGER);' \
43                         -e 's;%SENDMAIL%;$(SENDMAIL);' \
44                          $(srcdir)/ldapconfig.h.edit >> $@; \
45         $(CHMOD) 444 $@
46
47 all-common:                     all-local
48 install-common:         all-common install-local
49 clean-common:           clean-local
50 veryclean-common:       veryclean-local
51 depend-common:          depend-local