2 ## Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
3 ## COPYING RESTRICTIONS APPLY, See COPYRIGHT file
5 ## include Makefile.in for OpenLDAP
7 all-local: ldap_config.h FORCE
10 -$(MKDIR) $(DESTDIR)$(includedir)
11 for header in $(srcdir)/lber.h lber_types.h $(srcdir)/ldap.h \
12 $(srcdir)/ldap_cdefs.h ldap_features.h $(srcdir)/ldap_schema.h \
13 $(srcdir)/disptmpl.h $(srcdir)/srchpref.h; do \
14 $(INSTALL) $(INSTALLFLAGS) -m 644 $$header $(DESTDIR)$(includedir); \
20 veryclean-local: clean-local FORCE
21 $(RM) portable.h lber_types.h ldap_features.h
23 depend-local: ldap_config.h FORCE
25 LDAP_CONFIG=$(srcdir)/ldap_config.h.in
27 ldap_config.h: $(LDAP_CONFIG) Makefile
30 @echo "/* Generated from $(LDAP_CONFIG) on `date` */" > $@; \
32 -e 's;%SYSCONFDIR%;$(sysconfdir);' \
33 -e 's;%DATADIR%;$(datadir);' \
34 -e 's;%BINDIR%;$(bindir);' \
35 -e 's;%SBINDIR%;$(sbindir);' \
36 -e 's;%LIBEXECDIR%;$(libexecdir);' \
37 -e 's;%RUNDIR%;$(localstatedir);' \
38 -e 's;%EDITOR%;$(EDITOR);' \
39 -e 's;%FINGER%;$(FINGER);' \
40 -e 's;%SENDMAIL%;$(SENDMAIL);' \
41 $(LDAP_CONFIG) >> $@; \
45 install-common: all-common install-local
46 clean-common: clean-local
47 veryclean-common: veryclean-local
48 depend-common: depend-local