]> git.sur5r.net Git - openldap/blob - include/Makefile.in
Add support for lber_types.h.nt and add a few NT specific feature macros.
[openldap] / include / Makefile.in
1 ## Copyright 1998 The OpenLDAP Foundation, All Rights Reserved.
2 ## COPYING RESTRICTIONS APPLY, See COPYRIGHT file
3 ##
4 ## include Makefile.in for OpenLDAP
5
6 all-local: ldap_config.h FORCE
7
8 install-local: 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)/ldap_schema.h $(includedir)
14                 $(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/disptmpl.h $(includedir)
15                 $(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/srchpref.h $(includedir)
16                 $(INSTALL) $(INSTALLFLAGS) -m 644 ldap_features.h $(includedir)
17
18 clean-local: FORCE 
19         $(RM) ldap_config.h
20
21 veryclean-local: clean-local FORCE
22         $(RM) portable.h ldap_features.h
23
24 depend-local: ldap_config.h FORCE
25
26 LDAP_CONFIG=$(srcdir)/ldap_config.h.in
27
28 ldap_config.h: $(LDAP_CONFIG) Makefile
29         @$(RM) $@
30         @echo "Making $@"
31         @echo "/* Generated from $(LDAP_CONFIG) on `date` */" > $@;  \
32         $(SED) \
33                         -e 's;%SYSCONFDIR%;$(sysconfdir);' \
34                         -e 's;%DATADIR%;$(datadir);' \
35                         -e 's;%BINDIR%;$(bindir);' \
36                         -e 's;%SBINDIR%;$(sbindir);' \
37                         -e 's;%LIBEXECDIR%;$(libexecdir);' \
38                         -e 's;%RUNDIR%;$(localstatedir);' \
39                         -e 's;%EDITOR%;$(EDITOR);' \
40                         -e 's;%FINGER%;$(FINGER);' \
41                         -e 's;%SENDMAIL%;$(SENDMAIL);' \
42                          $(LDAP_CONFIG) >> $@; \
43         $(CHMOD) 444 $@
44
45 all-common:                     all-local
46 install-common:         all-common install-local
47 clean-common:           clean-local
48 veryclean-common:       veryclean-local
49 depend-common:          depend-local