--- include/Makefile.in 2001/06/14 03:55:43 1.15 +++ include/Makefile.in 2001/12/07 03:03:28 1.16 @@ -1,4 +1,4 @@ -# $OpenLDAP: pkg/ldap/include/Makefile.in,v 1.14 2000/05/13 00:26:27 kurt Exp $ +# $OpenLDAP: pkg/ldap/include/Makefile.in,v 1.15 2001/06/14 03:55:43 kurt Exp $ ## Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved. ## COPYING RESTRICTIONS APPLY, See COPYRIGHT file ## @@ -31,16 +31,46 @@ ldap_config.h: $(LDAP_CONFIG) Makefile @$(RM) $@ @echo "Making $@" @echo "/* Generated from $(LDAP_CONFIG) on `date` */" > $@; \ + if test $(PLAT) = NT; then \ + sysconfdir=`cygpath -w $(sysconfdir) | \ + $(SED) -e 's/\\\\/\\\\\\\\\\\\\\\\/g'`; \ + datadir=`cygpath -w $(datadir) | \ + $(SED) -e 's/\\\\/\\\\\\\\\\\\\\\\/g'`; \ + bindir=`cygpath -w $(bindir) | \ + $(SED) -e 's/\\\\/\\\\\\\\\\\\\\\\/g'`; \ + sbindir=`cygpath -w $(sbindir) | \ + $(SED) -e 's/\\\\/\\\\\\\\\\\\\\\\/g'`; \ + libexecdir=`cygpath -w $(libexecdir) | \ + $(SED) -e 's/\\\\/\\\\\\\\\\\\\\\\/g'`; \ + localstatedir=`cygpath -w $(localstatedir) | \ + $(SED) -e 's/\\\\/\\\\\\\\\\\\\\\\/g'`; \ + editor=`cygpath -w $(EDITOR) | \ + $(SED) -e 's/\\\\/\\\\\\\\\\\\\\\\/g'`; \ + finger=`cygpath -w $(FINGER) | \ + $(SED) -e 's/\\\\/\\\\\\\\\\\\\\\\/g'`; \ + sendmail=`cygpath -w $(SENDMAIL) | \ + $(SED) -e 's/\\\\/\\\\\\\\\\\\\\\\/g'`; \ + else \ + sysconfdir=$(sysconfdir); \ + datadir=$(datadir); \ + bindir=$(bindir); \ + sbindir=$(sbindir); \ + libexecdir=$(libexecdir); \ + localstatedir=$(localstatedir); \ + editor=$(EDITOR); \ + finger=$(FINGER); \ + sendmail=$(SENDMAIL); \ + fi; \ $(SED) \ - -e 's;%SYSCONFDIR%;$(sysconfdir);' \ - -e 's;%DATADIR%;$(datadir);' \ - -e 's;%BINDIR%;$(bindir);' \ - -e 's;%SBINDIR%;$(sbindir);' \ - -e 's;%LIBEXECDIR%;$(libexecdir);' \ - -e 's;%RUNDIR%;$(localstatedir);' \ - -e 's;%EDITOR%;$(EDITOR);' \ - -e 's;%FINGER%;$(FINGER);' \ - -e 's;%SENDMAIL%;$(SENDMAIL);' \ + -e "s;%SYSCONFDIR%;$$sysconfdir;" \ + -e "s;%DATADIR%;$$datadir;" \ + -e "s;%BINDIR%;$$bindir;" \ + -e "s;%SBINDIR%;$$sbindir;" \ + -e "s;%LIBEXECDIR%;$$libexecdir;" \ + -e "s;%RUNDIR%;$$localstatedir;" \ + -e "s;%EDITOR%;$$editor;" \ + -e "s;%FINGER%;$$finger;" \ + -e "s;%SENDMAIL%;$$sendmail;" \ $(LDAP_CONFIG) >> $@; \ $(CHMOD) 444 $@ @@ -49,3 +79,4 @@ install-common: all-common install-loca clean-common: clean-local veryclean-common: veryclean-local depend-common: depend-local +