]> git.sur5r.net Git - openldap/blob - include/Makefile.in
Add UTF-8
[openldap] / include / Makefile.in
1 # $OpenLDAP$
2 ## Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
3 ## COPYING RESTRICTIONS APPLY, See COPYRIGHT file
4 ##
5 ## include Makefile.in for OpenLDAP
6
7 all-local: ldap_config.h FORCE
8
9 install-local: 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 \
14                 ldap_features.h \
15                 $(srcdir)/disptmpl.h $(srcdir)/srchpref.h; \
16         do \
17                 $(INSTALL) $(INSTALLFLAGS) -m 644 $$header $(DESTDIR)$(includedir); \
18         done
19
20 clean-local: FORCE 
21         $(RM) ldap_config.h
22
23 veryclean-local: clean-local FORCE
24         $(RM) portable.h lber_types.h ldap_features.h
25
26 depend-local: ldap_config.h FORCE
27
28 LDAP_CONFIG=$(srcdir)/ldap_config.h.in
29
30 ldap_config.h: $(LDAP_CONFIG) Makefile
31         @$(RM) $@
32         @echo "Making $@"
33         @echo "/* Generated from $(LDAP_CONFIG) on `date` */" > $@;  \
34         $(SED) \
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) >> $@; \
45         $(CHMOD) 444 $@
46
47 all-common:                     all-local
48 install-common:         all-common install-local
49 clean-common:           clean-local
50 veryclean-common:       veryclean-local
51 depend-common:          depend-local