-$(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)
$(RM) ldapconfig.h
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 "/*" > $@; \
-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