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: ldap_config.h FORCE
9 -$(MKDIR) -p $(includedir)
10 $(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/lber.h $(includedir)
11 $(INSTALL) $(INSTALLFLAGS) -m 644 lber_types.h $(includedir)
12 $(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/ldap.h $(includedir)
13 $(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/ldap_cdefs.h $(includedir)
14 $(INSTALL) $(INSTALLFLAGS) -m 644 ldap_features.h $(includedir)
15 $(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/ldap_schema.h $(includedir)
16 $(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/disptmpl.h $(includedir)
17 $(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/srchpref.h $(includedir)
22 veryclean-local: clean-local FORCE
23 $(RM) portable.h lber_types.h ldap_features.h
25 depend-local: ldap_config.h FORCE
27 LDAP_CONFIG=$(srcdir)/ldap_config.h.in
29 ldap_config.h: $(LDAP_CONFIG) Makefile
32 @echo "/* Generated from $(LDAP_CONFIG) on `date` */" > $@; \
34 -e 's;%SYSCONFDIR%;$(sysconfdir);' \
35 -e 's;%DATADIR%;$(datadir);' \
36 -e 's;%BINDIR%;$(bindir);' \
37 -e 's;%SBINDIR%;$(sbindir);' \
38 -e 's;%LIBEXECDIR%;$(libexecdir);' \
39 -e 's;%RUNDIR%;$(localstatedir);' \
40 -e 's;%EDITOR%;$(EDITOR);' \
41 -e 's;%FINGER%;$(FINGER);' \
42 -e 's;%SENDMAIL%;$(SENDMAIL);' \
43 $(LDAP_CONFIG) >> $@; \
47 install-common: all-common install-local
48 clean-common: clean-local
49 veryclean-common: veryclean-local
50 depend-common: depend-local