1 ## Copyright 1998 The OpenLDAP Foundation, All Rights Reserved.
2 ## COPYING RESTRICTIONS APPLY, See COPYRIGHT file
4 ## include Makefile.in for OpenLDAP
6 all-local: ldapconfig.h 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 $(INSTALL) $(INSTALLFLAGS) -m 644 ldap_schema.h $(includedir)
21 veryclean-local: clean-local FORCE
22 $(RM) portable.h ldap_features.h
24 depend-local: ldapconfig.h FORCE
26 ldapconfig.h: $(srcdir)/ldapconfig.h.edit Makefile
28 @echo "Making ldapconfig.h"
30 echo " * This file was automatically generated. Do not edit it." >> $@; \
31 echo " * Instead, edit the file ldapconfig.h.edit. See the LDAP" >> $@; \
32 echo " * INSTALL file for more information." >> $@; \
36 -e 's;%SYSCONFDIR%;$(sysconfdir);' \
37 -e 's;%DATADIR%;$(datadir);' \
38 -e 's;%BINDIR%;$(bindir);' \
39 -e 's;%SBINDIR%;$(sbindir);' \
40 -e 's;%LIBEXECDIR%;$(libexecdir);' \
41 -e 's;%RUNDIR%;$(localstatedir);' \
42 -e 's;%EDITOR%;$(EDITOR);' \
43 -e 's;%FINGER%;$(FINGER);' \
44 -e 's;%SENDMAIL%;$(SENDMAIL);' \
45 $(srcdir)/ldapconfig.h.edit >> $@; \
49 install-common: all-common install-local
50 clean-common: clean-local
51 veryclean-common: veryclean-local
52 depend-common: depend-local