Changeset 503 for trunk/src/gmake/build.sh.in
- Timestamp:
- Sep 15, 2006, 7:09:38 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gmake/build.sh.in
-
Property svn:executable
set to
*
r151 r503 1 #!/bin/sh2 # Shell script to build GNU Make in the absence of any `make' program.3 # @configure_input@4 1 5 # Copyright (C) 1993, 1994, 1997, 2003 Free Software Foundation, Inc. 2 # Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 3 # 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 6 4 # This file is part of GNU Make. 7 5 # 8 # GNU Make is free software; you can redistribute it and/or modify 9 # it under the terms of the GNU General Public License as published by 10 # the Free Software Foundation; either version 2, or (at your option) 11 # any later version. 6 # GNU Make is free software; you can redistribute it and/or modify it under the 7 # terms of the GNU General Public License as published by the Free Software 8 # Foundation; either version 2, or (at your option) any later version. 12 9 # 13 # GNU Make is distributed in the hope that it will be useful, 14 # but WITHOUT ANY WARRANTY; without even the implied warranty of 15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 # GNU General Public License for more details. 10 # GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY 11 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 12 # A PARTICULAR PURPOSE. See the GNU General Public License for more details. 17 13 # 18 # You should have received a copy of the GNU General Public License 19 # along with GNU Make; see the file COPYING. If not, write to 20 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 21 # Boston, MA 02111-1307, USA. 14 # You should have received a copy of the GNU General Public License along with 15 # GNU Make; see the file COPYING. If not, write to the Free Software 16 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 22 17 23 18 # See Makefile.in for comments describing these variables. … … 29 24 LDFLAGS='@LDFLAGS@' 30 25 ALLOCA='@ALLOCA@' 31 LOADLIBES='@LIBS@ '26 LOADLIBES='@LIBS@ @LIBINTL@' 32 27 eval extras=\'@LIBOBJS@\' 33 28 REMOTE='@REMOTE@' … … 55 50 56 51 # These are all the objects we need to link together. 57 objs="ar.${OBJEXT} arscan.${OBJEXT} commands.${OBJEXT} default.${OBJEXT} dir.${OBJEXT} expand.${OBJEXT} file.${OBJEXT} function.${OBJEXT} getopt.${OBJEXT} getopt1.${OBJEXT} implicit.${OBJEXT} job.${OBJEXT} main.${OBJEXT} misc.${OBJEXT} read.${OBJEXT} remake.${OBJEXT} rule.${OBJEXT} signame.${OBJEXT} variable.${OBJEXT} version.${OBJEXT} vpath.${OBJEXT} hash.${OBJEXT} remote-${REMOTE}.${OBJEXT} ${extras} ${ALLOCA}"52 objs="ar.${OBJEXT} arscan.${OBJEXT} commands.${OBJEXT} default.${OBJEXT} dir.${OBJEXT} expand.${OBJEXT} file.${OBJEXT} function.${OBJEXT} getopt.${OBJEXT} getopt1.${OBJEXT} implicit.${OBJEXT} job.${OBJEXT} main.${OBJEXT} misc.${OBJEXT} read.${OBJEXT} remake.${OBJEXT} rule.${OBJEXT} signame.${OBJEXT} strcache.${OBJEXT} variable.${OBJEXT} version.${OBJEXT} vpath.${OBJEXT} hash.${OBJEXT} remote-${REMOTE}.${OBJEXT} ${extras} ${ALLOCA}" 58 53 59 54 if [ x"$GLOBLIB" != x ]; then 60 objs="$objs glob/fnmatch.${OBJEXT} glob/glob.${OBJEXT} )"55 objs="$objs glob/fnmatch.${OBJEXT} glob/glob.${OBJEXT}" 61 56 globinc=-I${srcdir}/glob 62 57 fi … … 79 74 # Link all the objects together. 80 75 echo linking make... 81 $CC $ LDFLAGS $objs $LOADLIBES -o makenew${EXEEXT}76 $CC $CFLAGS $LDFLAGS $objs $LOADLIBES -o makenew${EXEEXT} 82 77 echo done 83 78 mv -f makenew${EXEEXT} make${EXEEXT} -
Property svn:executable
set to
Note:
See TracChangeset
for help on using the changeset viewer.