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 \
12 $(srcdir)/ldap.h $(srcdir)/ldap_cdefs.h \
13 $(srcdir)/ldap_schema.h $(srcdir)/ldap_utf8.h \
15 $(srcdir)/disptmpl.h $(srcdir)/srchpref.h; \
17 $(INSTALL) $(INSTALLFLAGS) -m 644 $$header $(DESTDIR)$(includedir); \
23 veryclean-local: clean-local FORCE
24 $(RM) portable.h lber_types.h ldap_features.h
26 depend-local: ldap_config.h FORCE
28 LDAP_CONFIG=$(srcdir)/ldap_config.h.in
30 ldap_config.h: $(LDAP_CONFIG) Makefile
33 @echo "/* Generated from $(LDAP_CONFIG) on `date` */" > $@; \
35 -e 's;%SYSCONFDIR%;$(sysconfdir);' \
36 -e 's;%DATADIR%;$(datadir);' \
37 -e 's;%BINDIR%;$(bindir);' \
38 -e 's;%SBINDIR%;$(sbindir);' \
39 -e 's;%LIBEXECDIR%;$(libexecdir);' \
40 -e 's;%RUNDIR%;$(localstatedir);' \
41 -e 's;%EDITOR%;$(EDITOR);' \
42 -e 's;%FINGER%;$(FINGER);' \
43 -e 's;%SENDMAIL%;$(SENDMAIL);' \
44 $(LDAP_CONFIG) >> $@; \
48 install-common: all-common install-local
49 clean-common: clean-local
50 veryclean-common: veryclean-local
51 depend-common: depend-local