Changeset 29e68b75 in rtems
- Timestamp:
- Jul 26, 1999, 9:26:44 PM (22 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 38bfb0d
- Parents:
- 08b5f55
- Files:
-
- 1 deleted
- 65 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile.am
r08b5f55 r29e68b75 10 10 ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal 11 11 12 SUBDIRS = make tools @TARGET_SUBDIRS@12 SUBDIRS = doc make tools @TARGET_SUBDIRS@ 13 13 14 14 AUTOMAKE_FILES = \ -
Makefile.in
r08b5f55 r29e68b75 94 94 ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal 95 95 96 SUBDIRS = make tools @TARGET_SUBDIRS@96 SUBDIRS = doc make tools @TARGET_SUBDIRS@ 97 97 98 98 AUTOMAKE_FILES = automake/subdirs.am automake/local.am … … 365 365 366 366 depend-recursive \ 367 clobber-recursive \368 367 preinstall-recursive \ 369 368 debug-recursive \ 370 debug_install-recursive \ 371 profile-recursive \ 372 profile_install-recursive: 369 profile-recursive: 373 370 @set fnord $(MAKEFLAGS); amf=$$2; \ 374 371 dot_seen=no; \ … … 392 389 .PHONY: debug-recursive 393 390 394 debug_install: debug_install-recursive395 .PHONY: debug_install-recursive396 397 391 profile: profile-recursive 398 392 .PHONY: profile-recursive 399 393 400 profile_install: profile_install-recursive401 .PHONY: profile-recursive402 403 394 preinstall: preinstall-recursive 404 395 .PHONY: preinstall-recursive 405 406 clobber: clobber-recursive407 .PHONY: clobber-recursive408 396 409 397 depend: depend-recursive … … 414 402 .PHONY: debug debug-am 415 403 416 debug_install-am:417 debug_install: debug_install-am418 .PHONY: debug_install debug_install-am419 420 404 profile-am: 421 405 profile: profile-am 422 406 .PHONY: profile profile-am 423 407 424 profile_install-am:425 profile_install: profile_install-am426 .PHONY: profile_install profile_install-am427 428 408 preinstall-am: 429 409 preinstall: preinstall-am 430 410 .PHONY: preinstall preinstall-am 431 411 432 clobber-am:433 clobber: clobber-am434 .PHONY: clobber clobber-am435 436 412 depend-am: 437 413 depend: depend-am -
automake/local.am
r08b5f55 r29e68b75 10 10 .PHONY: debug debug-am 11 11 12 debug_install-am:13 debug_install: debug_install-am14 .PHONY: debug_install debug_install-am15 16 12 profile-am: 17 13 profile: profile-am 18 14 .PHONY: profile profile-am 19 20 profile_install-am:21 profile_install: profile_install-am22 .PHONY: profile_install profile_install-am23 15 24 16 preinstall-am: … … 26 18 .PHONY: preinstall preinstall-am 27 19 28 clobber-am:29 clobber: clobber-am30 .PHONY: clobber clobber-am31 32 20 depend-am: 33 21 depend: depend-am -
automake/subdirs.am
r08b5f55 r29e68b75 9 9 10 10 depend-recursive \ 11 clobber-recursive \12 11 preinstall-recursive \ 13 12 debug-recursive \ 14 debug_install-recursive \ 15 profile-recursive \ 16 profile_install-recursive: 13 profile-recursive: 17 14 @set fnord $(MAKEFLAGS); amf=$$2; \ 18 15 dot_seen=no; \ … … 38 35 .PHONY: debug-recursive 39 36 40 debug_install: debug_install-recursive41 .PHONY: debug_install-recursive42 43 37 profile: profile-recursive 44 .PHONY: profile-recursive45 46 profile_install: profile_install-recursive47 38 .PHONY: profile-recursive 48 39 … … 50 41 .PHONY: preinstall-recursive 51 42 52 clobber: clobber-recursive53 .PHONY: clobber-recursive54 55 43 depend: depend-recursive 56 44 .PHONY: depend-recursive -
c/Makefile.am
r08b5f55 r29e68b75 2 2 # $Id$ 3 3 # 4 5 ## NOTE: This Makefile.am is rather fragile to the value of RTEMS_BSP 6 ## Esp. make clean and make distclean have unwanted side-effects 7 ## if RTEMS_BSP is not properly set up. 4 8 5 9 AUTOMAKE_OPTIONS = foreign 1.4 … … 13 17 $(RTEMS_BSP) 14 18 19 15 20 ## Use @RTEMS_BSP_LIST@ here, using $(RTEMS_BSP_LIST) would trigger 16 21 ## this rule for invalid BSPs 17 22 @RTEMS_BSP_LIST@: src/configure 18 23 @set fnord $(MAKEFLAGS); amf=$$2; \ 19 # Adjust paths20 24 test -n "${RTEMS_BSP}" && for i in ${RTEMS_BSP}; do \ 21 25 echo "Configuring RTEMS_BSP=$$i"; \ … … 30 34 all-am: ${RTEMS_BSP} 31 35 debug-am: ${RTEMS_BSP} 32 debug_install-am: ${RTEMS_BSP}33 36 profile-am: ${RTEMS_BSP} 34 profile_install-am: ${RTEMS_BSP}35 37 preinstall-am: ${RTEMS_BSP} 36 38 depend-am: ${RTEMS_BSP} -
c/Makefile.in
r08b5f55 r29e68b75 344 344 @RTEMS_BSP_LIST@: src/configure 345 345 @set fnord $(MAKEFLAGS); amf=$$2; \ 346 # Adjust paths347 346 test -n "${RTEMS_BSP}" && for i in ${RTEMS_BSP}; do \ 348 347 echo "Configuring RTEMS_BSP=$$i"; \ … … 356 355 all-am: ${RTEMS_BSP} 357 356 debug-am: ${RTEMS_BSP} 358 debug_install-am: ${RTEMS_BSP}359 357 profile-am: ${RTEMS_BSP} 360 profile_install-am: ${RTEMS_BSP}361 358 preinstall-am: ${RTEMS_BSP} 362 359 depend-am: ${RTEMS_BSP} 363 360 364 361 depend-recursive \ 365 clobber-recursive \366 362 preinstall-recursive \ 367 363 debug-recursive \ 368 debug_install-recursive \ 369 profile-recursive \ 370 profile_install-recursive: 364 profile-recursive: 371 365 @set fnord $(MAKEFLAGS); amf=$$2; \ 372 366 dot_seen=no; \ … … 390 384 .PHONY: debug-recursive 391 385 392 debug_install: debug_install-recursive393 .PHONY: debug_install-recursive394 395 386 profile: profile-recursive 396 387 .PHONY: profile-recursive 397 388 398 profile_install: profile_install-recursive399 .PHONY: profile-recursive400 401 389 preinstall: preinstall-recursive 402 390 .PHONY: preinstall-recursive 403 404 clobber: clobber-recursive405 .PHONY: clobber-recursive406 391 407 392 depend: depend-recursive … … 412 397 .PHONY: debug debug-am 413 398 414 debug_install-am:415 debug_install: debug_install-am416 .PHONY: debug_install debug_install-am417 418 399 profile-am: 419 400 profile: profile-am 420 401 .PHONY: profile profile-am 421 402 422 profile_install-am:423 profile_install: profile_install-am424 .PHONY: profile_install profile_install-am425 426 403 preinstall-am: 427 404 preinstall: preinstall-am 428 405 .PHONY: preinstall preinstall-am 429 430 clobber-am:431 clobber: clobber-am432 .PHONY: clobber clobber-am433 406 434 407 depend-am: -
c/src/Makefile.in
r08b5f55 r29e68b75 349 349 350 350 depend-recursive \ 351 clobber-recursive \352 351 preinstall-recursive \ 353 352 debug-recursive \ 354 debug_install-recursive \ 355 profile-recursive \ 356 profile_install-recursive: 353 profile-recursive: 357 354 @set fnord $(MAKEFLAGS); amf=$$2; \ 358 355 dot_seen=no; \ … … 376 373 .PHONY: debug-recursive 377 374 378 debug_install: debug_install-recursive379 .PHONY: debug_install-recursive380 381 375 profile: profile-recursive 382 376 .PHONY: profile-recursive 383 377 384 profile_install: profile_install-recursive385 .PHONY: profile-recursive386 387 378 preinstall: preinstall-recursive 388 379 .PHONY: preinstall-recursive 389 390 clobber: clobber-recursive391 .PHONY: clobber-recursive392 380 393 381 depend: depend-recursive … … 398 386 .PHONY: debug debug-am 399 387 400 debug_install-am:401 debug_install: debug_install-am402 .PHONY: debug_install debug_install-am403 404 388 profile-am: 405 389 profile: profile-am 406 390 .PHONY: profile profile-am 407 391 408 profile_install-am:409 profile_install: profile_install-am410 .PHONY: profile_install profile_install-am411 412 392 preinstall-am: 413 393 preinstall: preinstall-am 414 394 .PHONY: preinstall preinstall-am 415 395 416 clobber-am:417 clobber: clobber-am418 .PHONY: clobber clobber-am419 420 396 depend-am: 421 397 depend: depend-am -
c/src/exec/Makefile.in
r08b5f55 r29e68b75 23 23 SUB_DIRS = score rtems $(POSIX_DIRS) sapi wrapup 24 24 25 CLOBBER_ADDITIONS += config.log config.cache 26 25 27 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 26 28 cd $(top_builddir) \ -
c/src/exec/sapi/include/rtems/Makefile.in
r08b5f55 r29e68b75 38 38 39 39 CLEAN_ADDITIONS += 40 CLOBBER_ADDITIONS += 40 CLOBBER_ADDITIONS += sptables.h 41 41 42 42 all: preinstall -
c/src/exec/score/include/rtems/score/Makefile.in
r08b5f55 r29e68b75 88 88 echo "#define USE_INLINES 1" >>$@; \ 89 89 fi 90 if test "$(HAS_MP)" = "yes"; then \90 @if test "$(HAS_MP)" = "yes"; then \ 91 91 echo "#define RTEMS_MULTIPROCESSING 1" >>$@; \ 92 92 fi -
c/src/lib/Makefile.in
r08b5f55 r29e68b75 42 42 $(LIBRPC) $(LIBRDBG) $(LIBCHIP) $(LIBHWAPI) $(LIBRTEMSCPLUSPLUS) wrapup 43 43 44 CLOBBER_ADDITIONS += config.log config.cache 45 44 46 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 45 47 cd $(top_builddir) \ -
c/src/lib/libbsp/hppa1.1/simhppa/tools/Makefile.in
r08b5f55 r29e68b75 70 70 target_triplet = @target@ 71 71 CC = @CC@ 72 EXEEXT = @EXEEXT@ 72 73 INSTALL_CHANGE = @INSTALL_CHANGE@ 73 74 MAINT = @MAINT@ … … 99 100 CONFIG_HEADER = config.h 100 101 CONFIG_CLEAN_FILES = 102 noinst_PROGRAMS = print_dump$(EXEEXT) 101 103 PROGRAMS = $(noinst_PROGRAMS) 102 104 … … 197 199 maintainer-clean-compile: 198 200 199 print_dump : $(print_dump_OBJECTS) $(print_dump_DEPENDENCIES)200 @rm -f print_dump 201 print_dump$(EXEEXT): $(print_dump_OBJECTS) $(print_dump_DEPENDENCIES) 202 @rm -f print_dump$(EXEEXT) 201 203 $(LINK) $(print_dump_LDFLAGS) $(print_dump_OBJECTS) $(print_dump_LDADD) $(LIBS) 202 204 … … 406 408 .PHONY: debug debug-am 407 409 408 debug_install-am:409 debug_install: debug_install-am410 .PHONY: debug_install debug_install-am411 412 410 profile-am: 413 411 profile: profile-am 414 412 .PHONY: profile profile-am 415 413 416 profile_install-am:417 profile_install: profile_install-am418 .PHONY: profile_install profile_install-am419 420 414 preinstall-am: 421 415 preinstall: preinstall-am 422 416 .PHONY: preinstall preinstall-am 423 417 424 clobber-am:425 clobber: clobber-am426 .PHONY: clobber clobber-am427 428 418 depend-am: 429 419 depend: depend-am -
c/src/lib/libbsp/hppa1.1/simhppa/tools/configure
r08b5f55 r29e68b75 938 938 939 939 940 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 941 echo "configure:942: checking for Cygwin environment" >&5 942 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 943 echo $ac_n "(cached) $ac_c" 1>&6 944 else 945 cat > conftest.$ac_ext <<EOF 946 #line 947 "configure" 947 #include "confdefs.h" 948 949 int main() { 950 951 #ifndef __CYGWIN__ 952 #define __CYGWIN__ __CYGWIN32__ 953 #endif 954 return __CYGWIN__; 955 ; return 0; } 956 EOF 957 if { (eval echo configure:958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 958 rm -rf conftest* 959 ac_cv_cygwin=yes 960 else 961 echo "configure: failed program was:" >&5 962 cat conftest.$ac_ext >&5 963 rm -rf conftest* 964 ac_cv_cygwin=no 965 fi 966 rm -f conftest* 967 rm -f conftest* 968 fi 969 970 echo "$ac_t""$ac_cv_cygwin" 1>&6 971 CYGWIN= 972 test "$ac_cv_cygwin" = yes && CYGWIN=yes 973 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 974 echo "configure:975: checking for mingw32 environment" >&5 975 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 976 echo $ac_n "(cached) $ac_c" 1>&6 977 else 978 cat > conftest.$ac_ext <<EOF 979 #line 980 "configure" 980 #include "confdefs.h" 981 982 int main() { 983 return __MINGW32__; 984 ; return 0; } 985 EOF 986 if { (eval echo configure:987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 987 rm -rf conftest* 988 ac_cv_mingw32=yes 989 else 990 echo "configure: failed program was:" >&5 991 cat conftest.$ac_ext >&5 992 rm -rf conftest* 993 ac_cv_mingw32=no 994 fi 995 rm -f conftest* 996 rm -f conftest* 997 fi 998 999 echo "$ac_t""$ac_cv_mingw32" 1>&6 1000 MINGW32= 1001 test "$ac_cv_mingw32" = yes && MINGW32=yes 1002 1003 1004 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 1005 echo "configure:1006: checking for executable suffix" >&5 1006 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 1007 echo $ac_n "(cached) $ac_c" 1>&6 1008 else 1009 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then 1010 ac_cv_exeext=.exe 1011 else 1012 rm -f conftest* 1013 echo 'int main () { return 0; }' > conftest.$ac_ext 1014 ac_cv_exeext= 1015 if { (eval echo configure:1016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1016 for file in conftest.*; do 1017 case $file in 1018 *.c | *.o | *.obj) ;; 1019 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; 1020 esac 1021 done 1022 else 1023 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } 1024 fi 1025 rm -f conftest* 1026 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no 1027 fi 1028 fi 1029 1030 EXEEXT="" 1031 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} 1032 echo "$ac_t""${ac_cv_exeext}" 1>&6 1033 ac_exeext=$EXEEXT 1034 940 1035 941 1036 # Extract the first word of "gcc", so it can be a program name with args. 942 1037 set dummy gcc; ac_word=$2 943 1038 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 944 echo "configure: 945: checking for $ac_word" >&51039 echo "configure:1040: checking for $ac_word" >&5 945 1040 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 946 1041 echo $ac_n "(cached) $ac_c" 1>&6 … … 972 1067 set dummy cc; ac_word=$2 973 1068 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 974 echo "configure: 975: checking for $ac_word" >&51069 echo "configure:1070: checking for $ac_word" >&5 975 1070 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 976 1071 echo $ac_n "(cached) $ac_c" 1>&6 … … 1023 1118 set dummy cl; ac_word=$2 1024 1119 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1025 echo "configure:1 026: checking for $ac_word" >&51120 echo "configure:1121: checking for $ac_word" >&5 1026 1121 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1027 1122 echo $ac_n "(cached) $ac_c" 1>&6 … … 1055 1150 1056 1151 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1057 echo "configure:1 058: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&51152 echo "configure:1153: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1058 1153 1059 1154 ac_ext=c … … 1066 1161 cat > conftest.$ac_ext << EOF 1067 1162 1068 #line 1 069"configure"1163 #line 1164 "configure" 1069 1164 #include "confdefs.h" 1070 1165 1071 1166 main(){return(0);} 1072 1167 EOF 1073 if { (eval echo configure:1 074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1168 if { (eval echo configure:1169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1074 1169 ac_cv_prog_cc_works=yes 1075 1170 # If we can't run a trivial program, we are probably using a cross compiler. … … 1097 1192 fi 1098 1193 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1099 echo "configure:11 00: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&51194 echo "configure:1195: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1100 1195 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1101 1196 cross_compiling=$ac_cv_prog_cc_cross 1102 1197 1103 1198 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1104 echo "configure:1 105: checking whether we are using GNU C" >&51199 echo "configure:1200: checking whether we are using GNU C" >&5 1105 1200 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1106 1201 echo $ac_n "(cached) $ac_c" 1>&6 … … 1111 1206 #endif 1112 1207 EOF 1113 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1 114: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1208 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1114 1209 ac_cv_prog_gcc=yes 1115 1210 else … … 1130 1225 CFLAGS= 1131 1226 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1132 echo "configure:1 133: checking whether ${CC-cc} accepts -g" >&51227 echo "configure:1228: checking whether ${CC-cc} accepts -g" >&5 1133 1228 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1134 1229 echo $ac_n "(cached) $ac_c" 1>&6 … … 1165 1260 do 1166 1261 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1167 echo "configure:1 168: checking for $ac_func" >&51262 echo "configure:1263: checking for $ac_func" >&5 1168 1263 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1169 1264 echo $ac_n "(cached) $ac_c" 1>&6 1170 1265 else 1171 1266 cat > conftest.$ac_ext <<EOF 1172 #line 1 173"configure"1267 #line 1268 "configure" 1173 1268 #include "confdefs.h" 1174 1269 /* System header to define __stub macros and hopefully few prototypes, … … 1193 1288 ; return 0; } 1194 1289 EOF 1195 if { (eval echo configure:1 196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1290 if { (eval echo configure:1291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1196 1291 rm -rf conftest* 1197 1292 eval "ac_cv_func_$ac_func=yes" … … 1425 1520 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g 1426 1521 s%@MAINT@%$MAINT%g 1522 s%@EXEEXT@%$EXEEXT%g 1427 1523 s%@CC@%$CC%g 1428 1524 s%@PROJECT_ROOT@%$PROJECT_ROOT%g -
c/src/lib/libbsp/hppa1.1/simhppa/tools/configure.in
r08b5f55 r29e68b75 11 11 AM_INIT_AUTOMAKE(rtems-lib-libbsp-hppa-simhppa-tools,$RTEMS_VERSION,no) 12 12 AM_MAINTAINER_MODE 13 AC_EXEEXT 13 14 14 15 AC_PROG_CC -
c/src/lib/libbsp/i386/pc386/tools/Makefile.am
r08b5f55 r29e68b75 9 9 10 10 noinst_PROGRAMS = \ 11 bin2boot \ 12 binpatch 11 bin2boot 13 12 14 13 bin2boot_SOURCES = bin2boot.c 15 binpatch_SOURCES = binpatch.c 14 15 PREINSTALL_DIRS=$(PROJECT_ROOT)/pc386/build-tools 16 PREINSTALL_FILES = $(PROJECT_ROOT)/pc386/build-tools/bin2boot 17 18 $(PREINSTALL_DIRS): 19 $(mkinstalldirs) $@ 20 21 $(PROJECT_ROOT)/pc386/build-tools/bin2boot: bin2boot 22 $(INSTALL_PROGRAM) $< $@ 16 23 17 24 # HACK: install into build-tree 18 preinstall: install-exec-local 19 20 install-exec-local: $(PROGRAMS) 21 $(mkinstalldirs) $(PROJECT_ROOT)/pc386/build-tools 22 $(INSTALL_PROGRAM) bin2boot $(PROJECT_ROOT)/pc386/build-tools 23 $(INSTALL_PROGRAM) binpatch $(PROJECT_ROOT)/pc386/build-tools 25 all-local: $(PREINSTALL_DIRS) $(PREINSTALL_FILES) 24 26 25 27 include $(top_srcdir)/../../../../../../../automake/local.am -
c/src/lib/libbsp/i386/pc386/tools/Makefile.in
r08b5f55 r29e68b75 70 70 target_triplet = @target@ 71 71 CC = @CC@ 72 EXEEXT = @EXEEXT@ 72 73 INSTALL_CHANGE = @INSTALL_CHANGE@ 73 74 MAINT = @MAINT@ … … 92 93 EXTRA_DIST = Spec.doc 93 94 94 noinst_PROGRAMS = bin2boot binpatch95 noinst_PROGRAMS = bin2boot 95 96 96 97 97 98 bin2boot_SOURCES = bin2boot.c 98 binpatch_SOURCES = binpatch.c 99 100 PREINSTALL_DIRS = $(PROJECT_ROOT)/pc386/build-tools 101 PREINSTALL_FILES = $(PROJECT_ROOT)/pc386/build-tools/bin2boot 99 102 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 100 103 mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../../mkinstalldirs 101 104 CONFIG_CLEAN_FILES = 105 noinst_PROGRAMS = bin2boot$(EXEEXT) 102 106 PROGRAMS = $(noinst_PROGRAMS) 103 107 … … 111 115 bin2boot_DEPENDENCIES = 112 116 bin2boot_LDFLAGS = 113 binpatch_OBJECTS = binpatch.o114 binpatch_LDADD = $(LDADD)115 binpatch_DEPENDENCIES =116 binpatch_LDFLAGS =117 117 CFLAGS = @CFLAGS@ 118 118 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) … … 126 126 TAR = tar 127 127 GZIP_ENV = --best 128 DEP_FILES = .deps/bin2boot.P .deps/binpatch.P129 SOURCES = $(bin2boot_SOURCES) $(binpatch_SOURCES)130 OBJECTS = $(bin2boot_OBJECTS) $(binpatch_OBJECTS)128 DEP_FILES = .deps/bin2boot.P 129 SOURCES = $(bin2boot_SOURCES) 130 OBJECTS = $(bin2boot_OBJECTS) 131 131 132 132 all: all-redirect … … 173 173 maintainer-clean-compile: 174 174 175 bin2boot : $(bin2boot_OBJECTS) $(bin2boot_DEPENDENCIES)176 @rm -f bin2boot 175 bin2boot$(EXEEXT): $(bin2boot_OBJECTS) $(bin2boot_DEPENDENCIES) 176 @rm -f bin2boot$(EXEEXT) 177 177 $(LINK) $(bin2boot_LDFLAGS) $(bin2boot_OBJECTS) $(bin2boot_LDADD) $(LIBS) 178 179 binpatch: $(binpatch_OBJECTS) $(binpatch_DEPENDENCIES)180 @rm -f binpatch181 $(LINK) $(binpatch_LDFLAGS) $(binpatch_OBJECTS) $(binpatch_LDADD) $(LIBS)182 178 183 179 tags: TAGS … … 303 299 installcheck-am: 304 300 installcheck: installcheck-am 305 install-exec-am: install-exec-local301 install-exec-am: 306 302 install-exec: install-exec-am 307 303 … … 314 310 uninstall-am: 315 311 uninstall: uninstall-am 316 all-am: Makefile $(PROGRAMS) 312 all-am: Makefile $(PROGRAMS) all-local 317 313 all-redirect: all-am 318 314 install-strip: … … 362 358 clean-tags maintainer-clean-tags distdir mostlyclean-depend \ 363 359 distclean-depend clean-depend maintainer-clean-depend info-am info \ 364 dvi-am dvi check check-am installcheck-am installcheck \ 365 install-exec-local install-exec-am install-exec install-data-am \ 366 install-data install-am install uninstall-am uninstall all-redirect \ 367 all-am all installdirs mostlyclean-generic distclean-generic \ 368 clean-generic maintainer-clean-generic clean mostlyclean distclean \ 369 maintainer-clean 370 360 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ 361 install-exec install-data-am install-data install-am install \ 362 uninstall-am uninstall all-local all-redirect all-am all installdirs \ 363 mostlyclean-generic distclean-generic clean-generic \ 364 maintainer-clean-generic clean mostlyclean distclean maintainer-clean 365 366 367 $(PREINSTALL_DIRS): 368 $(mkinstalldirs) $@ 369 370 $(PROJECT_ROOT)/pc386/build-tools/bin2boot: bin2boot 371 $(INSTALL_PROGRAM) $< $@ 371 372 372 373 # HACK: install into build-tree 373 preinstall: install-exec-local 374 375 install-exec-local: $(PROGRAMS) 376 $(mkinstalldirs) $(PROJECT_ROOT)/pc386/build-tools 377 $(INSTALL_PROGRAM) bin2boot $(PROJECT_ROOT)/pc386/build-tools 378 $(INSTALL_PROGRAM) binpatch $(PROJECT_ROOT)/pc386/build-tools 374 all-local: $(PREINSTALL_DIRS) $(PREINSTALL_FILES) 379 375 380 376 debug-am: … … 382 378 .PHONY: debug debug-am 383 379 384 debug_install-am:385 debug_install: debug_install-am386 .PHONY: debug_install debug_install-am387 388 380 profile-am: 389 381 profile: profile-am 390 382 .PHONY: profile profile-am 391 383 392 profile_install-am:393 profile_install: profile_install-am394 .PHONY: profile_install profile_install-am395 396 384 preinstall-am: 397 385 preinstall: preinstall-am 398 386 .PHONY: preinstall preinstall-am 399 387 400 clobber-am:401 clobber: clobber-am402 .PHONY: clobber clobber-am403 404 388 depend-am: 405 389 depend: depend-am -
c/src/lib/libbsp/i386/pc386/tools/bin2boot.c
r08b5f55 r29e68b75 404 404 return 0; 405 405 } 406 407 408 409 410 411 412 413 414 -
c/src/lib/libbsp/i386/pc386/tools/configure
r08b5f55 r29e68b75 938 938 939 939 940 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 941 echo "configure:942: checking for Cygwin environment" >&5 942 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 943 echo $ac_n "(cached) $ac_c" 1>&6 944 else 945 cat > conftest.$ac_ext <<EOF 946 #line 947 "configure" 947 #include "confdefs.h" 948 949 int main() { 950 951 #ifndef __CYGWIN__ 952 #define __CYGWIN__ __CYGWIN32__ 953 #endif 954 return __CYGWIN__; 955 ; return 0; } 956 EOF 957 if { (eval echo configure:958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 958 rm -rf conftest* 959 ac_cv_cygwin=yes 960 else 961 echo "configure: failed program was:" >&5 962 cat conftest.$ac_ext >&5 963 rm -rf conftest* 964 ac_cv_cygwin=no 965 fi 966 rm -f conftest* 967 rm -f conftest* 968 fi 969 970 echo "$ac_t""$ac_cv_cygwin" 1>&6 971 CYGWIN= 972 test "$ac_cv_cygwin" = yes && CYGWIN=yes 973 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 974 echo "configure:975: checking for mingw32 environment" >&5 975 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 976 echo $ac_n "(cached) $ac_c" 1>&6 977 else 978 cat > conftest.$ac_ext <<EOF 979 #line 980 "configure" 980 #include "confdefs.h" 981 982 int main() { 983 return __MINGW32__; 984 ; return 0; } 985 EOF 986 if { (eval echo configure:987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 987 rm -rf conftest* 988 ac_cv_mingw32=yes 989 else 990 echo "configure: failed program was:" >&5 991 cat conftest.$ac_ext >&5 992 rm -rf conftest* 993 ac_cv_mingw32=no 994 fi 995 rm -f conftest* 996 rm -f conftest* 997 fi 998 999 echo "$ac_t""$ac_cv_mingw32" 1>&6 1000 MINGW32= 1001 test "$ac_cv_mingw32" = yes && MINGW32=yes 1002 1003 1004 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 1005 echo "configure:1006: checking for executable suffix" >&5 1006 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 1007 echo $ac_n "(cached) $ac_c" 1>&6 1008 else 1009 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then 1010 ac_cv_exeext=.exe 1011 else 1012 rm -f conftest* 1013 echo 'int main () { return 0; }' > conftest.$ac_ext 1014 ac_cv_exeext= 1015 if { (eval echo configure:1016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1016 for file in conftest.*; do 1017 case $file in 1018 *.c | *.o | *.obj) ;; 1019 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; 1020 esac 1021 done 1022 else 1023 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } 1024 fi 1025 rm -f conftest* 1026 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no 1027 fi 1028 fi 1029 1030 EXEEXT="" 1031 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} 1032 echo "$ac_t""${ac_cv_exeext}" 1>&6 1033 ac_exeext=$EXEEXT 1034 940 1035 941 1036 # Extract the first word of "gcc", so it can be a program name with args. 942 1037 set dummy gcc; ac_word=$2 943 1038 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 944 echo "configure: 945: checking for $ac_word" >&51039 echo "configure:1040: checking for $ac_word" >&5 945 1040 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 946 1041 echo $ac_n "(cached) $ac_c" 1>&6 … … 972 1067 set dummy cc; ac_word=$2 973 1068 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 974 echo "configure: 975: checking for $ac_word" >&51069 echo "configure:1070: checking for $ac_word" >&5 975 1070 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 976 1071 echo $ac_n "(cached) $ac_c" 1>&6 … … 1023 1118 set dummy cl; ac_word=$2 1024 1119 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1025 echo "configure:1 026: checking for $ac_word" >&51120 echo "configure:1121: checking for $ac_word" >&5 1026 1121 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1027 1122 echo $ac_n "(cached) $ac_c" 1>&6 … … 1055 1150 1056 1151 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1057 echo "configure:1 058: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&51152 echo "configure:1153: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1058 1153 1059 1154 ac_ext=c … … 1066 1161 cat > conftest.$ac_ext << EOF 1067 1162 1068 #line 1 069"configure"1163 #line 1164 "configure" 1069 1164 #include "confdefs.h" 1070 1165 1071 1166 main(){return(0);} 1072 1167 EOF 1073 if { (eval echo configure:1 074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1168 if { (eval echo configure:1169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1074 1169 ac_cv_prog_cc_works=yes 1075 1170 # If we can't run a trivial program, we are probably using a cross compiler. … … 1097 1192 fi 1098 1193 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1099 echo "configure:11 00: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&51194 echo "configure:1195: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1100 1195 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1101 1196 cross_compiling=$ac_cv_prog_cc_cross 1102 1197 1103 1198 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1104 echo "configure:1 105: checking whether we are using GNU C" >&51199 echo "configure:1200: checking whether we are using GNU C" >&5 1105 1200 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1106 1201 echo $ac_n "(cached) $ac_c" 1>&6 … … 1111 1206 #endif 1112 1207 EOF 1113 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1 114: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1208 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1114 1209 ac_cv_prog_gcc=yes 1115 1210 else … … 1130 1225 CFLAGS= 1131 1226 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1132 echo "configure:1 133: checking whether ${CC-cc} accepts -g" >&51227 echo "configure:1228: checking whether ${CC-cc} accepts -g" >&5 1133 1228 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1134 1229 echo $ac_n "(cached) $ac_c" 1>&6 … … 1162 1257 1163 1258 1164 for ac_func in strto l strtoul1259 for ac_func in strtoul 1165 1260 do 1166 1261 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1167 echo "configure:1 168: checking for $ac_func" >&51262 echo "configure:1263: checking for $ac_func" >&5 1168 1263 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1169 1264 echo $ac_n "(cached) $ac_c" 1>&6 1170 1265 else 1171 1266 cat > conftest.$ac_ext <<EOF 1172 #line 1 173"configure"1267 #line 1268 "configure" 1173 1268 #include "confdefs.h" 1174 1269 /* System header to define __stub macros and hopefully few prototypes, … … 1193 1288 ; return 0; } 1194 1289 EOF 1195 if { (eval echo configure:1 196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1290 if { (eval echo configure:1291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1196 1291 rm -rf conftest* 1197 1292 eval "ac_cv_func_$ac_func=yes" … … 1434 1529 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g 1435 1530 s%@MAINT@%$MAINT%g 1531 s%@EXEEXT@%$EXEEXT%g 1436 1532 s%@CC@%$CC%g 1437 1533 s%@PROJECT_ROOT@%$PROJECT_ROOT%g -
c/src/lib/libbsp/i386/pc386/tools/configure.in
r08b5f55 r29e68b75 11 11 AM_INIT_AUTOMAKE(rtems-lib-libbsp-i386-pc386-tools,$RTEMS_VERSION,no) 12 12 AM_MAINTAINER_MODE 13 AC_EXEEXT 13 14 14 15 AC_PROG_CC 15 16 16 AC_CHECK_FUNCS(strto l strtoul)17 AC_CHECK_FUNCS(strtoul) 17 18 18 19 RTEMS_PROJECT_ROOT -
c/src/lib/libbsp/i386/ts_386ex/tools/Makefile.in
r08b5f55 r29e68b75 352 352 353 353 depend-recursive \ 354 clobber-recursive \355 354 preinstall-recursive \ 356 355 debug-recursive \ 357 debug_install-recursive \ 358 profile-recursive \ 359 profile_install-recursive: 356 profile-recursive: 360 357 @set fnord $(MAKEFLAGS); amf=$$2; \ 361 358 dot_seen=no; \ … … 379 376 .PHONY: debug-recursive 380 377 381 debug_install: debug_install-recursive382 .PHONY: debug_install-recursive383 384 378 profile: profile-recursive 385 379 .PHONY: profile-recursive 386 380 387 profile_install: profile_install-recursive388 .PHONY: profile-recursive389 390 381 preinstall: preinstall-recursive 391 382 .PHONY: preinstall-recursive 392 393 clobber: clobber-recursive394 .PHONY: clobber-recursive395 383 396 384 depend: depend-recursive … … 401 389 .PHONY: debug debug-am 402 390 403 debug_install-am:404 debug_install: debug_install-am405 .PHONY: debug_install debug_install-am406 407 391 profile-am: 408 392 profile: profile-am 409 393 .PHONY: profile profile-am 410 394 411 profile_install-am:412 profile_install: profile_install-am413 .PHONY: profile_install profile_install-am414 415 395 preinstall-am: 416 396 preinstall: preinstall-am 417 397 .PHONY: preinstall preinstall-am 418 398 419 clobber-am:420 clobber: clobber-am421 .PHONY: clobber clobber-am422 423 399 depend-am: 424 400 depend: depend-am -
c/src/lib/libbsp/i386/ts_386ex/tools/dos_sup/Makefile.in
r08b5f55 r29e68b75 197 197 .PHONY: debug debug-am 198 198 199 debug_install-am:200 debug_install: debug_install-am201 .PHONY: debug_install debug_install-am202 203 199 profile-am: 204 200 profile: profile-am 205 201 .PHONY: profile profile-am 206 202 207 profile_install-am:208 profile_install: profile_install-am209 .PHONY: profile_install profile_install-am210 211 203 preinstall-am: 212 204 preinstall: preinstall-am 213 205 .PHONY: preinstall preinstall-am 214 206 215 clobber-am:216 clobber: clobber-am217 .PHONY: clobber clobber-am218 219 207 depend-am: 220 208 depend: depend-am -
c/src/lib/libbsp/i386/ts_386ex/tools/ts_1325_ada/Makefile.in
r08b5f55 r29e68b75 92 92 mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../../mkinstalldirs 93 93 CONFIG_CLEAN_FILES = 94 DIST_COMMON = Makefile.am Makefile.in94 DIST_COMMON = README Makefile.am Makefile.in 95 95 96 96 … … 197 197 .PHONY: debug debug-am 198 198 199 debug_install-am:200 debug_install: debug_install-am201 .PHONY: debug_install debug_install-am202 203 199 profile-am: 204 200 profile: profile-am 205 201 .PHONY: profile profile-am 206 202 207 profile_install-am:208 profile_install: profile_install-am209 .PHONY: profile_install profile_install-am210 211 203 preinstall-am: 212 204 preinstall: preinstall-am 213 205 .PHONY: preinstall preinstall-am 214 206 215 clobber-am:216 clobber: clobber-am217 .PHONY: clobber clobber-am218 219 207 depend-am: 220 208 depend: depend-am -
c/src/lib/libbsp/m68k/mvme162/tools/Makefile.in
r08b5f55 r29e68b75 70 70 target_triplet = @target@ 71 71 CC = @CC@ 72 EXEEXT = @EXEEXT@ 72 73 INSTALL_CHANGE = @INSTALL_CHANGE@ 73 74 MAINT = @MAINT@ … … 96 97 mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../../mkinstalldirs 97 98 CONFIG_CLEAN_FILES = 99 noinst_PROGRAMS = sload$(EXEEXT) 98 100 PROGRAMS = $(noinst_PROGRAMS) 99 101 … … 165 167 maintainer-clean-compile: 166 168 167 sload : $(sload_OBJECTS) $(sload_DEPENDENCIES)168 @rm -f sload 169 sload$(EXEEXT): $(sload_OBJECTS) $(sload_DEPENDENCIES) 170 @rm -f sload$(EXEEXT) 169 171 $(LINK) $(sload_LDFLAGS) $(sload_OBJECTS) $(sload_LDADD) $(LIBS) 170 172 … … 367 369 .PHONY: debug debug-am 368 370 369 debug_install-am:370 debug_install: debug_install-am371 .PHONY: debug_install debug_install-am372 373 371 profile-am: 374 372 profile: profile-am 375 373 .PHONY: profile profile-am 376 374 377 profile_install-am:378 profile_install: profile_install-am379 .PHONY: profile_install profile_install-am380 381 375 preinstall-am: 382 376 preinstall: preinstall-am 383 377 .PHONY: preinstall preinstall-am 384 378 385 clobber-am:386 clobber: clobber-am387 .PHONY: clobber clobber-am388 389 379 depend-am: 390 380 depend: depend-am -
c/src/lib/libbsp/m68k/mvme162/tools/configure
r08b5f55 r29e68b75 938 938 939 939 940 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 941 echo "configure:942: checking for Cygwin environment" >&5 942 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 943 echo $ac_n "(cached) $ac_c" 1>&6 944 else 945 cat > conftest.$ac_ext <<EOF 946 #line 947 "configure" 947 #include "confdefs.h" 948 949 int main() { 950 951 #ifndef __CYGWIN__ 952 #define __CYGWIN__ __CYGWIN32__ 953 #endif 954 return __CYGWIN__; 955 ; return 0; } 956 EOF 957 if { (eval echo configure:958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 958 rm -rf conftest* 959 ac_cv_cygwin=yes 960 else 961 echo "configure: failed program was:" >&5 962 cat conftest.$ac_ext >&5 963 rm -rf conftest* 964 ac_cv_cygwin=no 965 fi 966 rm -f conftest* 967 rm -f conftest* 968 fi 969 970 echo "$ac_t""$ac_cv_cygwin" 1>&6 971 CYGWIN= 972 test "$ac_cv_cygwin" = yes && CYGWIN=yes 973 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 974 echo "configure:975: checking for mingw32 environment" >&5 975 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 976 echo $ac_n "(cached) $ac_c" 1>&6 977 else 978 cat > conftest.$ac_ext <<EOF 979 #line 980 "configure" 980 #include "confdefs.h" 981 982 int main() { 983 return __MINGW32__; 984 ; return 0; } 985 EOF 986 if { (eval echo configure:987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 987 rm -rf conftest* 988 ac_cv_mingw32=yes 989 else 990 echo "configure: failed program was:" >&5 991 cat conftest.$ac_ext >&5 992 rm -rf conftest* 993 ac_cv_mingw32=no 994 fi 995 rm -f conftest* 996 rm -f conftest* 997 fi 998 999 echo "$ac_t""$ac_cv_mingw32" 1>&6 1000 MINGW32= 1001 test "$ac_cv_mingw32" = yes && MINGW32=yes 1002 1003 1004 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 1005 echo "configure:1006: checking for executable suffix" >&5 1006 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 1007 echo $ac_n "(cached) $ac_c" 1>&6 1008 else 1009 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then 1010 ac_cv_exeext=.exe 1011 else 1012 rm -f conftest* 1013 echo 'int main () { return 0; }' > conftest.$ac_ext 1014 ac_cv_exeext= 1015 if { (eval echo configure:1016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1016 for file in conftest.*; do 1017 case $file in 1018 *.c | *.o | *.obj) ;; 1019 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; 1020 esac 1021 done 1022 else 1023 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } 1024 fi 1025 rm -f conftest* 1026 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no 1027 fi 1028 fi 1029 1030 EXEEXT="" 1031 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} 1032 echo "$ac_t""${ac_cv_exeext}" 1>&6 1033 ac_exeext=$EXEEXT 1034 940 1035 941 1036 # Extract the first word of "gcc", so it can be a program name with args. 942 1037 set dummy gcc; ac_word=$2 943 1038 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 944 echo "configure: 945: checking for $ac_word" >&51039 echo "configure:1040: checking for $ac_word" >&5 945 1040 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 946 1041 echo $ac_n "(cached) $ac_c" 1>&6 … … 972 1067 set dummy cc; ac_word=$2 973 1068 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 974 echo "configure: 975: checking for $ac_word" >&51069 echo "configure:1070: checking for $ac_word" >&5 975 1070 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 976 1071 echo $ac_n "(cached) $ac_c" 1>&6 … … 1023 1118 set dummy cl; ac_word=$2 1024 1119 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1025 echo "configure:1 026: checking for $ac_word" >&51120 echo "configure:1121: checking for $ac_word" >&5 1026 1121 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1027 1122 echo $ac_n "(cached) $ac_c" 1>&6 … … 1055 1150 1056 1151 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1057 echo "configure:1 058: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&51152 echo "configure:1153: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1058 1153 1059 1154 ac_ext=c … … 1066 1161 cat > conftest.$ac_ext << EOF 1067 1162 1068 #line 1 069"configure"1163 #line 1164 "configure" 1069 1164 #include "confdefs.h" 1070 1165 1071 1166 main(){return(0);} 1072 1167 EOF 1073 if { (eval echo configure:1 074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1168 if { (eval echo configure:1169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1074 1169 ac_cv_prog_cc_works=yes 1075 1170 # If we can't run a trivial program, we are probably using a cross compiler. … … 1097 1192 fi 1098 1193 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1099 echo "configure:11 00: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&51194 echo "configure:1195: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1100 1195 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1101 1196 cross_compiling=$ac_cv_prog_cc_cross 1102 1197 1103 1198 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1104 echo "configure:1 105: checking whether we are using GNU C" >&51199 echo "configure:1200: checking whether we are using GNU C" >&5 1105 1200 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1106 1201 echo $ac_n "(cached) $ac_c" 1>&6 … … 1111 1206 #endif 1112 1207 EOF 1113 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1 114: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1208 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1114 1209 ac_cv_prog_gcc=yes 1115 1210 else … … 1130 1225 CFLAGS= 1131 1226 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1132 echo "configure:1 133: checking whether ${CC-cc} accepts -g" >&51227 echo "configure:1228: checking whether ${CC-cc} accepts -g" >&5 1133 1228 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1134 1229 echo $ac_n "(cached) $ac_c" 1>&6 … … 1163 1258 1164 1259 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 1165 echo "configure:1 166: checking how to run the C preprocessor" >&51260 echo "configure:1261: checking how to run the C preprocessor" >&5 1166 1261 # On Suns, sometimes $CPP names a directory. 1167 1262 if test -n "$CPP" && test -d "$CPP"; then … … 1178 1273 # not just through cpp. 1179 1274 cat > conftest.$ac_ext <<EOF 1180 #line 1 181"configure"1275 #line 1276 "configure" 1181 1276 #include "confdefs.h" 1182 1277 #include <assert.h> … … 1184 1279 EOF 1185 1280 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1186 { (eval echo configure:1 187: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1281 { (eval echo configure:1282: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1187 1282 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1188 1283 if test -z "$ac_err"; then … … 1195 1290 CPP="${CC-cc} -E -traditional-cpp" 1196 1291 cat > conftest.$ac_ext <<EOF 1197 #line 1 198"configure"1292 #line 1293 "configure" 1198 1293 #include "confdefs.h" 1199 1294 #include <assert.h> … … 1201 1296 EOF 1202 1297 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1203 { (eval echo configure:12 04: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1298 { (eval echo configure:1299: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1204 1299 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1205 1300 if test -z "$ac_err"; then … … 1212 1307 CPP="${CC-cc} -nologo -E" 1213 1308 cat > conftest.$ac_ext <<EOF 1214 #line 1 215"configure"1309 #line 1310 "configure" 1215 1310 #include "confdefs.h" 1216 1311 #include <assert.h> … … 1218 1313 EOF 1219 1314 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1220 { (eval echo configure:1 221: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1315 { (eval echo configure:1316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1221 1316 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1222 1317 if test -z "$ac_err"; then … … 1243 1338 1244 1339 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 1245 echo "configure:1 246: checking for ANSI C header files" >&51340 echo "configure:1341: checking for ANSI C header files" >&5 1246 1341 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1247 1342 echo $ac_n "(cached) $ac_c" 1>&6 1248 1343 else 1249 1344 cat > conftest.$ac_ext <<EOF 1250 #line 1 251"configure"1345 #line 1346 "configure" 1251 1346 #include "confdefs.h" 1252 1347 #include <stdlib.h> … … 1256 1351 EOF 1257 1352 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1258 { (eval echo configure:1 259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1353 { (eval echo configure:1354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1259 1354 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1260 1355 if test -z "$ac_err"; then … … 1273 1368 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1274 1369 cat > conftest.$ac_ext <<EOF 1275 #line 1 276"configure"1370 #line 1371 "configure" 1276 1371 #include "confdefs.h" 1277 1372 #include <string.h> … … 1291 1386 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1292 1387 cat > conftest.$ac_ext <<EOF 1293 #line 1 294"configure"1388 #line 1389 "configure" 1294 1389 #include "confdefs.h" 1295 1390 #include <stdlib.h> … … 1312 1407 else 1313 1408 cat > conftest.$ac_ext <<EOF 1314 #line 1 315"configure"1409 #line 1410 "configure" 1315 1410 #include "confdefs.h" 1316 1411 #include <ctype.h> … … 1323 1418 1324 1419 EOF 1325 if { (eval echo configure:1 326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1420 if { (eval echo configure:1421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1326 1421 then 1327 1422 : … … 1350 1445 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1351 1446 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1352 echo "configure:1 353: checking for $ac_hdr" >&51447 echo "configure:1448: checking for $ac_hdr" >&5 1353 1448 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1354 1449 echo $ac_n "(cached) $ac_c" 1>&6 1355 1450 else 1356 1451 cat > conftest.$ac_ext <<EOF 1357 #line 1 358"configure"1452 #line 1453 "configure" 1358 1453 #include "confdefs.h" 1359 1454 #include <$ac_hdr> 1360 1455 EOF 1361 1456 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1362 { (eval echo configure:1 363: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1457 { (eval echo configure:1458: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1363 1458 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1364 1459 if test -z "$ac_err"; then … … 1390 1485 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1391 1486 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1392 echo "configure:1 393: checking for $ac_hdr" >&51487 echo "configure:1488: checking for $ac_hdr" >&5 1393 1488 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1394 1489 echo $ac_n "(cached) $ac_c" 1>&6 1395 1490 else 1396 1491 cat > conftest.$ac_ext <<EOF 1397 #line 1 398"configure"1492 #line 1493 "configure" 1398 1493 #include "confdefs.h" 1399 1494 #include <$ac_hdr> 1400 1495 EOF 1401 1496 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1402 { (eval echo configure:14 03: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1497 { (eval echo configure:1498: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1403 1498 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1404 1499 if test -z "$ac_err"; then … … 1429 1524 do 1430 1525 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1431 echo "configure:1 432: checking for $ac_func" >&51526 echo "configure:1527: checking for $ac_func" >&5 1432 1527 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1433 1528 echo $ac_n "(cached) $ac_c" 1>&6 1434 1529 else 1435 1530 cat > conftest.$ac_ext <<EOF 1436 #line 1 437"configure"1531 #line 1532 "configure" 1437 1532 #include "confdefs.h" 1438 1533 /* System header to define __stub macros and hopefully few prototypes, … … 1457 1552 ; return 0; } 1458 1553 EOF 1459 if { (eval echo configure:1 460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1554 if { (eval echo configure:1555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1460 1555 rm -rf conftest* 1461 1556 eval "ac_cv_func_$ac_func=yes" … … 1482 1577 1483 1578 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 1484 echo "configure:1 485: checking for working mmap" >&51579 echo "configure:1580: checking for working mmap" >&5 1485 1580 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 1486 1581 echo $ac_n "(cached) $ac_c" 1>&6 … … 1490 1585 else 1491 1586 cat > conftest.$ac_ext <<EOF 1492 #line 1 493"configure"1587 #line 1588 "configure" 1493 1588 #include "confdefs.h" 1494 1589 … … 1630 1725 1631 1726 EOF 1632 if { (eval echo configure:1 633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1727 if { (eval echo configure:1728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1633 1728 then 1634 1729 ac_cv_func_mmap_fixed_mapped=yes … … 1869 1964 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g 1870 1965 s%@MAINT@%$MAINT%g 1966 s%@EXEEXT@%$EXEEXT%g 1871 1967 s%@CC@%$CC%g 1872 1968 s%@CPP@%$CPP%g -
c/src/lib/libbsp/m68k/mvme162/tools/configure.in
r08b5f55 r29e68b75 11 11 AM_INIT_AUTOMAKE(rtems-lib-libbsp-m68k-mvme162-tools,$RTEMS_VERSION,no) 12 12 AM_MAINTAINER_MODE 13 AC_EXEEXT 13 14 14 15 AC_PROG_CC -
c/src/lib/libbsp/powerpc/psim/tools/Makefile.in
r08b5f55 r29e68b75 249 249 .PHONY: debug debug-am 250 250 251 debug_install-am:252 debug_install: debug_install-am253 .PHONY: debug_install debug_install-am254 255 251 profile-am: 256 252 profile: profile-am 257 253 .PHONY: profile profile-am 258 254 259 profile_install-am:260 profile_install: profile_install-am261 .PHONY: profile_install profile_install-am262 263 255 preinstall-am: 264 256 preinstall: preinstall-am 265 257 .PHONY: preinstall preinstall-am 266 258 267 clobber-am:268 clobber: clobber-am269 .PHONY: clobber clobber-am270 271 259 depend-am: 272 260 depend: depend-am -
c/src/lib/libbsp/sparc/erc32/tools/Makefile.in
r08b5f55 r29e68b75 251 251 .PHONY: debug debug-am 252 252 253 debug_install-am:254 debug_install: debug_install-am255 .PHONY: debug_install debug_install-am256 257 253 profile-am: 258 254 profile: profile-am 259 255 .PHONY: profile profile-am 260 256 261 profile_install-am:262 profile_install: profile_install-am263 .PHONY: profile_install profile_install-am264 265 257 preinstall-am: 266 258 preinstall: preinstall-am 267 259 .PHONY: preinstall preinstall-am 268 260 269 clobber-am:270 clobber: clobber-am271 .PHONY: clobber clobber-am272 273 261 depend-am: 274 262 depend: depend-am -
c/src/lib/libbsp/unix/posix/tools/Makefile.in
r08b5f55 r29e68b75 262 262 .PHONY: debug debug-am 263 263 264 debug_install-am:265 debug_install: debug_install-am266 .PHONY: debug_install debug_install-am267 268 264 profile-am: 269 265 profile: profile-am 270 266 .PHONY: profile profile-am 271 267 272 profile_install-am:273 profile_install: profile_install-am274 .PHONY: profile_install profile_install-am275 276 268 preinstall-am: 277 269 preinstall: preinstall-am 278 270 .PHONY: preinstall preinstall-am 279 271 280 clobber-am:281 clobber: clobber-am282 .PHONY: clobber clobber-am283 284 272 depend-am: 285 273 depend: depend-am -
c/src/make/Makefile.in
r08b5f55 r29e68b75 461 461 462 462 depend-recursive \ 463 clobber-recursive \464 463 preinstall-recursive \ 465 464 debug-recursive \ 466 debug_install-recursive \ 467 profile-recursive \ 468 profile_install-recursive: 465 profile-recursive: 469 466 @set fnord $(MAKEFLAGS); amf=$$2; \ 470 467 dot_seen=no; \ … … 488 485 .PHONY: debug-recursive 489 486 490 debug_install: debug_install-recursive491 .PHONY: debug_install-recursive492 493 487 profile: profile-recursive 494 488 .PHONY: profile-recursive 495 489 496 profile_install: profile_install-recursive497 .PHONY: profile-recursive498 499 490 preinstall: preinstall-recursive 500 491 .PHONY: preinstall-recursive 501 502 clobber: clobber-recursive503 .PHONY: clobber-recursive504 492 505 493 depend: depend-recursive … … 510 498 .PHONY: debug debug-am 511 499 512 debug_install-am:513 debug_install: debug_install-am514 .PHONY: debug_install debug_install-am515 516 500 profile-am: 517 501 profile: profile-am 518 502 .PHONY: profile profile-am 519 503 520 profile_install-am:521 profile_install: profile_install-am522 .PHONY: profile_install profile_install-am523 524 504 preinstall-am: 525 505 preinstall: preinstall-am 526 506 .PHONY: preinstall preinstall-am 527 507 528 clobber-am:529 clobber: clobber-am530 .PHONY: clobber clobber-am531 532 508 depend-am: 533 509 depend: depend-am -
c/src/make/README
r08b5f55 r29e68b75 117 117 debug and profile support. 118 118 119 Targets debug_install and profile_install are equivalent to 'make 120 install' except that debug (or profile) variants are built and 121 installed. 122 123 The targets debug, profile, debug_install, profile_install, etc., can be 119 The targets debug, profile, etc., can be 124 120 invoked recursively at the directory make level. So from the top of a 125 121 tree, one could install a debug version of everything under that point … … 127 123 128 124 $ cd src/lib 129 $ gmake debug_install 125 $ gmake debug 126 $ gmake install 130 127 131 128 When building a command that is linked with a generated library, the -
c/src/make/Templates/Makefile.in
r08b5f55 r29e68b75 258 258 .PHONY: debug debug-am 259 259 260 debug_install-am:261 debug_install: debug_install-am262 .PHONY: debug_install debug_install-am263 264 260 profile-am: 265 261 profile: profile-am 266 262 .PHONY: profile profile-am 267 263 268 profile_install-am:269 profile_install: profile_install-am270 .PHONY: profile_install profile_install-am271 272 264 preinstall-am: 273 265 preinstall: preinstall-am 274 266 .PHONY: preinstall preinstall-am 275 267 276 clobber-am:277 clobber: clobber-am278 .PHONY: clobber clobber-am279 280 268 depend-am: 281 269 depend: depend-am -
c/src/make/compilers/Makefile.in
r08b5f55 r29e68b75 265 265 .PHONY: debug debug-am 266 266 267 debug_install-am:268 debug_install: debug_install-am269 .PHONY: debug_install debug_install-am270 271 267 profile-am: 272 268 profile: profile-am 273 269 .PHONY: profile profile-am 274 270 275 profile_install-am:276 profile_install: profile_install-am277 .PHONY: profile_install profile_install-am278 279 271 preinstall-am: 280 272 preinstall: preinstall-am 281 273 .PHONY: preinstall preinstall-am 282 274 283 clobber-am:284 clobber: clobber-am285 .PHONY: clobber clobber-am286 287 275 depend-am: 288 276 depend: depend-am -
c/src/make/custom/Makefile.in
r08b5f55 r29e68b75 263 263 .PHONY: debug debug-am 264 264 265 debug_install-am:266 debug_install: debug_install-am267 .PHONY: debug_install debug_install-am268 269 265 profile-am: 270 266 profile: profile-am 271 267 .PHONY: profile profile-am 272 268 273 profile_install-am:274 profile_install: profile_install-am275 .PHONY: profile_install profile_install-am276 277 269 preinstall-am: 278 270 preinstall: preinstall-am 279 271 .PHONY: preinstall preinstall-am 280 272 281 clobber-am:282 clobber: clobber-am283 .PHONY: clobber clobber-am284 285 273 depend-am: 286 274 depend: depend-am -
c/src/make/directory.cfg
r08b5f55 r29e68b75 22 22 done && test -z "$$fail" 23 23 24 25 # mostlyclean-recursive maintainer-clean-recursive: 26 clean-recursive \ 27 distclean-recursive: 28 @set fnord $(MAKEFLAGS); amf=$$2; \ 29 dot_seen=no; \ 30 rev=''; list='$(SUB_DIRS)'; for subdir in $$list; do \ 31 rev="$$subdir $$rev"; \ 32 test "$$subdir" = "." && dot_seen=yes; \ 33 done; \ 34 test "$$dot_seen" = "no" && rev=". $$rev"; \ 35 target=`echo $@ | sed s/-recursive//`; \ 36 for subdir in $$rev; do \ 37 echo "Making $$target in $$subdir"; \ 38 if test "$$subdir" = "."; then \ 39 local_target="$$target-am"; \ 40 else \ 41 local_target="$$target"; \ 42 fi; \ 43 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 44 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ 45 done && test -z "$$fail" 46 47 clean-am: clean-generic 48 distclean-am: distclean-generic clean-am 49 24 50 preinstall: preinstall-recursive 25 51 .PHONY: preinstall preinstall-am preinstall-recursive 52 53 distclean: distclean-recursive 54 -$(RM) config.status 55 56 .PHONY: distclean distclean-am distclean-recursive 57 58 clean: clean-recursive 59 .PHONY: clean clean-am clean-recursive 60 -
c/src/make/main.cfg.in
r08b5f55 r29e68b75 58 58 # 59 59 60 RECURSE_TARGETS=all clean protos get clobberdepend install \60 RECURSE_TARGETS=all depend install \ 61 61 preinstall-recursive \ 62 $(TARGET_VARIANTS) $(TARGET_VARIANTS:%=%_install)62 $(TARGET_VARIANTS) 63 63 64 64 ${ARCH}: 65 65 test -d ${ARCH} || mkdir ${ARCH} 66 67 66 68 67 # general purpose forcing dependency; try to use .PHONY instead … … 71 70 FORCE: 72 71 73 .PHONY: $(RECURSE_TARGETS) 72 distclean-generic: 73 -$(RM) Makefile .#* $(CONFIG_CLEAN_FILES) 74 -$(RM) -r $(CLOBBER_ADDITIONS) 75 76 clean-generic: 77 -$(RM) a.out core mon.out gmon.out 78 -$(RM) -r $(CLEAN_ADDITIONS) 79 80 .PHONY: $(RECURSE_TARGETS) 81 .PHONY: clean-generic 82 .PHONY: distclean-generic -
c/src/tests/Makefile.in
r08b5f55 r29e68b75 47 47 preinstall: $(INSTALLDIRS) 48 48 49 CLOBBER_ADDITIONS += config.log config.cache 50 49 51 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 50 52 cd $(top_builddir) \ -
c/src/tests/tools/generic/Makefile.in
r08b5f55 r29e68b75 249 249 .PHONY: debug debug-am 250 250 251 debug_install-am:252 debug_install: debug_install-am253 .PHONY: debug_install debug_install-am254 255 251 profile-am: 256 252 profile: profile-am 257 253 .PHONY: profile profile-am 258 254 259 profile_install-am:260 profile_install: profile_install-am261 .PHONY: profile_install profile_install-am262 263 255 preinstall-am: 264 256 preinstall: preinstall-am 265 257 .PHONY: preinstall preinstall-am 266 258 267 clobber-am:268 clobber: clobber-am269 .PHONY: clobber clobber-am270 271 259 depend-am: 272 260 depend: depend-am -
doc/Makefile.in
r08b5f55 r29e68b75 196 196 .PHONY: debug debug-am 197 197 198 debug_install-am:199 debug_install: debug_install-am200 .PHONY: debug_install debug_install-am201 202 198 profile-am: 203 199 profile: profile-am 204 200 .PHONY: profile profile-am 205 201 206 profile_install-am:207 profile_install: profile_install-am208 .PHONY: profile_install profile_install-am209 210 202 preinstall-am: 211 203 preinstall: preinstall-am 212 204 .PHONY: preinstall preinstall-am 213 205 214 clobber-am:215 clobber: clobber-am216 .PHONY: clobber clobber-am217 218 206 depend-am: 219 207 depend: depend-am -
make/Makefile.in
r08b5f55 r29e68b75 329 329 330 330 depend-recursive \ 331 clobber-recursive \332 331 preinstall-recursive \ 333 332 debug-recursive \ 334 debug_install-recursive \ 335 profile-recursive \ 336 profile_install-recursive: 333 profile-recursive: 337 334 @set fnord $(MAKEFLAGS); amf=$$2; \ 338 335 dot_seen=no; \ … … 356 353 .PHONY: debug-recursive 357 354 358 debug_install: debug_install-recursive359 .PHONY: debug_install-recursive360 361 355 profile: profile-recursive 362 356 .PHONY: profile-recursive 363 357 364 profile_install: profile_install-recursive365 .PHONY: profile-recursive366 367 358 preinstall: preinstall-recursive 368 359 .PHONY: preinstall-recursive 369 370 clobber: clobber-recursive371 .PHONY: clobber-recursive372 360 373 361 depend: depend-recursive … … 378 366 .PHONY: debug debug-am 379 367 380 debug_install-am:381 debug_install: debug_install-am382 .PHONY: debug_install debug_install-am383 384 368 profile-am: 385 369 profile: profile-am 386 370 .PHONY: profile profile-am 387 371 388 profile_install-am:389 profile_install: profile_install-am390 .PHONY: profile_install profile_install-am391 392 372 preinstall-am: 393 373 preinstall: preinstall-am 394 374 .PHONY: preinstall preinstall-am 395 375 396 clobber-am:397 clobber: clobber-am398 .PHONY: clobber clobber-am399 400 376 depend-am: 401 377 depend: depend-am -
make/README
r08b5f55 r29e68b75 117 117 debug and profile support. 118 118 119 Targets debug_install and profile_install are equivalent to 'make 120 install' except that debug (or profile) variants are built and 121 installed. 122 123 The targets debug, profile, debug_install, profile_install, etc., can be 119 The targets debug, profile, etc., can be 124 120 invoked recursively at the directory make level. So from the top of a 125 121 tree, one could install a debug version of everything under that point … … 127 123 128 124 $ cd src/lib 129 $ gmake debug_install 125 $ gmake debug 126 $ gmake install 130 127 131 128 When building a command that is linked with a generated library, the -
make/Templates/Makefile.in
r08b5f55 r29e68b75 197 197 .PHONY: debug debug-am 198 198 199 debug_install-am:200 debug_install: debug_install-am201 .PHONY: debug_install debug_install-am202 203 199 profile-am: 204 200 profile: profile-am 205 201 .PHONY: profile profile-am 206 202 207 profile_install-am:208 profile_install: profile_install-am209 .PHONY: profile_install profile_install-am210 211 203 preinstall-am: 212 204 preinstall: preinstall-am 213 205 .PHONY: preinstall preinstall-am 214 206 215 clobber-am:216 clobber: clobber-am217 .PHONY: clobber clobber-am218 219 207 depend-am: 220 208 depend: depend-am -
make/compilers/Makefile.in
r08b5f55 r29e68b75 197 197 .PHONY: debug debug-am 198 198 199 debug_install-am:200 debug_install: debug_install-am201 .PHONY: debug_install debug_install-am202 203 199 profile-am: 204 200 profile: profile-am 205 201 .PHONY: profile profile-am 206 202 207 profile_install-am:208 profile_install: profile_install-am209 .PHONY: profile_install profile_install-am210 211 203 preinstall-am: 212 204 preinstall: preinstall-am 213 205 .PHONY: preinstall preinstall-am 214 206 215 clobber-am:216 clobber: clobber-am217 .PHONY: clobber clobber-am218 219 207 depend-am: 220 208 depend: depend-am -
make/custom/Makefile.in
r08b5f55 r29e68b75 225 225 .PHONY: debug debug-am 226 226 227 debug_install-am:228 debug_install: debug_install-am229 .PHONY: debug_install debug_install-am230 231 227 profile-am: 232 228 profile: profile-am 233 229 .PHONY: profile profile-am 234 230 235 profile_install-am:236 profile_install: profile_install-am237 .PHONY: profile_install profile_install-am238 239 231 preinstall-am: 240 232 preinstall: preinstall-am 241 233 .PHONY: preinstall preinstall-am 242 234 243 clobber-am:244 clobber: clobber-am245 .PHONY: clobber clobber-am246 247 235 depend-am: 248 236 depend: depend-am -
make/custom/ts_386ex.cfg
r08b5f55 r29e68b75 23 23 # -fomit-frame-pointer breaks debugging and C++ exceptions 24 24 CFLAGS_OPTIMIZE_V=-O4 25 26 # This target does support the TCP/IP stack so honour requests27 # to enable it.28 HAS_NETWORKING=yes29 25 30 26 # This BSP does not support librdbg -
make/directory.cfg
r08b5f55 r29e68b75 22 22 done && test -z "$$fail" 23 23 24 25 # mostlyclean-recursive maintainer-clean-recursive: 26 clean-recursive \ 27 distclean-recursive: 28 @set fnord $(MAKEFLAGS); amf=$$2; \ 29 dot_seen=no; \ 30 rev=''; list='$(SUB_DIRS)'; for subdir in $$list; do \ 31 rev="$$subdir $$rev"; \ 32 test "$$subdir" = "." && dot_seen=yes; \ 33 done; \ 34 test "$$dot_seen" = "no" && rev=". $$rev"; \ 35 target=`echo $@ | sed s/-recursive//`; \ 36 for subdir in $$rev; do \ 37 echo "Making $$target in $$subdir"; \ 38 if test "$$subdir" = "."; then \ 39 local_target="$$target-am"; \ 40 else \ 41 local_target="$$target"; \ 42 fi; \ 43 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 44 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ 45 done && test -z "$$fail" 46 47 clean-am: clean-generic 48 distclean-am: distclean-generic clean-am 49 24 50 preinstall: preinstall-recursive 25 51 .PHONY: preinstall preinstall-am preinstall-recursive 52 53 distclean: distclean-recursive 54 -$(RM) config.status 55 56 .PHONY: distclean distclean-am distclean-recursive 57 58 clean: clean-recursive 59 .PHONY: clean clean-am clean-recursive 60 -
make/leaf.cfg
r08b5f55 r29e68b75 56 56 # Builtin targets for compilation variants 57 57 # 58 debug debug_install:58 debug: 59 59 $(MAKE) -f $(MAKEFILE) MAKEFILE=$(MAKEFILE) "ARCH=${TARGET_ARCH}-debug" \ 60 60 "CFLAGS_DEBUG=$(CFLAGS_DEBUG_V)" \ … … 62 62 "LDFLAGS_DEBUG=$(LDFLAGS_DEBUG_V)" $(TARGET_VA) 63 63 64 profile profile_install:64 profile: 65 65 $(MAKE) -f $(MAKEFILE) \ 66 66 MAKEFILE=$(MAKEFILE) "ARCH=${TARGET_ARCH}-profile" \ … … 81 81 82 82 # 83 # TARGET_VA will convert $@ (expected to be 'debug' or 84 # 'debug_install' or 'profile' etc.) 83 # TARGET_VA will convert $@ (expected to be 'debug' or 'profile' etc.) 85 84 # into "" or "install" as appropriate. 86 85 # Used for variant recursion. … … 89 88 TARGET_debug_V = all 90 89 TARGET_profile_V = all 91 92 TARGET_debug_install_V = install93 TARGET_profile_install_V = install94 90 95 91 TARGET_VA = $(TARGET_$@_V) … … 108 104 LIBSUFFIX_VA = $(LIB_VARIANT).a 109 105 110 get: $(SRCS) $(GET_ADDITIONS)111 112 106 # 113 # Builtin clean and clobberrules107 # Builtin clean and distclean rules 114 108 # Individual makefiles can add stuff via CLEAN_ADDITIONS and CLOBBER_ADDITIONS 115 109 # If desperate to save something, they can override CLEAN_OS, CLEAN_CC, etc. 116 110 # 117 111 118 clean :119 $(RM) -r a.out core mon.out gmon.out $(CLEAN_OS) $(CLEAN_CC)120 $(RM) -r $(CLEAN_PROTO) $(CLEAN_DEPEND) a.out121 $(RM) -r $(VARIANTS) $(CLEAN_ADDITIONS)$(IMPORT_SOURCE)112 clean-am: clean-generic 113 -$(RM) -r $(CLEAN_OS) $(CLEAN_CC) $(CLEAN_DEPEND) 114 -$(RM) -r $(VARIANTS) 115 # -$(RM) -r $(IMPORT_SOURCE) 122 116 123 clobber: clean 124 -$(RCS_CLEAN) 125 $(RM) .#* 126 $(RM) -r $(CLOBBER_OS) $(CLOBBER_CC) $(CLOBBER_DEPEND) 127 $(RM) -r $(CLOBBER_ADDITIONS) a.out 117 distclean-am: distclean-generic clean-am 118 -$(RM) -r $(CLOBBER_OS) $(CLOBBER_CC) $(CLOBBER_DEPEND) 128 119 129 120 preinstall-am: 130 121 preinstall: preinstall-am 122 123 distclean: distclean-am 124 -$(RM) config.status 125 clean: clean-am 126 127 .PHONY: distclean distclean-am 128 .PHONY: clean clean-am -
make/main.cfg
r08b5f55 r29e68b75 58 58 # 59 59 60 RECURSE_TARGETS=all clean protos get clobberdepend install \60 RECURSE_TARGETS=all depend install \ 61 61 preinstall-recursive \ 62 $(TARGET_VARIANTS) $(TARGET_VARIANTS:%=%_install)62 $(TARGET_VARIANTS) 63 63 64 64 ${ARCH}: 65 65 test -d ${ARCH} || mkdir ${ARCH} 66 67 66 68 67 # general purpose forcing dependency; try to use .PHONY instead … … 71 70 FORCE: 72 71 73 .PHONY: $(RECURSE_TARGETS) 72 distclean-generic: 73 -$(RM) Makefile .#* $(CONFIG_CLEAN_FILES) 74 -$(RM) -r $(CLOBBER_ADDITIONS) 75 76 clean-generic: 77 -$(RM) a.out core mon.out gmon.out 78 -$(RM) -r $(CLEAN_ADDITIONS) 79 80 .PHONY: $(RECURSE_TARGETS) 81 .PHONY: clean-generic 82 .PHONY: distclean-generic -
tools/Makefile.in
r08b5f55 r29e68b75 294 294 295 295 depend-recursive \ 296 clobber-recursive \297 296 preinstall-recursive \ 298 297 debug-recursive \ 299 debug_install-recursive \ 300 profile-recursive \ 301 profile_install-recursive: 298 profile-recursive: 302 299 @set fnord $(MAKEFLAGS); amf=$$2; \ 303 300 dot_seen=no; \ … … 321 318 .PHONY: debug-recursive 322 319 323 debug_install: debug_install-recursive324 .PHONY: debug_install-recursive325 326 320 profile: profile-recursive 327 321 .PHONY: profile-recursive 328 322 329 profile_install: profile_install-recursive330 .PHONY: profile-recursive331 332 323 preinstall: preinstall-recursive 333 324 .PHONY: preinstall-recursive 334 335 clobber: clobber-recursive336 .PHONY: clobber-recursive337 325 338 326 depend: depend-recursive … … 343 331 .PHONY: debug debug-am 344 332 345 debug_install-am:346 debug_install: debug_install-am347 .PHONY: debug_install debug_install-am348 349 333 profile-am: 350 334 profile: profile-am 351 335 .PHONY: profile profile-am 352 336 353 profile_install-am:354 profile_install: profile_install-am355 .PHONY: profile_install profile_install-am356 357 337 preinstall-am: 358 338 preinstall: preinstall-am 359 339 .PHONY: preinstall preinstall-am 360 340 361 clobber-am:362 clobber: clobber-am363 .PHONY: clobber clobber-am364 365 341 depend-am: 366 342 depend: depend-am -
tools/build/Makefile.am
r08b5f55 r29e68b75 6 6 ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal 7 7 8 bin_PROGRAMS=cklength eolstrip packhex unhex 8 bin_PROGRAMS = cklength eolstrip packhex unhex 9 10 noinst_PROGRAMS = binpatch 9 11 10 12 cklength_SOURCES = cklength.c … … 12 14 packhex_SOURCES = packhex.c 13 15 unhex_SOURCES = unhex.c 16 binpatch_SOURCES = binpatch.c 14 17 15 18 bin_SCRIPTS=\ -
tools/build/Makefile.in
r08b5f55 r29e68b75 77 77 ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal 78 78 79 bin_PROGRAMS = cklength eolstrip packhex unhex 79 bin_PROGRAMS = cklength eolstrip packhex unhex 80 81 noinst_PROGRAMS = binpatch 80 82 81 83 cklength_SOURCES = cklength.c … … 83 85 packhex_SOURCES = packhex.c 84 86 unhex_SOURCES = unhex.c 87 binpatch_SOURCES = binpatch.c 85 88 86 89 bin_SCRIPTS = install-if-change lock-directory unlock-directory rcs-clean … … 95 98 bin_PROGRAMS = cklength$(EXEEXT) eolstrip$(EXEEXT) packhex$(EXEEXT) \ 96 99 unhex$(EXEEXT) 97 PROGRAMS = $(bin_PROGRAMS) 100 noinst_PROGRAMS = binpatch$(EXEEXT) 101 PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS) 98 102 99 103 … … 118 122 unhex_DEPENDENCIES = 119 123 unhex_LDFLAGS = 124 binpatch_OBJECTS = binpatch.o 125 binpatch_LDADD = $(LDADD) 126 binpatch_DEPENDENCIES = 127 binpatch_LDFLAGS = 120 128 SCRIPTS = $(bin_SCRIPTS) $(noinst_SCRIPTS) 121 129 … … 133 141 TAR = tar 134 142 GZIP_ENV = --best 135 DEP_FILES = .deps/ cklength.P .deps/eolstrip.P .deps/packhex.P \136 .deps/ unhex.P137 SOURCES = $(cklength_SOURCES) $(eolstrip_SOURCES) $(packhex_SOURCES) $(unhex_SOURCES) 138 OBJECTS = $(cklength_OBJECTS) $(eolstrip_OBJECTS) $(packhex_OBJECTS) $(unhex_OBJECTS) 143 DEP_FILES = .deps/binpatch.P .deps/cklength.P .deps/eolstrip.P \ 144 .deps/packhex.P .deps/unhex.P 145 SOURCES = $(cklength_SOURCES) $(eolstrip_SOURCES) $(packhex_SOURCES) $(unhex_SOURCES) $(binpatch_SOURCES) 146 OBJECTS = $(cklength_OBJECTS) $(eolstrip_OBJECTS) $(packhex_OBJECTS) $(unhex_OBJECTS) $(binpatch_OBJECTS) 139 147 140 148 all: all-redirect … … 217 225 done 218 226 227 mostlyclean-noinstPROGRAMS: 228 229 clean-noinstPROGRAMS: 230 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) 231 232 distclean-noinstPROGRAMS: 233 234 maintainer-clean-noinstPROGRAMS: 235 219 236 .s.o: 220 237 $(COMPILE) -c $< … … 248 265 @rm -f unhex$(EXEEXT) 249 266 $(LINK) $(unhex_LDFLAGS) $(unhex_OBJECTS) $(unhex_LDADD) $(LIBS) 267 268 binpatch$(EXEEXT): $(binpatch_OBJECTS) $(binpatch_DEPENDENCIES) 269 @rm -f binpatch$(EXEEXT) 270 $(LINK) $(binpatch_LDFLAGS) $(binpatch_OBJECTS) $(binpatch_LDADD) $(LIBS) 250 271 251 272 install-binSCRIPTS: $(bin_SCRIPTS) … … 422 443 maintainer-clean-generic: 423 444 mostlyclean-am: mostlyclean-hdr mostlyclean-binPROGRAMS \ 424 mostlyclean- compile mostlyclean-tags mostlyclean-depend\425 mostlyclean- generic445 mostlyclean-noinstPROGRAMS mostlyclean-compile \ 446 mostlyclean-tags mostlyclean-depend mostlyclean-generic 426 447 427 448 mostlyclean: mostlyclean-am 428 449 429 clean-am: clean-hdr clean-binPROGRAMS clean-compile clean-tags \ 430 clean-depend clean-generic mostlyclean-am 450 clean-am: clean-hdr clean-binPROGRAMS clean-noinstPROGRAMS \ 451 clean-compile clean-tags clean-depend clean-generic \ 452 mostlyclean-am 431 453 432 454 clean: clean-am 433 455 434 distclean-am: distclean-hdr distclean-binPROGRAMS distclean-compile \ 456 distclean-am: distclean-hdr distclean-binPROGRAMS \ 457 distclean-noinstPROGRAMS distclean-compile \ 435 458 distclean-tags distclean-depend distclean-generic \ 436 459 clean-am … … 440 463 441 464 maintainer-clean-am: maintainer-clean-hdr maintainer-clean-binPROGRAMS \ 465 maintainer-clean-noinstPROGRAMS \ 442 466 maintainer-clean-compile maintainer-clean-tags \ 443 467 maintainer-clean-depend maintainer-clean-generic \ … … 452 476 mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ 453 477 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ 478 mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \ 479 clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \ 454 480 mostlyclean-compile distclean-compile clean-compile \ 455 481 maintainer-clean-compile uninstall-binSCRIPTS install-binSCRIPTS tags \ … … 468 494 .PHONY: debug debug-am 469 495 470 debug_install-am:471 debug_install: debug_install-am472 .PHONY: debug_install debug_install-am473 474 496 profile-am: 475 497 profile: profile-am 476 498 .PHONY: profile profile-am 477 499 478 profile_install-am:479 profile_install: profile_install-am480 .PHONY: profile_install profile_install-am481 482 500 preinstall-am: 483 501 preinstall: preinstall-am 484 502 .PHONY: preinstall preinstall-am 485 503 486 clobber-am:487 clobber: clobber-am488 .PHONY: clobber clobber-am489 490 504 depend-am: 491 505 depend: depend-am -
tools/build/binpatch.c
r08b5f55 r29e68b75 155 155 return 0; 156 156 } 157 158 159 160 161 162 163 164 165 166 167 168 -
tools/build/config.h.in
r08b5f55 r29e68b75 3 3 /* Define if you have the strerror function. */ 4 4 #undef HAVE_STRERROR 5 6 /* Define if you have the strtol function. */ 7 #undef HAVE_STRTOL -
tools/build/configure
r08b5f55 r29e68b75 1167 1167 fi 1168 1168 1169 for ac_func in strerror 1169 for ac_func in strerror strtol 1170 1170 do 1171 1171 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -
tools/build/configure.in
r08b5f55 r29e68b75 15 15 16 16 AC_PROG_CC 17 AC_CHECK_FUNCS(strerror )17 AC_CHECK_FUNCS(strerror strtol) 18 18 19 19 RTEMS_PATH_KSH -
tools/cpu/Makefile.in
r08b5f55 r29e68b75 344 344 345 345 depend-recursive \ 346 clobber-recursive \347 346 preinstall-recursive \ 348 347 debug-recursive \ 349 debug_install-recursive \ 350 profile-recursive \ 351 profile_install-recursive: 348 profile-recursive: 352 349 @set fnord $(MAKEFLAGS); amf=$$2; \ 353 350 dot_seen=no; \ … … 371 368 .PHONY: debug-recursive 372 369 373 debug_install: debug_install-recursive374 .PHONY: debug_install-recursive375 376 370 profile: profile-recursive 377 371 .PHONY: profile-recursive 378 372 379 profile_install: profile_install-recursive380 .PHONY: profile-recursive381 382 373 preinstall: preinstall-recursive 383 374 .PHONY: preinstall-recursive 384 385 clobber: clobber-recursive386 .PHONY: clobber-recursive387 375 388 376 depend: depend-recursive … … 393 381 .PHONY: debug debug-am 394 382 395 debug_install-am:396 debug_install: debug_install-am397 .PHONY: debug_install debug_install-am398 399 383 profile-am: 400 384 profile: profile-am 401 385 .PHONY: profile profile-am 402 386 403 profile_install-am:404 profile_install: profile_install-am405 .PHONY: profile_install profile_install-am406 407 387 preinstall-am: 408 388 preinstall: preinstall-am 409 389 .PHONY: preinstall preinstall-am 410 390 411 clobber-am:412 clobber: clobber-am413 .PHONY: clobber clobber-am414 415 391 depend-am: 416 392 depend: depend-am -
tools/cpu/generic/Makefile.in
r08b5f55 r29e68b75 247 247 .PHONY: debug debug-am 248 248 249 debug_install-am:250 debug_install: debug_install-am251 .PHONY: debug_install debug_install-am252 253 249 profile-am: 254 250 profile: profile-am 255 251 .PHONY: profile profile-am 256 252 257 profile_install-am:258 profile_install: profile_install-am259 .PHONY: profile_install profile_install-am260 261 253 preinstall-am: 262 254 preinstall: preinstall-am 263 255 .PHONY: preinstall preinstall-am 264 256 265 clobber-am:266 clobber: clobber-am267 .PHONY: clobber clobber-am268 269 257 depend-am: 270 258 depend: depend-am -
tools/cpu/hppa1.1/configure
r08b5f55 r29e68b75 938 938 939 939 940 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 941 echo "configure:942: checking for Cygwin environment" >&5 942 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 943 echo $ac_n "(cached) $ac_c" 1>&6 944 else 945 cat > conftest.$ac_ext <<EOF 946 #line 947 "configure" 947 #include "confdefs.h" 948 949 int main() { 950 951 #ifndef __CYGWIN__ 952 #define __CYGWIN__ __CYGWIN32__ 953 #endif 954 return __CYGWIN__; 955 ; return 0; } 956 EOF 957 if { (eval echo configure:958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 958 rm -rf conftest* 959 ac_cv_cygwin=yes 960 else 961 echo "configure: failed program was:" >&5 962 cat conftest.$ac_ext >&5 963 rm -rf conftest* 964 ac_cv_cygwin=no 965 fi 966 rm -f conftest* 967 rm -f conftest* 968 fi 969 970 echo "$ac_t""$ac_cv_cygwin" 1>&6 971 CYGWIN= 972 test "$ac_cv_cygwin" = yes && CYGWIN=yes 973 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 974 echo "configure:975: checking for mingw32 environment" >&5 975 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 976 echo $ac_n "(cached) $ac_c" 1>&6 977 else 978 cat > conftest.$ac_ext <<EOF 979 #line 980 "configure" 980 #include "confdefs.h" 981 982 int main() { 983 return __MINGW32__; 984 ; return 0; } 985 EOF 986 if { (eval echo configure:987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 987 rm -rf conftest* 988 ac_cv_mingw32=yes 989 else 990 echo "configure: failed program was:" >&5 991 cat conftest.$ac_ext >&5 992 rm -rf conftest* 993 ac_cv_mingw32=no 994 fi 995 rm -f conftest* 996 rm -f conftest* 997 fi 998 999 echo "$ac_t""$ac_cv_mingw32" 1>&6 1000 MINGW32= 1001 test "$ac_cv_mingw32" = yes && MINGW32=yes 1002 1003 1004 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 1005 echo "configure:1006: checking for executable suffix" >&5 1006 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 1007 echo $ac_n "(cached) $ac_c" 1>&6 1008 else 1009 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then 1010 ac_cv_exeext=.exe 1011 else 1012 rm -f conftest* 1013 echo 'int main () { return 0; }' > conftest.$ac_ext 1014 ac_cv_exeext= 1015 if { (eval echo configure:1016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1016 for file in conftest.*; do 1017 case $file in 1018 *.c | *.o | *.obj) ;; 1019 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; 1020 esac 1021 done 1022 else 1023 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } 1024 fi 1025 rm -f conftest* 1026 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no 1027 fi 1028 fi 1029 1030 EXEEXT="" 1031 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} 1032 echo "$ac_t""${ac_cv_exeext}" 1>&6 1033 ac_exeext=$EXEEXT 1034 940 1035 941 1036 # Extract the first word of "gcc", so it can be a program name with args. 942 1037 set dummy gcc; ac_word=$2 943 1038 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 944 echo "configure: 945: checking for $ac_word" >&51039 echo "configure:1040: checking for $ac_word" >&5 945 1040 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 946 1041 echo $ac_n "(cached) $ac_c" 1>&6 … … 972 1067 set dummy cc; ac_word=$2 973 1068 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 974 echo "configure: 975: checking for $ac_word" >&51069 echo "configure:1070: checking for $ac_word" >&5 975 1070 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 976 1071 echo $ac_n "(cached) $ac_c" 1>&6 … … 1023 1118 set dummy cl; ac_word=$2 1024 1119 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1025 echo "configure:1 026: checking for $ac_word" >&51120 echo "configure:1121: checking for $ac_word" >&5 1026 1121 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1027 1122 echo $ac_n "(cached) $ac_c" 1>&6 … … 1055 1150 1056 1151 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1057 echo "configure:1 058: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&51152 echo "configure:1153: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1058 1153 1059 1154 ac_ext=c … … 1066 1161 cat > conftest.$ac_ext << EOF 1067 1162 1068 #line 1 069"configure"1163 #line 1164 "configure" 1069 1164 #include "confdefs.h" 1070 1165 1071 1166 main(){return(0);} 1072 1167 EOF 1073 if { (eval echo configure:1 074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1168 if { (eval echo configure:1169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1074 1169 ac_cv_prog_cc_works=yes 1075 1170 # If we can't run a trivial program, we are probably using a cross compiler. … … 1097 1192 fi 1098 1193 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1099 echo "configure:11 00: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&51194 echo "configure:1195: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1100 1195 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1101 1196 cross_compiling=$ac_cv_prog_cc_cross 1102 1197 1103 1198 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1104 echo "configure:1 105: checking whether we are using GNU C" >&51199 echo "configure:1200: checking whether we are using GNU C" >&5 1105 1200 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1106 1201 echo $ac_n "(cached) $ac_c" 1>&6 … … 1111 1206 #endif 1112 1207 EOF 1113 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1 114: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1208 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1114 1209 ac_cv_prog_gcc=yes 1115 1210 else … … 1130 1225 CFLAGS= 1131 1226 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1132 echo "configure:1 133: checking whether ${CC-cc} accepts -g" >&51227 echo "configure:1228: checking whether ${CC-cc} accepts -g" >&5 1133 1228 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1134 1229 echo $ac_n "(cached) $ac_c" 1>&6 … … 1378 1473 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g 1379 1474 s%@MAINT@%$MAINT%g 1475 s%@EXEEXT@%$EXEEXT%g 1380 1476 s%@CC@%$CC%g 1381 1477 s%@PROJECT_ROOT@%$PROJECT_ROOT%g -
tools/cpu/hppa1.1/configure.in
r08b5f55 r29e68b75 11 11 AM_INIT_AUTOMAKE(rtems-cpu-tools-hppa,$RTEMS_VERSION,no) 12 12 AM_MAINTAINER_MODE 13 AC_EXEEXT 13 14 14 15 AC_PROG_CC -
tools/cpu/sh/Makefile.in
r08b5f55 r29e68b75 70 70 target_triplet = @target@ 71 71 CC = @CC@ 72 EXEEXT = @EXEEXT@ 72 73 INSTALL_CHANGE = @INSTALL_CHANGE@ 73 74 MAINT = @MAINT@ … … 97 98 mkinstalldirs = $(SHELL) $(top_srcdir)/../../../mkinstalldirs 98 99 CONFIG_CLEAN_FILES = 100 noinst_PROGRAMS = shgen$(EXEEXT) 99 101 PROGRAMS = $(noinst_PROGRAMS) 100 102 … … 167 169 maintainer-clean-compile: 168 170 169 shgen : $(shgen_OBJECTS) $(shgen_DEPENDENCIES)170 @rm -f shgen 171 shgen$(EXEEXT): $(shgen_OBJECTS) $(shgen_DEPENDENCIES) 172 @rm -f shgen$(EXEEXT) 171 173 $(LINK) $(shgen_LDFLAGS) $(shgen_OBJECTS) $(shgen_LDADD) $(LIBS) 172 174 … … 363 365 .PHONY: debug debug-am 364 366 365 debug_install-am:366 debug_install: debug_install-am367 .PHONY: debug_install debug_install-am368 369 367 profile-am: 370 368 profile: profile-am 371 369 .PHONY: profile profile-am 372 370 373 profile_install-am:374 profile_install: profile_install-am375 .PHONY: profile_install profile_install-am376 377 371 preinstall-am: 378 372 preinstall: preinstall-am 379 373 .PHONY: preinstall preinstall-am 380 374 381 clobber-am:382 clobber: clobber-am383 .PHONY: clobber clobber-am384 385 375 depend-am: 386 376 depend: depend-am -
tools/cpu/sh/configure
r08b5f55 r29e68b75 938 938 939 939 940 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 941 echo "configure:942: checking for Cygwin environment" >&5 942 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 943 echo $ac_n "(cached) $ac_c" 1>&6 944 else 945 cat > conftest.$ac_ext <<EOF 946 #line 947 "configure" 947 #include "confdefs.h" 948 949 int main() { 950 951 #ifndef __CYGWIN__ 952 #define __CYGWIN__ __CYGWIN32__ 953 #endif 954 return __CYGWIN__; 955 ; return 0; } 956 EOF 957 if { (eval echo configure:958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 958 rm -rf conftest* 959 ac_cv_cygwin=yes 960 else 961 echo "configure: failed program was:" >&5 962 cat conftest.$ac_ext >&5 963 rm -rf conftest* 964 ac_cv_cygwin=no 965 fi 966 rm -f conftest* 967 rm -f conftest* 968 fi 969 970 echo "$ac_t""$ac_cv_cygwin" 1>&6 971 CYGWIN= 972 test "$ac_cv_cygwin" = yes && CYGWIN=yes 973 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 974 echo "configure:975: checking for mingw32 environment" >&5 975 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 976 echo $ac_n "(cached) $ac_c" 1>&6 977 else 978 cat > conftest.$ac_ext <<EOF 979 #line 980 "configure" 980 #include "confdefs.h" 981 982 int main() { 983 return __MINGW32__; 984 ; return 0; } 985 EOF 986 if { (eval echo configure:987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 987 rm -rf conftest* 988 ac_cv_mingw32=yes 989 else 990 echo "configure: failed program was:" >&5 991 cat conftest.$ac_ext >&5 992 rm -rf conftest* 993 ac_cv_mingw32=no 994 fi 995 rm -f conftest* 996 rm -f conftest* 997 fi 998 999 echo "$ac_t""$ac_cv_mingw32" 1>&6 1000 MINGW32= 1001 test "$ac_cv_mingw32" = yes && MINGW32=yes 1002 1003 1004 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 1005 echo "configure:1006: checking for executable suffix" >&5 1006 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 1007 echo $ac_n "(cached) $ac_c" 1>&6 1008 else 1009 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then 1010 ac_cv_exeext=.exe 1011 else 1012 rm -f conftest* 1013 echo 'int main () { return 0; }' > conftest.$ac_ext 1014 ac_cv_exeext= 1015 if { (eval echo configure:1016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1016 for file in conftest.*; do 1017 case $file in 1018 *.c | *.o | *.obj) ;; 1019 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; 1020 esac 1021 done 1022 else 1023 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } 1024 fi 1025 rm -f conftest* 1026 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no 1027 fi 1028 fi 1029 1030 EXEEXT="" 1031 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} 1032 echo "$ac_t""${ac_cv_exeext}" 1>&6 1033 ac_exeext=$EXEEXT 1034 940 1035 941 1036 # Extract the first word of "gcc", so it can be a program name with args. 942 1037 set dummy gcc; ac_word=$2 943 1038 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 944 echo "configure: 945: checking for $ac_word" >&51039 echo "configure:1040: checking for $ac_word" >&5 945 1040 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 946 1041 echo $ac_n "(cached) $ac_c" 1>&6 … … 972 1067 set dummy cc; ac_word=$2 973 1068 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 974 echo "configure: 975: checking for $ac_word" >&51069 echo "configure:1070: checking for $ac_word" >&5 975 1070 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 976 1071 echo $ac_n "(cached) $ac_c" 1>&6 … … 1023 1118 set dummy cl; ac_word=$2 1024 1119 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1025 echo "configure:1 026: checking for $ac_word" >&51120 echo "configure:1121: checking for $ac_word" >&5 1026 1121 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1027 1122 echo $ac_n "(cached) $ac_c" 1>&6 … … 1055 1150 1056 1151 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1057 echo "configure:1 058: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&51152 echo "configure:1153: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1058 1153 1059 1154 ac_ext=c … … 1066 1161 cat > conftest.$ac_ext << EOF 1067 1162 1068 #line 1 069"configure"1163 #line 1164 "configure" 1069 1164 #include "confdefs.h" 1070 1165 1071 1166 main(){return(0);} 1072 1167 EOF 1073 if { (eval echo configure:1 074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1168 if { (eval echo configure:1169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1074 1169 ac_cv_prog_cc_works=yes 1075 1170 # If we can't run a trivial program, we are probably using a cross compiler. … … 1097 1192 fi 1098 1193 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1099 echo "configure:11 00: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&51194 echo "configure:1195: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1100 1195 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1101 1196 cross_compiling=$ac_cv_prog_cc_cross 1102 1197 1103 1198 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1104 echo "configure:1 105: checking whether we are using GNU C" >&51199 echo "configure:1200: checking whether we are using GNU C" >&5 1105 1200 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1106 1201 echo $ac_n "(cached) $ac_c" 1>&6 … … 1111 1206 #endif 1112 1207 EOF 1113 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1 114: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1208 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1114 1209 ac_cv_prog_gcc=yes 1115 1210 else … … 1130 1225 CFLAGS= 1131 1226 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1132 echo "configure:1 133: checking whether ${CC-cc} accepts -g" >&51227 echo "configure:1228: checking whether ${CC-cc} accepts -g" >&5 1133 1228 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1134 1229 echo $ac_n "(cached) $ac_c" 1>&6 … … 1162 1257 1163 1258 echo $ac_n "checking for fabs in -lm""... $ac_c" 1>&6 1164 echo "configure:1 165: checking for fabs in -lm" >&51259 echo "configure:1260: checking for fabs in -lm" >&5 1165 1260 ac_lib_var=`echo m'_'fabs | sed 'y%./+-%__p_%'` 1166 1261 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1170 1265 LIBS="-lm $LIBS" 1171 1266 cat > conftest.$ac_ext <<EOF 1172 #line 1 173"configure"1267 #line 1268 "configure" 1173 1268 #include "confdefs.h" 1174 1269 /* Override any gcc2 internal prototype to avoid an error. */ … … 1181 1276 ; return 0; } 1182 1277 EOF 1183 if { (eval echo configure:1 184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1278 if { (eval echo configure:1279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1184 1279 rm -rf conftest* 1185 1280 eval "ac_cv_lib_$ac_lib_var=yes" … … 1425 1520 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g 1426 1521 s%@MAINT@%$MAINT%g 1522 s%@EXEEXT@%$EXEEXT%g 1427 1523 s%@CC@%$CC%g 1428 1524 s%@PROJECT_ROOT@%$PROJECT_ROOT%g -
tools/cpu/sh/configure.in
r08b5f55 r29e68b75 11 11 AM_INIT_AUTOMAKE(rtems-cpu-tools-sh,$RTEMS_VERSION,no) 12 12 AM_MAINTAINER_MODE 13 AC_EXEEXT 13 14 14 15 AC_PROG_CC -
tools/cpu/unix/Makefile.in
r08b5f55 r29e68b75 70 70 target_triplet = @target@ 71 71 CC = @CC@ 72 EXEEXT = @EXEEXT@ 72 73 INSTALL_CHANGE = @INSTALL_CHANGE@ 73 74 MAINT = @MAINT@ … … 96 97 mkinstalldirs = $(SHELL) $(top_srcdir)/../../../mkinstalldirs 97 98 CONFIG_CLEAN_FILES = 99 noinst_PROGRAMS = gensize$(EXEEXT) 98 100 PROGRAMS = $(noinst_PROGRAMS) 99 101 … … 165 167 maintainer-clean-compile: 166 168 167 gensize : $(gensize_OBJECTS) $(gensize_DEPENDENCIES)168 @rm -f gensize 169 gensize$(EXEEXT): $(gensize_OBJECTS) $(gensize_DEPENDENCIES) 170 @rm -f gensize$(EXEEXT) 169 171 $(LINK) $(gensize_LDFLAGS) $(gensize_OBJECTS) $(gensize_LDADD) $(LIBS) 170 172 … … 361 363 .PHONY: debug debug-am 362 364 363 debug_install-am:364 debug_install: debug_install-am365 .PHONY: debug_install debug_install-am366 367 365 profile-am: 368 366 profile: profile-am 369 367 .PHONY: profile profile-am 370 368 371 profile_install-am:372 profile_install: profile_install-am373 .PHONY: profile_install profile_install-am374 375 369 preinstall-am: 376 370 preinstall: preinstall-am 377 371 .PHONY: preinstall preinstall-am 378 372 379 clobber-am:380 clobber: clobber-am381 .PHONY: clobber clobber-am382 383 373 depend-am: 384 374 depend: depend-am -
tools/cpu/unix/configure
r08b5f55 r29e68b75 938 938 939 939 940 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 941 echo "configure:942: checking for Cygwin environment" >&5 942 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 943 echo $ac_n "(cached) $ac_c" 1>&6 944 else 945 cat > conftest.$ac_ext <<EOF 946 #line 947 "configure" 947 #include "confdefs.h" 948 949 int main() { 950 951 #ifndef __CYGWIN__ 952 #define __CYGWIN__ __CYGWIN32__ 953 #endif 954 return __CYGWIN__; 955 ; return 0; } 956 EOF 957 if { (eval echo configure:958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 958 rm -rf conftest* 959 ac_cv_cygwin=yes 960 else 961 echo "configure: failed program was:" >&5 962 cat conftest.$ac_ext >&5 963 rm -rf conftest* 964 ac_cv_cygwin=no 965 fi 966 rm -f conftest* 967 rm -f conftest* 968 fi 969 970 echo "$ac_t""$ac_cv_cygwin" 1>&6 971 CYGWIN= 972 test "$ac_cv_cygwin" = yes && CYGWIN=yes 973 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 974 echo "configure:975: checking for mingw32 environment" >&5 975 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 976 echo $ac_n "(cached) $ac_c" 1>&6 977 else 978 cat > conftest.$ac_ext <<EOF 979 #line 980 "configure" 980 #include "confdefs.h" 981 982 int main() { 983 return __MINGW32__; 984 ; return 0; } 985 EOF 986 if { (eval echo configure:987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 987 rm -rf conftest* 988 ac_cv_mingw32=yes 989 else 990 echo "configure: failed program was:" >&5 991 cat conftest.$ac_ext >&5 992 rm -rf conftest* 993 ac_cv_mingw32=no 994 fi 995 rm -f conftest* 996 rm -f conftest* 997 fi 998 999 echo "$ac_t""$ac_cv_mingw32" 1>&6 1000 MINGW32= 1001 test "$ac_cv_mingw32" = yes && MINGW32=yes 1002 1003 1004 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 1005 echo "configure:1006: checking for executable suffix" >&5 1006 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 1007 echo $ac_n "(cached) $ac_c" 1>&6 1008 else 1009 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then 1010 ac_cv_exeext=.exe 1011 else 1012 rm -f conftest* 1013 echo 'int main () { return 0; }' > conftest.$ac_ext 1014 ac_cv_exeext= 1015 if { (eval echo configure:1016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1016 for file in conftest.*; do 1017 case $file in 1018 *.c | *.o | *.obj) ;; 1019 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; 1020 esac 1021 done 1022 else 1023 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } 1024 fi 1025 rm -f conftest* 1026 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no 1027 fi 1028 fi 1029 1030 EXEEXT="" 1031 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} 1032 echo "$ac_t""${ac_cv_exeext}" 1>&6 1033 ac_exeext=$EXEEXT 1034 940 1035 941 1036 # Extract the first word of "gcc", so it can be a program name with args. 942 1037 set dummy gcc; ac_word=$2 943 1038 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 944 echo "configure: 945: checking for $ac_word" >&51039 echo "configure:1040: checking for $ac_word" >&5 945 1040 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 946 1041 echo $ac_n "(cached) $ac_c" 1>&6 … … 972 1067 set dummy cc; ac_word=$2 973 1068 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 974 echo "configure: 975: checking for $ac_word" >&51069 echo "configure:1070: checking for $ac_word" >&5 975 1070 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 976 1071 echo $ac_n "(cached) $ac_c" 1>&6 … … 1023 1118 set dummy cl; ac_word=$2 1024 1119 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1025 echo "configure:1 026: checking for $ac_word" >&51120 echo "configure:1121: checking for $ac_word" >&5 1026 1121 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1027 1122 echo $ac_n "(cached) $ac_c" 1>&6 … … 1055 1150 1056 1151 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1057 echo "configure:1 058: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&51152 echo "configure:1153: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1058 1153 1059 1154 ac_ext=c … … 1066 1161 cat > conftest.$ac_ext << EOF 1067 1162 1068 #line 1 069"configure"1163 #line 1164 "configure" 1069 1164 #include "confdefs.h" 1070 1165 1071 1166 main(){return(0);} 1072 1167 EOF 1073 if { (eval echo configure:1 074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1168 if { (eval echo configure:1169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1074 1169 ac_cv_prog_cc_works=yes 1075 1170 # If we can't run a trivial program, we are probably using a cross compiler. … … 1097 1192 fi 1098 1193 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1099 echo "configure:11 00: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&51194 echo "configure:1195: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1100 1195 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1101 1196 cross_compiling=$ac_cv_prog_cc_cross 1102 1197 1103 1198 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1104 echo "configure:1 105: checking whether we are using GNU C" >&51199 echo "configure:1200: checking whether we are using GNU C" >&5 1105 1200 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1106 1201 echo $ac_n "(cached) $ac_c" 1>&6 … … 1111 1206 #endif 1112 1207 EOF 1113 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1 114: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1208 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1114 1209 ac_cv_prog_gcc=yes 1115 1210 else … … 1130 1225 CFLAGS= 1131 1226 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1132 echo "configure:1 133: checking whether ${CC-cc} accepts -g" >&51227 echo "configure:1228: checking whether ${CC-cc} accepts -g" >&5 1133 1228 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1134 1229 echo $ac_n "(cached) $ac_c" 1>&6 … … 1378 1473 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g 1379 1474 s%@MAINT@%$MAINT%g 1475 s%@EXEEXT@%$EXEEXT%g 1380 1476 s%@CC@%$CC%g 1381 1477 s%@PROJECT_ROOT@%$PROJECT_ROOT%g -
tools/cpu/unix/configure.in
r08b5f55 r29e68b75 11 11 AM_INIT_AUTOMAKE(rtems-cpu-tools-unix,$RTEMS_VERSION,no) 12 12 AM_MAINTAINER_MODE 13 AC_EXEEXT 13 14 14 15 AC_PROG_CC -
tools/update/Makefile.in
r08b5f55 r29e68b75 264 264 .PHONY: debug debug-am 265 265 266 debug_install-am:267 debug_install: debug_install-am268 .PHONY: debug_install debug_install-am269 270 266 profile-am: 271 267 profile: profile-am 272 268 .PHONY: profile profile-am 273 269 274 profile_install-am:275 profile_install: profile_install-am276 .PHONY: profile_install profile_install-am277 278 270 preinstall-am: 279 271 preinstall: preinstall-am 280 272 .PHONY: preinstall preinstall-am 281 273 282 clobber-am:283 clobber: clobber-am284 .PHONY: clobber clobber-am285 286 274 depend-am: 287 275 depend: depend-am
Note: See TracChangeset
for help on using the changeset viewer.