Changeset 8cdb582 in rtems
- Timestamp:
- 04/12/99 15:41:33 (24 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 82f490f
- Parents:
- d115315
- Files:
-
- 6 added
- 63 edited
Legend:
- Unmodified
- Added
- Removed
-
aclocal.m4
rd115315 r8cdb582 20 20 AC_DEFUN(RTEMS_TOP, 21 21 [dnl 22 AC_ARG_WITH(target-subdir, 23 [ --with-target-subdir=DIR], 24 TARGET_SUBDIR="$withval", 25 TARGET_SUBDIR=".") 26 22 27 RTEMS_TOPdir="$1"; 23 28 AC_SUBST(RTEMS_TOPdir) 24 29 25 30 PROJECT_ROOT=`pwd`/$RTEMS_TOPdir; 31 test "$TARGET_SUBDIR" = "." || PROJECT_ROOT="$PROJECT_ROOT/.." 26 32 AC_SUBST(PROJECT_ROOT) 27 33 … … 42 48 AC_MSG_RESULT($RTEMS_VERSION) 43 49 44 dnl FIXME: This once gets activated in future or will be removed 45 dnl RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir; 46 dnl AC_SUBST(RTEMS_ROOT) 50 RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir; 51 AC_SUBST(RTEMS_ROOT) 47 52 ])dnl 48 53 -
aclocal/rtems-top.m4
rd115315 r8cdb582 8 8 AC_DEFUN(RTEMS_TOP, 9 9 [dnl 10 AC_ARG_WITH(target-subdir, 11 [ --with-target-subdir=DIR], 12 TARGET_SUBDIR="$withval", 13 TARGET_SUBDIR=".") 14 10 15 RTEMS_TOPdir="$1"; 11 16 AC_SUBST(RTEMS_TOPdir) 12 17 13 18 PROJECT_ROOT=`pwd`/$RTEMS_TOPdir; 19 test "$TARGET_SUBDIR" = "." || PROJECT_ROOT="$PROJECT_ROOT/.." 14 20 AC_SUBST(PROJECT_ROOT) 15 21 … … 30 36 AC_MSG_RESULT($RTEMS_VERSION) 31 37 32 dnl FIXME: This once gets activated in future or will be removed 33 dnl RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir; 34 dnl AC_SUBST(RTEMS_ROOT) 38 RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir; 39 AC_SUBST(RTEMS_ROOT) 35 40 ])dnl -
autogen
rd115315 r8cdb582 14 14 15 15 progname=`basename $0` 16 am_verbose="";16 verbose=""; 17 17 quiet="false" 18 mode="generate" 18 19 19 20 usage() … … 26 27 echo " -q .. quiet, don't display directories"; 27 28 echo " -v .. verbose, pass -v to automake when invoking automake" 29 echo " -c .. clean, remove all aclocal/autoconf/automake generated files" 28 30 echo 29 31 exit 1; … … 46 48 verbose="-v"; 47 49 shift;; 50 -c|--cl|--cle|--clea|--clean) 51 mode="clean"; 52 shift;; 48 53 -*) echo "unknown option $1" ; 49 54 usage ;; … … 54 59 55 60 pwd=`pwd`; 56 confs=`find $pwd -name 'configure.in' -print`57 61 58 aclocal_dir=$pwd/aclocal 59 for i in $confs; do 60 dir=`dirname $i`; 61 ( test "$quiet" = "true" || echo "$dir"; 62 cd $dir; 63 aclocal -I $aclocal_dir; 64 autoconf; 65 test -n "`grep CONFIG_HEADER configure.in`" && autoheader ; 66 test -f Makefile.am && automake $verbose ; 67 ) 68 done 62 case $mode in 63 generate) 64 confs=`find $pwd -name 'configure.in' -print` 65 aclocal_dir=$pwd/aclocal 66 for i in $confs; do 67 dir=`dirname $i`; 68 ( test "$quiet" = "true" || echo "$dir"; 69 cd $dir; 70 aclocal -I $aclocal_dir; 71 autoconf; 72 test -n "`grep CONFIG_HEADER configure.in`" && autoheader ; 73 test -f Makefile.am && automake $verbose ; 74 ) 75 done 76 ;; 77 clean) 78 test "$quiet" = "true" || echo "removing automake generated Makefile.in files" 79 files=`find . -name 'Makefile.am' -print | sed -e 's%\.am%\.in%g'` ; 80 for i in $files; do if test -f $i; then 81 rm -f $i 82 test "$verbose" = "-v" && echo "$i" 83 fi; done 84 85 test "$quiet" = "true" || echo "removing configure files" 86 files=`find . -name 'configure' -print` ; 87 test "$verbose" = "-v" && test -n "$files" && echo "$files" ; 88 for i in $files; do if test -f $i; then 89 rm -f $i 90 test "$verbose" = "-v" && echo "$i" 91 fi; done 92 93 test "$quiet" = "true" || echo "removing aclocal.m4 files" 94 files=`find . -name 'aclocal.m4' -print` ; 95 test "$verbose" = "-v" && test -n "$files" && echo "$files" ; 96 for i in $files; do if test -f $i; then 97 rm -f $i 98 test "$verbose" = "-v" && echo "$i" 99 fi; done 100 101 find . -name '*~' -print | xargs rm -f 102 find . -name '*.orig' -print | xargs rm -f 103 find . -name '*.rej' -print | xargs rm -f 104 find . -name 'config.status' -print | xargs rm -f 105 find . -name 'config.log' -print | xargs rm -f 106 find . -name '.deps' -print | xargs rm -rf 107 ;; 108 esac -
automake/local.am
rd115315 r8cdb582 1 # $Id$1 ## $Id$ 2 2 3 # NOTE: This is a temporary work-around to keep4 # "make debug" and "make debug_install" working.5 # Once automake is fully integrated these make targets6 # and this file will probably be removed3 ## NOTE: This is a temporary work-around to keep 4 ## "make debug" and "make debug_install" working. 5 ## Once automake is fully integrated these make targets 6 ## and this file will probably be removed 7 7 8 8 debug-am: … … 13 13 14 14 debug_install: debug_install-am 15 16 .PHONY: debug debug_install debug-am 15 17 16 18 … … 23 25 profile_install: profile_install-am 24 26 27 .PHONY: profile profile_install profile-am 25 28 26 .PHONY: debug debug_install profile profile_install 29 30 preinstall-am: 31 32 preinstall: preinstall-am 33 34 .PHONY: preinstall preinstall-am 35 -
automake/subdirs.am
rd115315 r8cdb582 1 # $Id$1 ## $Id$ 2 2 3 # Borrowed from automake-1.4, adapted to support RTEMS's4 # "make debug", "make debug_install", "make profile", "make profile_install"3 ## Borrowed from automake-1.4, adapted to support RTEMS's 4 ## "make debug", "make debug_install", "make profile", "make profile_install" 5 5 6 # NOTE: This is a temporary work-around to keep7 # "make debug" and "make debug_install" working.8 # Once automake is fully integrated these make targets9 # and this file will probably be removed6 ## NOTE: This is a temporary work-around to keep 7 ## "make debug" and "make debug_install" working. 8 ## Once automake is fully integrated these make targets 9 ## and this file will probably be removed 10 10 11 11 preinstall-recursive \ 12 12 debug-recursive debug_install-recursive \ 13 13 profile-recursive profile_install-recursive: … … 40 40 profile_install: profile_install-recursive 41 41 42 preinstall: preinstall-recursive 43 42 44 .PHONY: \ 43 debug debug-recursive debug_install \ 44 profile profile-recursive profile_install 45 debug debug-recursive \ 46 debug_install \ 47 profile profile-recursive \ 48 profile_install \ 49 preinstall preinstall-recursive -
c/build-tools/Makefile.in
rd115315 r8cdb582 16 16 17 17 18 # $Id$19 20 # Borrowed from automake-1.4, adapted to support RTEMS's21 # "make debug", "make debug_install", "make profile", "make profile_install"22 23 # NOTE: This is a temporary work-around to keep24 # "make debug" and "make debug_install" working.25 # Once automake is fully integrated these make targets26 # and this file will probably be removed27 28 29 # $Id$30 31 # NOTE: This is a temporary work-around to keep32 # "make debug" and "make debug_install" working.33 # Once automake is fully integrated these make targets34 # and this file will probably be removed35 18 36 19 … … 87 70 PACKAGE = @PACKAGE@ 88 71 PROJECT_ROOT = @PROJECT_ROOT@ 72 RTEMS_ROOT = @RTEMS_ROOT@ 89 73 RTEMS_TOPdir = @RTEMS_TOPdir@ 90 74 VERSION = @VERSION@ … … 98 82 CONFIG_HEADER = ./src/config.h 99 83 CONFIG_CLEAN_FILES = 100 DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in \ 101 src/config.h.in src/stamp-h.in 84 DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in 102 85 103 86 … … 122 105 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) 123 106 cd $(srcdir) && $(AUTOCONF) 124 125 src/config.h: src/stamp-h126 @if test ! -f $@; then \127 rm -f src/stamp-h; \128 $(MAKE) src/stamp-h; \129 else :; fi130 src/stamp-h: $(srcdir)/src/config.h.in $(top_builddir)/config.status131 cd $(top_builddir) \132 && CONFIG_FILES= CONFIG_HEADERS=src/config.h \133 $(SHELL) ./config.status134 @echo timestamp > src/stamp-h 2> /dev/null135 $(srcdir)/src/config.h.in: $(srcdir)/src/stamp-h.in136 @if test ! -f $@; then \137 rm -f $(srcdir)/src/stamp-h.in; \138 $(MAKE) $(srcdir)/src/stamp-h.in; \139 else :; fi140 $(srcdir)/src/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)141 cd $(top_srcdir) && $(AUTOHEADER)142 @echo timestamp > $(srcdir)/src/stamp-h.in 2> /dev/null143 144 mostlyclean-hdr:145 146 clean-hdr:147 148 distclean-hdr:149 -rm -f src/config.h150 151 maintainer-clean-hdr:152 107 153 108 # This directory's subdirectories are mostly independent; you can cd … … 339 294 340 295 maintainer-clean-generic: 341 mostlyclean-am: mostlyclean- hdr mostlyclean-tags mostlyclean-generic296 mostlyclean-am: mostlyclean-tags mostlyclean-generic 342 297 343 298 mostlyclean: mostlyclean-recursive 344 299 345 clean-am: clean- hdr clean-tags clean-generic mostlyclean-am300 clean-am: clean-tags clean-generic mostlyclean-am 346 301 347 302 clean: clean-recursive 348 303 349 distclean-am: distclean- hdr distclean-tags distclean-generic clean-am304 distclean-am: distclean-tags distclean-generic clean-am 350 305 351 306 distclean: distclean-recursive 352 307 -rm -f config.status 353 308 354 maintainer-clean-am: maintainer-clean- hdr maintainer-clean-tags\355 maintainer-clean-genericdistclean-am309 maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \ 310 distclean-am 356 311 @echo "This command is intended for maintainers to use;" 357 312 @echo "it deletes files that may require special tools to rebuild." … … 360 315 -rm -f config.status 361 316 362 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr\363 install- data-recursive uninstall-data-recursive install-exec-recursive \364 uninstall -exec-recursive installdirs-recursive uninstalldirs-recursive \365 all-recursive check-recursive installcheck-recursive info-recursive \366 dvi-recursivemostlyclean-recursive distclean-recursive clean-recursive \317 .PHONY: install-data-recursive uninstall-data-recursive \ 318 install-exec-recursive uninstall-exec-recursive installdirs-recursive \ 319 uninstalldirs-recursive all-recursive check-recursive \ 320 installcheck-recursive info-recursive dvi-recursive \ 321 mostlyclean-recursive distclean-recursive clean-recursive \ 367 322 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ 368 323 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ … … 374 329 375 330 331 preinstall-recursive \ 376 332 debug-recursive debug_install-recursive \ 377 333 profile-recursive profile_install-recursive: … … 402 358 profile_install: profile_install-recursive 403 359 360 preinstall: preinstall-recursive 361 404 362 .PHONY: \ 405 debug debug-recursive debug_install \ 406 profile profile-recursive profile_install 363 debug debug-recursive \ 364 debug_install \ 365 profile profile-recursive \ 366 profile_install \ 367 preinstall preinstall-recursive 407 368 408 369 debug-am: … … 414 375 debug_install: debug_install-am 415 376 377 .PHONY: debug debug_install debug-am 378 416 379 profile-am: 417 380 … … 422 385 profile_install: profile_install-am 423 386 424 .PHONY: debug debug_install profile profile_install 387 .PHONY: profile profile_install profile-am 388 389 preinstall-am: 390 391 preinstall: preinstall-am 392 393 .PHONY: preinstall preinstall-am 425 394 426 395 # Tell versions [3.59,3.63) of GNU make to not export all variables. -
c/build-tools/aclocal.m4
rd115315 r8cdb582 20 20 AC_DEFUN(RTEMS_TOP, 21 21 [dnl 22 AC_ARG_WITH(target-subdir, 23 [ --with-target-subdir=DIR], 24 TARGET_SUBDIR="$withval", 25 TARGET_SUBDIR=".") 26 22 27 RTEMS_TOPdir="$1"; 23 28 AC_SUBST(RTEMS_TOPdir) 24 29 25 30 PROJECT_ROOT=`pwd`/$RTEMS_TOPdir; 31 test "$TARGET_SUBDIR" = "." || PROJECT_ROOT="$PROJECT_ROOT/.." 26 32 AC_SUBST(PROJECT_ROOT) 27 33 … … 42 48 AC_MSG_RESULT($RTEMS_VERSION) 43 49 44 dnl FIXME: This once gets activated in future or will be removed 45 dnl RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir; 46 dnl AC_SUBST(RTEMS_ROOT) 50 RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir; 51 AC_SUBST(RTEMS_ROOT) 47 52 ])dnl 48 53 -
c/build-tools/configure
rd115315 r8cdb582 12 12 ac_default_prefix=/usr/local 13 13 # Any additions from configure.in: 14 ac_help="$ac_help 15 --with-target-subdir=DIR" 14 16 15 17 # Initialize some variables set by options. … … 541 543 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. 542 544 545 # Check whether --with-target-subdir or --without-target-subdir was given. 546 if test "${with_target_subdir+set}" = set; then 547 withval="$with_target_subdir" 548 TARGET_SUBDIR="$withval" 549 else 550 TARGET_SUBDIR="." 551 fi 552 553 543 554 RTEMS_TOPdir="../.."; 544 555 545 556 546 557 PROJECT_ROOT=`pwd`/$RTEMS_TOPdir; 558 test "$TARGET_SUBDIR" = "." || PROJECT_ROOT="$PROJECT_ROOT/.." 547 559 548 560 549 561 echo $ac_n "checking for RTEMS Version""... $ac_c" 1>&6 550 echo "configure:5 51: checking for RTEMS Version" >&5562 echo "configure:563: checking for RTEMS Version" >&5 551 563 if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then 552 564 RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \ … … 560 572 echo "$ac_t""$RTEMS_VERSION" 1>&6 561 573 574 RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir; 575 562 576 563 577 … … 569 583 570 584 echo $ac_n "checking host system type""... $ac_c" 1>&6 571 echo "configure:5 72: checking host system type" >&5585 echo "configure:586: checking host system type" >&5 572 586 573 587 host_alias=$host … … 602 616 # ./install, which can be erroneously created by make from ./install.sh. 603 617 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 604 echo "configure:6 05: checking for a BSD compatible install" >&5618 echo "configure:619: checking for a BSD compatible install" >&5 605 619 if test -z "$INSTALL"; then 606 620 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 655 669 656 670 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 657 echo "configure:6 58: checking whether build environment is sane" >&5671 echo "configure:672: checking whether build environment is sane" >&5 658 672 # Just in case 659 673 sleep 1 … … 712 726 713 727 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 714 echo "configure:7 15: checking whether ${MAKE-make} sets \${MAKE}" >&5728 echo "configure:729: checking whether ${MAKE-make} sets \${MAKE}" >&5 715 729 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 716 730 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 751 765 missing_dir=`cd $ac_aux_dir && pwd` 752 766 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 753 echo "configure:7 54: checking for working aclocal" >&5767 echo "configure:768: checking for working aclocal" >&5 754 768 # Run test in a subshell; some versions of sh will print an error if 755 769 # an executable is not found, even if stderr is redirected. … … 764 778 765 779 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 766 echo "configure:7 67: checking for working autoconf" >&5780 echo "configure:781: checking for working autoconf" >&5 767 781 # Run test in a subshell; some versions of sh will print an error if 768 782 # an executable is not found, even if stderr is redirected. … … 777 791 778 792 echo $ac_n "checking for working automake""... $ac_c" 1>&6 779 echo "configure:7 80: checking for working automake" >&5793 echo "configure:794: checking for working automake" >&5 780 794 # Run test in a subshell; some versions of sh will print an error if 781 795 # an executable is not found, even if stderr is redirected. … … 790 804 791 805 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 792 echo "configure: 793: checking for working autoheader" >&5806 echo "configure:807: checking for working autoheader" >&5 793 807 # Run test in a subshell; some versions of sh will print an error if 794 808 # an executable is not found, even if stderr is redirected. … … 803 817 804 818 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 805 echo "configure:8 06: checking for working makeinfo" >&5819 echo "configure:820: checking for working makeinfo" >&5 806 820 # Run test in a subshell; some versions of sh will print an error if 807 821 # an executable is not found, even if stderr is redirected. … … 817 831 818 832 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 819 echo "configure:8 20: checking for Cygwin environment" >&5833 echo "configure:834: checking for Cygwin environment" >&5 820 834 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 821 835 echo $ac_n "(cached) $ac_c" 1>&6 822 836 else 823 837 cat > conftest.$ac_ext <<EOF 824 #line 8 25"configure"838 #line 839 "configure" 825 839 #include "confdefs.h" 826 840 … … 833 847 ; return 0; } 834 848 EOF 835 if { (eval echo configure:8 36: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then849 if { (eval echo configure:850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 836 850 rm -rf conftest* 837 851 ac_cv_cygwin=yes … … 850 864 test "$ac_cv_cygwin" = yes && CYGWIN=yes 851 865 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 852 echo "configure:8 53: checking for mingw32 environment" >&5866 echo "configure:867: checking for mingw32 environment" >&5 853 867 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 854 868 echo $ac_n "(cached) $ac_c" 1>&6 855 869 else 856 870 cat > conftest.$ac_ext <<EOF 857 #line 8 58"configure"871 #line 872 "configure" 858 872 #include "confdefs.h" 859 873 … … 862 876 ; return 0; } 863 877 EOF 864 if { (eval echo configure:8 65: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then878 if { (eval echo configure:879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 865 879 rm -rf conftest* 866 880 ac_cv_mingw32=yes … … 881 895 882 896 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 883 echo "configure:8 84: checking for executable suffix" >&5897 echo "configure:898: checking for executable suffix" >&5 884 898 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 885 899 echo $ac_n "(cached) $ac_c" 1>&6 … … 891 905 echo 'int main () { return 0; }' > conftest.$ac_ext 892 906 ac_cv_exeext= 893 if { (eval echo configure: 894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then907 if { (eval echo configure:908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 894 908 for file in conftest.*; do 895 909 case $file in … … 915 929 set dummy gcc; ac_word=$2 916 930 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 917 echo "configure:9 18: checking for $ac_word" >&5931 echo "configure:932: checking for $ac_word" >&5 918 932 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 919 933 echo $ac_n "(cached) $ac_c" 1>&6 … … 945 959 set dummy cc; ac_word=$2 946 960 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 947 echo "configure:9 48: checking for $ac_word" >&5961 echo "configure:962: checking for $ac_word" >&5 948 962 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 949 963 echo $ac_n "(cached) $ac_c" 1>&6 … … 996 1010 set dummy cl; ac_word=$2 997 1011 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 998 echo "configure: 999: checking for $ac_word" >&51012 echo "configure:1013: checking for $ac_word" >&5 999 1013 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1000 1014 echo $ac_n "(cached) $ac_c" 1>&6 … … 1028 1042 1029 1043 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1030 echo "configure:10 31: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&51044 echo "configure:1045: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1031 1045 1032 1046 ac_ext=c … … 1039 1053 cat > conftest.$ac_ext << EOF 1040 1054 1041 #line 10 42"configure"1055 #line 1056 "configure" 1042 1056 #include "confdefs.h" 1043 1057 1044 1058 main(){return(0);} 1045 1059 EOF 1046 if { (eval echo configure:10 47: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1060 if { (eval echo configure:1061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1047 1061 ac_cv_prog_cc_works=yes 1048 1062 # If we can't run a trivial program, we are probably using a cross compiler. … … 1070 1084 fi 1071 1085 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1072 echo "configure:10 73: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&51086 echo "configure:1087: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1073 1087 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1074 1088 cross_compiling=$ac_cv_prog_cc_cross 1075 1089 1076 1090 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1077 echo "configure:10 78: checking whether we are using GNU C" >&51091 echo "configure:1092: checking whether we are using GNU C" >&5 1078 1092 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1079 1093 echo $ac_n "(cached) $ac_c" 1>&6 … … 1084 1098 #endif 1085 1099 EOF 1086 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1 087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1100 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1101: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1087 1101 ac_cv_prog_gcc=yes 1088 1102 else … … 1103 1117 CFLAGS= 1104 1118 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1105 echo "configure:11 06: checking whether ${CC-cc} accepts -g" >&51119 echo "configure:1120: checking whether ${CC-cc} accepts -g" >&5 1106 1120 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1107 1121 echo $ac_n "(cached) $ac_c" 1>&6 … … 1137 1151 do 1138 1152 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1139 echo "configure:11 40: checking for $ac_func" >&51153 echo "configure:1154: checking for $ac_func" >&5 1140 1154 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1141 1155 echo $ac_n "(cached) $ac_c" 1>&6 1142 1156 else 1143 1157 cat > conftest.$ac_ext <<EOF 1144 #line 11 45"configure"1158 #line 1159 "configure" 1145 1159 #include "confdefs.h" 1146 1160 /* System header to define __stub macros and hopefully few prototypes, … … 1165 1179 ; return 0; } 1166 1180 EOF 1167 if { (eval echo configure:11 68: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1181 if { (eval echo configure:1182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1168 1182 rm -rf conftest* 1169 1183 eval "ac_cv_func_$ac_func=yes" … … 1196 1210 set dummy $ac_prog; ac_word=$2 1197 1211 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1198 echo "configure:1 199: checking for $ac_word" >&51212 echo "configure:1213: checking for $ac_word" >&5 1199 1213 if eval "test \"`echo '$''{'ac_cv_path_KSH'+set}'`\" = set"; then 1200 1214 echo $ac_n "(cached) $ac_c" 1>&6 … … 1384 1398 s%@RTEMS_TOPdir@%$RTEMS_TOPdir%g 1385 1399 s%@PROJECT_ROOT@%$PROJECT_ROOT%g 1400 s%@RTEMS_ROOT@%$RTEMS_ROOT%g 1386 1401 s%@host@%$host%g 1387 1402 s%@host_alias@%$host_alias%g -
c/build-tools/scripts/Makefile.in
rd115315 r8cdb582 15 15 # 16 16 17 18 # $Id$19 20 # NOTE: This is a temporary work-around to keep21 # "make debug" and "make debug_install" working.22 # Once automake is fully integrated these make targets23 # and this file will probably be removed24 17 25 18 … … 78 71 PACKAGE = @PACKAGE@ 79 72 PROJECT_ROOT = @PROJECT_ROOT@ 73 RTEMS_ROOT = @RTEMS_ROOT@ 80 74 RTEMS_TOPdir = @RTEMS_TOPdir@ 81 75 VERSION = @VERSION@ … … 242 236 debug_install: debug_install-am 243 237 238 .PHONY: debug debug_install debug-am 239 244 240 profile-am: 245 241 … … 250 246 profile_install: profile_install-am 251 247 252 .PHONY: debug debug_install profile profile_install 248 .PHONY: profile profile_install profile-am 249 250 preinstall-am: 251 252 preinstall: preinstall-am 253 254 .PHONY: preinstall preinstall-am 253 255 254 256 # Tell versions [3.59,3.63) of GNU make to not export all variables. -
c/build-tools/src/Makefile.in
rd115315 r8cdb582 15 15 # 16 16 17 18 # $Id$19 20 # NOTE: This is a temporary work-around to keep21 # "make debug" and "make debug_install" working.22 # Once automake is fully integrated these make targets23 # and this file will probably be removed24 17 25 18 … … 78 71 PACKAGE = @PACKAGE@ 79 72 PROJECT_ROOT = @PROJECT_ROOT@ 73 RTEMS_ROOT = @RTEMS_ROOT@ 80 74 RTEMS_TOPdir = @RTEMS_TOPdir@ 81 75 VERSION = @VERSION@ … … 408 402 debug_install: debug_install-am 409 403 404 .PHONY: debug debug_install debug-am 405 410 406 profile-am: 411 407 … … 416 412 profile_install: profile_install-am 417 413 418 .PHONY: debug debug_install profile profile_install 414 .PHONY: profile profile_install profile-am 415 416 preinstall-am: 417 418 preinstall: preinstall-am 419 420 .PHONY: preinstall preinstall-am 419 421 420 422 # Tell versions [3.59,3.63) of GNU make to not export all variables. -
c/src/exec/score/tools/generic/Makefile.in
rd115315 r8cdb582 15 15 # 16 16 17 18 # $Id$19 20 # NOTE: This is a temporary work-around to keep21 # "make debug" and "make debug_install" working.22 # Once automake is fully integrated these make targets23 # and this file will probably be removed24 17 25 18 … … 78 71 PACKAGE = @PACKAGE@ 79 72 PROJECT_ROOT = @PROJECT_ROOT@ 73 RTEMS_ROOT = @RTEMS_ROOT@ 80 74 RTEMS_TOPdir = @RTEMS_TOPdir@ 81 75 VERSION = @VERSION@ … … 249 243 debug_install: debug_install-am 250 244 245 .PHONY: debug debug_install debug-am 246 251 247 profile-am: 252 248 … … 257 253 profile_install: profile_install-am 258 254 259 .PHONY: debug debug_install profile profile_install 255 .PHONY: profile profile_install profile-am 256 257 preinstall-am: 258 259 preinstall: preinstall-am 260 261 .PHONY: preinstall preinstall-am 260 262 261 263 # Tell versions [3.59,3.63) of GNU make to not export all variables. -
c/src/exec/score/tools/generic/aclocal.m4
rd115315 r8cdb582 20 20 AC_DEFUN(RTEMS_TOP, 21 21 [dnl 22 AC_ARG_WITH(target-subdir, 23 [ --with-target-subdir=DIR], 24 TARGET_SUBDIR="$withval", 25 TARGET_SUBDIR=".") 26 22 27 RTEMS_TOPdir="$1"; 23 28 AC_SUBST(RTEMS_TOPdir) 24 29 25 30 PROJECT_ROOT=`pwd`/$RTEMS_TOPdir; 31 test "$TARGET_SUBDIR" = "." || PROJECT_ROOT="$PROJECT_ROOT/.." 26 32 AC_SUBST(PROJECT_ROOT) 27 33 … … 42 48 AC_MSG_RESULT($RTEMS_VERSION) 43 49 44 dnl FIXME: This once gets activated in future or will be removed 45 dnl RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir; 46 dnl AC_SUBST(RTEMS_ROOT) 50 RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir; 51 AC_SUBST(RTEMS_ROOT) 47 52 ])dnl 48 53 -
c/src/exec/score/tools/generic/configure
rd115315 r8cdb582 12 12 ac_default_prefix=/usr/local 13 13 # Any additions from configure.in: 14 ac_help="$ac_help 15 --with-target-subdir=DIR" 14 16 15 17 # Initialize some variables set by options. … … 542 544 543 545 546 # Check whether --with-target-subdir or --without-target-subdir was given. 547 if test "${with_target_subdir+set}" = set; then 548 withval="$with_target_subdir" 549 TARGET_SUBDIR="$withval" 550 else 551 TARGET_SUBDIR="." 552 fi 553 554 544 555 RTEMS_TOPdir="../../../../../.."; 545 556 546 557 547 558 PROJECT_ROOT=`pwd`/$RTEMS_TOPdir; 559 test "$TARGET_SUBDIR" = "." || PROJECT_ROOT="$PROJECT_ROOT/.." 548 560 549 561 550 562 echo $ac_n "checking for RTEMS Version""... $ac_c" 1>&6 551 echo "configure:5 52: checking for RTEMS Version" >&5563 echo "configure:564: checking for RTEMS Version" >&5 552 564 if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then 553 565 RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \ … … 560 572 fi 561 573 echo "$ac_t""$RTEMS_VERSION" 1>&6 574 575 RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir; 562 576 563 577 … … 590 604 591 605 echo $ac_n "checking host system type""... $ac_c" 1>&6 592 echo "configure: 593: checking host system type" >&5606 echo "configure:607: checking host system type" >&5 593 607 594 608 host_alias=$host … … 611 625 612 626 echo $ac_n "checking target system type""... $ac_c" 1>&6 613 echo "configure:6 14: checking target system type" >&5627 echo "configure:628: checking target system type" >&5 614 628 615 629 target_alias=$target … … 629 643 630 644 echo $ac_n "checking build system type""... $ac_c" 1>&6 631 echo "configure:6 32: checking build system type" >&5645 echo "configure:646: checking build system type" >&5 632 646 633 647 build_alias=$build … … 654 668 655 669 echo $ac_n "checking rtems target cpu""... $ac_c" 1>&6 656 echo "configure:6 57: checking rtems target cpu" >&5670 echo "configure:671: checking rtems target cpu" >&5 657 671 case "${target}" in 658 672 # hpux unix port should go here … … 694 708 # ./install, which can be erroneously created by make from ./install.sh. 695 709 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 696 echo "configure: 697: checking for a BSD compatible install" >&5710 echo "configure:711: checking for a BSD compatible install" >&5 697 711 if test -z "$INSTALL"; then 698 712 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 747 761 748 762 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 749 echo "configure:7 50: checking whether build environment is sane" >&5763 echo "configure:764: checking whether build environment is sane" >&5 750 764 # Just in case 751 765 sleep 1 … … 804 818 805 819 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 806 echo "configure:8 07: checking whether ${MAKE-make} sets \${MAKE}" >&5820 echo "configure:821: checking whether ${MAKE-make} sets \${MAKE}" >&5 807 821 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 808 822 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 843 857 missing_dir=`cd $ac_aux_dir && pwd` 844 858 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 845 echo "configure:8 46: checking for working aclocal" >&5859 echo "configure:860: checking for working aclocal" >&5 846 860 # Run test in a subshell; some versions of sh will print an error if 847 861 # an executable is not found, even if stderr is redirected. … … 856 870 857 871 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 858 echo "configure:8 59: checking for working autoconf" >&5872 echo "configure:873: checking for working autoconf" >&5 859 873 # Run test in a subshell; some versions of sh will print an error if 860 874 # an executable is not found, even if stderr is redirected. … … 869 883 870 884 echo $ac_n "checking for working automake""... $ac_c" 1>&6 871 echo "configure:8 72: checking for working automake" >&5885 echo "configure:886: checking for working automake" >&5 872 886 # Run test in a subshell; some versions of sh will print an error if 873 887 # an executable is not found, even if stderr is redirected. … … 882 896 883 897 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 884 echo "configure:8 85: checking for working autoheader" >&5898 echo "configure:899: checking for working autoheader" >&5 885 899 # Run test in a subshell; some versions of sh will print an error if 886 900 # an executable is not found, even if stderr is redirected. … … 895 909 896 910 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 897 echo "configure: 898: checking for working makeinfo" >&5911 echo "configure:912: checking for working makeinfo" >&5 898 912 # Run test in a subshell; some versions of sh will print an error if 899 913 # an executable is not found, even if stderr is redirected. … … 915 929 set dummy $ac_prog; ac_word=$2 916 930 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 917 echo "configure:9 18: checking for $ac_word" >&5931 echo "configure:932: checking for $ac_word" >&5 918 932 if eval "test \"`echo '$''{'ac_cv_path_KSH'+set}'`\" = set"; then 919 933 echo $ac_n "(cached) $ac_c" 1>&6 … … 1122 1136 s%@RTEMS_TOPdir@%$RTEMS_TOPdir%g 1123 1137 s%@PROJECT_ROOT@%$PROJECT_ROOT%g 1138 s%@RTEMS_ROOT@%$RTEMS_ROOT%g 1124 1139 s%@host@%$host%g 1125 1140 s%@host_alias@%$host_alias%g -
c/src/exec/score/tools/hppa1.1/Makefile.in
rd115315 r8cdb582 1 # Makefile.in generated automatically by automake 1. 2from Makefile.am2 3 # Copyright (C) 1994, 1995 , 1996, 1997Free Software Foundation, Inc.1 # Makefile.in generated automatically by automake 1.4 from Makefile.am 2 3 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. 4 4 # This Makefile.in is free software; the Free Software Foundation 5 # gives unlimited permission to copy, distribute and modify it. 5 # gives unlimited permission to copy and/or distribute it, 6 # with or without modifications, as long as this notice is preserved. 7 8 # This program is distributed in the hope that it will be useful, 9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without 10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 # PARTICULAR PURPOSE. 6 12 7 13 # … … 10 16 11 17 12 SHELL = /bin/sh 18 19 SHELL = @SHELL@ 13 20 14 21 srcdir = @srcdir@ … … 31 38 oldincludedir = /usr/include 32 39 40 DESTDIR = 41 33 42 pkgdatadir = $(datadir)/@PACKAGE@ 34 43 pkglibdir = $(libdir)/@PACKAGE@ … … 41 50 42 51 INSTALL = @INSTALL@ 43 INSTALL_PROGRAM = @INSTALL_PROGRAM@ 52 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) 44 53 INSTALL_DATA = @INSTALL_DATA@ 45 54 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 46 55 transform = @program_transform_name@ 47 56 48 NORMAL_INSTALL = true49 PRE_INSTALL = true50 POST_INSTALL = true51 NORMAL_UNINSTALL = true52 PRE_UNINSTALL = true53 POST_UNINSTALL = true57 NORMAL_INSTALL = : 58 PRE_INSTALL = : 59 POST_INSTALL = : 60 NORMAL_UNINSTALL = : 61 PRE_UNINSTALL = : 62 POST_UNINSTALL = : 54 63 build_alias = @build_alias@ 55 64 build_triplet = @build@ … … 62 71 PACKAGE = @PACKAGE@ 63 72 PROJECT_ROOT = @PROJECT_ROOT@ 73 RTEMS_ROOT = @RTEMS_ROOT@ 64 74 RTEMS_TOPdir = @RTEMS_TOPdir@ 65 75 VERSION = @VERSION@ … … 72 82 ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal 73 83 74 noinst_PROGRAMS =genoffsets75 76 genoffsets_SOURCES = \77 genoffsets.c 84 noinst_PROGRAMS = genoffsets 85 86 genoffsets_SOURCES = genoffsets.c 87 78 88 79 89 # We use files that have not been installed yet. 80 90 81 CPU_DIR=../../cpu/$(RTEMS_CPU) 82 83 INCLUDES = \ 84 -I$(PROJECT_INCLUDE) \ 85 -I$(CPU_DIR) 91 CPU_DIR = ../../cpu/$(RTEMS_CPU) 92 93 INCLUDES = -I$(PROJECT_INCLUDE) -I$(CPU_DIR) 94 86 95 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 87 96 mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../mkinstalldirs … … 96 105 genoffsets_OBJECTS = genoffsets.o 97 106 genoffsets_LDADD = $(LDADD) 107 genoffsets_DEPENDENCIES = 98 108 genoffsets_LDFLAGS = 99 109 CFLAGS = @CFLAGS@ 100 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) 101 LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@ 110 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 111 CCLD = $(CC) 112 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ 102 113 DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in 103 114 … … 106 117 107 118 TAR = tar 108 GZIP = --best119 GZIP_ENV = --best 109 120 DEP_FILES = .deps/genoffsets.P 110 121 SOURCES = $(genoffsets_SOURCES) 111 122 OBJECTS = $(genoffsets_OBJECTS) 112 123 113 default: all 114 124 all: all-redirect 115 125 .SUFFIXES: 116 .SUFFIXES: . c .o117 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 126 .SUFFIXES: .S .c .o .s 127 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../../../../automake/local.am 118 128 cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile 119 129 120 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)130 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) 121 131 cd $(top_builddir) \ 122 132 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status … … 125 135 cd $(srcdir) && $(ACLOCAL) 126 136 127 config.status: $(srcdir)/configure 137 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 128 138 $(SHELL) ./config.status --recheck 129 139 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) … … 133 143 134 144 clean-noinstPROGRAMS: 135 test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)145 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) 136 146 137 147 distclean-noinstPROGRAMS: … … 139 149 maintainer-clean-noinstPROGRAMS: 140 150 141 . c.o:151 .s.o: 142 152 $(COMPILE) -c $< 143 153 154 .S.o: 155 $(COMPILE) -c $< 156 144 157 mostlyclean-compile: 145 rm -f *.ocore158 -rm -f *.o core *.core 146 159 147 160 clean-compile: 148 161 149 162 distclean-compile: 150 rm -f *.tab.c163 -rm -f *.tab.c 151 164 152 165 maintainer-clean-compile: … … 158 171 tags: TAGS 159 172 160 ID: $(HEADERS) $(SOURCES) 161 here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS) 162 163 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) 173 ID: $(HEADERS) $(SOURCES) $(LISP) 174 list='$(SOURCES) $(HEADERS)'; \ 175 unique=`for i in $$list; do echo $$i; done | \ 176 awk ' { files[$$0] = 1; } \ 177 END { for (i in files) print i; }'`; \ 178 here=`pwd` && cd $(srcdir) \ 179 && mkid -f$$here/ID $$unique $(LISP) 180 181 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) 164 182 tags=; \ 165 183 here=`pwd`; \ 166 test -z "$(ETAGS_ARGS)$(SOURCES)$(HEADERS)$$tags" \ 167 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $(SOURCES) $(HEADERS) -o $$here/TAGS) 184 list='$(SOURCES) $(HEADERS)'; \ 185 unique=`for i in $$list; do echo $$i; done | \ 186 awk ' { files[$$0] = 1; } \ 187 END { for (i in files) print i; }'`; \ 188 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ 189 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) 168 190 169 191 mostlyclean-tags: … … 172 194 173 195 distclean-tags: 174 rm -f TAGS ID196 -rm -f TAGS ID 175 197 176 198 maintainer-clean-tags: … … 183 205 # tarfile. 184 206 distcheck: dist 185 rm -rf $(distdir)186 GZIP=$(GZIP ) $(TAR) zxf $(distdir).tar.gz207 -rm -rf $(distdir) 208 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz 187 209 mkdir $(distdir)/=build 188 210 mkdir $(distdir)/=inst … … 190 212 cd $(distdir)/=build \ 191 213 && ../configure --srcdir=.. --prefix=$$dc_install_base \ 192 && $(MAKE) \ 193 && $(MAKE) dvi \ 194 && $(MAKE) check \ 195 && $(MAKE) install \ 196 && $(MAKE) installcheck \ 197 && $(MAKE) dist 198 rm -rf $(distdir) 199 @echo "========================"; \ 200 echo "$(distdir).tar.gz is ready for distribution"; \ 201 echo "========================" 214 && $(MAKE) $(AM_MAKEFLAGS) \ 215 && $(MAKE) $(AM_MAKEFLAGS) dvi \ 216 && $(MAKE) $(AM_MAKEFLAGS) check \ 217 && $(MAKE) $(AM_MAKEFLAGS) install \ 218 && $(MAKE) $(AM_MAKEFLAGS) installcheck \ 219 && $(MAKE) $(AM_MAKEFLAGS) dist 220 -rm -rf $(distdir) 221 @banner="$(distdir).tar.gz is ready for distribution"; \ 222 dashes=`echo "$$banner" | sed s/./=/g`; \ 223 echo "$$dashes"; \ 224 echo "$$banner"; \ 225 echo "$$dashes" 202 226 dist: distdir 203 227 -chmod -R a+r $(distdir) 204 GZIP=$(GZIP ) $(TAR) chozf $(distdir).tar.gz $(distdir)205 rm -rf $(distdir)228 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 229 -rm -rf $(distdir) 206 230 dist-all: distdir 207 231 -chmod -R a+r $(distdir) 208 GZIP=$(GZIP ) $(TAR) chozf $(distdir).tar.gz $(distdir)209 rm -rf $(distdir)232 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 233 -rm -rf $(distdir) 210 234 distdir: $(DISTFILES) 211 rm -rf $(distdir)235 -rm -rf $(distdir) 212 236 mkdir $(distdir) 213 237 -chmod 777 $(distdir) 214 238 here=`cd $(top_builddir) && pwd`; \ 215 top_distdir=`cd $(top_distdir) && pwd`; \ 239 top_distdir=`cd $(distdir) && pwd`; \ 240 distdir=`cd $(distdir) && pwd`; \ 216 241 cd $(top_srcdir) \ 217 242 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile 218 243 @for file in $(DISTFILES); do \ 219 244 d=$(srcdir); \ 220 test -f $(distdir)/$$file \ 221 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ 222 || cp -p $$d/$$file $(distdir)/$$file; \ 245 if test -d $$d/$$file; then \ 246 cp -pr $$/$$file $(distdir)/$$file; \ 247 else \ 248 test -f $(distdir)/$$file \ 249 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ 250 || cp -p $$d/$$file $(distdir)/$$file || :; \ 251 fi; \ 223 252 done 224 253 225 MKDEP = gcc -M $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)226 227 254 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) 228 -include .deps/.P229 .deps/.P: $(BUILT_SOURCES)230 echo > $@231 255 232 256 -include $(DEP_FILES) … … 237 261 238 262 distclean-depend: 263 -rm -rf .deps 239 264 240 265 maintainer-clean-depend: 241 rm -rf .deps 242 243 .deps/%.P: %.c 244 @echo "Computing dependencies for $<..." 245 @o='o'; \ 246 test -n "$o" && o='$$o'; \ 247 $(MKDEP) $< >$@.tmp \ 248 && sed "s,^\(.*\)\.o:,\1.$$o \1.l$$o $@:," < $@.tmp > $@ \ 249 && rm -f $@.tmp 250 info: 251 dvi: 252 check: all 253 $(MAKE) 254 installcheck: 255 install-exec: install-exec-local 256 @$(NORMAL_INSTALL) 257 258 install-data: 259 @$(NORMAL_INSTALL) 260 261 install: install-exec install-data all 262 @: 263 264 uninstall: 265 266 all: Makefile $(PROGRAMS) 267 266 267 %.o: %.c 268 @echo '$(COMPILE) -c $<'; \ 269 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< 270 @-cp .deps/$(*F).pp .deps/$(*F).P; \ 271 tr ' ' '\012' < .deps/$(*F).pp \ 272 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ 273 >> .deps/$(*F).P; \ 274 rm .deps/$(*F).pp 275 276 %.lo: %.c 277 @echo '$(LTCOMPILE) -c $<'; \ 278 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< 279 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ 280 < .deps/$(*F).pp > .deps/$(*F).P; \ 281 tr ' ' '\012' < .deps/$(*F).pp \ 282 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ 283 >> .deps/$(*F).P; \ 284 rm -f .deps/$(*F).pp 285 info-am: 286 info: info-am 287 dvi-am: 288 dvi: dvi-am 289 check-am: all-am 290 check: check-am 291 installcheck-am: 292 installcheck: installcheck-am 293 install-exec-am: install-exec-local 294 install-exec: install-exec-am 295 296 install-data-am: 297 install-data: install-data-am 298 299 install-am: all-am 300 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 301 install: install-am 302 uninstall-am: 303 uninstall: uninstall-am 304 all-am: Makefile $(PROGRAMS) 305 all-redirect: all-am 268 306 install-strip: 269 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)'install307 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install 270 308 installdirs: 271 309 272 310 273 311 mostlyclean-generic: 274 test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)275 312 276 313 clean-generic: 277 test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)278 314 279 315 distclean-generic: 280 rm -f Makefile $(DISTCLEANFILES) 281 rm -f config.cache config.log stamp-h stamp-h[0-9]* 282 test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 316 -rm -f Makefile $(CONFIG_CLEAN_FILES) 317 -rm -f config.cache config.log stamp-h stamp-h[0-9]* 283 318 284 319 maintainer-clean-generic: 285 test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) 286 test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) 287 mostlyclean: mostlyclean-noinstPROGRAMS mostlyclean-compile \ 320 mostlyclean-am: mostlyclean-noinstPROGRAMS mostlyclean-compile \ 288 321 mostlyclean-tags mostlyclean-depend mostlyclean-generic 289 322 290 clean: clean-noinstPROGRAMS clean-compile clean-tags clean-depend \ 291 clean-generic mostlyclean 292 293 distclean: distclean-noinstPROGRAMS distclean-compile distclean-tags \ 294 distclean-depend distclean-generic clean 295 rm -f config.status 296 297 maintainer-clean: maintainer-clean-noinstPROGRAMS \ 323 mostlyclean: mostlyclean-am 324 325 clean-am: clean-noinstPROGRAMS clean-compile clean-tags clean-depend \ 326 clean-generic mostlyclean-am 327 328 clean: clean-am 329 330 distclean-am: distclean-noinstPROGRAMS distclean-compile distclean-tags \ 331 distclean-depend distclean-generic clean-am 332 333 distclean: distclean-am 334 -rm -f config.status 335 336 maintainer-clean-am: maintainer-clean-noinstPROGRAMS \ 298 337 maintainer-clean-compile maintainer-clean-tags \ 299 338 maintainer-clean-depend maintainer-clean-generic \ 300 distclean 339 distclean-am 301 340 @echo "This command is intended for maintainers to use;" 302 341 @echo "it deletes files that may require special tools to rebuild." 303 rm -f config.status 304 305 .PHONY: default mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \ 342 343 maintainer-clean: maintainer-clean-am 344 -rm -f config.status 345 346 .PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \ 306 347 clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \ 307 348 mostlyclean-compile distclean-compile clean-compile \ 308 349 maintainer-clean-compile tags mostlyclean-tags distclean-tags \ 309 350 clean-tags maintainer-clean-tags distdir mostlyclean-depend \ 310 distclean-depend clean-depend maintainer-clean-depend info dvi \ 311 installcheck install-exec install-data install uninstall all \ 312 installdirs mostlyclean-generic distclean-generic clean-generic \ 313 maintainer-clean-generic clean mostlyclean distclean maintainer-clean 351 distclean-depend clean-depend maintainer-clean-depend info-am info \ 352 dvi-am dvi check check-am installcheck-am installcheck \ 353 install-exec-local install-exec-am install-exec install-data-am \ 354 install-data install-am install uninstall-am uninstall all-redirect \ 355 all-am all installdirs mostlyclean-generic distclean-generic \ 356 clean-generic maintainer-clean-generic clean mostlyclean distclean \ 357 maintainer-clean 314 358 315 359 … … 321 365 $(INSTALL_PROGRAM) genoffsets ${PROJECT_ROOT}/${RTEMS_BSP}/bin 322 366 323 include $(top_srcdir)/../../../../../../automake/local.am 367 debug-am: 368 369 debug: debug-am 370 371 debug_install-am: 372 373 debug_install: debug_install-am 374 375 .PHONY: debug debug_install debug-am 376 377 profile-am: 378 379 profile: profile-am 380 381 profile_install-am: 382 383 profile_install: profile_install-am 384 385 .PHONY: profile profile_install profile-am 386 387 preinstall-am: 388 389 preinstall: preinstall-am 390 391 .PHONY: preinstall preinstall-am 324 392 325 393 # Tell versions [3.59,3.63) of GNU make to not export all variables. -
c/src/exec/score/tools/hppa1.1/aclocal.m4
rd115315 r8cdb582 1 dnl aclocal.m4 generated automatically by aclocal 1.2 1 dnl aclocal.m4 generated automatically by aclocal 1.4 2 3 dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. 4 dnl This file is free software; the Free Software Foundation 5 dnl gives unlimited permission to copy and/or distribute it, 6 dnl with or without modifications, as long as this notice is preserved. 7 8 dnl This program is distributed in the hope that it will be useful, 9 dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without 10 dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 dnl PARTICULAR PURPOSE. 2 12 3 13 dnl $Id$ … … 10 20 AC_DEFUN(RTEMS_TOP, 11 21 [dnl 22 AC_ARG_WITH(target-subdir, 23 [ --with-target-subdir=DIR], 24 TARGET_SUBDIR="$withval", 25 TARGET_SUBDIR=".") 26 12 27 RTEMS_TOPdir="$1"; 13 28 AC_SUBST(RTEMS_TOPdir) 14 29 15 30 PROJECT_ROOT=`pwd`/$RTEMS_TOPdir; 31 test "$TARGET_SUBDIR" = "." || PROJECT_ROOT="$PROJECT_ROOT/.." 16 32 AC_SUBST(PROJECT_ROOT) 17 33 … … 32 48 AC_MSG_RESULT($RTEMS_VERSION) 33 49 34 dnl FIXME: This once gets activated in future or will be removed 35 dnl RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir; 36 dnl AC_SUBST(RTEMS_ROOT) 50 RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir; 51 AC_SUBST(RTEMS_ROOT) 37 52 ])dnl 38 53 … … 90 105 91 106 AC_DEFUN(AM_INIT_AUTOMAKE, 92 [AC_REQUIRE([A M_PROG_INSTALL])107 [AC_REQUIRE([AC_PROG_INSTALL]) 93 108 PACKAGE=[$1] 94 109 AC_SUBST(PACKAGE) … … 100 115 fi 101 116 ifelse([$3],, 102 AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE" )103 AC_DEFINE_UNQUOTED(VERSION, "$VERSION" ))104 A M_SANITY_CHECK105 AC_ ARG_PROGRAM117 AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) 118 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])) 119 AC_REQUIRE([AM_SANITY_CHECK]) 120 AC_REQUIRE([AC_ARG_PROGRAM]) 106 121 dnl FIXME This is truly gross. 107 122 missing_dir=`cd $ac_aux_dir && pwd` … … 111 126 AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) 112 127 AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) 113 AC_PROG_MAKE_SET]) 114 115 116 # serial 1 117 118 AC_DEFUN(AM_PROG_INSTALL, 119 [AC_REQUIRE([AC_PROG_INSTALL]) 120 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' 121 AC_SUBST(INSTALL_SCRIPT)dnl 122 ]) 128 AC_REQUIRE([AC_PROG_MAKE_SET])]) 123 129 124 130 # … … 138 144 if ( 139 145 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` 140 if test " $@" = "X"; then146 if test "[$]*" = "X"; then 141 147 # -L didn't work. 142 148 set X `ls -t $srcdir/configure conftestfile` 143 149 fi 150 if test "[$]*" != "X $srcdir/configure conftestfile" \ 151 && test "[$]*" != "X conftestfile $srcdir/configure"; then 152 153 # If neither matched, then we have a broken ls. This can happen 154 # if, for instance, CONFIG_SHELL is bash and it inherits a 155 # broken ls alias from the environment. This has actually 156 # happened. Such a system could not be considered "sane". 157 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken 158 alias in your environment]) 159 fi 160 144 161 test "[$]2" = conftestfile 145 162 ) -
c/src/exec/score/tools/hppa1.1/configure
rd115315 r8cdb582 2 2 3 3 # Guess values for system-dependent variables and create Makefiles. 4 # Generated automatically using autoconf version 2.1 24 # Generated automatically using autoconf version 2.13 5 5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 6 6 # … … 12 12 ac_default_prefix=/usr/local 13 13 # Any additions from configure.in: 14 ac_help="$ac_help 15 --with-target-subdir=DIR" 14 16 15 17 # Initialize some variables set by options. … … 50 52 subdirs= 51 53 MFLAGS= MAKEFLAGS= 54 SHELL=${CONFIG_SHELL-/bin/sh} 52 55 # Maximum number of lines to put in a shell here document. 53 56 ac_max_here_lines=12 … … 333 336 334 337 -version | --version | --versio | --versi | --vers) 335 echo "configure generated by autoconf version 2.1 2"338 echo "configure generated by autoconf version 2.13" 336 339 exit 0 ;; 337 340 … … 503 506 ac_cpp='$CPP $CPPFLAGS' 504 507 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 505 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'508 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 506 509 cross_compiling=$ac_cv_prog_cc_cross 507 510 511 ac_exeext= 512 ac_objext=o 508 513 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then 509 514 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. … … 539 544 540 545 546 # Check whether --with-target-subdir or --without-target-subdir was given. 547 if test "${with_target_subdir+set}" = set; then 548 withval="$with_target_subdir" 549 TARGET_SUBDIR="$withval" 550 else 551 TARGET_SUBDIR="." 552 fi 553 554 541 555 RTEMS_TOPdir="../../../../../.."; 542 556 543 557 544 558 PROJECT_ROOT=`pwd`/$RTEMS_TOPdir; 559 test "$TARGET_SUBDIR" = "." || PROJECT_ROOT="$PROJECT_ROOT/.." 545 560 546 561 547 562 echo $ac_n "checking for RTEMS Version""... $ac_c" 1>&6 548 echo "configure:5 49: checking for RTEMS Version" >&5563 echo "configure:564: checking for RTEMS Version" >&5 549 564 if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then 550 565 RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \ … … 557 572 fi 558 573 echo "$ac_t""$RTEMS_VERSION" 1>&6 574 575 RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir; 559 576 560 577 … … 582 599 583 600 # Make sure we can run config.sub. 584 if $ ac_config_sub sun4 >/dev/null 2>&1; then :601 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : 585 602 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } 586 603 fi 587 604 588 605 echo $ac_n "checking host system type""... $ac_c" 1>&6 589 echo "configure: 590: checking host system type" >&5606 echo "configure:607: checking host system type" >&5 590 607 591 608 host_alias=$host … … 594 611 case $nonopt in 595 612 NONE) 596 if host_alias=`$ ac_config_guess`; then :613 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : 597 614 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } 598 615 fi ;; … … 601 618 esac 602 619 603 host=`$ ac_config_sub $host_alias`620 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` 604 621 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 605 622 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` … … 608 625 609 626 echo $ac_n "checking target system type""... $ac_c" 1>&6 610 echo "configure:6 11: checking target system type" >&5627 echo "configure:628: checking target system type" >&5 611 628 612 629 target_alias=$target … … 619 636 esac 620 637 621 target=`$ ac_config_sub $target_alias`638 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` 622 639 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 623 640 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` … … 626 643 627 644 echo $ac_n "checking build system type""... $ac_c" 1>&6 628 echo "configure:6 29: checking build system type" >&5645 echo "configure:646: checking build system type" >&5 629 646 630 647 build_alias=$build … … 637 654 esac 638 655 639 build=`$ ac_config_sub $build_alias`656 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` 640 657 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 641 658 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` … … 651 668 652 669 echo $ac_n "checking rtems target cpu""... $ac_c" 1>&6 653 echo "configure:6 54: checking rtems target cpu" >&5670 echo "configure:671: checking rtems target cpu" >&5 654 671 case "${target}" in 655 672 # hpux unix port should go here … … 686 703 # IRIX /sbin/install 687 704 # AIX /bin/install 705 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 688 706 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 689 707 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 690 708 # ./install, which can be erroneously created by make from ./install.sh. 691 709 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 692 echo "configure: 693: checking for a BSD compatible install" >&5710 echo "configure:711: checking for a BSD compatible install" >&5 693 711 if test -z "$INSTALL"; then 694 712 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 695 713 echo $ac_n "(cached) $ac_c" 1>&6 696 714 else 697 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=" ${IFS}:"715 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 698 716 for ac_dir in $PATH; do 699 717 # Account for people who put trailing slashes in PATH elements. … … 702 720 *) 703 721 # OSF1 and SCO ODT 3.0 have their own names for install. 704 for ac_prog in ginstall installbsd scoinst install; do 722 # Don't use installbsd from OSF since it installs stuff as root 723 # by default. 724 for ac_prog in ginstall scoinst install; do 705 725 if test -f $ac_dir/$ac_prog; then 706 726 if test $ac_prog = install && 707 727 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then 708 728 # AIX install. It has an incompatible calling convention. 709 # OSF/1 installbsd also uses dspmsg, but is usable.710 729 : 711 730 else … … 737 756 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 738 757 758 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' 759 739 760 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 740 761 741 742 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'743 744 745 PACKAGE=rtems-exec-score-tools-hppa746 747 VERSION=$RTEMS_VERSION748 749 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then750 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }751 fi752 753 762 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 754 echo "configure:7 55: checking whether build environment is sane" >&5763 echo "configure:764: checking whether build environment is sane" >&5 755 764 # Just in case 756 765 sleep 1 … … 763 772 if ( 764 773 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` 765 if test " " = "X"; then774 if test "$*" = "X"; then 766 775 # -L didn't work. 767 776 set X `ls -t $srcdir/configure conftestfile` 768 777 fi 778 if test "$*" != "X $srcdir/configure conftestfile" \ 779 && test "$*" != "X conftestfile $srcdir/configure"; then 780 781 # If neither matched, then we have a broken ls. This can happen 782 # if, for instance, CONFIG_SHELL is bash and it inherits a 783 # broken ls alias from the environment. This has actually 784 # happened. Such a system could not be considered "sane". 785 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken 786 alias in your environment" 1>&2; exit 1; } 787 fi 788 769 789 test "$2" = conftestfile 770 790 ) … … 797 817 test "$program_transform_name" = "" && program_transform_name="s,x,x," 798 818 799 missing_dir=`cd $ac_aux_dir && pwd`800 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6801 echo "configure:802: checking for working aclocal" >&5802 # Run test in a subshell; some versions of sh will print an error if803 # an executable is not found, even if stderr is redirected.804 # Redirect stdin to placate older versions of autoconf. Sigh.805 if (aclocal --version) < /dev/null > /dev/null 2>&1; then806 ACLOCAL=aclocal807 echo "$ac_t""found" 1>&6808 else809 ACLOCAL="$missing_dir/missing aclocal"810 echo "$ac_t""missing" 1>&6811 fi812 813 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6814 echo "configure:815: checking for working autoconf" >&5815 # Run test in a subshell; some versions of sh will print an error if816 # an executable is not found, even if stderr is redirected.817 # Redirect stdin to placate older versions of autoconf. Sigh.818 if (autoconf --version) < /dev/null > /dev/null 2>&1; then819 AUTOCONF=autoconf820 echo "$ac_t""found" 1>&6821 else822 AUTOCONF="$missing_dir/missing autoconf"823 echo "$ac_t""missing" 1>&6824 fi825 826 echo $ac_n "checking for working automake""... $ac_c" 1>&6827 echo "configure:828: checking for working automake" >&5828 # Run test in a subshell; some versions of sh will print an error if829 # an executable is not found, even if stderr is redirected.830 # Redirect stdin to placate older versions of autoconf. Sigh.831 if (automake --version) < /dev/null > /dev/null 2>&1; then832 AUTOMAKE=automake833 echo "$ac_t""found" 1>&6834 else835 AUTOMAKE="$missing_dir/missing automake"836 echo "$ac_t""missing" 1>&6837 fi838 839 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6840 echo "configure:841: checking for working autoheader" >&5841 # Run test in a subshell; some versions of sh will print an error if842 # an executable is not found, even if stderr is redirected.843 # Redirect stdin to placate older versions of autoconf. Sigh.844 if (autoheader --version) < /dev/null > /dev/null 2>&1; then845 AUTOHEADER=autoheader846 echo "$ac_t""found" 1>&6847 else848 AUTOHEADER="$missing_dir/missing autoheader"849 echo "$ac_t""missing" 1>&6850 fi851 852 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6853 echo "configure:854: checking for working makeinfo" >&5854 # Run test in a subshell; some versions of sh will print an error if855 # an executable is not found, even if stderr is redirected.856 # Redirect stdin to placate older versions of autoconf. Sigh.857 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then858 MAKEINFO=makeinfo859 echo "$ac_t""found" 1>&6860 else861 MAKEINFO="$missing_dir/missing makeinfo"862 echo "$ac_t""missing" 1>&6863 fi864 865 819 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 866 echo "configure:8 67: checking whether ${MAKE-make} sets \${MAKE}" >&5820 echo "configure:821: checking whether ${MAKE-make} sets \${MAKE}" >&5 867 821 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 868 822 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 891 845 892 846 847 PACKAGE=rtems-exec-score-tools-hppa 848 849 VERSION=$RTEMS_VERSION 850 851 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then 852 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } 853 fi 854 855 856 857 missing_dir=`cd $ac_aux_dir && pwd` 858 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 859 echo "configure:860: checking for working aclocal" >&5 860 # Run test in a subshell; some versions of sh will print an error if 861 # an executable is not found, even if stderr is redirected. 862 # Redirect stdin to placate older versions of autoconf. Sigh. 863 if (aclocal --version) < /dev/null > /dev/null 2>&1; then 864 ACLOCAL=aclocal 865 echo "$ac_t""found" 1>&6 866 else 867 ACLOCAL="$missing_dir/missing aclocal" 868 echo "$ac_t""missing" 1>&6 869 fi 870 871 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 872 echo "configure:873: checking for working autoconf" >&5 873 # Run test in a subshell; some versions of sh will print an error if 874 # an executable is not found, even if stderr is redirected. 875 # Redirect stdin to placate older versions of autoconf. Sigh. 876 if (autoconf --version) < /dev/null > /dev/null 2>&1; then 877 AUTOCONF=autoconf 878 echo "$ac_t""found" 1>&6 879 else 880 AUTOCONF="$missing_dir/missing autoconf" 881 echo "$ac_t""missing" 1>&6 882 fi 883 884 echo $ac_n "checking for working automake""... $ac_c" 1>&6 885 echo "configure:886: checking for working automake" >&5 886 # Run test in a subshell; some versions of sh will print an error if 887 # an executable is not found, even if stderr is redirected. 888 # Redirect stdin to placate older versions of autoconf. Sigh. 889 if (automake --version) < /dev/null > /dev/null 2>&1; then 890 AUTOMAKE=automake 891 echo "$ac_t""found" 1>&6 892 else 893 AUTOMAKE="$missing_dir/missing automake" 894 echo "$ac_t""missing" 1>&6 895 fi 896 897 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 898 echo "configure:899: checking for working autoheader" >&5 899 # Run test in a subshell; some versions of sh will print an error if 900 # an executable is not found, even if stderr is redirected. 901 # Redirect stdin to placate older versions of autoconf. Sigh. 902 if (autoheader --version) < /dev/null > /dev/null 2>&1; then 903 AUTOHEADER=autoheader 904 echo "$ac_t""found" 1>&6 905 else 906 AUTOHEADER="$missing_dir/missing autoheader" 907 echo "$ac_t""missing" 1>&6 908 fi 909 910 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 911 echo "configure:912: checking for working makeinfo" >&5 912 # Run test in a subshell; some versions of sh will print an error if 913 # an executable is not found, even if stderr is redirected. 914 # Redirect stdin to placate older versions of autoconf. Sigh. 915 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then 916 MAKEINFO=makeinfo 917 echo "$ac_t""found" 1>&6 918 else 919 MAKEINFO="$missing_dir/missing makeinfo" 920 echo "$ac_t""missing" 1>&6 921 fi 922 923 924 893 925 # Extract the first word of "gcc", so it can be a program name with args. 894 926 set dummy gcc; ac_word=$2 895 927 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 896 echo "configure: 897: checking for $ac_word" >&5928 echo "configure:929: checking for $ac_word" >&5 897 929 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 898 930 echo $ac_n "(cached) $ac_c" 1>&6 … … 901 933 ac_cv_prog_CC="$CC" # Let the user override the test. 902 934 else 903 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 904 for ac_dir in $PATH; do 935 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 936 ac_dummy="$PATH" 937 for ac_dir in $ac_dummy; do 905 938 test -z "$ac_dir" && ac_dir=. 906 939 if test -f $ac_dir/$ac_word; then … … 923 956 set dummy cc; ac_word=$2 924 957 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 925 echo "configure:9 26: checking for $ac_word" >&5958 echo "configure:959: checking for $ac_word" >&5 926 959 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 927 960 echo $ac_n "(cached) $ac_c" 1>&6 … … 930 963 ac_cv_prog_CC="$CC" # Let the user override the test. 931 964 else 932 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" ${IFS}:"965 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 933 966 ac_prog_rejected=no 934 for ac_dir in $PATH; do 967 ac_dummy="$PATH" 968 for ac_dir in $ac_dummy; do 935 969 test -z "$ac_dir" && ac_dir=. 936 970 if test -f $ac_dir/$ac_word; then … … 967 1001 fi 968 1002 1003 if test -z "$CC"; then 1004 case "`uname -s`" in 1005 *win32* | *WIN32*) 1006 # Extract the first word of "cl", so it can be a program name with args. 1007 set dummy cl; ac_word=$2 1008 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1009 echo "configure:1010: checking for $ac_word" >&5 1010 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1011 echo $ac_n "(cached) $ac_c" 1>&6 1012 else 1013 if test -n "$CC"; then 1014 ac_cv_prog_CC="$CC" # Let the user override the test. 1015 else 1016 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1017 ac_dummy="$PATH" 1018 for ac_dir in $ac_dummy; do 1019 test -z "$ac_dir" && ac_dir=. 1020 if test -f $ac_dir/$ac_word; then 1021 ac_cv_prog_CC="cl" 1022 break 1023 fi 1024 done 1025 IFS="$ac_save_ifs" 1026 fi 1027 fi 1028 CC="$ac_cv_prog_CC" 1029 if test -n "$CC"; then 1030 echo "$ac_t""$CC" 1>&6 1031 else 1032 echo "$ac_t""no" 1>&6 1033 fi 1034 ;; 1035 esac 1036 fi 969 1037 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 970 1038 fi 971 1039 972 1040 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 973 echo "configure: 974: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&51041 echo "configure:1042: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 974 1042 975 1043 ac_ext=c … … 977 1045 ac_cpp='$CPP $CPPFLAGS' 978 1046 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 979 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'1047 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 980 1048 cross_compiling=$ac_cv_prog_cc_cross 981 1049 982 cat > conftest.$ac_ext <<EOF 983 #line 984 "configure" 1050 cat > conftest.$ac_ext << EOF 1051 1052 #line 1053 "configure" 984 1053 #include "confdefs.h" 1054 985 1055 main(){return(0);} 986 1056 EOF 987 if { (eval echo configure: 988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1057 if { (eval echo configure:1058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 988 1058 ac_cv_prog_cc_works=yes 989 1059 # If we can't run a trivial program, we are probably using a cross compiler. … … 999 1069 fi 1000 1070 rm -fr conftest* 1071 ac_ext=c 1072 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 1073 ac_cpp='$CPP $CPPFLAGS' 1074 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 1075 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1076 cross_compiling=$ac_cv_prog_cc_cross 1001 1077 1002 1078 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 … … 1005 1081 fi 1006 1082 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1007 echo "configure:10 08: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&51083 echo "configure:1084: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1008 1084 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1009 1085 cross_compiling=$ac_cv_prog_cc_cross 1010 1086 1011 1087 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1012 echo "configure:10 13: checking whether we are using GNU C" >&51088 echo "configure:1089: checking whether we are using GNU C" >&5 1013 1089 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1014 1090 echo $ac_n "(cached) $ac_c" 1>&6 … … 1019 1095 #endif 1020 1096 EOF 1021 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:10 22: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1097 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1022 1098 ac_cv_prog_gcc=yes 1023 1099 else … … 1030 1106 if test $ac_cv_prog_gcc = yes; then 1031 1107 GCC=yes 1032 ac_test_CFLAGS="${CFLAGS+set}" 1033 ac_save_CFLAGS="$CFLAGS" 1034 CFLAGS= 1035 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1036 echo "configure:1037: checking whether ${CC-cc} accepts -g" >&5 1108 else 1109 GCC= 1110 fi 1111 1112 ac_test_CFLAGS="${CFLAGS+set}" 1113 ac_save_CFLAGS="$CFLAGS" 1114 CFLAGS= 1115 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1116 echo "configure:1117: checking whether ${CC-cc} accepts -g" >&5 1037 1117 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1038 1118 echo $ac_n "(cached) $ac_c" 1>&6 … … 1049 1129 1050 1130 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 1051 if test "$ac_test_CFLAGS" = set; then 1052 CFLAGS="$ac_save_CFLAGS" 1053 elif test $ac_cv_prog_cc_g = yes; then 1131 if test "$ac_test_CFLAGS" = set; then 1132 CFLAGS="$ac_save_CFLAGS" 1133 elif test $ac_cv_prog_cc_g = yes; then 1134 if test "$GCC" = yes; then 1054 1135 CFLAGS="-g -O2" 1055 1136 else 1137 CFLAGS="-g" 1138 fi 1139 else 1140 if test "$GCC" = yes; then 1056 1141 CFLAGS="-O2" 1057 fi 1058 else 1059 GCC= 1060 test "${CFLAGS+set}" = set || CFLAGS="-g" 1142 else 1143 CFLAGS= 1144 fi 1061 1145 fi 1062 1146 … … 1101 1185 # and sets the high bit in the cache file unless we assign to the vars. 1102 1186 (set) 2>&1 | 1103 case `(ac_space=' '; set ) 2>&1` in1187 case `(ac_space=' '; set | grep ac_space) 2>&1` in 1104 1188 *ac_space=\ *) 1105 1189 # `set' does not quote correctly, so add quotes (double-quote substitution … … 1180 1264 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 1181 1265 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 1182 echo "$CONFIG_STATUS generated by autoconf version 2.1 2"1266 echo "$CONFIG_STATUS generated by autoconf version 2.13" 1183 1267 exit 0 ;; 1184 1268 -help | --help | --hel | --he | --h) … … 1200 1284 $ac_vpsub 1201 1285 $extrasub 1286 s%@SHELL@%$SHELL%g 1202 1287 s%@CFLAGS@%$CFLAGS%g 1203 1288 s%@CPPFLAGS@%$CPPFLAGS%g 1204 1289 s%@CXXFLAGS@%$CXXFLAGS%g 1290 s%@FFLAGS@%$FFLAGS%g 1205 1291 s%@DEFS@%$DEFS%g 1206 1292 s%@LDFLAGS@%$LDFLAGS%g … … 1223 1309 s%@RTEMS_TOPdir@%$RTEMS_TOPdir%g 1224 1310 s%@PROJECT_ROOT@%$PROJECT_ROOT%g 1311 s%@RTEMS_ROOT@%$RTEMS_ROOT%g 1225 1312 s%@host@%$host%g 1226 1313 s%@host_alias@%$host_alias%g … … 1239 1326 s%@build_os@%$build_os%g 1240 1327 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g 1328 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g 1241 1329 s%@INSTALL_DATA@%$INSTALL_DATA%g 1242 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g1243 1330 s%@PACKAGE@%$PACKAGE%g 1244 1331 s%@VERSION@%$VERSION%g -
c/src/exec/score/tools/sh/Makefile.in
rd115315 r8cdb582 1 # Makefile.in generated automatically by automake 1. 2from Makefile.am2 3 # Copyright (C) 1994, 1995 , 1996, 1997Free Software Foundation, Inc.1 # Makefile.in generated automatically by automake 1.4 from Makefile.am 2 3 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. 4 4 # This Makefile.in is free software; the Free Software Foundation 5 # gives unlimited permission to copy, distribute and modify it. 5 # gives unlimited permission to copy and/or distribute it, 6 # with or without modifications, as long as this notice is preserved. 7 8 # This program is distributed in the hope that it will be useful, 9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without 10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 # PARTICULAR PURPOSE. 6 12 7 13 # … … 10 16 11 17 12 SHELL = /bin/sh 18 19 SHELL = @SHELL@ 13 20 14 21 srcdir = @srcdir@ … … 31 38 oldincludedir = /usr/include 32 39 40 DESTDIR = 41 33 42 pkgdatadir = $(datadir)/@PACKAGE@ 34 43 pkglibdir = $(libdir)/@PACKAGE@ … … 41 50 42 51 INSTALL = @INSTALL@ 43 INSTALL_PROGRAM = @INSTALL_PROGRAM@ 52 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) 44 53 INSTALL_DATA = @INSTALL_DATA@ 45 54 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 46 55 transform = @program_transform_name@ 47 56 48 NORMAL_INSTALL = true49 PRE_INSTALL = true50 POST_INSTALL = true51 NORMAL_UNINSTALL = true52 PRE_UNINSTALL = true53 POST_UNINSTALL = true57 NORMAL_INSTALL = : 58 PRE_INSTALL = : 59 POST_INSTALL = : 60 NORMAL_UNINSTALL = : 61 PRE_UNINSTALL = : 62 POST_UNINSTALL = : 54 63 build_alias = @build_alias@ 55 64 build_triplet = @build@ … … 62 71 PACKAGE = @PACKAGE@ 63 72 PROJECT_ROOT = @PROJECT_ROOT@ 73 RTEMS_ROOT = @RTEMS_ROOT@ 64 74 RTEMS_TOPdir = @RTEMS_TOPdir@ 65 75 VERSION = @VERSION@ … … 72 82 ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal 73 83 74 noinst_PROGRAMS=shgen 75 76 shgen_SOURCES = \ 77 sci.h \ 78 sci.c \ 79 shgen.c 84 noinst_PROGRAMS = shgen 85 86 shgen_SOURCES = sci.h sci.c shgen.c 87 80 88 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 81 89 mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../mkinstalldirs … … 90 98 shgen_OBJECTS = sci.o shgen.o 91 99 shgen_LDADD = $(LDADD) 100 shgen_DEPENDENCIES = 92 101 shgen_LDFLAGS = 93 102 CFLAGS = @CFLAGS@ 94 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) 95 LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@ 103 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 104 CCLD = $(CC) 105 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ 96 106 DIST_COMMON = AUTHORS COPYING Makefile.am Makefile.in TODO aclocal.m4 \ 97 107 configure configure.in … … 101 111 102 112 TAR = tar 103 GZIP = --best113 GZIP_ENV = --best 104 114 DEP_FILES = .deps/sci.P .deps/shgen.P 105 115 SOURCES = $(shgen_SOURCES) 106 116 OBJECTS = $(shgen_OBJECTS) 107 117 108 default: all 109 118 all: all-redirect 110 119 .SUFFIXES: 111 .SUFFIXES: . c .o112 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 120 .SUFFIXES: .S .c .o .s 121 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../../../../automake/local.am 113 122 cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile 114 123 115 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)124 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) 116 125 cd $(top_builddir) \ 117 126 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status … … 120 129 cd $(srcdir) && $(ACLOCAL) 121 130 122 config.status: $(srcdir)/configure 131 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 123 132 $(SHELL) ./config.status --recheck 124 133 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) … … 128 137 129 138 clean-noinstPROGRAMS: 130 test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)139 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) 131 140 132 141 distclean-noinstPROGRAMS: … … 134 143 maintainer-clean-noinstPROGRAMS: 135 144 136 . c.o:145 .s.o: 137 146 $(COMPILE) -c $< 138 147 148 .S.o: 149 $(COMPILE) -c $< 150 139 151 mostlyclean-compile: 140 rm -f *.ocore152 -rm -f *.o core *.core 141 153 142 154 clean-compile: 143 155 144 156 distclean-compile: 145 rm -f *.tab.c157 -rm -f *.tab.c 146 158 147 159 maintainer-clean-compile: … … 153 165 tags: TAGS 154 166 155 ID: $(HEADERS) $(SOURCES) 156 here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS) 157 158 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) 167 ID: $(HEADERS) $(SOURCES) $(LISP) 168 list='$(SOURCES) $(HEADERS)'; \ 169 unique=`for i in $$list; do echo $$i; done | \ 170 awk ' { files[$$0] = 1; } \ 171 END { for (i in files) print i; }'`; \ 172 here=`pwd` && cd $(srcdir) \ 173 && mkid -f$$here/ID $$unique $(LISP) 174 175 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) 159 176 tags=; \ 160 177 here=`pwd`; \ 161 test -z "$(ETAGS_ARGS)$(SOURCES)$(HEADERS)$$tags" \ 162 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $(SOURCES) $(HEADERS) -o $$here/TAGS) 178 list='$(SOURCES) $(HEADERS)'; \ 179 unique=`for i in $$list; do echo $$i; done | \ 180 awk ' { files[$$0] = 1; } \ 181 END { for (i in files) print i; }'`; \ 182 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ 183 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) 163 184 164 185 mostlyclean-tags: … … 167 188 168 189 distclean-tags: 169 rm -f TAGS ID190 -rm -f TAGS ID 170 191 171 192 maintainer-clean-tags: … … 178 199 # tarfile. 179 200 distcheck: dist 180 rm -rf $(distdir)181 GZIP=$(GZIP ) $(TAR) zxf $(distdir).tar.gz201 -rm -rf $(distdir) 202 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz 182 203 mkdir $(distdir)/=build 183 204 mkdir $(distdir)/=inst … … 185 206 cd $(distdir)/=build \ 186 207 && ../configure --srcdir=.. --prefix=$$dc_install_base \ 187 && $(MAKE) \ 188 && $(MAKE) dvi \ 189 && $(MAKE) check \ 190 && $(MAKE) install \ 191 && $(MAKE) installcheck \ 192 && $(MAKE) dist 193 rm -rf $(distdir) 194 @echo "========================"; \ 195 echo "$(distdir).tar.gz is ready for distribution"; \ 196 echo "========================" 208 && $(MAKE) $(AM_MAKEFLAGS) \ 209 && $(MAKE) $(AM_MAKEFLAGS) dvi \ 210 && $(MAKE) $(AM_MAKEFLAGS) check \ 211 && $(MAKE) $(AM_MAKEFLAGS) install \ 212 && $(MAKE) $(AM_MAKEFLAGS) installcheck \ 213 && $(MAKE) $(AM_MAKEFLAGS) dist 214 -rm -rf $(distdir) 215 @banner="$(distdir).tar.gz is ready for distribution"; \ 216 dashes=`echo "$$banner" | sed s/./=/g`; \ 217 echo "$$dashes"; \ 218 echo "$$banner"; \ 219 echo "$$dashes" 197 220 dist: distdir 198 221 -chmod -R a+r $(distdir) 199 GZIP=$(GZIP ) $(TAR) chozf $(distdir).tar.gz $(distdir)200 rm -rf $(distdir)222 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 223 -rm -rf $(distdir) 201 224 dist-all: distdir 202 225 -chmod -R a+r $(distdir) 203 GZIP=$(GZIP ) $(TAR) chozf $(distdir).tar.gz $(distdir)204 rm -rf $(distdir)226 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 227 -rm -rf $(distdir) 205 228 distdir: $(DISTFILES) 206 rm -rf $(distdir)229 -rm -rf $(distdir) 207 230 mkdir $(distdir) 208 231 -chmod 777 $(distdir) 209 232 here=`cd $(top_builddir) && pwd`; \ 210 top_distdir=`cd $(top_distdir) && pwd`; \ 233 top_distdir=`cd $(distdir) && pwd`; \ 234 distdir=`cd $(distdir) && pwd`; \ 211 235 cd $(top_srcdir) \ 212 236 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile 213 237 @for file in $(DISTFILES); do \ 214 238 d=$(srcdir); \ 215 test -f $(distdir)/$$file \ 216 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ 217 || cp -p $$d/$$file $(distdir)/$$file; \ 239 if test -d $$d/$$file; then \ 240 cp -pr $$/$$file $(distdir)/$$file; \ 241 else \ 242 test -f $(distdir)/$$file \ 243 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ 244 || cp -p $$d/$$file $(distdir)/$$file || :; \ 245 fi; \ 218 246 done 219 247 220 MKDEP = gcc -M $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)221 222 248 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) 223 -include .deps/.P224 .deps/.P: $(BUILT_SOURCES)225 echo > $@226 249 227 250 -include $(DEP_FILES) … … 232 255 233 256 distclean-depend: 257 -rm -rf .deps 234 258 235 259 maintainer-clean-depend: 236 rm -rf .deps 237 238 .deps/%.P: %.c 239 @echo "Computing dependencies for $<..." 240 @o='o'; \ 241 test -n "$o" && o='$$o'; \ 242 $(MKDEP) $< >$@.tmp \ 243 && sed "s,^\(.*\)\.o:,\1.$$o \1.l$$o $@:," < $@.tmp > $@ \ 244 && rm -f $@.tmp 245 info: 246 dvi: 247 check: all 248 $(MAKE) 249 installcheck: 250 install-exec: 251 @$(NORMAL_INSTALL) 252 253 install-data: 254 @$(NORMAL_INSTALL) 255 256 install: install-exec install-data all 257 @: 258 259 uninstall: 260 261 all: Makefile $(PROGRAMS) 262 260 261 %.o: %.c 262 @echo '$(COMPILE) -c $<'; \ 263 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< 264 @-cp .deps/$(*F).pp .deps/$(*F).P; \ 265 tr ' ' '\012' < .deps/$(*F).pp \ 266 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ 267 >> .deps/$(*F).P; \ 268 rm .deps/$(*F).pp 269 270 %.lo: %.c 271 @echo '$(LTCOMPILE) -c $<'; \ 272 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< 273 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ 274 < .deps/$(*F).pp > .deps/$(*F).P; \ 275 tr ' ' '\012' < .deps/$(*F).pp \ 276 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ 277 >> .deps/$(*F).P; \ 278 rm -f .deps/$(*F).pp 279 info-am: 280 info: info-am 281 dvi-am: 282 dvi: dvi-am 283 check-am: all-am 284 check: check-am 285 installcheck-am: 286 installcheck: installcheck-am 287 install-exec-am: 288 install-exec: install-exec-am 289 290 install-data-am: 291 install-data: install-data-am 292 293 install-am: all-am 294 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 295 install: install-am 296 uninstall-am: 297 uninstall: uninstall-am 298 all-am: Makefile $(PROGRAMS) 299 all-redirect: all-am 263 300 install-strip: 264 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)'install301 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install 265 302 installdirs: 266 303 267 304 268 305 mostlyclean-generic: 269 test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)270 306 271 307 clean-generic: 272 test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)273 308 274 309 distclean-generic: 275 rm -f Makefile $(DISTCLEANFILES) 276 rm -f config.cache config.log stamp-h stamp-h[0-9]* 277 test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 310 -rm -f Makefile $(CONFIG_CLEAN_FILES) 311 -rm -f config.cache config.log stamp-h stamp-h[0-9]* 278 312 279 313 maintainer-clean-generic: 280 test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) 281 test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) 282 mostlyclean: mostlyclean-noinstPROGRAMS mostlyclean-compile \ 314 mostlyclean-am: mostlyclean-noinstPROGRAMS mostlyclean-compile \ 283 315 mostlyclean-tags mostlyclean-depend mostlyclean-generic 284 316 285 clean: clean-noinstPROGRAMS clean-compile clean-tags clean-depend \ 286 clean-generic mostlyclean 287 288 distclean: distclean-noinstPROGRAMS distclean-compile distclean-tags \ 289 distclean-depend distclean-generic clean 290 rm -f config.status 291 292 maintainer-clean: maintainer-clean-noinstPROGRAMS \ 317 mostlyclean: mostlyclean-am 318 319 clean-am: clean-noinstPROGRAMS clean-compile clean-tags clean-depend \ 320 clean-generic mostlyclean-am 321 322 clean: clean-am 323 324 distclean-am: distclean-noinstPROGRAMS distclean-compile distclean-tags \ 325 distclean-depend distclean-generic clean-am 326 327 distclean: distclean-am 328 -rm -f config.status 329 330 maintainer-clean-am: maintainer-clean-noinstPROGRAMS \ 293 331 maintainer-clean-compile maintainer-clean-tags \ 294 332 maintainer-clean-depend maintainer-clean-generic \ 295 distclean 333 distclean-am 296 334 @echo "This command is intended for maintainers to use;" 297 335 @echo "it deletes files that may require special tools to rebuild." 298 rm -f config.status 299 300 .PHONY: default mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \ 336 337 maintainer-clean: maintainer-clean-am 338 -rm -f config.status 339 340 .PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \ 301 341 clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \ 302 342 mostlyclean-compile distclean-compile clean-compile \ 303 343 maintainer-clean-compile tags mostlyclean-tags distclean-tags \ 304 344 clean-tags maintainer-clean-tags distdir mostlyclean-depend \ 305 distclean-depend clean-depend maintainer-clean-depend info dvi \ 306 installcheck install-exec install-data install uninstall all \ 307 installdirs mostlyclean-generic distclean-generic clean-generic \ 345 distclean-depend clean-depend maintainer-clean-depend info-am info \ 346 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ 347 install-exec install-data-am install-data install-am install \ 348 uninstall-am uninstall all-redirect all-am all installdirs \ 349 mostlyclean-generic distclean-generic clean-generic \ 308 350 maintainer-clean-generic clean mostlyclean distclean maintainer-clean 309 351 310 352 311 include $(top_srcdir)/../../../../../../automake/local.am 353 debug-am: 354 355 debug: debug-am 356 357 debug_install-am: 358 359 debug_install: debug_install-am 360 361 .PHONY: debug debug_install debug-am 362 363 profile-am: 364 365 profile: profile-am 366 367 profile_install-am: 368 369 profile_install: profile_install-am 370 371 .PHONY: profile profile_install profile-am 372 373 preinstall-am: 374 375 preinstall: preinstall-am 376 377 .PHONY: preinstall preinstall-am 312 378 313 379 # Tell versions [3.59,3.63) of GNU make to not export all variables. -
c/src/exec/score/tools/sh/aclocal.m4
rd115315 r8cdb582 1 dnl aclocal.m4 generated automatically by aclocal 1.2 1 dnl aclocal.m4 generated automatically by aclocal 1.4 2 3 dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. 4 dnl This file is free software; the Free Software Foundation 5 dnl gives unlimited permission to copy and/or distribute it, 6 dnl with or without modifications, as long as this notice is preserved. 7 8 dnl This program is distributed in the hope that it will be useful, 9 dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without 10 dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 dnl PARTICULAR PURPOSE. 2 12 3 13 dnl $Id$ … … 10 20 AC_DEFUN(RTEMS_TOP, 11 21 [dnl 22 AC_ARG_WITH(target-subdir, 23 [ --with-target-subdir=DIR], 24 TARGET_SUBDIR="$withval", 25 TARGET_SUBDIR=".") 26 12 27 RTEMS_TOPdir="$1"; 13 28 AC_SUBST(RTEMS_TOPdir) 14 29 15 30 PROJECT_ROOT=`pwd`/$RTEMS_TOPdir; 31 test "$TARGET_SUBDIR" = "." || PROJECT_ROOT="$PROJECT_ROOT/.." 16 32 AC_SUBST(PROJECT_ROOT) 17 33 … … 32 48 AC_MSG_RESULT($RTEMS_VERSION) 33 49 34 dnl FIXME: This once gets activated in future or will be removed 35 dnl RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir; 36 dnl AC_SUBST(RTEMS_ROOT) 50 RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir; 51 AC_SUBST(RTEMS_ROOT) 37 52 ])dnl 38 53 … … 90 105 91 106 AC_DEFUN(AM_INIT_AUTOMAKE, 92 [AC_REQUIRE([A M_PROG_INSTALL])107 [AC_REQUIRE([AC_PROG_INSTALL]) 93 108 PACKAGE=[$1] 94 109 AC_SUBST(PACKAGE) … … 100 115 fi 101 116 ifelse([$3],, 102 AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE" )103 AC_DEFINE_UNQUOTED(VERSION, "$VERSION" ))104 A M_SANITY_CHECK105 AC_ ARG_PROGRAM117 AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) 118 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])) 119 AC_REQUIRE([AM_SANITY_CHECK]) 120 AC_REQUIRE([AC_ARG_PROGRAM]) 106 121 dnl FIXME This is truly gross. 107 122 missing_dir=`cd $ac_aux_dir && pwd` … … 111 126 AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) 112 127 AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) 113 AC_PROG_MAKE_SET]) 114 115 116 # serial 1 117 118 AC_DEFUN(AM_PROG_INSTALL, 119 [AC_REQUIRE([AC_PROG_INSTALL]) 120 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' 121 AC_SUBST(INSTALL_SCRIPT)dnl 122 ]) 128 AC_REQUIRE([AC_PROG_MAKE_SET])]) 123 129 124 130 # … … 138 144 if ( 139 145 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` 140 if test " $@" = "X"; then146 if test "[$]*" = "X"; then 141 147 # -L didn't work. 142 148 set X `ls -t $srcdir/configure conftestfile` 143 149 fi 150 if test "[$]*" != "X $srcdir/configure conftestfile" \ 151 && test "[$]*" != "X conftestfile $srcdir/configure"; then 152 153 # If neither matched, then we have a broken ls. This can happen 154 # if, for instance, CONFIG_SHELL is bash and it inherits a 155 # broken ls alias from the environment. This has actually 156 # happened. Such a system could not be considered "sane". 157 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken 158 alias in your environment]) 159 fi 160 144 161 test "[$]2" = conftestfile 145 162 ) -
c/src/exec/score/tools/sh/configure
rd115315 r8cdb582 2 2 3 3 # Guess values for system-dependent variables and create Makefiles. 4 # Generated automatically using autoconf version 2.1 24 # Generated automatically using autoconf version 2.13 5 5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 6 6 # … … 12 12 ac_default_prefix=/usr/local 13 13 # Any additions from configure.in: 14 ac_help="$ac_help 15 --with-target-subdir=DIR" 14 16 15 17 # Initialize some variables set by options. … … 50 52 subdirs= 51 53 MFLAGS= MAKEFLAGS= 54 SHELL=${CONFIG_SHELL-/bin/sh} 52 55 # Maximum number of lines to put in a shell here document. 53 56 ac_max_here_lines=12 … … 333 336 334 337 -version | --version | --versio | --versi | --vers) 335 echo "configure generated by autoconf version 2.1 2"338 echo "configure generated by autoconf version 2.13" 336 339 exit 0 ;; 337 340 … … 503 506 ac_cpp='$CPP $CPPFLAGS' 504 507 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 505 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'508 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 506 509 cross_compiling=$ac_cv_prog_cc_cross 507 510 511 ac_exeext= 512 ac_objext=o 508 513 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then 509 514 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. … … 539 544 540 545 546 # Check whether --with-target-subdir or --without-target-subdir was given. 547 if test "${with_target_subdir+set}" = set; then 548 withval="$with_target_subdir" 549 TARGET_SUBDIR="$withval" 550 else 551 TARGET_SUBDIR="." 552 fi 553 554 541 555 RTEMS_TOPdir="../../../../../.."; 542 556 543 557 544 558 PROJECT_ROOT=`pwd`/$RTEMS_TOPdir; 559 test "$TARGET_SUBDIR" = "." || PROJECT_ROOT="$PROJECT_ROOT/.." 545 560 546 561 547 562 echo $ac_n "checking for RTEMS Version""... $ac_c" 1>&6 548 echo "configure:5 49: checking for RTEMS Version" >&5563 echo "configure:564: checking for RTEMS Version" >&5 549 564 if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then 550 565 RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \ … … 557 572 fi 558 573 echo "$ac_t""$RTEMS_VERSION" 1>&6 574 575 RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir; 559 576 560 577 … … 582 599 583 600 # Make sure we can run config.sub. 584 if $ ac_config_sub sun4 >/dev/null 2>&1; then :601 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : 585 602 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } 586 603 fi 587 604 588 605 echo $ac_n "checking host system type""... $ac_c" 1>&6 589 echo "configure: 590: checking host system type" >&5606 echo "configure:607: checking host system type" >&5 590 607 591 608 host_alias=$host … … 594 611 case $nonopt in 595 612 NONE) 596 if host_alias=`$ ac_config_guess`; then :613 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : 597 614 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } 598 615 fi ;; … … 601 618 esac 602 619 603 host=`$ ac_config_sub $host_alias`620 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` 604 621 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 605 622 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` … … 608 625 609 626 echo $ac_n "checking target system type""... $ac_c" 1>&6 610 echo "configure:6 11: checking target system type" >&5627 echo "configure:628: checking target system type" >&5 611 628 612 629 target_alias=$target … … 619 636 esac 620 637 621 target=`$ ac_config_sub $target_alias`638 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` 622 639 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 623 640 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` … … 626 643 627 644 echo $ac_n "checking build system type""... $ac_c" 1>&6 628 echo "configure:6 29: checking build system type" >&5645 echo "configure:646: checking build system type" >&5 629 646 630 647 build_alias=$build … … 637 654 esac 638 655 639 build=`$ ac_config_sub $build_alias`656 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` 640 657 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 641 658 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` … … 651 668 652 669 echo $ac_n "checking rtems target cpu""... $ac_c" 1>&6 653 echo "configure:6 54: checking rtems target cpu" >&5670 echo "configure:671: checking rtems target cpu" >&5 654 671 case "${target}" in 655 672 # hpux unix port should go here … … 686 703 # IRIX /sbin/install 687 704 # AIX /bin/install 705 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 688 706 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 689 707 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 690 708 # ./install, which can be erroneously created by make from ./install.sh. 691 709 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 692 echo "configure: 693: checking for a BSD compatible install" >&5710 echo "configure:711: checking for a BSD compatible install" >&5 693 711 if test -z "$INSTALL"; then 694 712 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 695 713 echo $ac_n "(cached) $ac_c" 1>&6 696 714 else 697 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=" ${IFS}:"715 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 698 716 for ac_dir in $PATH; do 699 717 # Account for people who put trailing slashes in PATH elements. … … 702 720 *) 703 721 # OSF1 and SCO ODT 3.0 have their own names for install. 704 for ac_prog in ginstall installbsd scoinst install; do 722 # Don't use installbsd from OSF since it installs stuff as root 723 # by default. 724 for ac_prog in ginstall scoinst install; do 705 725 if test -f $ac_dir/$ac_prog; then 706 726 if test $ac_prog = install && 707 727 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then 708 728 # AIX install. It has an incompatible calling convention. 709 # OSF/1 installbsd also uses dspmsg, but is usable.710 729 : 711 730 else … … 737 756 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 738 757 758 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' 759 739 760 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 740 761 741 742 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'743 744 745 PACKAGE=rtems-exec-score-tools-sh746 747 VERSION=$RTEMS_VERSION748 749 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then750 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }751 fi752 753 762 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 754 echo "configure:7 55: checking whether build environment is sane" >&5763 echo "configure:764: checking whether build environment is sane" >&5 755 764 # Just in case 756 765 sleep 1 … … 763 772 if ( 764 773 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` 765 if test " " = "X"; then774 if test "$*" = "X"; then 766 775 # -L didn't work. 767 776 set X `ls -t $srcdir/configure conftestfile` 768 777 fi 778 if test "$*" != "X $srcdir/configure conftestfile" \ 779 && test "$*" != "X conftestfile $srcdir/configure"; then 780 781 # If neither matched, then we have a broken ls. This can happen 782 # if, for instance, CONFIG_SHELL is bash and it inherits a 783 # broken ls alias from the environment. This has actually 784 # happened. Such a system could not be considered "sane". 785 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken 786 alias in your environment" 1>&2; exit 1; } 787 fi 788 769 789 test "$2" = conftestfile 770 790 ) … … 797 817 test "$program_transform_name" = "" && program_transform_name="s,x,x," 798 818 799 missing_dir=`cd $ac_aux_dir && pwd`800 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6801 echo "configure:802: checking for working aclocal" >&5802 # Run test in a subshell; some versions of sh will print an error if803 # an executable is not found, even if stderr is redirected.804 # Redirect stdin to placate older versions of autoconf. Sigh.805 if (aclocal --version) < /dev/null > /dev/null 2>&1; then806 ACLOCAL=aclocal807 echo "$ac_t""found" 1>&6808 else809 ACLOCAL="$missing_dir/missing aclocal"810 echo "$ac_t""missing" 1>&6811 fi812 813 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6814 echo "configure:815: checking for working autoconf" >&5815 # Run test in a subshell; some versions of sh will print an error if816 # an executable is not found, even if stderr is redirected.817 # Redirect stdin to placate older versions of autoconf. Sigh.818 if (autoconf --version) < /dev/null > /dev/null 2>&1; then819 AUTOCONF=autoconf820 echo "$ac_t""found" 1>&6821 else822 AUTOCONF="$missing_dir/missing autoconf"823 echo "$ac_t""missing" 1>&6824 fi825 826 echo $ac_n "checking for working automake""... $ac_c" 1>&6827 echo "configure:828: checking for working automake" >&5828 # Run test in a subshell; some versions of sh will print an error if829 # an executable is not found, even if stderr is redirected.830 # Redirect stdin to placate older versions of autoconf. Sigh.831 if (automake --version) < /dev/null > /dev/null 2>&1; then832 AUTOMAKE=automake833 echo "$ac_t""found" 1>&6834 else835 AUTOMAKE="$missing_dir/missing automake"836 echo "$ac_t""missing" 1>&6837 fi838 839 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6840 echo "configure:841: checking for working autoheader" >&5841 # Run test in a subshell; some versions of sh will print an error if842 # an executable is not found, even if stderr is redirected.843 # Redirect stdin to placate older versions of autoconf. Sigh.844 if (autoheader --version) < /dev/null > /dev/null 2>&1; then845 AUTOHEADER=autoheader846 echo "$ac_t""found" 1>&6847 else848 AUTOHEADER="$missing_dir/missing autoheader"849 echo "$ac_t""missing" 1>&6850 fi851 852 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6853 echo "configure:854: checking for working makeinfo" >&5854 # Run test in a subshell; some versions of sh will print an error if855 # an executable is not found, even if stderr is redirected.856 # Redirect stdin to placate older versions of autoconf. Sigh.857 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then858 MAKEINFO=makeinfo859 echo "$ac_t""found" 1>&6860 else861 MAKEINFO="$missing_dir/missing makeinfo"862 echo "$ac_t""missing" 1>&6863 fi864 865 819 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 866 echo "configure:8 67: checking whether ${MAKE-make} sets \${MAKE}" >&5820 echo "configure:821: checking whether ${MAKE-make} sets \${MAKE}" >&5 867 821 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 868 822 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 891 845 892 846 847 PACKAGE=rtems-exec-score-tools-sh 848 849 VERSION=$RTEMS_VERSION 850 851 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then 852 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } 853 fi 854 855 856 857 missing_dir=`cd $ac_aux_dir && pwd` 858 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 859 echo "configure:860: checking for working aclocal" >&5 860 # Run test in a subshell; some versions of sh will print an error if 861 # an executable is not found, even if stderr is redirected. 862 # Redirect stdin to placate older versions of autoconf. Sigh. 863 if (aclocal --version) < /dev/null > /dev/null 2>&1; then 864 ACLOCAL=aclocal 865 echo "$ac_t""found" 1>&6 866 else 867 ACLOCAL="$missing_dir/missing aclocal" 868 echo "$ac_t""missing" 1>&6 869 fi 870 871 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 872 echo "configure:873: checking for working autoconf" >&5 873 # Run test in a subshell; some versions of sh will print an error if 874 # an executable is not found, even if stderr is redirected. 875 # Redirect stdin to placate older versions of autoconf. Sigh. 876 if (autoconf --version) < /dev/null > /dev/null 2>&1; then 877 AUTOCONF=autoconf 878 echo "$ac_t""found" 1>&6 879 else 880 AUTOCONF="$missing_dir/missing autoconf" 881 echo "$ac_t""missing" 1>&6 882 fi 883 884 echo $ac_n "checking for working automake""... $ac_c" 1>&6 885 echo "configure:886: checking for working automake" >&5 886 # Run test in a subshell; some versions of sh will print an error if 887 # an executable is not found, even if stderr is redirected. 888 # Redirect stdin to placate older versions of autoconf. Sigh. 889 if (automake --version) < /dev/null > /dev/null 2>&1; then 890 AUTOMAKE=automake 891 echo "$ac_t""found" 1>&6 892 else 893 AUTOMAKE="$missing_dir/missing automake" 894 echo "$ac_t""missing" 1>&6 895 fi 896 897 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 898 echo "configure:899: checking for working autoheader" >&5 899 # Run test in a subshell; some versions of sh will print an error if 900 # an executable is not found, even if stderr is redirected. 901 # Redirect stdin to placate older versions of autoconf. Sigh. 902 if (autoheader --version) < /dev/null > /dev/null 2>&1; then 903 AUTOHEADER=autoheader 904 echo "$ac_t""found" 1>&6 905 else 906 AUTOHEADER="$missing_dir/missing autoheader" 907 echo "$ac_t""missing" 1>&6 908 fi 909 910 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 911 echo "configure:912: checking for working makeinfo" >&5 912 # Run test in a subshell; some versions of sh will print an error if 913 # an executable is not found, even if stderr is redirected. 914 # Redirect stdin to placate older versions of autoconf. Sigh. 915 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then 916 MAKEINFO=makeinfo 917 echo "$ac_t""found" 1>&6 918 else 919 MAKEINFO="$missing_dir/missing makeinfo" 920 echo "$ac_t""missing" 1>&6 921 fi 922 923 924 893 925 # Extract the first word of "gcc", so it can be a program name with args. 894 926 set dummy gcc; ac_word=$2 895 927 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 896 echo "configure: 897: checking for $ac_word" >&5928 echo "configure:929: checking for $ac_word" >&5 897 929 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 898 930 echo $ac_n "(cached) $ac_c" 1>&6 … … 901 933 ac_cv_prog_CC="$CC" # Let the user override the test. 902 934 else 903 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 904 for ac_dir in $PATH; do 935 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 936 ac_dummy="$PATH" 937 for ac_dir in $ac_dummy; do 905 938 test -z "$ac_dir" && ac_dir=. 906 939 if test -f $ac_dir/$ac_word; then … … 923 956 set dummy cc; ac_word=$2 924 957 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 925 echo "configure:9 26: checking for $ac_word" >&5958 echo "configure:959: checking for $ac_word" >&5 926 959 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 927 960 echo $ac_n "(cached) $ac_c" 1>&6 … … 930 963 ac_cv_prog_CC="$CC" # Let the user override the test. 931 964 else 932 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" ${IFS}:"965 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 933 966 ac_prog_rejected=no 934 for ac_dir in $PATH; do 967 ac_dummy="$PATH" 968 for ac_dir in $ac_dummy; do 935 969 test -z "$ac_dir" && ac_dir=. 936 970 if test -f $ac_dir/$ac_word; then … … 967 1001 fi 968 1002 1003 if test -z "$CC"; then 1004 case "`uname -s`" in 1005 *win32* | *WIN32*) 1006 # Extract the first word of "cl", so it can be a program name with args. 1007 set dummy cl; ac_word=$2 1008 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1009 echo "configure:1010: checking for $ac_word" >&5 1010 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1011 echo $ac_n "(cached) $ac_c" 1>&6 1012 else 1013 if test -n "$CC"; then 1014 ac_cv_prog_CC="$CC" # Let the user override the test. 1015 else 1016 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1017 ac_dummy="$PATH" 1018 for ac_dir in $ac_dummy; do 1019 test -z "$ac_dir" && ac_dir=. 1020 if test -f $ac_dir/$ac_word; then 1021 ac_cv_prog_CC="cl" 1022 break 1023 fi 1024 done 1025 IFS="$ac_save_ifs" 1026 fi 1027 fi 1028 CC="$ac_cv_prog_CC" 1029 if test -n "$CC"; then 1030 echo "$ac_t""$CC" 1>&6 1031 else 1032 echo "$ac_t""no" 1>&6 1033 fi 1034 ;; 1035 esac 1036 fi 969 1037 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 970 1038 fi 971 1039 972 1040 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 973 echo "configure: 974: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&51041 echo "configure:1042: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 974 1042 975 1043 ac_ext=c … … 977 1045 ac_cpp='$CPP $CPPFLAGS' 978 1046 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 979 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'1047 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 980 1048 cross_compiling=$ac_cv_prog_cc_cross 981 1049 982 cat > conftest.$ac_ext <<EOF 983 #line 984 "configure" 1050 cat > conftest.$ac_ext << EOF 1051 1052 #line 1053 "configure" 984 1053 #include "confdefs.h" 1054 985 1055 main(){return(0);} 986 1056 EOF 987 if { (eval echo configure: 988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1057 if { (eval echo configure:1058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 988 1058 ac_cv_prog_cc_works=yes 989 1059 # If we can't run a trivial program, we are probably using a cross compiler. … … 999 1069 fi 1000 1070 rm -fr conftest* 1071 ac_ext=c 1072 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 1073 ac_cpp='$CPP $CPPFLAGS' 1074 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 1075 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1076 cross_compiling=$ac_cv_prog_cc_cross 1001 1077 1002 1078 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 … … 1005 1081 fi 1006 1082 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1007 echo "configure:10 08: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&51083 echo "configure:1084: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1008 1084 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1009 1085 cross_compiling=$ac_cv_prog_cc_cross 1010 1086 1011 1087 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1012 echo "configure:10 13: checking whether we are using GNU C" >&51088 echo "configure:1089: checking whether we are using GNU C" >&5 1013 1089 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1014 1090 echo $ac_n "(cached) $ac_c" 1>&6 … … 1019 1095 #endif 1020 1096 EOF 1021 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:10 22: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1097 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1022 1098 ac_cv_prog_gcc=yes 1023 1099 else … … 1030 1106 if test $ac_cv_prog_gcc = yes; then 1031 1107 GCC=yes 1032 ac_test_CFLAGS="${CFLAGS+set}" 1033 ac_save_CFLAGS="$CFLAGS" 1034 CFLAGS= 1035 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1036 echo "configure:1037: checking whether ${CC-cc} accepts -g" >&5 1108 else 1109 GCC= 1110 fi 1111 1112 ac_test_CFLAGS="${CFLAGS+set}" 1113 ac_save_CFLAGS="$CFLAGS" 1114 CFLAGS= 1115 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1116 echo "configure:1117: checking whether ${CC-cc} accepts -g" >&5 1037 1117 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1038 1118 echo $ac_n "(cached) $ac_c" 1>&6 … … 1049 1129 1050 1130 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 1051 if test "$ac_test_CFLAGS" = set; then 1052 CFLAGS="$ac_save_CFLAGS" 1053 elif test $ac_cv_prog_cc_g = yes; then 1131 if test "$ac_test_CFLAGS" = set; then 1132 CFLAGS="$ac_save_CFLAGS" 1133 elif test $ac_cv_prog_cc_g = yes; then 1134 if test "$GCC" = yes; then 1054 1135 CFLAGS="-g -O2" 1055 1136 else 1137 CFLAGS="-g" 1138 fi 1139 else 1140 if test "$GCC" = yes; then 1056 1141 CFLAGS="-O2" 1057 fi 1058 else 1059 GCC= 1060 test "${CFLAGS+set}" = set || CFLAGS="-g" 1142 else 1143 CFLAGS= 1144 fi 1061 1145 fi 1062 1146 1063 1147 echo $ac_n "checking for fabs in -lm""... $ac_c" 1>&6 1064 echo "configure:1 065: checking for fabs in -lm" >&51148 echo "configure:1149: checking for fabs in -lm" >&5 1065 1149 ac_lib_var=`echo m'_'fabs | sed 'y%./+-%__p_%'` 1066 1150 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1070 1154 LIBS="-lm $LIBS" 1071 1155 cat > conftest.$ac_ext <<EOF 1072 #line 1 073"configure"1156 #line 1157 "configure" 1073 1157 #include "confdefs.h" 1074 1158 /* Override any gcc2 internal prototype to avoid an error. */ … … 1081 1165 ; return 0; } 1082 1166 EOF 1083 if { (eval echo configure:1 084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1167 if { (eval echo configure:1168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1084 1168 rm -rf conftest* 1085 1169 eval "ac_cv_lib_$ac_lib_var=yes" … … 1148 1232 # and sets the high bit in the cache file unless we assign to the vars. 1149 1233 (set) 2>&1 | 1150 case `(ac_space=' '; set ) 2>&1` in1234 case `(ac_space=' '; set | grep ac_space) 2>&1` in 1151 1235 *ac_space=\ *) 1152 1236 # `set' does not quote correctly, so add quotes (double-quote substitution … … 1227 1311 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 1228 1312 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 1229 echo "$CONFIG_STATUS generated by autoconf version 2.1 2"1313 echo "$CONFIG_STATUS generated by autoconf version 2.13" 1230 1314 exit 0 ;; 1231 1315 -help | --help | --hel | --he | --h) … … 1247 1331 $ac_vpsub 1248 1332 $extrasub 1333 s%@SHELL@%$SHELL%g 1249 1334 s%@CFLAGS@%$CFLAGS%g 1250 1335 s%@CPPFLAGS@%$CPPFLAGS%g 1251 1336 s%@CXXFLAGS@%$CXXFLAGS%g 1337 s%@FFLAGS@%$FFLAGS%g 1252 1338 s%@DEFS@%$DEFS%g 1253 1339 s%@LDFLAGS@%$LDFLAGS%g … … 1270 1356 s%@RTEMS_TOPdir@%$RTEMS_TOPdir%g 1271 1357 s%@PROJECT_ROOT@%$PROJECT_ROOT%g 1358 s%@RTEMS_ROOT@%$RTEMS_ROOT%g 1272 1359 s%@host@%$host%g 1273 1360 s%@host_alias@%$host_alias%g … … 1286 1373 s%@build_os@%$build_os%g 1287 1374 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g 1375 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g 1288 1376 s%@INSTALL_DATA@%$INSTALL_DATA%g 1289 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g1290 1377 s%@PACKAGE@%$PACKAGE%g 1291 1378 s%@VERSION@%$VERSION%g -
c/src/exec/score/tools/unix/Makefile.in
rd115315 r8cdb582 15 15 # 16 16 17 18 # $Id$19 20 # NOTE: This is a temporary work-around to keep21 # "make debug" and "make debug_install" working.22 # Once automake is fully integrated these make targets23 # and this file will probably be removed24 17 25 18 … … 78 71 PACKAGE = @PACKAGE@ 79 72 PROJECT_ROOT = @PROJECT_ROOT@ 73 RTEMS_ROOT = @RTEMS_ROOT@ 80 74 RTEMS_TOPdir = @RTEMS_TOPdir@ 81 75 VERSION = @VERSION@ … … 377 371 debug_install: debug_install-am 378 372 373 .PHONY: debug debug_install debug-am 374 379 375 profile-am: 380 376 … … 385 381 profile_install: profile_install-am 386 382 387 .PHONY: debug debug_install profile profile_install 383 .PHONY: profile profile_install profile-am 384 385 preinstall-am: 386 387 preinstall: preinstall-am 388 389 .PHONY: preinstall preinstall-am 388 390 389 391 # Tell versions [3.59,3.63) of GNU make to not export all variables. -
c/src/exec/score/tools/unix/aclocal.m4
rd115315 r8cdb582 20 20 AC_DEFUN(RTEMS_TOP, 21 21 [dnl 22 AC_ARG_WITH(target-subdir, 23 [ --with-target-subdir=DIR], 24 TARGET_SUBDIR="$withval", 25 TARGET_SUBDIR=".") 26 22 27 RTEMS_TOPdir="$1"; 23 28 AC_SUBST(RTEMS_TOPdir) 24 29 25 30 PROJECT_ROOT=`pwd`/$RTEMS_TOPdir; 31 test "$TARGET_SUBDIR" = "." || PROJECT_ROOT="$PROJECT_ROOT/.." 26 32 AC_SUBST(PROJECT_ROOT) 27 33 … … 42 48 AC_MSG_RESULT($RTEMS_VERSION) 43 49 44 dnl FIXME: This once gets activated in future or will be removed 45 dnl RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir; 46 dnl AC_SUBST(RTEMS_ROOT) 50 RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir; 51 AC_SUBST(RTEMS_ROOT) 47 52 ])dnl 48 53 -
c/src/exec/score/tools/unix/configure
rd115315 r8cdb582 12 12 ac_default_prefix=/usr/local 13 13 # Any additions from configure.in: 14 ac_help="$ac_help 15 --with-target-subdir=DIR" 14 16 15 17 # Initialize some variables set by options. … … 542 544 543 545 546 # Check whether --with-target-subdir or --without-target-subdir was given. 547 if test "${with_target_subdir+set}" = set; then 548 withval="$with_target_subdir" 549 TARGET_SUBDIR="$withval" 550 else 551 TARGET_SUBDIR="." 552 fi 553 554 544 555 RTEMS_TOPdir="../../../../../.."; 545 556 546 557 547 558 PROJECT_ROOT=`pwd`/$RTEMS_TOPdir; 559 test "$TARGET_SUBDIR" = "." || PROJECT_ROOT="$PROJECT_ROOT/.." 548 560 549 561 550 562 echo $ac_n "checking for RTEMS Version""... $ac_c" 1>&6 551 echo "configure:5 52: checking for RTEMS Version" >&5563 echo "configure:564: checking for RTEMS Version" >&5 552 564 if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then 553 565 RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \ … … 560 572 fi 561 573 echo "$ac_t""$RTEMS_VERSION" 1>&6 574 575 RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir; 562 576 563 577 … … 590 604 591 605 echo $ac_n "checking host system type""... $ac_c" 1>&6 592 echo "configure: 593: checking host system type" >&5606 echo "configure:607: checking host system type" >&5 593 607 594 608 host_alias=$host … … 611 625 612 626 echo $ac_n "checking target system type""... $ac_c" 1>&6 613 echo "configure:6 14: checking target system type" >&5627 echo "configure:628: checking target system type" >&5 614 628 615 629 target_alias=$target … … 629 643 630 644 echo $ac_n "checking build system type""... $ac_c" 1>&6 631 echo "configure:6 32: checking build system type" >&5645 echo "configure:646: checking build system type" >&5 632 646 633 647 build_alias=$build … … 654 668 655 669 echo $ac_n "checking rtems target cpu""... $ac_c" 1>&6 656 echo "configure:6 57: checking rtems target cpu" >&5670 echo "configure:671: checking rtems target cpu" >&5 657 671 case "${target}" in 658 672 # hpux unix port should go here … … 694 708 # ./install, which can be erroneously created by make from ./install.sh. 695 709 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 696 echo "configure: 697: checking for a BSD compatible install" >&5710 echo "configure:711: checking for a BSD compatible install" >&5 697 711 if test -z "$INSTALL"; then 698 712 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 747 761 748 762 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 749 echo "configure:7 50: checking whether build environment is sane" >&5763 echo "configure:764: checking whether build environment is sane" >&5 750 764 # Just in case 751 765 sleep 1 … … 804 818 805 819 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 806 echo "configure:8 07: checking whether ${MAKE-make} sets \${MAKE}" >&5820 echo "configure:821: checking whether ${MAKE-make} sets \${MAKE}" >&5 807 821 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 808 822 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 843 857 missing_dir=`cd $ac_aux_dir && pwd` 844 858 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 845 echo "configure:8 46: checking for working aclocal" >&5859 echo "configure:860: checking for working aclocal" >&5 846 860 # Run test in a subshell; some versions of sh will print an error if 847 861 # an executable is not found, even if stderr is redirected. … … 856 870 857 871 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 858 echo "configure:8 59: checking for working autoconf" >&5872 echo "configure:873: checking for working autoconf" >&5 859 873 # Run test in a subshell; some versions of sh will print an error if 860 874 # an executable is not found, even if stderr is redirected. … … 869 883 870 884 echo $ac_n "checking for working automake""... $ac_c" 1>&6 871 echo "configure:8 72: checking for working automake" >&5885 echo "configure:886: checking for working automake" >&5 872 886 # Run test in a subshell; some versions of sh will print an error if 873 887 # an executable is not found, even if stderr is redirected. … … 882 896 883 897 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 884 echo "configure:8 85: checking for working autoheader" >&5898 echo "configure:899: checking for working autoheader" >&5 885 899 # Run test in a subshell; some versions of sh will print an error if 886 900 # an executable is not found, even if stderr is redirected. … … 895 909 896 910 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 897 echo "configure: 898: checking for working makeinfo" >&5911 echo "configure:912: checking for working makeinfo" >&5 898 912 # Run test in a subshell; some versions of sh will print an error if 899 913 # an executable is not found, even if stderr is redirected. … … 912 926 set dummy gcc; ac_word=$2 913 927 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 914 echo "configure:9 15: checking for $ac_word" >&5928 echo "configure:929: checking for $ac_word" >&5 915 929 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 916 930 echo $ac_n "(cached) $ac_c" 1>&6 … … 942 956 set dummy cc; ac_word=$2 943 957 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 944 echo "configure:9 45: checking for $ac_word" >&5958 echo "configure:959: checking for $ac_word" >&5 945 959 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 946 960 echo $ac_n "(cached) $ac_c" 1>&6 … … 993 1007 set dummy cl; ac_word=$2 994 1008 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 995 echo "configure: 996: checking for $ac_word" >&51009 echo "configure:1010: checking for $ac_word" >&5 996 1010 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 997 1011 echo $ac_n "(cached) $ac_c" 1>&6 … … 1025 1039 1026 1040 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1027 echo "configure:10 28: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&51041 echo "configure:1042: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1028 1042 1029 1043 ac_ext=c … … 1036 1050 cat > conftest.$ac_ext << EOF 1037 1051 1038 #line 10 39"configure"1052 #line 1053 "configure" 1039 1053 #include "confdefs.h" 1040 1054 1041 1055 main(){return(0);} 1042 1056 EOF 1043 if { (eval echo configure:10 44: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1057 if { (eval echo configure:1058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1044 1058 ac_cv_prog_cc_works=yes 1045 1059 # If we can't run a trivial program, we are probably using a cross compiler. … … 1067 1081 fi 1068 1082 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1069 echo "configure:10 70: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&51083 echo "configure:1084: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1070 1084 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1071 1085 cross_compiling=$ac_cv_prog_cc_cross 1072 1086 1073 1087 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1074 echo "configure:10 75: checking whether we are using GNU C" >&51088 echo "configure:1089: checking whether we are using GNU C" >&5 1075 1089 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1076 1090 echo $ac_n "(cached) $ac_c" 1>&6 … … 1081 1095 #endif 1082 1096 EOF 1083 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:10 84: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1097 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1084 1098 ac_cv_prog_gcc=yes 1085 1099 else … … 1100 1114 CFLAGS= 1101 1115 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1102 echo "configure:11 03: checking whether ${CC-cc} accepts -g" >&51116 echo "configure:1117: checking whether ${CC-cc} accepts -g" >&5 1103 1117 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1104 1118 echo $ac_n "(cached) $ac_c" 1>&6 … … 1295 1309 s%@RTEMS_TOPdir@%$RTEMS_TOPdir%g 1296 1310 s%@PROJECT_ROOT@%$PROJECT_ROOT%g 1311 s%@RTEMS_ROOT@%$RTEMS_ROOT%g 1297 1312 s%@host@%$host%g 1298 1313 s%@host_alias@%$host_alias%g -
c/src/lib/libbsp/hppa1.1/simhppa/tools/Makefile.in
rd115315 r8cdb582 1 # Makefile.in generated automatically by automake 1. 2from Makefile.am2 3 # Copyright (C) 1994, 1995 , 1996, 1997Free Software Foundation, Inc.1 # Makefile.in generated automatically by automake 1.4 from Makefile.am 2 3 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. 4 4 # This Makefile.in is free software; the Free Software Foundation 5 # gives unlimited permission to copy, distribute and modify it. 5 # gives unlimited permission to copy and/or distribute it, 6 # with or without modifications, as long as this notice is preserved. 7 8 # This program is distributed in the hope that it will be useful, 9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without 10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 # PARTICULAR PURPOSE. 6 12 7 13 # … … 10 16 11 17 12 SHELL = /bin/sh 18 19 SHELL = @SHELL@ 13 20 14 21 srcdir = @srcdir@ … … 31 38 oldincludedir = /usr/include 32 39 40 DESTDIR = 41 33 42 pkgdatadir = $(datadir)/@PACKAGE@ 34 43 pkglibdir = $(libdir)/@PACKAGE@ … … 41 50 42 51 INSTALL = @INSTALL@ 43 INSTALL_PROGRAM = @INSTALL_PROGRAM@ 52 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) 44 53 INSTALL_DATA = @INSTALL_DATA@ 45 54 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 46 55 transform = @program_transform_name@ 47 56 48 NORMAL_INSTALL = true49 PRE_INSTALL = true50 POST_INSTALL = true51 NORMAL_UNINSTALL = true52 PRE_UNINSTALL = true53 POST_UNINSTALL = true57 NORMAL_INSTALL = : 58 PRE_INSTALL = : 59 POST_INSTALL = : 60 NORMAL_UNINSTALL = : 61 PRE_UNINSTALL = : 62 POST_UNINSTALL = : 54 63 build_alias = @build_alias@ 55 64 build_triplet = @build@ … … 62 71 PACKAGE = @PACKAGE@ 63 72 PROJECT_ROOT = @PROJECT_ROOT@ 73 RTEMS_ROOT = @RTEMS_ROOT@ 64 74 RTEMS_TOPdir = @RTEMS_TOPdir@ 65 75 VERSION = @VERSION@ … … 68 78 ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal 69 79 70 noinst_PROGRAMS = \71 print_dump 72 73 print_dump_SOURCES = \74 print_dump.c 80 noinst_PROGRAMS = print_dump 81 82 83 print_dump_SOURCES = print_dump.c 84 75 85 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 76 86 mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../../mkinstalldirs … … 86 96 print_dump_OBJECTS = print_dump.o 87 97 print_dump_LDADD = $(LDADD) 98 print_dump_DEPENDENCIES = 88 99 print_dump_LDFLAGS = 89 100 CFLAGS = @CFLAGS@ 90 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) 91 LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@ 92 DIST_COMMON = Makefile.am Makefile.in aclocal.m4 config.h.in configure \ 93 configure.in stamp-h.in 101 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 102 CCLD = $(CC) 103 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ 104 DIST_COMMON = ./stamp-h.in Makefile.am Makefile.in aclocal.m4 \ 105 config.h.in configure configure.in 94 106 95 107 … … 97 109 98 110 TAR = tar 99 GZIP = --best111 GZIP_ENV = --best 100 112 DEP_FILES = .deps/print_dump.P 101 113 SOURCES = $(print_dump_SOURCES) 102 114 OBJECTS = $(print_dump_OBJECTS) 103 115 104 default: all 105 116 all: all-redirect 106 117 .SUFFIXES: 107 .SUFFIXES: . c .o108 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 118 .SUFFIXES: .S .c .o .s 119 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../../../../../automake/local.am 109 120 cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile 110 121 111 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)122 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) 112 123 cd $(top_builddir) \ 113 124 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status … … 116 127 cd $(srcdir) && $(ACLOCAL) 117 128 118 config.status: $(srcdir)/configure 129 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 119 130 $(SHELL) ./config.status --recheck 120 131 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) … … 122 133 123 134 config.h: stamp-h 135 @if test ! -f $@; then \ 136 rm -f stamp-h; \ 137 $(MAKE) stamp-h; \ 138 else :; fi 124 139 stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status 125 140 cd $(top_builddir) \ 126 141 && CONFIG_FILES= CONFIG_HEADERS=config.h \ 127 142 $(SHELL) ./config.status 128 @echo timestamp > stamp-h 143 @echo timestamp > stamp-h 2> /dev/null 129 144 $(srcdir)/config.h.in: $(srcdir)/stamp-h.in 145 @if test ! -f $@; then \ 146 rm -f $(srcdir)/stamp-h.in; \ 147 $(MAKE) $(srcdir)/stamp-h.in; \ 148 else :; fi 130 149 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) 131 150 cd $(top_srcdir) && $(AUTOHEADER) 132 @echo timestamp > $(srcdir)/stamp-h.in 151 @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null 133 152 134 153 mostlyclean-hdr: … … 137 156 138 157 distclean-hdr: 139 rm -f config.h158 -rm -f config.h 140 159 141 160 maintainer-clean-hdr: … … 144 163 145 164 clean-noinstPROGRAMS: 146 test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)165 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) 147 166 148 167 distclean-noinstPROGRAMS: … … 150 169 maintainer-clean-noinstPROGRAMS: 151 170 152 . c.o:171 .s.o: 153 172 $(COMPILE) -c $< 154 173 174 .S.o: 175 $(COMPILE) -c $< 176 155 177 mostlyclean-compile: 156 rm -f *.ocore178 -rm -f *.o core *.core 157 179 158 180 clean-compile: 159 181 160 182 distclean-compile: 161 rm -f *.tab.c183 -rm -f *.tab.c 162 184 163 185 maintainer-clean-compile: … … 169 191 tags: TAGS 170 192 171 ID: $(HEADERS) $(SOURCES) 172 here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS) 173 174 TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) 193 ID: $(HEADERS) $(SOURCES) $(LISP) 194 list='$(SOURCES) $(HEADERS)'; \ 195 unique=`for i in $$list; do echo $$i; done | \ 196 awk ' { files[$$0] = 1; } \ 197 END { for (i in files) print i; }'`; \ 198 here=`pwd` && cd $(srcdir) \ 199 && mkid -f$$here/ID $$unique $(LISP) 200 201 TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP) 175 202 tags=; \ 176 203 here=`pwd`; \ 177 test -z "$(ETAGS_ARGS)config.h.in$(SOURCES)$(HEADERS)$$tags" \ 178 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $(SOURCES) $(HEADERS) -o $$here/TAGS) 204 list='$(SOURCES) $(HEADERS)'; \ 205 unique=`for i in $$list; do echo $$i; done | \ 206 awk ' { files[$$0] = 1; } \ 207 END { for (i in files) print i; }'`; \ 208 test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \ 209 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS) 179 210 180 211 mostlyclean-tags: … … 183 214 184 215 distclean-tags: 185 rm -f TAGS ID216 -rm -f TAGS ID 186 217 187 218 maintainer-clean-tags: … … 194 225 # tarfile. 195 226 distcheck: dist 196 rm -rf $(distdir)197 GZIP=$(GZIP ) $(TAR) zxf $(distdir).tar.gz227 -rm -rf $(distdir) 228 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz 198 229 mkdir $(distdir)/=build 199 230 mkdir $(distdir)/=inst … … 201 232 cd $(distdir)/=build \ 202 233 && ../configure --srcdir=.. --prefix=$$dc_install_base \ 203 && $(MAKE) \ 204 && $(MAKE) dvi \ 205 && $(MAKE) check \ 206 && $(MAKE) install \ 207 && $(MAKE) installcheck \ 208 && $(MAKE) dist 209 rm -rf $(distdir) 210 @echo "========================"; \ 211 echo "$(distdir).tar.gz is ready for distribution"; \ 212 echo "========================" 234 && $(MAKE) $(AM_MAKEFLAGS) \ 235 && $(MAKE) $(AM_MAKEFLAGS) dvi \ 236 && $(MAKE) $(AM_MAKEFLAGS) check \ 237 && $(MAKE) $(AM_MAKEFLAGS) install \ 238 && $(MAKE) $(AM_MAKEFLAGS) installcheck \ 239 && $(MAKE) $(AM_MAKEFLAGS) dist 240 -rm -rf $(distdir) 241 @banner="$(distdir).tar.gz is ready for distribution"; \ 242 dashes=`echo "$$banner" | sed s/./=/g`; \ 243 echo "$$dashes"; \ 244 echo "$$banner"; \ 245 echo "$$dashes" 213 246 dist: distdir 214 247 -chmod -R a+r $(distdir) 215 GZIP=$(GZIP ) $(TAR) chozf $(distdir).tar.gz $(distdir)216 rm -rf $(distdir)248 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 249 -rm -rf $(distdir) 217 250 dist-all: distdir 218 251 -chmod -R a+r $(distdir) 219 GZIP=$(GZIP ) $(TAR) chozf $(distdir).tar.gz $(distdir)220 rm -rf $(distdir)252 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 253 -rm -rf $(distdir) 221 254 distdir: $(DISTFILES) 222 rm -rf $(distdir)255 -rm -rf $(distdir) 223 256 mkdir $(distdir) 224 257 -chmod 777 $(distdir) 225 258 here=`cd $(top_builddir) && pwd`; \ 226 top_distdir=`cd $(top_distdir) && pwd`; \ 259 top_distdir=`cd $(distdir) && pwd`; \ 260 distdir=`cd $(distdir) && pwd`; \ 227 261 cd $(top_srcdir) \ 228 262 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile 229 263 @for file in $(DISTFILES); do \ 230 264 d=$(srcdir); \ 231 test -f $(distdir)/$$file \ 232 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ 233 || cp -p $$d/$$file $(distdir)/$$file; \ 265 if test -d $$d/$$file; then \ 266 cp -pr $$/$$file $(distdir)/$$file; \ 267 else \ 268 test -f $(distdir)/$$file \ 269 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ 270 || cp -p $$d/$$file $(distdir)/$$file || :; \ 271 fi; \ 234 272 done 235 273 236 MKDEP = gcc -M $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)237 238 274 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) 239 -include .deps/.P240 .deps/.P: $(BUILT_SOURCES)241 echo > $@242 275 243 276 -include $(DEP_FILES) … … 248 281 249 282 distclean-depend: 283 -rm -rf .deps 250 284 251 285 maintainer-clean-depend: 252 rm -rf .deps 253 254 .deps/%.P: %.c 255 @echo "Computing dependencies for $<..." 256 @o='o'; \ 257 test -n "$o" && o='$$o'; \ 258 $(MKDEP) $< >$@.tmp \ 259 && sed "s,^\(.*\)\.o:,\1.$$o \1.l$$o $@:," < $@.tmp > $@ \ 260 && rm -f $@.tmp 261 info: 262 dvi: 263 check: all 264 $(MAKE) 265 installcheck: 266 install-exec: install-exec-local 267 @$(NORMAL_INSTALL) 268 269 install-data: 270 @$(NORMAL_INSTALL) 271 272 install: install-exec install-data all 273 @: 274 275 uninstall: 276 277 all: Makefile $(PROGRAMS) config.h 278 286 287 %.o: %.c 288 @echo '$(COMPILE) -c $<'; \ 289 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< 290 @-cp .deps/$(*F).pp .deps/$(*F).P; \ 291 tr ' ' '\012' < .deps/$(*F).pp \ 292 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ 293 >> .deps/$(*F).P; \ 294 rm .deps/$(*F).pp 295 296 %.lo: %.c 297 @echo '$(LTCOMPILE) -c $<'; \ 298 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< 299 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ 300 < .deps/$(*F).pp > .deps/$(*F).P; \ 301 tr ' ' '\012' < .deps/$(*F).pp \ 302 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ 303 >> .deps/$(*F).P; \ 304 rm -f .deps/$(*F).pp 305 info-am: 306 info: info-am 307 dvi-am: 308 dvi: dvi-am 309 check-am: all-am 310 check: check-am 311 installcheck-am: 312 installcheck: installcheck-am 313 all-recursive-am: config.h 314 $(MAKE) $(AM_MAKEFLAGS) all-recursive 315 316 install-exec-am: install-exec-local 317 install-exec: install-exec-am 318 319 install-data-am: 320 install-data: install-data-am 321 322 install-am: all-am 323 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 324 install: install-am 325 uninstall-am: 326 uninstall: uninstall-am 327 all-am: Makefile $(PROGRAMS) config.h 328 all-redirect: all-am 279 329 install-strip: 280 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)'install330 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install 281 331 installdirs: 282 332 283 333 284 334 mostlyclean-generic: 285 test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)286 335 287 336 clean-generic: 288 test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)289 337 290 338 distclean-generic: 291 rm -f Makefile $(DISTCLEANFILES) 292 rm -f config.cache config.log stamp-h stamp-h[0-9]* 293 test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 339 -rm -f Makefile $(CONFIG_CLEAN_FILES) 340 -rm -f config.cache config.log stamp-h stamp-h[0-9]* 294 341 295 342 maintainer-clean-generic: 296 test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) 297 test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) 298 mostlyclean: mostlyclean-hdr mostlyclean-noinstPROGRAMS \ 343 mostlyclean-am: mostlyclean-hdr mostlyclean-noinstPROGRAMS \ 299 344 mostlyclean-compile mostlyclean-tags mostlyclean-depend \ 300 345 mostlyclean-generic 301 346 302 clean: clean-hdr clean-noinstPROGRAMS clean-compile clean-tags \ 303 clean-depend clean-generic mostlyclean 304 305 distclean: distclean-hdr distclean-noinstPROGRAMS distclean-compile \ 306 distclean-tags distclean-depend distclean-generic clean 307 rm -f config.status 308 309 maintainer-clean: maintainer-clean-hdr maintainer-clean-noinstPROGRAMS \ 347 mostlyclean: mostlyclean-am 348 349 clean-am: clean-hdr clean-noinstPROGRAMS clean-compile clean-tags \ 350 clean-depend clean-generic mostlyclean-am 351 352 clean: clean-am 353 354 distclean-am: distclean-hdr distclean-noinstPROGRAMS distclean-compile \ 355 distclean-tags distclean-depend distclean-generic \ 356 clean-am 357 358 distclean: distclean-am 359 -rm -f config.status 360 361 maintainer-clean-am: maintainer-clean-hdr \ 362 maintainer-clean-noinstPROGRAMS \ 310 363 maintainer-clean-compile maintainer-clean-tags \ 311 364 maintainer-clean-depend maintainer-clean-generic \ 312 distclean 365 distclean-am 313 366 @echo "This command is intended for maintainers to use;" 314 367 @echo "it deletes files that may require special tools to rebuild." 315 rm -f config.status 316 317 .PHONY: default mostlyclean-hdr distclean-hdr clean-hdr \ 318 maintainer-clean-hdr mostlyclean-noinstPROGRAMS \ 319 distclean-noinstPROGRAMS clean-noinstPROGRAMS \ 320 maintainer-clean-noinstPROGRAMS mostlyclean-compile distclean-compile \ 321 clean-compile maintainer-clean-compile tags mostlyclean-tags \ 322 distclean-tags clean-tags maintainer-clean-tags distdir \ 323 mostlyclean-depend distclean-depend clean-depend \ 324 maintainer-clean-depend info dvi installcheck install-exec install-data \ 325 install uninstall all installdirs mostlyclean-generic distclean-generic \ 368 369 maintainer-clean: maintainer-clean-am 370 -rm -f config.status 371 372 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \ 373 mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \ 374 clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \ 375 mostlyclean-compile distclean-compile clean-compile \ 376 maintainer-clean-compile tags mostlyclean-tags distclean-tags \ 377 clean-tags maintainer-clean-tags distdir mostlyclean-depend \ 378 distclean-depend clean-depend maintainer-clean-depend info-am info \ 379 dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \ 380 install-exec-local install-exec-am install-exec install-data-am \ 381 install-data install-am install uninstall-am uninstall all-redirect \ 382 all-am all installdirs mostlyclean-generic distclean-generic \ 326 383 clean-generic maintainer-clean-generic clean mostlyclean distclean \ 327 384 maintainer-clean … … 333 390 $(INSTALL_PROGRAM) print_dump $(PROJECT_ROOT)/${RTEMS_BSP}/bin 334 391 335 include $(top_srcdir)/../../../../../../../automake/local.am 392 debug-am: 393 394 debug: debug-am 395 396 debug_install-am: 397 398 debug_install: debug_install-am 399 400 .PHONY: debug debug_install debug-am 401 402 profile-am: 403 404 profile: profile-am 405 406 profile_install-am: 407 408 profile_install: profile_install-am 409 410 .PHONY: profile profile_install profile-am 411 412 preinstall-am: 413 414 preinstall: preinstall-am 415 416 .PHONY: preinstall preinstall-am 336 417 337 418 # Tell versions [3.59,3.63) of GNU make to not export all variables. -
c/src/lib/libbsp/hppa1.1/simhppa/tools/aclocal.m4
rd115315 r8cdb582 1 dnl aclocal.m4 generated automatically by aclocal 1.2 1 dnl aclocal.m4 generated automatically by aclocal 1.4 2 3 dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. 4 dnl This file is free software; the Free Software Foundation 5 dnl gives unlimited permission to copy and/or distribute it, 6 dnl with or without modifications, as long as this notice is preserved. 7 8 dnl This program is distributed in the hope that it will be useful, 9 dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without 10 dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 dnl PARTICULAR PURPOSE. 2 12 3 13 dnl $Id$ … … 10 20 AC_DEFUN(RTEMS_TOP, 11 21 [dnl 22 AC_ARG_WITH(target-subdir, 23 [ --with-target-subdir=DIR], 24 TARGET_SUBDIR="$withval", 25 TARGET_SUBDIR=".") 26 12 27 RTEMS_TOPdir="$1"; 13 28 AC_SUBST(RTEMS_TOPdir) 14 29 15 30 PROJECT_ROOT=`pwd`/$RTEMS_TOPdir; 31 test "$TARGET_SUBDIR" = "." || PROJECT_ROOT="$PROJECT_ROOT/.." 16 32 AC_SUBST(PROJECT_ROOT) 17 33 … … 32 48 AC_MSG_RESULT($RTEMS_VERSION) 33 49 34 dnl FIXME: This once gets activated in future or will be removed 35 dnl RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir; 36 dnl AC_SUBST(RTEMS_ROOT) 50 RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir; 51 AC_SUBST(RTEMS_ROOT) 37 52 ])dnl 38 53 … … 90 105 91 106 AC_DEFUN(AM_INIT_AUTOMAKE, 92 [AC_REQUIRE([A M_PROG_INSTALL])107 [AC_REQUIRE([AC_PROG_INSTALL]) 93 108 PACKAGE=[$1] 94 109 AC_SUBST(PACKAGE) … … 100 115 fi 101 116 ifelse([$3],, 102 AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE" )103 AC_DEFINE_UNQUOTED(VERSION, "$VERSION" ))104 A M_SANITY_CHECK105 AC_ ARG_PROGRAM117 AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) 118 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])) 119 AC_REQUIRE([AM_SANITY_CHECK]) 120 AC_REQUIRE([AC_ARG_PROGRAM]) 106 121 dnl FIXME This is truly gross. 107 122 missing_dir=`cd $ac_aux_dir && pwd` … … 111 126 AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) 112 127 AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) 113 AC_PROG_MAKE_SET]) 114 115 116 # serial 1 117 118 AC_DEFUN(AM_PROG_INSTALL, 119 [AC_REQUIRE([AC_PROG_INSTALL]) 120 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' 121 AC_SUBST(INSTALL_SCRIPT)dnl 122 ]) 128 AC_REQUIRE([AC_PROG_MAKE_SET])]) 123 129 124 130 # … … 138 144 if ( 139 145 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` 140 if test " $@" = "X"; then146 if test "[$]*" = "X"; then 141 147 # -L didn't work. 142 148 set X `ls -t $srcdir/configure conftestfile` 143 149 fi 150 if test "[$]*" != "X $srcdir/configure conftestfile" \ 151 && test "[$]*" != "X conftestfile $srcdir/configure"; then 152 153 # If neither matched, then we have a broken ls. This can happen 154 # if, for instance, CONFIG_SHELL is bash and it inherits a 155 # broken ls alias from the environment. This has actually 156 # happened. Such a system could not be considered "sane". 157 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken 158 alias in your environment]) 159 fi 160 144 161 test "[$]2" = conftestfile 145 162 ) -
c/src/lib/libbsp/hppa1.1/simhppa/tools/configure
rd115315 r8cdb582 2 2 3 3 # Guess values for system-dependent variables and create Makefiles. 4 # Generated automatically using autoconf version 2.1 24 # Generated automatically using autoconf version 2.13 5 5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 6 6 # … … 12 12 ac_default_prefix=/usr/local 13 13 # Any additions from configure.in: 14 ac_help="$ac_help 15 --with-target-subdir=DIR" 14 16 15 17 # Initialize some variables set by options. … … 50 52 subdirs= 51 53 MFLAGS= MAKEFLAGS= 54 SHELL=${CONFIG_SHELL-/bin/sh} 52 55 # Maximum number of lines to put in a shell here document. 53 56 ac_max_here_lines=12 … … 333 336 334 337 -version | --version | --versio | --versi | --vers) 335 echo "configure generated by autoconf version 2.1 2"338 echo "configure generated by autoconf version 2.13" 336 339 exit 0 ;; 337 340 … … 503 506 ac_cpp='$CPP $CPPFLAGS' 504 507 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 505 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'508 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 506 509 cross_compiling=$ac_cv_prog_cc_cross 507 510 511 ac_exeext= 512 ac_objext=o 508 513 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then 509 514 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. … … 539 544 540 545 546 # Check whether --with-target-subdir or --without-target-subdir was given. 547 if test "${with_target_subdir+set}" = set; then 548 withval="$with_target_subdir" 549 TARGET_SUBDIR="$withval" 550 else 551 TARGET_SUBDIR="." 552 fi 553 554 541 555 RTEMS_TOPdir="../../../../../../.."; 542 556 543 557 544 558 PROJECT_ROOT=`pwd`/$RTEMS_TOPdir; 559 test "$TARGET_SUBDIR" = "." || PROJECT_ROOT="$PROJECT_ROOT/.." 545 560 546 561 547 562 echo $ac_n "checking for RTEMS Version""... $ac_c" 1>&6 548 echo "configure:5 49: checking for RTEMS Version" >&5563 echo "configure:564: checking for RTEMS Version" >&5 549 564 if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then 550 565 RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \ … … 557 572 fi 558 573 echo "$ac_t""$RTEMS_VERSION" 1>&6 574 575 RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir; 559 576 560 577 … … 582 599 583 600 # Make sure we can run config.sub. 584 if $ ac_config_sub sun4 >/dev/null 2>&1; then :601 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : 585 602 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } 586 603 fi 587 604 588 605 echo $ac_n "checking host system type""... $ac_c" 1>&6 589 echo "configure: 590: checking host system type" >&5606 echo "configure:607: checking host system type" >&5 590 607 591 608 host_alias=$host … … 594 611 case $nonopt in 595 612 NONE) 596 if host_alias=`$ ac_config_guess`; then :613 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : 597 614 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } 598 615 fi ;; … … 601 618 esac 602 619 603 host=`$ ac_config_sub $host_alias`620 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` 604 621 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 605 622 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` … … 608 625 609 626 echo $ac_n "checking target system type""... $ac_c" 1>&6 610 echo "configure:6 11: checking target system type" >&5627 echo "configure:628: checking target system type" >&5 611 628 612 629 target_alias=$target … … 619 636 esac 620 637 621 target=`$ ac_config_sub $target_alias`638 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` 622 639 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 623 640 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` … … 626 643 627 644 echo $ac_n "checking build system type""... $ac_c" 1>&6 628 echo "configure:6 29: checking build system type" >&5645 echo "configure:646: checking build system type" >&5 629 646 630 647 build_alias=$build … … 637 654 esac 638 655 639 build=`$ ac_config_sub $build_alias`656 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` 640 657 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 641 658 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` … … 651 668 652 669 echo $ac_n "checking rtems target cpu""... $ac_c" 1>&6 653 echo "configure:6 54: checking rtems target cpu" >&5670 echo "configure:671: checking rtems target cpu" >&5 654 671 case "${target}" in 655 672 # hpux unix port should go here … … 686 703 # IRIX /sbin/install 687 704 # AIX /bin/install 705 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 688 706 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 689 707 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 690 708 # ./install, which can be erroneously created by make from ./install.sh. 691 709 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 692 echo "configure: 693: checking for a BSD compatible install" >&5710 echo "configure:711: checking for a BSD compatible install" >&5 693 711 if test -z "$INSTALL"; then 694 712 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 695 713 echo $ac_n "(cached) $ac_c" 1>&6 696 714 else 697 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=" ${IFS}:"715 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 698 716 for ac_dir in $PATH; do 699 717 # Account for people who put trailing slashes in PATH elements. … … 702 720 *) 703 721 # OSF1 and SCO ODT 3.0 have their own names for install. 704 for ac_prog in ginstall installbsd scoinst install; do 722 # Don't use installbsd from OSF since it installs stuff as root 723 # by default. 724 for ac_prog in ginstall scoinst install; do 705 725 if test -f $ac_dir/$ac_prog; then 706 726 if test $ac_prog = install && 707 727 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then 708 728 # AIX install. It has an incompatible calling convention. 709 # OSF/1 installbsd also uses dspmsg, but is usable.710 729 : 711 730 else … … 737 756 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 738 757 758 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' 759 739 760 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 740 761 741 742 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'743 744 745 PACKAGE=rtems-lib-libbsp-hppa-simhppa-tools746 747 VERSION=$RTEMS_VERSION748 749 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then750 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }751 fi752 753 762 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 754 echo "configure:7 55: checking whether build environment is sane" >&5763 echo "configure:764: checking whether build environment is sane" >&5 755 764 # Just in case 756 765 sleep 1 … … 763 772 if ( 764 773 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` 765 if test " " = "X"; then774 if test "$*" = "X"; then 766 775 # -L didn't work. 767 776 set X `ls -t $srcdir/configure conftestfile` 768 777 fi 778 if test "$*" != "X $srcdir/configure conftestfile" \ 779 && test "$*" != "X conftestfile $srcdir/configure"; then 780 781 # If neither matched, then we have a broken ls. This can happen 782 # if, for instance, CONFIG_SHELL is bash and it inherits a 783 # broken ls alias from the environment. This has actually 784 # happened. Such a system could not be considered "sane". 785 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken 786 alias in your environment" 1>&2; exit 1; } 787 fi 788 769 789 test "$2" = conftestfile 770 790 ) … … 797 817 test "$program_transform_name" = "" && program_transform_name="s,x,x," 798 818 819 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 820 echo "configure:821: checking whether ${MAKE-make} sets \${MAKE}" >&5 821 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 822 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 823 echo $ac_n "(cached) $ac_c" 1>&6 824 else 825 cat > conftestmake <<\EOF 826 all: 827 @echo 'ac_maketemp="${MAKE}"' 828 EOF 829 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 830 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` 831 if test -n "$ac_maketemp"; then 832 eval ac_cv_prog_make_${ac_make}_set=yes 833 else 834 eval ac_cv_prog_make_${ac_make}_set=no 835 fi 836 rm -f conftestmake 837 fi 838 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 839 echo "$ac_t""yes" 1>&6 840 SET_MAKE= 841 else 842 echo "$ac_t""no" 1>&6 843 SET_MAKE="MAKE=${MAKE-make}" 844 fi 845 846 847 PACKAGE=rtems-lib-libbsp-hppa-simhppa-tools 848 849 VERSION=$RTEMS_VERSION 850 851 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then 852 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } 853 fi 854 855 856 799 857 missing_dir=`cd $ac_aux_dir && pwd` 800 858 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 801 echo "configure:8 02: checking for working aclocal" >&5859 echo "configure:860: checking for working aclocal" >&5 802 860 # Run test in a subshell; some versions of sh will print an error if 803 861 # an executable is not found, even if stderr is redirected. … … 812 870 813 871 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 814 echo "configure:8 15: checking for working autoconf" >&5872 echo "configure:873: checking for working autoconf" >&5 815 873 # Run test in a subshell; some versions of sh will print an error if 816 874 # an executable is not found, even if stderr is redirected. … … 825 883 826 884 echo $ac_n "checking for working automake""... $ac_c" 1>&6 827 echo "configure:8 28: checking for working automake" >&5885 echo "configure:886: checking for working automake" >&5 828 886 # Run test in a subshell; some versions of sh will print an error if 829 887 # an executable is not found, even if stderr is redirected. … … 838 896 839 897 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 840 echo "configure:8 41: checking for working autoheader" >&5898 echo "configure:899: checking for working autoheader" >&5 841 899 # Run test in a subshell; some versions of sh will print an error if 842 900 # an executable is not found, even if stderr is redirected. … … 851 909 852 910 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 853 echo "configure: 854: checking for working makeinfo" >&5911 echo "configure:912: checking for working makeinfo" >&5 854 912 # Run test in a subshell; some versions of sh will print an error if 855 913 # an executable is not found, even if stderr is redirected. … … 863 921 fi 864 922 865 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6866 echo "configure:867: checking whether ${MAKE-make} sets \${MAKE}" >&5867 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`868 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then869 echo $ac_n "(cached) $ac_c" 1>&6870 else871 cat > conftestmake <<\EOF872 all:873 @echo 'ac_maketemp="${MAKE}"'874 EOF875 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.876 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`877 if test -n "$ac_maketemp"; then878 eval ac_cv_prog_make_${ac_make}_set=yes879 else880 eval ac_cv_prog_make_${ac_make}_set=no881 fi882 rm -f conftestmake883 fi884 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then885 echo "$ac_t""yes" 1>&6886 SET_MAKE=887 else888 echo "$ac_t""no" 1>&6889 SET_MAKE="MAKE=${MAKE-make}"890 fi891 923 892 924 … … 894 926 set dummy gcc; ac_word=$2 895 927 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 896 echo "configure: 897: checking for $ac_word" >&5928 echo "configure:929: checking for $ac_word" >&5 897 929 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 898 930 echo $ac_n "(cached) $ac_c" 1>&6 … … 901 933 ac_cv_prog_CC="$CC" # Let the user override the test. 902 934 else 903 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 904 for ac_dir in $PATH; do 935 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 936 ac_dummy="$PATH" 937 for ac_dir in $ac_dummy; do 905 938 test -z "$ac_dir" && ac_dir=. 906 939 if test -f $ac_dir/$ac_word; then … … 923 956 set dummy cc; ac_word=$2 924 957 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 925 echo "configure:9 26: checking for $ac_word" >&5958 echo "configure:959: checking for $ac_word" >&5 926 959 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 927 960 echo $ac_n "(cached) $ac_c" 1>&6 … … 930 963 ac_cv_prog_CC="$CC" # Let the user override the test. 931 964 else 932 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" ${IFS}:"965 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 933 966 ac_prog_rejected=no 934 for ac_dir in $PATH; do 967 ac_dummy="$PATH" 968 for ac_dir in $ac_dummy; do 935 969 test -z "$ac_dir" && ac_dir=. 936 970 if test -f $ac_dir/$ac_word; then … … 967 1001 fi 968 1002 1003 if test -z "$CC"; then 1004 case "`uname -s`" in 1005 *win32* | *WIN32*) 1006 # Extract the first word of "cl", so it can be a program name with args. 1007 set dummy cl; ac_word=$2 1008 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1009 echo "configure:1010: checking for $ac_word" >&5 1010 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1011 echo $ac_n "(cached) $ac_c" 1>&6 1012 else 1013 if test -n "$CC"; then 1014 ac_cv_prog_CC="$CC" # Let the user override the test. 1015 else 1016 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1017 ac_dummy="$PATH" 1018 for ac_dir in $ac_dummy; do 1019 test -z "$ac_dir" && ac_dir=. 1020 if test -f $ac_dir/$ac_word; then 1021 ac_cv_prog_CC="cl" 1022 break 1023 fi 1024 done 1025 IFS="$ac_save_ifs" 1026 fi 1027 fi 1028 CC="$ac_cv_prog_CC" 1029 if test -n "$CC"; then 1030 echo "$ac_t""$CC" 1>&6 1031 else 1032 echo "$ac_t""no" 1>&6 1033 fi 1034 ;; 1035 esac 1036 fi 969 1037 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 970 1038 fi 971 1039 972 1040 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 973 echo "configure: 974: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&51041 echo "configure:1042: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 974 1042 975 1043 ac_ext=c … … 977 1045 ac_cpp='$CPP $CPPFLAGS' 978 1046 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 979 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'1047 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 980 1048 cross_compiling=$ac_cv_prog_cc_cross 981 1049 982 cat > conftest.$ac_ext <<EOF 983 #line 984 "configure" 1050 cat > conftest.$ac_ext << EOF 1051 1052 #line 1053 "configure" 984 1053 #include "confdefs.h" 1054 985 1055 main(){return(0);} 986 1056 EOF 987 if { (eval echo configure: 988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1057 if { (eval echo configure:1058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 988 1058 ac_cv_prog_cc_works=yes 989 1059 # If we can't run a trivial program, we are probably using a cross compiler. … … 999 1069 fi 1000 1070 rm -fr conftest* 1071 ac_ext=c 1072 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 1073 ac_cpp='$CPP $CPPFLAGS' 1074 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 1075 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1076 cross_compiling=$ac_cv_prog_cc_cross 1001 1077 1002 1078 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 … … 1005 1081 fi 1006 1082 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1007 echo "configure:10 08: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&51083 echo "configure:1084: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1008 1084 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1009 1085 cross_compiling=$ac_cv_prog_cc_cross 1010 1086 1011 1087 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1012 echo "configure:10 13: checking whether we are using GNU C" >&51088 echo "configure:1089: checking whether we are using GNU C" >&5 1013 1089 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1014 1090 echo $ac_n "(cached) $ac_c" 1>&6 … … 1019 1095 #endif 1020 1096 EOF 1021 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:10 22: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1097 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1022 1098 ac_cv_prog_gcc=yes 1023 1099 else … … 1030 1106 if test $ac_cv_prog_gcc = yes; then 1031 1107 GCC=yes 1032 ac_test_CFLAGS="${CFLAGS+set}" 1033 ac_save_CFLAGS="$CFLAGS" 1034 CFLAGS= 1035 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1036 echo "configure:1037: checking whether ${CC-cc} accepts -g" >&5 1108 else 1109 GCC= 1110 fi 1111 1112 ac_test_CFLAGS="${CFLAGS+set}" 1113 ac_save_CFLAGS="$CFLAGS" 1114 CFLAGS= 1115 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1116 echo "configure:1117: checking whether ${CC-cc} accepts -g" >&5 1037 1117 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1038 1118 echo $ac_n "(cached) $ac_c" 1>&6 … … 1049 1129 1050 1130 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 1051 if test "$ac_test_CFLAGS" = set; then 1052 CFLAGS="$ac_save_CFLAGS" 1053 elif test $ac_cv_prog_cc_g = yes; then 1131 if test "$ac_test_CFLAGS" = set; then 1132 CFLAGS="$ac_save_CFLAGS" 1133 elif test $ac_cv_prog_cc_g = yes; then 1134 if test "$GCC" = yes; then 1054 1135 CFLAGS="-g -O2" 1055 1136 else 1137 CFLAGS="-g" 1138 fi 1139 else 1140 if test "$GCC" = yes; then 1056 1141 CFLAGS="-O2" 1057 fi 1058 else 1059 GCC= 1060 test "${CFLAGS+set}" = set || CFLAGS="-g" 1142 else 1143 CFLAGS= 1144 fi 1061 1145 fi 1062 1146 … … 1065 1149 do 1066 1150 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1067 echo "configure:1 068: checking for $ac_func" >&51151 echo "configure:1152: checking for $ac_func" >&5 1068 1152 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1069 1153 echo $ac_n "(cached) $ac_c" 1>&6 1070 1154 else 1071 1155 cat > conftest.$ac_ext <<EOF 1072 #line 1 073"configure"1156 #line 1157 "configure" 1073 1157 #include "confdefs.h" 1074 1158 /* System header to define __stub macros and hopefully few prototypes, … … 1093 1177 ; return 0; } 1094 1178 EOF 1095 if { (eval echo configure:1 096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then1179 if { (eval echo configure:1180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1096 1180 rm -rf conftest* 1097 1181 eval "ac_cv_func_$ac_func=yes" … … 1144 1228 # and sets the high bit in the cache file unless we assign to the vars. 1145 1229 (set) 2>&1 | 1146 case `(ac_space=' '; set ) 2>&1` in1230 case `(ac_space=' '; set | grep ac_space) 2>&1` in 1147 1231 *ac_space=\ *) 1148 1232 # `set' does not quote correctly, so add quotes (double-quote substitution … … 1211 1295 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 1212 1296 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 1213 echo "$CONFIG_STATUS generated by autoconf version 2.1 2"1297 echo "$CONFIG_STATUS generated by autoconf version 2.13" 1214 1298 exit 0 ;; 1215 1299 -help | --help | --hel | --he | --h) … … 1231 1315 $ac_vpsub 1232 1316 $extrasub 1317 s%@SHELL@%$SHELL%g 1233 1318 s%@CFLAGS@%$CFLAGS%g 1234 1319 s%@CPPFLAGS@%$CPPFLAGS%g 1235 1320 s%@CXXFLAGS@%$CXXFLAGS%g 1321 s%@FFLAGS@%$FFLAGS%g 1236 1322 s%@DEFS@%$DEFS%g 1237 1323 s%@LDFLAGS@%$LDFLAGS%g … … 1254 1340 s%@RTEMS_TOPdir@%$RTEMS_TOPdir%g 1255 1341 s%@PROJECT_ROOT@%$PROJECT_ROOT%g 1342 s%@RTEMS_ROOT@%$RTEMS_ROOT%g 1256 1343 s%@host@%$host%g 1257 1344 s%@host_alias@%$host_alias%g … … 1270 1357 s%@build_os@%$build_os%g 1271 1358 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g 1359 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g 1272 1360 s%@INSTALL_DATA@%$INSTALL_DATA%g 1273 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g1274 1361 s%@PACKAGE@%$PACKAGE%g 1275 1362 s%@VERSION@%$VERSION%g -
c/src/lib/libbsp/i386/pc386/tools/Makefile.in
rd115315 r8cdb582 1 # Makefile.in generated automatically by automake 1. 2from Makefile.am2 3 # Copyright (C) 1994, 1995 , 1996, 1997Free Software Foundation, Inc.1 # Makefile.in generated automatically by automake 1.4 from Makefile.am 2 3 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. 4 4 # This Makefile.in is free software; the Free Software Foundation 5 # gives unlimited permission to copy, distribute and modify it. 5 # gives unlimited permission to copy and/or distribute it, 6 # with or without modifications, as long as this notice is preserved. 7 8 # This program is distributed in the hope that it will be useful, 9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without 10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 # PARTICULAR PURPOSE. 6 12 7 13 # … … 10 16 11 17 12 SHELL = /bin/sh 18 19 SHELL = @SHELL@ 13 20 14 21 srcdir = @srcdir@ … … 31 38 oldincludedir = /usr/include 32 39 40 DESTDIR = 41 33 42 pkgdatadir = $(datadir)/@PACKAGE@ 34 43 pkglibdir = $(libdir)/@PACKAGE@ … … 41 50 42 51 INSTALL = @INSTALL@ 43 INSTALL_PROGRAM = @INSTALL_PROGRAM@ 52 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) 44 53 INSTALL_DATA = @INSTALL_DATA@ 45 54 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 46 55 transform = @program_transform_name@ 47 56 48 NORMAL_INSTALL = true49 PRE_INSTALL = true50 POST_INSTALL = true51 NORMAL_UNINSTALL = true52 PRE_UNINSTALL = true53 POST_UNINSTALL = true57 NORMAL_INSTALL = : 58 PRE_INSTALL = : 59 POST_INSTALL = : 60 NORMAL_UNINSTALL = : 61 PRE_UNINSTALL = : 62 POST_UNINSTALL = : 54 63 build_alias = @build_alias@ 55 64 build_triplet = @build@ … … 62 71 PACKAGE = @PACKAGE@ 63 72 PROJECT_ROOT = @PROJECT_ROOT@ 73 RTEMS_ROOT = @RTEMS_ROOT@ 64 74 RTEMS_TOPdir = @RTEMS_TOPdir@ 65 75 VERSION = @VERSION@ … … 70 80 EXTRA_DIST = Spec.doc 71 81 72 noinst_PROGRAMS = \ 73 bin2boot \ 74 binpatch 82 noinst_PROGRAMS = bin2boot binpatch 83 75 84 76 85 bin2boot_SOURCES = bin2boot.c … … 88 97 bin2boot_OBJECTS = bin2boot.o 89 98 bin2boot_LDADD = $(LDADD) 99 bin2boot_DEPENDENCIES = 90 100 bin2boot_LDFLAGS = 91 101 binpatch_OBJECTS = binpatch.o 92 102 binpatch_LDADD = $(LDADD) 103 binpatch_DEPENDENCIES = 93 104 binpatch_LDFLAGS = 94 105 CFLAGS = @CFLAGS@ 95 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) 96 LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@ 106 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 107 CCLD = $(CC) 108 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ 97 109 DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in 98 110 … … 101 113 102 114 TAR = tar 103 GZIP = --best115 GZIP_ENV = --best 104 116 DEP_FILES = .deps/bin2boot.P .deps/binpatch.P 105 117 SOURCES = $(bin2boot_SOURCES) $(binpatch_SOURCES) 106 118 OBJECTS = $(bin2boot_OBJECTS) $(binpatch_OBJECTS) 107 119 108 default: all 109 120 all: all-redirect 110 121 .SUFFIXES: 111 .SUFFIXES: . c .o112 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 122 .SUFFIXES: .S .c .o .s 123 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../../../../../automake/local.am 113 124 cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile 114 125 115 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)126 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) 116 127 cd $(top_builddir) \ 117 128 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status … … 120 131 cd $(srcdir) && $(ACLOCAL) 121 132 122 config.status: $(srcdir)/configure 133 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 123 134 $(SHELL) ./config.status --recheck 124 135 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) … … 128 139 129 140 clean-noinstPROGRAMS: 130 test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)141 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) 131 142 132 143 distclean-noinstPROGRAMS: … … 134 145 maintainer-clean-noinstPROGRAMS: 135 146 136 . c.o:147 .s.o: 137 148 $(COMPILE) -c $< 138 149 150 .S.o: 151 $(COMPILE) -c $< 152 139 153 mostlyclean-compile: 140 rm -f *.ocore154 -rm -f *.o core *.core 141 155 142 156 clean-compile: 143 157 144 158 distclean-compile: 145 rm -f *.tab.c159 -rm -f *.tab.c 146 160 147 161 maintainer-clean-compile: … … 157 171 tags: TAGS 158 172 159 ID: $(HEADERS) $(SOURCES) 160 here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS) 161 162 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) 173 ID: $(HEADERS) $(SOURCES) $(LISP) 174 list='$(SOURCES) $(HEADERS)'; \ 175 unique=`for i in $$list; do echo $$i; done | \ 176 awk ' { files[$$0] = 1; } \ 177 END { for (i in files) print i; }'`; \ 178 here=`pwd` && cd $(srcdir) \ 179 && mkid -f$$here/ID $$unique $(LISP) 180 181 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) 163 182 tags=; \ 164 183 here=`pwd`; \ 165 test -z "$(ETAGS_ARGS)$(SOURCES)$(HEADERS)$$tags" \ 166 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $(SOURCES) $(HEADERS) -o $$here/TAGS) 184 list='$(SOURCES) $(HEADERS)'; \ 185 unique=`for i in $$list; do echo $$i; done | \ 186 awk ' { files[$$0] = 1; } \ 187 END { for (i in files) print i; }'`; \ 188 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ 189 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) 167 190 168 191 mostlyclean-tags: … … 171 194 172 195 distclean-tags: 173 rm -f TAGS ID196 -rm -f TAGS ID 174 197 175 198 maintainer-clean-tags: … … 182 205 # tarfile. 183 206 distcheck: dist 184 rm -rf $(distdir)185 GZIP=$(GZIP ) $(TAR) zxf $(distdir).tar.gz207 -rm -rf $(distdir) 208 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz 186 209 mkdir $(distdir)/=build 187 210 mkdir $(distdir)/=inst … … 189 212 cd $(distdir)/=build \ 190 213 && ../configure --srcdir=.. --prefix=$$dc_install_base \ 191 && $(MAKE) \ 192 && $(MAKE) dvi \ 193 && $(MAKE) check \ 194 && $(MAKE) install \ 195 && $(MAKE) installcheck \ 196 && $(MAKE) dist 197 rm -rf $(distdir) 198 @echo "========================"; \ 199 echo "$(distdir).tar.gz is ready for distribution"; \ 200 echo "========================" 214 && $(MAKE) $(AM_MAKEFLAGS) \ 215 && $(MAKE) $(AM_MAKEFLAGS) dvi \ 216 && $(MAKE) $(AM_MAKEFLAGS) check \ 217 && $(MAKE) $(AM_MAKEFLAGS) install \ 218 && $(MAKE) $(AM_MAKEFLAGS) installcheck \ 219 && $(MAKE) $(AM_MAKEFLAGS) dist 220 -rm -rf $(distdir) 221 @banner="$(distdir).tar.gz is ready for distribution"; \ 222 dashes=`echo "$$banner" | sed s/./=/g`; \ 223 echo "$$dashes"; \ 224 echo "$$banner"; \ 225 echo "$$dashes" 201 226 dist: distdir 202 227 -chmod -R a+r $(distdir) 203 GZIP=$(GZIP ) $(TAR) chozf $(distdir).tar.gz $(distdir)204 rm -rf $(distdir)228 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 229 -rm -rf $(distdir) 205 230 dist-all: distdir 206 231 -chmod -R a+r $(distdir) 207 GZIP=$(GZIP ) $(TAR) chozf $(distdir).tar.gz $(distdir)208 rm -rf $(distdir)232 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 233 -rm -rf $(distdir) 209 234 distdir: $(DISTFILES) 210 rm -rf $(distdir)235 -rm -rf $(distdir) 211 236 mkdir $(distdir) 212 237 -chmod 777 $(distdir) 213 238 here=`cd $(top_builddir) && pwd`; \ 214 top_distdir=`cd $(top_distdir) && pwd`; \ 239 top_distdir=`cd $(distdir) && pwd`; \ 240 distdir=`cd $(distdir) && pwd`; \ 215 241 cd $(top_srcdir) \ 216 242 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile 217 243 @for file in $(DISTFILES); do \ 218 244 d=$(srcdir); \ 219 test -f $(distdir)/$$file \ 220 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ 221 || cp -p $$d/$$file $(distdir)/$$file; \ 245 if test -d $$d/$$file; then \ 246 cp -pr $$/$$file $(distdir)/$$file; \ 247 else \ 248 test -f $(distdir)/$$file \ 249 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ 250 || cp -p $$d/$$file $(distdir)/$$file || :; \ 251 fi; \ 222 252 done 223 253 224 MKDEP = gcc -M $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)225 226 254 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) 227 -include .deps/.P228 .deps/.P: $(BUILT_SOURCES)229 echo > $@230 255 231 256 -include $(DEP_FILES) … … 236 261 237 262 distclean-depend: 263 -rm -rf .deps 238 264 239 265 maintainer-clean-depend: 240 rm -rf .deps 241 242 .deps/%.P: %.c 243 @echo "Computing dependencies for $<..." 244 @o='o'; \ 245 test -n "$o" && o='$$o'; \ 246 $(MKDEP) $< >$@.tmp \ 247 && sed "s,^\(.*\)\.o:,\1.$$o \1.l$$o $@:," < $@.tmp > $@ \ 248 && rm -f $@.tmp 249 info: 250 dvi: 251 check: all 252 $(MAKE) 253 installcheck: 254 install-exec: install-exec-local 255 @$(NORMAL_INSTALL) 256 257 install-data: 258 @$(NORMAL_INSTALL) 259 260 install: install-exec install-data all 261 @: 262 263 uninstall: 264 265 all: Makefile $(PROGRAMS) 266 266 267 %.o: %.c 268 @echo '$(COMPILE) -c $<'; \ 269 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< 270 @-cp .deps/$(*F).pp .deps/$(*F).P; \ 271 tr ' ' '\012' < .deps/$(*F).pp \ 272 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ 273 >> .deps/$(*F).P; \ 274 rm .deps/$(*F).pp 275 276 %.lo: %.c 277 @echo '$(LTCOMPILE) -c $<'; \ 278 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< 279 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ 280 < .deps/$(*F).pp > .deps/$(*F).P; \ 281 tr ' ' '\012' < .deps/$(*F).pp \ 282 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ 283 >> .deps/$(*F).P; \ 284 rm -f .deps/$(*F).pp 285 info-am: 286 info: info-am 287 dvi-am: 288 dvi: dvi-am 289 check-am: all-am 290 check: check-am 291 installcheck-am: 292 installcheck: installcheck-am 293 install-exec-am: install-exec-local 294 install-exec: install-exec-am 295 296 install-data-am: 297 install-data: install-data-am 298 299 install-am: all-am 300 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 301 install: install-am 302 uninstall-am: 303 uninstall: uninstall-am 304 all-am: Makefile $(PROGRAMS) 305 all-redirect: all-am 267 306 install-strip: 268 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)'install307 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install 269 308 installdirs: 270 309 271 310 272 311 mostlyclean-generic: 273 test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)274 312 275 313 clean-generic: 276 test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)277 314 278 315 distclean-generic: 279 rm -f Makefile $(DISTCLEANFILES) 280 rm -f config.cache config.log stamp-h stamp-h[0-9]* 281 test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 316 -rm -f Makefile $(CONFIG_CLEAN_FILES) 317 -rm -f config.cache config.log stamp-h stamp-h[0-9]* 282 318 283 319 maintainer-clean-generic: 284 test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) 285 test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) 286 mostlyclean: mostlyclean-noinstPROGRAMS mostlyclean-compile \ 320 mostlyclean-am: mostlyclean-noinstPROGRAMS mostlyclean-compile \ 287 321 mostlyclean-tags mostlyclean-depend mostlyclean-generic 288 322 289 clean: clean-noinstPROGRAMS clean-compile clean-tags clean-depend \ 290 clean-generic mostlyclean 291 292 distclean: distclean-noinstPROGRAMS distclean-compile distclean-tags \ 293 distclean-depend distclean-generic clean 294 rm -f config.status 295 296 maintainer-clean: maintainer-clean-noinstPROGRAMS \ 323 mostlyclean: mostlyclean-am 324 325 clean-am: clean-noinstPROGRAMS clean-compile clean-tags clean-depend \ 326 clean-generic mostlyclean-am 327 328 clean: clean-am 329 330 distclean-am: distclean-noinstPROGRAMS distclean-compile distclean-tags \ 331 distclean-depend distclean-generic clean-am 332 333 distclean: distclean-am 334 -rm -f config.status 335 336 maintainer-clean-am: maintainer-clean-noinstPROGRAMS \ 297 337 maintainer-clean-compile maintainer-clean-tags \ 298 338 maintainer-clean-depend maintainer-clean-generic \ 299 distclean 339 distclean-am 300 340 @echo "This command is intended for maintainers to use;" 301 341 @echo "it deletes files that may require special tools to rebuild." 302 rm -f config.status 303 304 .PHONY: default mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \ 342 343 maintainer-clean: maintainer-clean-am 344 -rm -f config.status 345 346 .PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \ 305 347 clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \ 306 348 mostlyclean-compile distclean-compile clean-compile \ 307 349 maintainer-clean-compile tags mostlyclean-tags distclean-tags \ 308 350 clean-tags maintainer-clean-tags distdir mostlyclean-depend \ 309 distclean-depend clean-depend maintainer-clean-depend info dvi \ 310 installcheck install-exec install-data install uninstall all \ 311 installdirs mostlyclean-generic distclean-generic clean-generic \ 312 maintainer-clean-generic clean mostlyclean distclean maintainer-clean 351 distclean-depend clean-depend maintainer-clean-depend info-am info \ 352 dvi-am dvi check check-am installcheck-am installcheck \ 353 install-exec-local install-exec-am install-exec install-data-am \ 354 install-data install-am install uninstall-am uninstall all-redirect \ 355 all-am all installdirs mostlyclean-generic distclean-generic \ 356 clean-generic maintainer-clean-generic clean mostlyclean distclean \ 357 maintainer-clean 313 358 314 359 … … 321 366 $(INSTALL_PROGRAM) binpatch $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools 322 367 323 include $(top_srcdir)/../../../../../../../automake/local.am 368 debug-am: 369 370 debug: debug-am 371 372 debug_install-am: 373 374 debug_install: debug_install-am 375 376 .PHONY: debug debug_install debug-am 377 378 profile-am: 379 380 profile: profile-am 381 382 profile_install-am: 383 384 profile_install: profile_install-am 385 386 .PHONY: profile profile_install profile-am 387 388 preinstall-am: 389 390 preinstall: preinstall-am 391 392 .PHONY: preinstall preinstall-am 324 393 325 394 # Tell versions [3.59,3.63) of GNU make to not export all variables. -
c/src/lib/libbsp/i386/pc386/tools/aclocal.m4
rd115315 r8cdb582 1 dnl aclocal.m4 generated automatically by aclocal 1.2 1 dnl aclocal.m4 generated automatically by aclocal 1.4 2 3 dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. 4 dnl This file is free software; the Free Software Foundation 5 dnl gives unlimited permission to copy and/or distribute it, 6 dnl with or without modifications, as long as this notice is preserved. 7 8 dnl This program is distributed in the hope that it will be useful, 9 dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without 10 dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 dnl PARTICULAR PURPOSE. 2 12 3 13 dnl $Id$ … … 10 20 AC_DEFUN(RTEMS_TOP, 11 21 [dnl 22 AC_ARG_WITH(target-subdir, 23 [ --with-target-subdir=DIR], 24 TARGET_SUBDIR="$withval", 25 TARGET_SUBDIR=".") 26 12 27 RTEMS_TOPdir="$1"; 13 28 AC_SUBST(RTEMS_TOPdir) 14 29 15 30 PROJECT_ROOT=`pwd`/$RTEMS_TOPdir; 31 test "$TARGET_SUBDIR" = "." || PROJECT_ROOT="$PROJECT_ROOT/.." 16 32 AC_SUBST(PROJECT_ROOT) 17 33 … … 32 48 AC_MSG_RESULT($RTEMS_VERSION) 33 49 34 dnl FIXME: This once gets activated in future or will be removed 35 dnl RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir; 36 dnl AC_SUBST(RTEMS_ROOT) 50 RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir; 51 AC_SUBST(RTEMS_ROOT) 37 52 ])dnl 38 53 … … 90 105 91 106 AC_DEFUN(AM_INIT_AUTOMAKE, 92 [AC_REQUIRE([A M_PROG_INSTALL])107 [AC_REQUIRE([AC_PROG_INSTALL]) 93 108 PACKAGE=[$1] 94 109 AC_SUBST(PACKAGE) … … 100 115 fi 101 116 ifelse([$3],, 102 AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE" )103 AC_DEFINE_UNQUOTED(VERSION, "$VERSION" ))104 A M_SANITY_CHECK105 AC_ ARG_PROGRAM117 AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) 118 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])) 119 AC_REQUIRE([AM_SANITY_CHECK]) 120 AC_REQUIRE([AC_ARG_PROGRAM]) 106 121 dnl FIXME This is truly gross. 107 122 missing_dir=`cd $ac_aux_dir && pwd` … … 111 126 AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) 112 127 AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) 113 AC_PROG_MAKE_SET]) 114 115 116 # serial 1 117 118 AC_DEFUN(AM_PROG_INSTALL, 119 [AC_REQUIRE([AC_PROG_INSTALL]) 120 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' 121 AC_SUBST(INSTALL_SCRIPT)dnl 122 ]) 128 AC_REQUIRE([AC_PROG_MAKE_SET])]) 123 129 124 130 # … … 138 144 if ( 139 145 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` 140 if test " $@" = "X"; then146 if test "[$]*" = "X"; then 141 147 # -L didn't work. 142 148 set X `ls -t $srcdir/configure conftestfile` 143 149 fi 150 if test "[$]*" != "X $srcdir/configure conftestfile" \ 151 && test "[$]*" != "X conftestfile $srcdir/configure"; then 152 153 # If neither matched, then we have a broken ls. This can happen 154 # if, for instance, CONFIG_SHELL is bash and it inherits a 155 # broken ls alias from the environment. This has actually 156 # happened. Such a system could not be considered "sane". 157 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken 158 alias in your environment]) 159 fi 160 144 161 test "[$]2" = conftestfile 145 162 ) -
c/src/lib/libbsp/i386/pc386/tools/configure
rd115315 r8cdb582 2 2 3 3 # Guess values for system-dependent variables and create Makefiles. 4 # Generated automatically using autoconf version 2.1 24 # Generated automatically using autoconf version 2.13 5 5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 6 6 # … … 12 12 ac_default_prefix=/usr/local 13 13 # Any additions from configure.in: 14 ac_help="$ac_help 15 --with-target-subdir=DIR" 14 16 15 17 # Initialize some variables set by options. … … 50 52 subdirs= 51 53 MFLAGS= MAKEFLAGS= 54 SHELL=${CONFIG_SHELL-/bin/sh} 52 55 # Maximum number of lines to put in a shell here document. 53 56 ac_max_here_lines=12 … … 333 336 334 337 -version | --version | --versio | --versi | --vers) 335 echo "configure generated by autoconf version 2.1 2"338 echo "configure generated by autoconf version 2.13" 336 339 exit 0 ;; 337 340 … … 503 506 ac_cpp='$CPP $CPPFLAGS' 504 507 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 505 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'508 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 506 509 cross_compiling=$ac_cv_prog_cc_cross 507 510 511 ac_exeext= 512 ac_objext=o 508 513 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then 509 514 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. … … 539 544 540 545 546 # Check whether --with-target-subdir or --without-target-subdir was given. 547 if test "${with_target_subdir+set}" = set; then 548 withval="$with_target_subdir" 549 TARGET_SUBDIR="$withval" 550 else 551 TARGET_SUBDIR="." 552 fi 553 554 541 555 RTEMS_TOPdir="../../../../../../.."; 542 556 543 557 544 558 PROJECT_ROOT=`pwd`/$RTEMS_TOPdir; 559 test "$TARGET_SUBDIR" = "." || PROJECT_ROOT="$PROJECT_ROOT/.." 545 560 546 561 547 562 echo $ac_n "checking for RTEMS Version""... $ac_c" 1>&6 548 echo "configure:5 49: checking for RTEMS Version" >&5563 echo "configure:564: checking for RTEMS Version" >&5 549 564 if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then 550 565