]> git.sur5r.net Git - openldap/blobdiff - include/Makefile.in
added ber_print_error() and renamed lber_bprint into ber_ namespace.
[openldap] / include / Makefile.in
index ee55bb6956d110d035c41edb7fc58d98cf5310bc..2fc4e8b936af9fdcd5902e68a09527d503491472 100644 (file)
@@ -3,31 +3,33 @@
 ##
 ## include Makefile.in for OpenLDAP
 
-install: all FORCE
+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 ldap_cdefs.h $(includedir)
                $(INSTALL) $(INSTALLFLAGS) -m 644 disptmpl.h $(includedir)
                $(INSTALL) $(INSTALLFLAGS) -m 644 srchpref.h $(includedir)
 
-all: ldapconfig.h FORCE
-
-clean: FORCE 
+clean-local: FORCE 
        $(RM) ldapconfig.h
 
-veryclean: clean FORCE
-depend: ldapconfig.h FORCE
+veryclean-local: clean-local FORCE
+       $(RM) portable.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;%BINDIR%;$(bindir);' \
@@ -37,6 +39,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