Makefile.in (117404) | Makefile.in (119265) |
---|---|
1# Makefile for GNU C compiler. 2# Copyright (C) 1987, 1988, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997 3# 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. 4 5#This file is part of GCC. 6 7#GCC is free software; you can redistribute it and/or modify 8#it under the terms of the GNU General Public License as published by --- 668 unchanged lines hidden (view full) --- 677LANG_STAGESTUFF = @all_stagestuff@ 678 679# Flags to pass to recursive makes. 680# CC is set by configure. Hosts without symlinks need special handling 681# because we need CC="stage1/xgcc -Bstage1/" to work in the language 682# subdirectories. 683# ??? The choices here will need some experimenting with. 684ORDINARY_FLAGS_TO_PASS = \ | 1# Makefile for GNU C compiler. 2# Copyright (C) 1987, 1988, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997 3# 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. 4 5#This file is part of GCC. 6 7#GCC is free software; you can redistribute it and/or modify 8#it under the terms of the GNU General Public License as published by --- 668 unchanged lines hidden (view full) --- 677LANG_STAGESTUFF = @all_stagestuff@ 678 679# Flags to pass to recursive makes. 680# CC is set by configure. Hosts without symlinks need special handling 681# because we need CC="stage1/xgcc -Bstage1/" to work in the language 682# subdirectories. 683# ??? The choices here will need some experimenting with. 684ORDINARY_FLAGS_TO_PASS = \ |
685 "AR=$(AR)" \ |
|
685 "AR_FLAGS_FOR_TARGET=$(AR_FLAGS_FOR_TARGET)" \ 686 "AR_CREATE_FOR_TARGET=$(AR_CREATE_FOR_TARGET)" \ 687 "AR_EXTRACT_FOR_TARGET=$(AR_EXTRACT_FOR_TARGET)" \ 688 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \ 689 "BISON=$(BISON)" \ 690 "BISONFLAGS=$(BISONFLAGS)" \ 691 "CFLAGS=$(CFLAGS) $(WARN_CFLAGS)" \ 692 "DESTDIR=$(DESTDIR)" \ --- 2619 unchanged lines hidden (view full) --- 3312# A list of files to be destroyed during "lean" builds. 3313VOL_FILES=`echo $(BACKEND) $(OBJS) $(C_OBJS) $(LIBCPP_OBJS) *.c *.h gen*` 3314 3315# Flags to pass to stage2 and later recursive makes. Note that the 3316# WARN_CFLAGS setting can't be to the expansion of GCC_WARN_CFLAGS in 3317# the context of the stage_x rule. 3318STAGE2_FLAGS_TO_PASS = \ 3319 ADAC="\$$(CC)" \ | 686 "AR_FLAGS_FOR_TARGET=$(AR_FLAGS_FOR_TARGET)" \ 687 "AR_CREATE_FOR_TARGET=$(AR_CREATE_FOR_TARGET)" \ 688 "AR_EXTRACT_FOR_TARGET=$(AR_EXTRACT_FOR_TARGET)" \ 689 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \ 690 "BISON=$(BISON)" \ 691 "BISONFLAGS=$(BISONFLAGS)" \ 692 "CFLAGS=$(CFLAGS) $(WARN_CFLAGS)" \ 693 "DESTDIR=$(DESTDIR)" \ --- 2619 unchanged lines hidden (view full) --- 3313# A list of files to be destroyed during "lean" builds. 3314VOL_FILES=`echo $(BACKEND) $(OBJS) $(C_OBJS) $(LIBCPP_OBJS) *.c *.h gen*` 3315 3316# Flags to pass to stage2 and later recursive makes. Note that the 3317# WARN_CFLAGS setting can't be to the expansion of GCC_WARN_CFLAGS in 3318# the context of the stage_x rule. 3319STAGE2_FLAGS_TO_PASS = \ 3320 ADAC="\$$(CC)" \ |
3321 AR_FOR_TARGET="$(AR_FOR_TARGET)" \ 3322 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)" \ |
|
3320 CFLAGS="$(BOOT_CFLAGS)" \ 3321 LDFLAGS="$(BOOT_LDFLAGS)" \ 3322 WARN_CFLAGS="\$$(GCC_WARN_CFLAGS)" \ 3323 STRICT_WARN="$(STRICT2_WARN)" \ 3324 libdir=$(libdir) \ 3325 LANGUAGES="$(LANGUAGES)" \ 3326 MAKEOVERRIDES= \ 3327 OUTPUT_OPTION="-o \$$@" 3328 3329# Only build the C compiler for stage1, because that is the only one that 3330# we can guarantee will build with the native compiler, and also it is the 3331# only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS), 3332# MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them 3333# overrideable (for a bootstrap build stage1 also builds gcc.info). 3334stage1_build: | 3323 CFLAGS="$(BOOT_CFLAGS)" \ 3324 LDFLAGS="$(BOOT_LDFLAGS)" \ 3325 WARN_CFLAGS="\$$(GCC_WARN_CFLAGS)" \ 3326 STRICT_WARN="$(STRICT2_WARN)" \ 3327 libdir=$(libdir) \ 3328 LANGUAGES="$(LANGUAGES)" \ 3329 MAKEOVERRIDES= \ 3330 OUTPUT_OPTION="-o \$$@" 3331 3332# Only build the C compiler for stage1, because that is the only one that 3333# we can guarantee will build with the native compiler, and also it is the 3334# only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS), 3335# MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them 3336# overrideable (for a bootstrap build stage1 also builds gcc.info). 3337stage1_build: |
3335 $(MAKE) CC="$(CC)" libdir=$(libdir) LANGUAGES="$(BOOT_LANGUAGES)" \ | 3338 $(MAKE) AR_FOR_TARGET="$(AR_FOR_TARGET)" \ 3339 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)" \ 3340 CC="$(CC)" libdir=$(libdir) LANGUAGES="$(BOOT_LANGUAGES)" \ |
3336 CFLAGS="$(STAGE1_CFLAGS)" MAKEINFO="$(MAKEINFO)" \ 3337 MAKEINFOFLAGS="$(MAKEINFOFLAGS)" COVERAGE_FLAGS= 3338 $(STAMP) stage1_build 3339 echo stage1_build > stage_last 3340 3341stage1_copy: stage1_build 3342 $(MAKE) stage1 3343 $(STAMP) stage1_copy --- 405 unchanged lines hidden --- | 3341 CFLAGS="$(STAGE1_CFLAGS)" MAKEINFO="$(MAKEINFO)" \ 3342 MAKEINFOFLAGS="$(MAKEINFOFLAGS)" COVERAGE_FLAGS= 3343 $(STAMP) stage1_build 3344 echo stage1_build > stage_last 3345 3346stage1_copy: stage1_build 3347 $(MAKE) stage1 3348 $(STAMP) stage1_copy --- 405 unchanged lines hidden --- |