VirtualBox

source: kBuild/trunk/src/kmk/glob/configure.bat@ 2132

Last change on this file since 2132 was 1993, checked in by bird, 16 years ago

Merged in current GNU Make code (CVS from 2008-10-28). Ref #55.

  • Property svn:eol-style set to CRLF
File size: 1.7 KB
Line 
1@echo off
2rem Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
3rem 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
4rem This file is part of GNU Make.
5rem
6rem GNU Make is free software; you can redistribute it and/or modify it under
7rem the terms of the GNU General Public License as published by the Free
8rem Software Foundation; either version 3 of the License, or (at your option)
9rem any later version.
10rem
11rem GNU Make is distributed in the hope that it will be useful, but WITHOUT
12rem ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13rem FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for.
14rem more details.
15rem
16rem You should have received a copy of the GNU General Public License along
17rem with this program. If not, see <http://www.gnu.org/licenses/>.
18
19echo Configuring glob for DJGPP
20rem This batch file assumes a unix-type "sed" program
21
22echo # Makefile generated by "configure.bat"> Makefile
23
24if exist config.sed del config.sed
25
26echo "s/@srcdir@/./ ">> config.sed
27echo "s/@CC@/gcc/ ">> config.sed
28echo "s/@CFLAGS@/-O2 -g/ ">> config.sed
29echo "s/@CPPFLAGS@/-DHAVE_CONFIG_H -I../ ">> config.sed
30echo "s/@AR@/ar/ ">> config.sed
31echo "s/@RANLIB@/ranlib/ ">> config.sed
32echo "s/@LDFLAGS@// ">> config.sed
33echo "s/@DEFS@// ">> config.sed
34echo "s/@ALLOCA@// ">> config.sed
35echo "s/@LIBS@// ">> config.sed
36echo "s/@LIBOBJS@// ">> config.sed
37echo "s/^Makefile *:/_Makefile:/ ">> config.sed
38echo "s/^config.h *:/_config.h:/ ">> config.sed
39
40sed -e "s/^\"//" -e "s/\"$//" -e "s/[ ]*$//" config.sed > config2.sed
41sed -f config2.sed Makefile.in >> Makefile
42del config.sed
43del config2.sed
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette