- Timestamp:
- Apr 21, 2003, 2:05:12 AM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gcc/gcc/Makefile.in
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r27 r28 113 113 RANLIB = @RANLIB@ 114 114 SHELL = /bin/sh 115 116 # "mkdir cp; cp something cp" doesn't work ash on OS/2. 117 CP = cp@host_exeext@ 118 115 119 # on sysV, define this as cp. 116 120 INSTALL = @INSTALL@ … … 696 700 FLAGS_TO_PASS = $(ORDINARY_FLAGS_TO_PASS) "CC=@cc_set_by_configure@" \ 697 701 "STAGE_PREFIX=@stage_prefix_set_by_configure@" 702 703 # OS/2 have some trouble here. 704 ifeq "$(BUILD_PLATFORM)" "OS2" 705 PREPEND_DOTDOT_TO_RELATIVE_PATHS = sed -e 's|^ | |' 706 SUBDIR_FLAGS_TO_PASS = $(FLAGS_TO_PASS) 707 else 698 708 PREPEND_DOTDOT_TO_RELATIVE_PATHS = sed \ 699 709 -e 's|^ *[^ /][^ /]*/|%&|' \ … … 705 715 "CC=`echo @quoted_cc_set_by_configure@ | $(PREPEND_DOTDOT_TO_RELATIVE_PATHS)`" \ 706 716 "STAGE_PREFIX=`echo @quoted_stage_prefix_set_by_configure@ | $(PREPEND_DOTDOT_TO_RELATIVE_PATHS)`" 717 endif 718 707 719 # 708 720 … … 838 850 $(SHELL) $(srcdir)/configure.frag $(srcdir) "$(SUBDIRS)" \ 839 851 "$(xmake_file)" "$(tmake_file)" 840 cpconfig.status config.run852 $(CP) config.status config.run 841 853 LANGUAGES="$(CONFIG_LANGUAGES)" $(SHELL) config.run 842 854 rm -f config.run … … 974 986 # Also create gcc-cross, so that install-common will install properly. 975 987 gcc-cross: xgcc$(exeext) 976 cpxgcc$(exeext) gcc-cross$(exeext)988 $(CP) xgcc$(exeext) gcc-cross$(exeext) 977 989 978 990 cc1$(exeext): $(C_OBJS) $(BACKEND) $(LIBDEPS) … … 2092 2104 test-protoize-simple: ./protoize ./unprotoize $(GCC_PASSES) 2093 2105 -rm -f tmp-proto.[cso] 2094 cp$(srcdir)/protoize.c tmp-proto.c2106 $(CP) $(srcdir)/protoize.c tmp-proto.c 2095 2107 chmod u+w tmp-proto.c 2096 2108 ./protoize -N -B ./ -x getopt.h -c "-B./ -Wall -Wwrite-strings \ … … 2146 2158 $(STAMP) include/$$realfile; \ 2147 2159 rm -f include/$$realfile; \ 2148 cp$$file include; \2160 $(CP) $$file include; \ 2149 2161 chmod a+r include/$$realfile; \ 2150 2162 fi; \ 2151 2163 done 2152 2164 rm -f include/limits.h 2153 cpxlimits.h include/limits.h2165 $(CP) xlimits.h include/limits.h 2154 2166 chmod a+r include/limits.h 2155 2167 rm -f include/float.h 2156 2168 if [ x$(FLOAT_H) != xMakefile.in ]; then \ 2157 cp$(srcdir)/config/$(FLOAT_H) include/float.h && \2169 $(CP) $(srcdir)/config/$(FLOAT_H) include/float.h && \ 2158 2170 chmod a+r include/float.h; \ 2159 2171 else :; fi 2160 2172 # Install the README 2161 2173 rm -f include/README 2162 cp$(srcdir)/README-fixinc include/README2174 $(CP) $(srcdir)/README-fixinc include/README 2163 2175 chmod a+r include/README 2164 2176 $(STAMP) $@ … … 2197 2209 mv include/limits.h include/syslimits.h; \ 2198 2210 else \ 2199 cp$(srcdir)/gsyslimits.h include/syslimits.h; \2211 $(CP) $(srcdir)/gsyslimits.h include/syslimits.h; \ 2200 2212 fi; \ 2201 2213 chmod a+r include/syslimits.h) … … 2834 2846 # Install the include directory using cp. 2835 2847 install-headers-cp: stmp-int-hdrs $(STMP_FIXPROTO) install-include-dir 2836 cp-p -r include $(DESTDIR)$(libsubdir)2848 $(CP) -p -r include $(DESTDIR)$(libsubdir) 2837 2849 2838 2850 # Use this target to install the program `collect2' under the name `collect2'. … … 3238 3250 -if [ -f collect-ld$(exeext) ] ; then (cd stage1 && $(LN_S) ../collect-ld$(exeext) .) ; else true ; fi 3239 3251 -rm -f stage1/libgcc.a stage1/libgcc_eh.a 3240 - cplibgcc.a stage13252 -$(CP) libgcc.a stage1 3241 3253 -if $(RANLIB_TEST_FOR_TARGET) ; then \ 3242 3254 $(RANLIB_FOR_TARGET) stage1/libgcc.a; \ 3243 3255 else true; fi 3244 -if [ -f libgcc_eh.a ] ; then cplibgcc_eh.a stage1; \3256 -if [ -f libgcc_eh.a ] ; then $(CP) libgcc_eh.a stage1; \ 3245 3257 if $(RANLIB_TEST_FOR_TARGET) ; then \ 3246 3258 $(RANLIB_FOR_TARGET) stage1/libgcc_eh.a; \ 3247 3259 else true; fi; fi 3248 3260 -for f in .. $(EXTRA_MULTILIB_PARTS); do if [ x$${f} != x.. ]; then \ 3249 cpstage1/$${f} . ; \3261 $(CP) stage1/$${f} . ; \ 3250 3262 else true; \ 3251 3263 fi; done … … 3267 3279 -if [ -f collect-ld$(exeext) ] ; then (cd stage2 && $(LN_S) ../collect-ld$(exeext) .) ; else true ; fi 3268 3280 -rm -f stage2/libgcc.a stage2/libgcc_eh.a 3269 - cplibgcc.a stage23281 -$(CP) libgcc.a stage2 3270 3282 -if $(RANLIB_TEST_FOR_TARGET) ; then \ 3271 3283 $(RANLIB_FOR_TARGET) stage2/libgcc.a; \ 3272 3284 else true; fi 3273 -if [ -f libgcc_eh.a ] ; then cplibgcc_eh.a stage2; \3285 -if [ -f libgcc_eh.a ] ; then $(CP) libgcc_eh.a stage2; \ 3274 3286 if $(RANLIB_TEST_FOR_TARGET) ; then \ 3275 3287 $(RANLIB_FOR_TARGET) stage2/libgcc_eh.a; \ 3276 3288 else true; fi; fi 3277 3289 -for f in .. $(EXTRA_MULTILIB_PARTS); do if [ x$${f} != x.. ]; then \ 3278 cpstage2/$${f} . ; \3290 $(CP) stage2/$${f} . ; \ 3279 3291 else true; \ 3280 3292 fi; done … … 3296 3308 -if [ -f collect-ld$(exeext) ] ; then (cd stage3 && $(LN_S) ../collect-ld$(exeext) .) ; else true ; fi 3297 3309 -rm -f stage3/libgcc.a stage3/libgcc_eh.a 3298 - cplibgcc.a stage33310 -$(CP) libgcc.a stage3 3299 3311 -if $(RANLIB_TEST_FOR_TARGET) ; then \ 3300 3312 $(RANLIB_FOR_TARGET) stage3/libgcc.a; \ 3301 3313 else true; fi 3302 -if [ -f libgcc_eh.a ] ; then cplibgcc_eh.a stage3; \3314 -if [ -f libgcc_eh.a ] ; then $(CP) libgcc_eh.a stage3; \ 3303 3315 if $(RANLIB_TEST_FOR_TARGET) ; then \ 3304 3316 $(RANLIB_FOR_TARGET) stage3/libgcc_eh.a; \ 3305 3317 else true; fi; fi 3306 3318 -for f in .. $(EXTRA_MULTILIB_PARTS); do if [ x$${f} != x.. ]; then \ 3307 cpstage3/$${f} . ; \3319 $(CP) stage3/$${f} . ; \ 3308 3320 else true; \ 3309 3321 fi; done … … 3325 3337 -if [ -f collect-ld$(exeext) ] ; then (cd stage4 && $(LN_S) ../collect-ld$(exeext) .) ; else true ; fi 3326 3338 -rm -f stage4/libgcc.a stage4/libgcc_eh.a 3327 - cplibgcc.a stage43339 -$(CP) libgcc.a stage4 3328 3340 -if $(RANLIB_TEST_FOR_TARGET) ; then \ 3329 3341 $(RANLIB_FOR_TARGET) stage4/libgcc.a; \ 3330 3342 else true; fi 3331 -if [ -f libgcc_eh.a ] ; then cplibgcc_eh.a stage4; \3343 -if [ -f libgcc_eh.a ] ; then $(CP) libgcc_eh.a stage4; \ 3332 3344 if $(RANLIB_TEST_FOR_TARGET) ; then \ 3333 3345 $(RANLIB_FOR_TARGET) stage4/libgcc_eh.a; \ 3334 3346 else true; fi; fi 3335 3347 -for f in .. $(EXTRA_MULTILIB_PARTS); do if [ x$${f} != x.. ]; then \ 3336 cpstage4/$${f} . ; \3348 $(CP) stage4/$${f} . ; \ 3337 3349 else true; \ 3338 3350 fi; done -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.