1*69606e3fSchristos@echo off 2*69606e3fSchristosrem Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 3*69606e3fSchristosrem 2004, 2005, 2006 Free Software Foundation, Inc. 4*69606e3fSchristosrem This file is part of GNU Make. 5*69606e3fSchristos 6*69606e3fSchristosrem GNU Make is free software; you can redistribute it and/or modify it under 7*69606e3fSchristosrem the terms of the GNU General Public License as published by the Free 8*69606e3fSchristosrem Software Foundation; either version 2, or (at your option) any later 9*69606e3fSchristosrem version. 10*69606e3fSchristos 11*69606e3fSchristosrem GNU Make is distributed in the hope that it will be useful, but WITHOUT 12*69606e3fSchristosrem ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13*69606e3fSchristosrem FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 14*69606e3fSchristosrem more details. 15*69606e3fSchristos 16*69606e3fSchristosrem You should have received a copy of the GNU General Public License along 17*69606e3fSchristosrem with GNU Make; see the file COPYING. If not, write to the Free Software 18*69606e3fSchristosrem Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19*69606e3fSchristos 20*69606e3fSchristosecho Configuring glob for DJGPP 21*69606e3fSchristosrem This batch file assumes a unix-type "sed" program 22*69606e3fSchristos 23*69606e3fSchristosecho # Makefile generated by "configure.bat"> Makefile 24*69606e3fSchristos 25*69606e3fSchristosif exist config.sed del config.sed 26*69606e3fSchristos 27*69606e3fSchristosecho "s/@srcdir@/./ ">> config.sed 28*69606e3fSchristosecho "s/@CC@/gcc/ ">> config.sed 29*69606e3fSchristosecho "s/@CFLAGS@/-O2 -g/ ">> config.sed 30*69606e3fSchristosecho "s/@CPPFLAGS@/-DHAVE_CONFIG_H -I../ ">> config.sed 31*69606e3fSchristosecho "s/@AR@/ar/ ">> config.sed 32*69606e3fSchristosecho "s/@RANLIB@/ranlib/ ">> config.sed 33*69606e3fSchristosecho "s/@LDFLAGS@// ">> config.sed 34*69606e3fSchristosecho "s/@DEFS@// ">> config.sed 35*69606e3fSchristosecho "s/@ALLOCA@// ">> config.sed 36*69606e3fSchristosecho "s/@LIBS@// ">> config.sed 37*69606e3fSchristosecho "s/@LIBOBJS@// ">> config.sed 38*69606e3fSchristosecho "s/^Makefile *:/_Makefile:/ ">> config.sed 39*69606e3fSchristosecho "s/^config.h *:/_config.h:/ ">> config.sed 40*69606e3fSchristos 41*69606e3fSchristossed -e "s/^\"//" -e "s/\"$//" -e "s/[ ]*$//" config.sed > config2.sed 42*69606e3fSchristossed -f config2.sed Makefile.in >> Makefile 43*69606e3fSchristosdel config.sed 44*69606e3fSchristosdel config2.sed 45