home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ldapsdk.zip / include / Makefile.in < prev    next >
Makefile  |  2000-06-14  |  1KB  |  49 lines

  1. # $OpenLDAP: pkg/ldap/include/Makefile.in,v 1.10.4.3 2000/06/13 17:57:14 kurt Exp $
  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 $(srcdir)/ldap.h \
  12.       $(srcdir)/ldap_cdefs.h ldap_features.h $(srcdir)/ldap_schema.h \
  13.       $(srcdir)/disptmpl.h $(srcdir)/srchpref.h; do \
  14.         $(INSTALL) $(INSTALLFLAGS) -m 644 $$header $(DESTDIR)$(includedir); \
  15.     done
  16.  
  17. clean-local: FORCE 
  18.     $(RM) ldap_config.h
  19.  
  20. veryclean-local: clean-local FORCE
  21.     $(RM) portable.h lber_types.h ldap_features.h
  22.  
  23. depend-local: ldap_config.h FORCE
  24.  
  25. LDAP_CONFIG=$(srcdir)/ldap_config.h.in
  26.  
  27. ldap_config.h: $(LDAP_CONFIG) Makefile
  28.     @$(RM) $@
  29.     @echo "Making $@"
  30.     @echo "/* Generated from $(LDAP_CONFIG) on `date` */" > $@;  \
  31.     $(SED) \
  32.             -e 's;%SYSCONFDIR%;$(sysconfdir);' \
  33.             -e 's;%DATADIR%;$(datadir);' \
  34.             -e 's;%BINDIR%;$(bindir);' \
  35.             -e 's;%SBINDIR%;$(sbindir);' \
  36.             -e 's;%LIBEXECDIR%;$(libexecdir);' \
  37.             -e 's;%RUNDIR%;$(localstatedir);' \
  38.             -e 's;%EDITOR%;$(EDITOR);' \
  39.             -e 's;%FINGER%;$(FINGER);' \
  40.             -e 's;%SENDMAIL%;$(SENDMAIL);' \
  41.              $(LDAP_CONFIG) >> $@; \
  42.     $(CHMOD) 444 $@
  43.  
  44. all-common:            all-local
  45. install-common:        all-common install-local
  46. clean-common:        clean-local
  47. veryclean-common:    veryclean-local
  48. depend-common:        depend-local
  49.