]> git.sur5r.net Git - openldap/blobdiff - include/Makefile.in
Style changes, added cvs keywords
[openldap] / include / Makefile.in
index 68cac9710bda51772f4c24cb9986305e90f3f8d6..59891043567c909b4d75c4664812f1580492db8c 100644 (file)
@@ -3,33 +3,37 @@
 ##
 ## include Makefile.in for OpenLDAP
 
-install: all 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)
+all-local: ldapconfig.h FORCE
 
-all: ldapconfig.h FORCE
+install-local: FORCE
+               -$(MKDIR) -p $(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)
 
-clean: FORCE 
+clean-local: FORCE 
        $(RM) ldapconfig.h
 
-veryclean: clean FORCE
-depend: FORCE
+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 "/*" > $@;  \
-        echo " * This file was automatically generated.  Do not edit it." >> $@; \
-        echo " * Instead, edit the file ldapconfig.h.edit.  See the LDAP" >> $@; \
-        echo " * INSTALL file for more information." >> $@; \
-        echo " */ " >> $@; \
-        echo "" >> $@; \
+       echo " * This file was automatically generated.  Do not edit it." >> $@; \
+       echo " * Instead, edit the file ldapconfig.h.edit.  See the LDAP" >> $@; \
+       echo " * INSTALL file for more information." >> $@; \
+       echo " */ " >> $@; \
+       echo "" >> $@; \
        $(SED) \
                        -e 's;%SYSCONFDIR%;$(sysconfdir);' \
+                       -e 's;%DATADIR%;$(datadir);' \
                        -e 's;%BINDIR%;$(bindir);' \
                        -e 's;%SBINDIR%;$(sbindir);' \
                        -e 's;%LIBEXECDIR%;$(libexecdir);' \
@@ -37,6 +41,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:                all-common install-local
+clean-common:          clean-local
+veryclean-common:      veryclean-local
+depend-common:         depend-local