]> git.sur5r.net Git - openldap/blobdiff - include/Makefile.in
Use LDAP_F and LDAP_P macros.
[openldap] / include / Makefile.in
index b969697e6036a4f4bdd0975597af1b3c70100644..23be05f6b0806e437683e5c4c586f2c548f7f660 100644 (file)
@@ -7,21 +7,23 @@ all-local: ldapconfig.h FORCE
 
 install-local: FORCE
                -$(MKDIR) -p $(includedir)
-               $(INSTALL) $(INSTALLFLAGS) -m 644 ldap.h $(includedir)
-               $(INSTALL) $(INSTALLFLAGS) -m 644 lber.h $(includedir)
-               $(INSTALL) $(INSTALLFLAGS) -m 644 proto-lber.h $(includedir)
-               $(INSTALL) $(INSTALLFLAGS) -m 644 proto-ldap.h $(includedir)
-               $(INSTALL) $(INSTALLFLAGS) -m 644 disptmpl.h $(includedir)
-               $(INSTALL) $(INSTALLFLAGS) -m 644 srchpref.h $(includedir)
+               $(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/ldap.h $(includedir)
+               $(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/lber.h $(includedir)
+               $(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/ldap_cdefs.h $(includedir)
+               $(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/disptmpl.h $(includedir)
+               $(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/srchpref.h $(includedir)
+               $(INSTALL) $(INSTALLFLAGS) -m 644 ldap_features.h $(includedir)
+               $(INSTALL) $(INSTALLFLAGS) -m 644 ldap_schema.h $(includedir)
 
 clean-local: FORCE 
        $(RM) ldapconfig.h
 
 veryclean-local: clean-local FORCE
+       $(RM) portable.h ldap_features.h
 
 depend-local: ldapconfig.h FORCE
 
-ldapconfig.h: ldapconfig.h.edit Makefile
+ldapconfig.h: $(srcdir)/ldapconfig.h.edit Makefile
        @$(RM) $@
        @echo "Making ldapconfig.h"
        @echo "/*" > $@;  \
@@ -32,6 +34,7 @@ ldapconfig.h: ldapconfig.h.edit Makefile
        echo "" >> $@; \
        $(SED) \
                        -e 's;%SYSCONFDIR%;$(sysconfdir);' \
+                       -e 's;%DATADIR%;$(datadir);' \
                        -e 's;%BINDIR%;$(bindir);' \
                        -e 's;%SBINDIR%;$(sbindir);' \
                        -e 's;%LIBEXECDIR%;$(libexecdir);' \
@@ -39,11 +42,11 @@ ldapconfig.h: ldapconfig.h.edit Makefile
                        -e 's;%EDITOR%;$(EDITOR);' \
                        -e 's;%FINGER%;$(FINGER);' \
                        -e 's;%SENDMAIL%;$(SENDMAIL);' \
-                        ldapconfig.h.edit >> $@; \
+                        $(srcdir)/ldapconfig.h.edit >> $@; \
        $(CHMOD) 444 $@
 
 all-common:                    all-local
-install-common:                install-local
+install-common:                all-common install-local
 clean-common:          clean-local
 veryclean-common:      veryclean-local
 depend-common:         depend-local