]> git.sur5r.net Git - openldap/blob - include/Makefile.in
Clean up sh commands in Makefiles (incorrect use of ';').
[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: ldapconfig.h FORCE
7
8 install-local: FORCE
9                 -$(MKDIR) -p $(includedir)
10                 $(INSTALL) $(INSTALLFLAGS) -m 644 ldap.h $(includedir)
11                 $(INSTALL) $(INSTALLFLAGS) -m 644 lber.h $(includedir)
12                 $(INSTALL) $(INSTALLFLAGS) -m 644 ldap_cdefs.h $(includedir)
13                 $(INSTALL) $(INSTALLFLAGS) -m 644 disptmpl.h $(includedir)
14                 $(INSTALL) $(INSTALLFLAGS) -m 644 srchpref.h $(includedir)
15
16 clean-local: FORCE 
17         $(RM) ldapconfig.h
18
19 veryclean-local: clean-local FORCE
20         $(RM) portable.h
21
22 depend-local: ldapconfig.h FORCE
23
24 ldapconfig.h: $(srcdir)/ldapconfig.h.edit Makefile
25         @$(RM) $@
26         @echo "Making ldapconfig.h"
27         @echo "/*" > $@;  \
28         echo " * This file was automatically generated.  Do not edit it." >> $@; \
29         echo " * Instead, edit the file ldapconfig.h.edit.  See the LDAP" >> $@; \
30         echo " * INSTALL file for more information." >> $@; \
31         echo " */ " >> $@; \
32         echo "" >> $@; \
33         $(SED) \
34                         -e 's;%SYSCONFDIR%;$(sysconfdir);' \
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                          $(srcdir)/ldapconfig.h.edit >> $@; \
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