Changeset 9b8baa1 in rtems
- Timestamp:
- 03/23/99 18:02:17 (24 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- ca3fec49
- Parents:
- c69856c3
- Files:
-
- 8 added
- 40 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
aclocal.m4
rc69856c3 r9b8baa1 13 13 dnl $Id$ 14 14 15 dnl 16 dnl RTEMS_TOP($1) 17 dnl 18 dnl $1 .. relative path from this configure.in to the toplevel configure.in 19 dnl 15 20 AC_DEFUN(RTEMS_TOP, 16 21 [dnl … … 21 26 AC_SUBST(PROJECT_ROOT) 22 27 23 RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir; 24 AC_SUBST(RTEMS_ROOT) 28 dnl Determine RTEMS Version string from the VERSION file 29 dnl Hopefully, Joel never changes its format ;- 30 AC_MSG_CHECKING([for RTEMS Version]) 31 if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then 32 changequote(,)dnl 33 RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \ 34 sed -e 's%RTEMS[ ]*Version[ ]*\(.*\)[ ]*%\1%g'` 35 changequote([,])dnl 36 else 37 AC_MSG_ERROR(Unable to find ${RTEMS_TOPdir}/VERSION) 38 fi 39 if test -z "$RTEMS_VERSION"; then 40 AC_MSG_ERROR(Unable to determine version) 41 fi 42 AC_MSG_RESULT($RTEMS_VERSION) 43 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) 25 47 ])dnl 26 48 -
aclocal/rtems-top.m4
rc69856c3 r9b8baa1 1 1 dnl $Id$ 2 2 3 dnl 4 dnl RTEMS_TOP($1) 5 dnl 6 dnl $1 .. relative path from this configure.in to the toplevel configure.in 7 dnl 3 8 AC_DEFUN(RTEMS_TOP, 4 9 [dnl … … 9 14 AC_SUBST(PROJECT_ROOT) 10 15 11 RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir; 12 AC_SUBST(RTEMS_ROOT) 16 dnl Determine RTEMS Version string from the VERSION file 17 dnl Hopefully, Joel never changes its format ;- 18 AC_MSG_CHECKING([for RTEMS Version]) 19 if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then 20 changequote(,)dnl 21 RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \ 22 sed -e 's%RTEMS[ ]*Version[ ]*\(.*\)[ ]*%\1%g'` 23 changequote([,])dnl 24 else 25 AC_MSG_ERROR(Unable to find ${RTEMS_TOPdir}/VERSION) 26 fi 27 if test -z "$RTEMS_VERSION"; then 28 AC_MSG_ERROR(Unable to determine version) 29 fi 30 AC_MSG_RESULT($RTEMS_VERSION) 31 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) 13 35 ])dnl -
autogen
rc69856c3 r9b8baa1 1 1 #!/bin/sh 2 3 # $Id$ 4 2 # 5 3 # helps bootstrapping, when checked out from CVS 6 4 # requires GNU autoconf and GNU automake 5 # 6 # $Id$ 7 7 8 8 # this is not meant to be exported outside the source tree -
c/build-tools/Makefile.am
rc69856c3 r9b8baa1 3 3 # 4 4 5 AUTOMAKE_OPTIONS =foreign5 AUTOMAKE_OPTIONS = foreign 6 6 ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal 7 7 8 8 SUBDIRS = scripts src 9 10 include $(top_srcdir)/../../automake/subdirs.am 11 include $(top_srcdir)/../../automake/local.am -
c/build-tools/Makefile.in
rc69856c3 r9b8baa1 14 14 # $Id$ 15 15 # 16 17 18 # $Id$ 19 20 # Borrowed from automake-1.4, adapted to support RTEMS's 21 # "make debug", "make debug_install", "make profile", "make profile_install" 22 23 # NOTE: This is a temporary work-around to keep 24 # "make debug" and "make debug_install" working. 25 # Once automake is fully integrated these make targets 26 # and this file will probably be removed 27 28 29 # $Id$ 30 31 # NOTE: This is a temporary work-around to keep 32 # "make debug" and "make debug_install" working. 33 # Once automake is fully integrated these make targets 34 # and this file will probably be removed 16 35 17 36 … … 68 87 PACKAGE = @PACKAGE@ 69 88 PROJECT_ROOT = @PROJECT_ROOT@ 70 RTEMS_ROOT = @RTEMS_ROOT@71 89 RTEMS_TOPdir = @RTEMS_TOPdir@ 72 90 VERSION = @VERSION@ … … 80 98 CONFIG_HEADER = ./src/config.h 81 99 CONFIG_CLEAN_FILES = 82 DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in 100 DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in \ 101 src/config.h.in src/stamp-h.in 83 102 84 103 … … 89 108 all: all-redirect 90 109 .SUFFIXES: 91 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 110 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../automake/subdirs.am $(top_srcdir)/../../automake/local.am 92 111 cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile 93 112 … … 103 122 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) 104 123 cd $(srcdir) && $(AUTOCONF) 124 125 src/config.h: src/stamp-h 126 @if test ! -f $@; then \ 127 rm -f src/stamp-h; \ 128 $(MAKE) src/stamp-h; \ 129 else :; fi 130 src/stamp-h: $(srcdir)/src/config.h.in $(top_builddir)/config.status 131 cd $(top_builddir) \ 132 && CONFIG_FILES= CONFIG_HEADERS=src/config.h \ 133 $(SHELL) ./config.status 134 @echo timestamp > src/stamp-h 2> /dev/null 135 $(srcdir)/src/config.h.in: $(srcdir)/src/stamp-h.in 136 @if test ! -f $@; then \ 137 rm -f $(srcdir)/src/stamp-h.in; \ 138 $(MAKE) $(srcdir)/src/stamp-h.in; \ 139 else :; fi 140 $(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/null 143 144 mostlyclean-hdr: 145 146 clean-hdr: 147 148 distclean-hdr: 149 -rm -f src/config.h 150 151 maintainer-clean-hdr: 105 152 106 153 # This directory's subdirectories are mostly independent; you can cd … … 292 339 293 340 maintainer-clean-generic: 294 mostlyclean-am: mostlyclean- tags mostlyclean-generic341 mostlyclean-am: mostlyclean-hdr mostlyclean-tags mostlyclean-generic 295 342 296 343 mostlyclean: mostlyclean-recursive 297 344 298 clean-am: clean- tags clean-generic mostlyclean-am345 clean-am: clean-hdr clean-tags clean-generic mostlyclean-am 299 346 300 347 clean: clean-recursive 301 348 302 distclean-am: distclean- tags distclean-generic clean-am349 distclean-am: distclean-hdr distclean-tags distclean-generic clean-am 303 350 304 351 distclean: distclean-recursive 305 352 -rm -f config.status 306 353 307 maintainer-clean-am: maintainer-clean- tags maintainer-clean-generic\308 distclean-am354 maintainer-clean-am: maintainer-clean-hdr maintainer-clean-tags \ 355 maintainer-clean-generic distclean-am 309 356 @echo "This command is intended for maintainers to use;" 310 357 @echo "it deletes files that may require special tools to rebuild." … … 313 360 -rm -f config.status 314 361 315 .PHONY: install-data-recursive uninstall-data-recursive\316 install- exec-recursive uninstall-exec-recursive installdirs-recursive \317 uninstall dirs-recursive all-recursive check-recursive \318 installcheck-recursive info-recursive dvi-recursive \319 mostlyclean-recursive distclean-recursive clean-recursive \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-recursive mostlyclean-recursive distclean-recursive clean-recursive \ 320 367 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ 321 368 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ … … 327 374 328 375 376 debug-recursive debug_install-recursive \ 377 profile-recursive profile_install-recursive: 378 @set fnord $(MAKEFLAGS); amf=$$2; \ 379 dot_seen=no; \ 380 target=`echo $@ | sed s/-recursive//`; \ 381 list='$(SUBDIRS)'; for subdir in $$list; do \ 382 echo "Making $$target in $$subdir"; \ 383 if test "$$subdir" = "."; then \ 384 dot_seen=yes; \ 385 local_target="$$target-am"; \ 386 else \ 387 local_target="$$target"; \ 388 fi; \ 389 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 390 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ 391 done; \ 392 if test "$$dot_seen" = "no"; then \ 393 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ 394 fi; test -z "$$fail" 395 396 debug: debug-recursive 397 398 debug_install: debug_install-recursive 399 400 profile: profile-recursive 401 402 profile_install: profile_install-recursive 403 404 .PHONY: \ 405 debug debug-recursive debug_install \ 406 profile profile-recursive profile_install 407 408 debug-am: 409 410 debug: debug-am 411 412 debug_install-am: 413 414 debug_install: debug_install-am 415 416 profile-am: 417 418 profile: profile-am 419 420 profile_install-am: 421 422 profile_install: profile_install-am 423 424 .PHONY: debug debug_install profile profile_install 425 329 426 # Tell versions [3.59,3.63) of GNU make to not export all variables. 330 427 # Otherwise a system limit (for SysV at least) may be exceeded. -
c/build-tools/aclocal.m4
rc69856c3 r9b8baa1 13 13 dnl $Id$ 14 14 15 dnl 16 dnl RTEMS_TOP($1) 17 dnl 18 dnl $1 .. relative path from this configure.in to the toplevel configure.in 19 dnl 15 20 AC_DEFUN(RTEMS_TOP, 16 21 [dnl … … 21 26 AC_SUBST(PROJECT_ROOT) 22 27 23 RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir; 24 AC_SUBST(RTEMS_ROOT) 28 dnl Determine RTEMS Version string from the VERSION file 29 dnl Hopefully, Joel never changes its format ;- 30 AC_MSG_CHECKING([for RTEMS Version]) 31 if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then 32 changequote(,)dnl 33 RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \ 34 sed -e 's%RTEMS[ ]*Version[ ]*\(.*\)[ ]*%\1%g'` 35 changequote([,])dnl 36 else 37 AC_MSG_ERROR(Unable to find ${RTEMS_TOPdir}/VERSION) 38 fi 39 if test -z "$RTEMS_VERSION"; then 40 AC_MSG_ERROR(Unable to determine version) 41 fi 42 AC_MSG_RESULT($RTEMS_VERSION) 43 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) 25 47 ])dnl 26 48 -
c/build-tools/configure
rc69856c3 r9b8baa1 547 547 548 548 549 RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir; 549 echo $ac_n "checking for RTEMS Version""... $ac_c" 1>&6 550 echo "configure:551: checking for RTEMS Version" >&5 551 if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then 552 RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \ 553 sed -e 's%RTEMS[ ]*Version[ ]*\(.*\)[ ]*%\1%g'` 554 else 555 { echo "configure: error: Unable to find ${RTEMS_TOPdir}/VERSION" 1>&2; exit 1; } 556 fi 557 if test -z "$RTEMS_VERSION"; then 558 { echo "configure: error: Unable to determine version" 1>&2; exit 1; } 559 fi 560 echo "$ac_t""$RTEMS_VERSION" 1>&6 550 561 551 562 … … 558 569 559 570 echo $ac_n "checking host system type""... $ac_c" 1>&6 560 echo "configure:5 61: checking host system type" >&5571 echo "configure:572: checking host system type" >&5 561 572 562 573 host_alias=$host … … 591 602 # ./install, which can be erroneously created by make from ./install.sh. 592 603 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 593 echo "configure: 594: checking for a BSD compatible install" >&5604 echo "configure:605: checking for a BSD compatible install" >&5 594 605 if test -z "$INSTALL"; then 595 606 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 644 655 645 656 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 646 echo "configure:6 47: checking whether build environment is sane" >&5657 echo "configure:658: checking whether build environment is sane" >&5 647 658 # Just in case 648 659 sleep 1 … … 701 712 702 713 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 703 echo "configure:7 04: checking whether ${MAKE-make} sets \${MAKE}" >&5714 echo "configure:715: checking whether ${MAKE-make} sets \${MAKE}" >&5 704 715 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 705 716 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 730 741 PACKAGE=rtems-build-tools 731 742 732 VERSION= 4.1.0743 VERSION=$RTEMS_VERSION 733 744 734 745 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then … … 740 751 missing_dir=`cd $ac_aux_dir && pwd` 741 752 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 742 echo "configure:7 43: checking for working aclocal" >&5753 echo "configure:754: checking for working aclocal" >&5 743 754 # Run test in a subshell; some versions of sh will print an error if 744 755 # an executable is not found, even if stderr is redirected. … … 753 764 754 765 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 755 echo "configure:7 56: checking for working autoconf" >&5766 echo "configure:767: checking for working autoconf" >&5 756 767 # Run test in a subshell; some versions of sh will print an error if 757 768 # an executable is not found, even if stderr is redirected. … … 766 777 767 778 echo $ac_n "checking for working automake""... $ac_c" 1>&6 768 echo "configure:7 69: checking for working automake" >&5779 echo "configure:780: checking for working automake" >&5 769 780 # Run test in a subshell; some versions of sh will print an error if 770 781 # an executable is not found, even if stderr is redirected. … … 779 790 780 791 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 781 echo "configure:7 82: checking for working autoheader" >&5792 echo "configure:793: checking for working autoheader" >&5 782 793 # Run test in a subshell; some versions of sh will print an error if 783 794 # an executable is not found, even if stderr is redirected. … … 792 803 793 804 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 794 echo "configure: 795: checking for working makeinfo" >&5805 echo "configure:806: checking for working makeinfo" >&5 795 806 # Run test in a subshell; some versions of sh will print an error if 796 807 # an executable is not found, even if stderr is redirected. … … 806 817 807 818 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 808 echo "configure:8 09: checking for Cygwin environment" >&5819 echo "configure:820: checking for Cygwin environment" >&5 809 820 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 810 821 echo $ac_n "(cached) $ac_c" 1>&6 811 822 else 812 823 cat > conftest.$ac_ext <<EOF 813 #line 8 14"configure"824 #line 825 "configure" 814 825 #include "confdefs.h" 815 826 … … 822 833 ; return 0; } 823 834 EOF 824 if { (eval echo configure:8 25: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then835 if { (eval echo configure:836: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 825 836 rm -rf conftest* 826 837 ac_cv_cygwin=yes … … 839 850 test "$ac_cv_cygwin" = yes && CYGWIN=yes 840 851 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 841 echo "configure:8 42: checking for mingw32 environment" >&5852 echo "configure:853: checking for mingw32 environment" >&5 842 853 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 843 854 echo $ac_n "(cached) $ac_c" 1>&6 844 855 else 845 856 cat > conftest.$ac_ext <<EOF 846 #line 8 47"configure"857 #line 858 "configure" 847 858 #include "confdefs.h" 848 859 … … 851 862 ; return 0; } 852 863 EOF 853 if { (eval echo configure:8 54: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then864 if { (eval echo configure:865: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 854 865 rm -rf conftest* 855 866 ac_cv_mingw32=yes … … 870 881 871 882 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 872 echo "configure:8 73: checking for executable suffix" >&5883 echo "configure:884: checking for executable suffix" >&5 873 884 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 874 885 echo $ac_n "(cached) $ac_c" 1>&6 … … 880 891 echo 'int main () { return 0; }' > conftest.$ac_ext 881 892 ac_cv_exeext= 882 if { (eval echo configure:8 83: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then893 if { (eval echo configure:894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 883 894 for file in conftest.*; do 884 895 case $file in … … 904 915 set dummy gcc; ac_word=$2 905 916 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 906 echo "configure:9 07: checking for $ac_word" >&5917 echo "configure:918: checking for $ac_word" >&5 907 918 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 908 919 echo $ac_n "(cached) $ac_c" 1>&6 … … 934 945 set dummy cc; ac_word=$2 935 946 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 936 echo "configure:9 37: checking for $ac_word" >&5947 echo "configure:948: checking for $ac_word" >&5 937 948 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 938 949 echo $ac_n "(cached) $ac_c" 1>&6 … … 985 996 set dummy cl; ac_word=$2 986 997 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 987 echo "configure:9 88: checking for $ac_word" >&5998 echo "configure:999: checking for $ac_word" >&5 988 999 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 989 1000 echo $ac_n "(cached) $ac_c" 1>&6 … … 1017 1028 1018 1029 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1019 echo "configure:10 20: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&51030 echo "configure:1031: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1020 1031 1021 1032 ac_ext=c … … 1028 1039 cat > conftest.$ac_ext << EOF 1029 1040 1030 #line 10 31"configure"1041 #line 1042 "configure" 1031 1042 #include "confdefs.h" 1032 1043 1033 1044 main(){return(0);} 1034 1045 EOF 1035 if { (eval echo configure:10 36: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1046 if { (eval echo configure:1047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1036 1047 ac_cv_prog_cc_works=yes 1037 1048 # If we can't run a trivial program, we are probably using a cross compiler. … … 1059 1070 fi 1060 1071 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1061 echo "configure:10 62: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&51072 echo "configure:1073: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1062 1073 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1063 1074 cross_compiling=$ac_cv_prog_cc_cross 1064 1075 1065 1076 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1066 echo "configure:10 67: checking whether we are using GNU C" >&51077 echo "configure:1078: checking whether we are using GNU C" >&5 1067 1078 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1068 1079 echo $ac_n "(cached) $ac_c" 1>&6 … … 1073 1084 #endif 1074 1085 EOF 1075 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:10 76: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1086 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1076 1087 ac_cv_prog_gcc=yes 1077 1088 else … … 1092 1103 CFLAGS= 1093 1104 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1094 echo "configure:1 095: checking whether ${CC-cc} accepts -g" >&51105 echo "configure:1106: checking whether ${CC-cc} accepts -g" >&5 1095 1106 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1096 1107 echo $ac_n "(cached) $ac_c" 1>&6 … … 1126 1137 do 1127 1138 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1128 echo "configure:11 29: checking for $ac_func" >&51139 echo "configure:1140: checking for $ac_func" >&5 1129 1140 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1130 1141 echo $ac_n "(cached) $ac_c" 1>&6 1131 1142 else 1132 1143 cat > conftest.$ac_ext <<EOF 1133 #line 11 34"configure"1144 #line 1145 "configure" 1134 1145 #include "confdefs.h" 1135 1146 /* System header to define __stub macros and hopefully few prototypes, … … 1154 1165 ; return 0; } 1155 1166 EOF 1156 if { (eval echo configure:11 57: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1167 if { (eval echo configure:1168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1157 1168 rm -rf conftest* 1158 1169 eval "ac_cv_func_$ac_func=yes" … … 1185 1196 set dummy $ac_prog; ac_word=$2 1186 1197 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1187 echo "configure:11 88: checking for $ac_word" >&51198 echo "configure:1199: checking for $ac_word" >&5 1188 1199 if eval "test \"`echo '$''{'ac_cv_path_KSH'+set}'`\" = set"; then 1189 1200 echo $ac_n "(cached) $ac_c" 1>&6 … … 1373 1384 s%@RTEMS_TOPdir@%$RTEMS_TOPdir%g 1374 1385 s%@PROJECT_ROOT@%$PROJECT_ROOT%g 1375 s%@RTEMS_ROOT@%$RTEMS_ROOT%g1376 1386 s%@host@%$host%g 1377 1387 s%@host_alias@%$host_alias%g -
c/build-tools/configure.in
rc69856c3 r9b8baa1 10 10 AC_CANONICAL_HOST 11 11 12 AM_INIT_AUTOMAKE(rtems-build-tools, 4.1.0,no)12 AM_INIT_AUTOMAKE(rtems-build-tools,$RTEMS_VERSION,no) 13 13 AC_EXEEXT 14 14 -
c/build-tools/os/Makefile.am
rc69856c3 r9b8baa1 7 7 # FIXME: Is this subdirectory still in use ? 8 8 ## SUBDIRS = msdos 9 include $(top_srcdir)/../../automake/local.am -
c/build-tools/scripts/Makefile.am
rc69856c3 r9b8baa1 22 22 23 23 preinstall: install-exec-local 24 25 include $(top_srcdir)/../../automake/local.am -
c/build-tools/scripts/Makefile.in
rc69856c3 r9b8baa1 14 14 # $Id$ 15 15 # 16 17 18 # $Id$ 19 20 # NOTE: This is a temporary work-around to keep 21 # "make debug" and "make debug_install" working. 22 # Once automake is fully integrated these make targets 23 # and this file will probably be removed 16 24 17 25 … … 70 78 PACKAGE = @PACKAGE@ 71 79 PROJECT_ROOT = @PROJECT_ROOT@ 72 RTEMS_ROOT = @RTEMS_ROOT@73 80 RTEMS_TOPdir = @RTEMS_TOPdir@ 74 81 VERSION = @VERSION@ … … 96 103 all: all-redirect 97 104 .SUFFIXES: 98 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 105 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../automake/local.am 99 106 cd $(top_srcdir) && $(AUTOMAKE) --foreign scripts/Makefile 100 107 … … 227 234 preinstall: install-exec-local 228 235 236 debug-am: 237 238 debug: debug-am 239 240 debug_install-am: 241 242 debug_install: debug_install-am 243 244 profile-am: 245 246 profile: profile-am 247 248 profile_install-am: 249 250 profile_install: profile_install-am 251 252 .PHONY: debug debug_install profile profile_install 253 229 254 # Tell versions [3.59,3.63) of GNU make to not export all variables. 230 255 # Otherwise a system limit (for SysV at least) may be exceeded. -
c/build-tools/src/Makefile.am
rc69856c3 r9b8baa1 21 21 22 22 preinstall: install-exec-local 23 24 include $(top_srcdir)/../../automake/local.am -
c/build-tools/src/Makefile.in
rc69856c3 r9b8baa1 14 14 # $Id$ 15 15 # 16 17 18 # $Id$ 19 20 # NOTE: This is a temporary work-around to keep 21 # "make debug" and "make debug_install" working. 22 # Once automake is fully integrated these make targets 23 # and this file will probably be removed 16 24 17 25 … … 70 78 PACKAGE = @PACKAGE@ 71 79 PROJECT_ROOT = @PROJECT_ROOT@ 72 RTEMS_ROOT = @RTEMS_ROOT@73 80 RTEMS_TOPdir = @RTEMS_TOPdir@ 74 81 VERSION = @VERSION@ … … 129 136 .SUFFIXES: 130 137 .SUFFIXES: .S .c .o .s 131 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 138 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../automake/local.am 132 139 cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile 133 140 … … 393 400 preinstall: install-exec-local 394 401 402 debug-am: 403 404 debug: debug-am 405 406 debug_install-am: 407 408 debug_install: debug_install-am 409 410 profile-am: 411 412 profile: profile-am 413 414 profile_install-am: 415 416 profile_install: profile_install-am 417 418 .PHONY: debug debug_install profile profile_install 419 395 420 # Tell versions [3.59,3.63) of GNU make to not export all variables. 396 421 # Otherwise a system limit (for SysV at least) may be exceeded. -
c/src/exec/score/tools/generic/Makefile.in
rc69856c3 r9b8baa1 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 # This Makefile.in is free software; the Free Software Foundation 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. 12 1 13 # 2 14 # $Id$ 3 15 # 4 # RTEMS build tools 5 # NOTE: of course we can't use any of these tools 6 # in this Makefile. Most notably: install-if-change 7 # 8 9 @SET_MAKE@ 16 17 18 # $Id$ 19 20 # NOTE: This is a temporary work-around to keep 21 # "make debug" and "make debug_install" working. 22 # Once automake is fully integrated these make targets 23 # and this file will probably be removed 24 25 26 SHELL = @SHELL@ 27 10 28 srcdir = @srcdir@ 11 29 top_srcdir = @top_srcdir@ 12 top_builddir = ../../../../../.. 13 subdir = c/src/exec/score/tools/generic 30 VPATH = @srcdir@ 31 prefix = @prefix@ 32 exec_prefix = @exec_prefix@ 33 34 bindir = @bindir@ 35 sbindir = @sbindir@ 36 libexecdir = @libexecdir@ 37 datadir = @datadir@ 38 sysconfdir = @sysconfdir@ 39 sharedstatedir = @sharedstatedir@ 40 localstatedir = @localstatedir@ 41 libdir = @libdir@ 42 infodir = @infodir@ 43 mandir = @mandir@ 44 includedir = @includedir@ 45 oldincludedir = /usr/include 46 47 DESTDIR = 48 49 pkgdatadir = $(datadir)/@PACKAGE@ 50 pkglibdir = $(libdir)/@PACKAGE@ 51 pkgincludedir = $(includedir)/@PACKAGE@ 52 53 top_builddir = . 54 AUTOCONF = @AUTOCONF@ 55 AUTOMAKE = @AUTOMAKE@ 56 AUTOHEADER = @AUTOHEADER@ 14 57 15 58 INSTALL = @INSTALL@ 16 17 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@ 59 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) 60 INSTALL_DATA = @INSTALL_DATA@ 61 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 62 transform = @program_transform_name@ 63 64 NORMAL_INSTALL = : 65 PRE_INSTALL = : 66 POST_INSTALL = : 67 NORMAL_UNINSTALL = : 68 PRE_UNINSTALL = : 69 POST_UNINSTALL = : 70 build_alias = @build_alias@ 71 build_triplet = @build@ 72 host_alias = @host_alias@ 73 host_triplet = @host@ 74 target_alias = @target_alias@ 75 target_triplet = @target@ 76 KSH = @KSH@ 77 MAKEINFO = @MAKEINFO@ 78 PACKAGE = @PACKAGE@ 18 79 PROJECT_ROOT = @PROJECT_ROOT@ 19 20 VPATH = @srcdir@ 21 22 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg 23 include $(RTEMS_ROOT)/make/leaf.cfg 24 25 DESTDIR=$(PROJECT_RELEASE)/bin 26 27 BUILD_PGMS=size_rtems 28 PGMS=$(BUILD_PGMS) 29 30 CLEAN_ADDITIONS += $(BUILD_PGMS) 31 32 INSTALLED_PGMS=$(PGMS:%=$(DESTDIR)/%) 33 34 all: $(DESTDIR) $(PGMS) install 35 36 $(DESTDIR): 37 @top_srcdir@/mkinstalldirs $@ 38 39 $(INSTALLED_PGMS): $(PGMS) 40 $(INSTALL) $(INSTBINFLAGS) $^ $@ 41 42 install: $(DESTDIR) $(INSTALLED_PGMS) 43 44 %: $(srcdir)/%.in $(top_builddir)/config.status 80 RTEMS_TOPdir = @RTEMS_TOPdir@ 81 VERSION = @VERSION@ 82 program_prefix = @program_prefix@ 83 project_bindir = @project_bindir@ 84 project_includedir = @project_includedir@ 85 project_libdir = @project_libdir@ 86 tooldir = @tooldir@ 87 88 AUTOMAKE_OPTIONS = foreign 89 ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal 90 91 # FIXME: This script doesn't make sense to be installed 92 noinst_SCRIPTS = size_rtems 93 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 94 mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../mkinstalldirs 95 CONFIG_CLEAN_FILES = size_rtems 96 SCRIPTS = $(noinst_SCRIPTS) 97 98 DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in \ 99 size_rtems.in 100 101 102 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) 103 104 TAR = tar 105 GZIP_ENV = --best 106 all: all-redirect 107 .SUFFIXES: 108 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../../../../automake/local.am 109 cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile 110 111 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) 45 112 cd $(top_builddir) \ 46 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 113 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 114 115 $(ACLOCAL_M4): configure.in 116 cd $(srcdir) && $(ACLOCAL) 117 118 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 119 $(SHELL) ./config.status --recheck 120 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) 121 cd $(srcdir) && $(AUTOCONF) 122 size_rtems: $(top_builddir)/config.status size_rtems.in 123 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 124 tags: TAGS 125 TAGS: 126 127 128 distdir = $(PACKAGE)-$(VERSION) 129 top_distdir = $(distdir) 130 131 # This target untars the dist file and tries a VPATH configuration. Then 132 # it guarantees that the distribution is self-contained by making another 133 # tarfile. 134 distcheck: dist 135 -rm -rf $(distdir) 136 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz 137 mkdir $(distdir)/=build 138 mkdir $(distdir)/=inst 139 dc_install_base=`cd $(distdir)/=inst && pwd`; \ 140 cd $(distdir)/=build \ 141 && ../configure --srcdir=.. --prefix=$$dc_install_base \ 142 && $(MAKE) $(AM_MAKEFLAGS) \ 143 && $(MAKE) $(AM_MAKEFLAGS) dvi \ 144 && $(MAKE) $(AM_MAKEFLAGS) check \ 145 && $(MAKE) $(AM_MAKEFLAGS) install \ 146 && $(MAKE) $(AM_MAKEFLAGS) installcheck \ 147 && $(MAKE) $(AM_MAKEFLAGS) dist 148 -rm -rf $(distdir) 149 @banner="$(distdir).tar.gz is ready for distribution"; \ 150 dashes=`echo "$$banner" | sed s/./=/g`; \ 151 echo "$$dashes"; \ 152 echo "$$banner"; \ 153 echo "$$dashes" 154 dist: distdir 155 -chmod -R a+r $(distdir) 156 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 157 -rm -rf $(distdir) 158 dist-all: distdir 159 -chmod -R a+r $(distdir) 160 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 161 -rm -rf $(distdir) 162 distdir: $(DISTFILES) 163 -rm -rf $(distdir) 164 mkdir $(distdir) 165 -chmod 777 $(distdir) 166 here=`cd $(top_builddir) && pwd`; \ 167 top_distdir=`cd $(distdir) && pwd`; \ 168 distdir=`cd $(distdir) && pwd`; \ 169 cd $(top_srcdir) \ 170 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile 171 @for file in $(DISTFILES); do \ 172 d=$(srcdir); \ 173 if test -d $$d/$$file; then \ 174 cp -pr $$/$$file $(distdir)/$$file; \ 175 else \ 176 test -f $(distdir)/$$file \ 177 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ 178 || cp -p $$d/$$file $(distdir)/$$file || :; \ 179 fi; \ 180 done 181 info-am: 182 info: info-am 183 dvi-am: 184 dvi: dvi-am 185 check-am: all-am 186 check: check-am 187 installcheck-am: 188 installcheck: installcheck-am 189 install-exec-am: install-exec-local 190 install-exec: install-exec-am 191 192 install-data-am: 193 install-data: install-data-am 194 195 install-am: all-am 196 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 197 install: install-am 198 uninstall-am: 199 uninstall: uninstall-am 200 all-am: Makefile $(SCRIPTS) 201 all-redirect: all-am 202 install-strip: 203 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install 204 installdirs: 205 206 207 mostlyclean-generic: 208 209 clean-generic: 210 211 distclean-generic: 212 -rm -f Makefile $(CONFIG_CLEAN_FILES) 213 -rm -f config.cache config.log stamp-h stamp-h[0-9]* 214 215 maintainer-clean-generic: 216 mostlyclean-am: mostlyclean-generic 217 218 mostlyclean: mostlyclean-am 219 220 clean-am: clean-generic mostlyclean-am 221 222 clean: clean-am 223 224 distclean-am: distclean-generic clean-am 225 226 distclean: distclean-am 227 -rm -f config.status 228 229 maintainer-clean-am: maintainer-clean-generic distclean-am 230 @echo "This command is intended for maintainers to use;" 231 @echo "it deletes files that may require special tools to rebuild." 232 233 maintainer-clean: maintainer-clean-am 234 -rm -f config.status 235 236 .PHONY: tags distdir info-am info dvi-am dvi check check-am \ 237 installcheck-am installcheck install-exec-local install-exec-am \ 238 install-exec install-data-am install-data install-am install \ 239 uninstall-am uninstall all-redirect all-am all installdirs \ 240 mostlyclean-generic distclean-generic clean-generic \ 241 maintainer-clean-generic clean mostlyclean distclean maintainer-clean 242 243 244 # HACK: install into build-tree 245 preinstall: install-exec-local 246 247 install-exec-local: size_rtems 248 $(mkinstalldirs) $(PROJECT_ROOT)/${RTEMS_BSP}/bin 249 $(INSTALL_SCRIPT) size_rtems $(PROJECT_ROOT)/${RTEMS_BSP}/bin 250 251 debug-am: 252 253 debug: debug-am 254 255 debug_install-am: 256 257 debug_install: debug_install-am 258 259 profile-am: 260 261 profile: profile-am 262 263 profile_install-am: 264 265 profile_install: profile_install-am 266 267 .PHONY: debug debug_install profile profile_install 268 269 # Tell versions [3.59,3.63) of GNU make to not export all variables. 270 # Otherwise a system limit (for SysV at least) may be exceeded. 271 .NOEXPORT: -
c/src/exec/score/tools/hppa1.1/Makefile.in
rc69856c3 r9b8baa1 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 # This Makefile.in is free software; the Free Software Foundation 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. 12 1 13 # 2 14 # $Id$ 3 15 # 4 16 5 @SET_MAKE@ 17 18 # $Id$ 19 20 # NOTE: This is a temporary work-around to keep 21 # "make debug" and "make debug_install" working. 22 # Once automake is fully integrated these make targets 23 # and this file will probably be removed 24 25 26 SHELL = @SHELL@ 27 6 28 srcdir = @srcdir@ 7 29 top_srcdir = @top_srcdir@ 8 top_builddir = ../../../../../.. 9 subdir = c/src/exec/score/tools/hppa1.1 30 VPATH = @srcdir@ 31 prefix = @prefix@ 32 exec_prefix = @exec_prefix@ 33 34 bindir = @bindir@ 35 sbindir = @sbindir@ 36 libexecdir = @libexecdir@ 37 datadir = @datadir@ 38 sysconfdir = @sysconfdir@ 39 sharedstatedir = @sharedstatedir@ 40 localstatedir = @localstatedir@ 41 libdir = @libdir@ 42 infodir = @infodir@ 43 mandir = @mandir@ 44 includedir = @includedir@ 45 oldincludedir = /usr/include 46 47 DESTDIR = 48 49 pkgdatadir = $(datadir)/@PACKAGE@ 50 pkglibdir = $(libdir)/@PACKAGE@ 51 pkgincludedir = $(includedir)/@PACKAGE@ 52 53 top_builddir = . 54 AUTOCONF = @AUTOCONF@ 55 AUTOMAKE = @AUTOMAKE@ 56 AUTOHEADER = @AUTOHEADER@ 10 57 11 58 INSTALL = @INSTALL@ 12 13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@ 59 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) 60 INSTALL_DATA = @INSTALL_DATA@ 61 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 62 transform = @program_transform_name@ 63 64 NORMAL_INSTALL = : 65 PRE_INSTALL = : 66 POST_INSTALL = : 67 NORMAL_UNINSTALL = : 68 PRE_UNINSTALL = : 69 POST_UNINSTALL = : 70 build_alias = @build_alias@ 71 build_triplet = @build@ 72 host_alias = @host_alias@ 73 host_triplet = @host@ 74 target_alias = @target_alias@ 75 target_triplet = @target@ 76 CC = @CC@ 77 MAKEINFO = @MAKEINFO@ 78 PACKAGE = @PACKAGE@ 14 79 PROJECT_ROOT = @PROJECT_ROOT@ 15 16 VPATH = @srcdir@ 17 18 # we use host compiler here for genoffsets. Hopefully it has same alignment!! 19 USE_HOST_COMPILER=yes 20 21 # C source names, if any, go here -- minus the .c 22 C_PIECES=genoffsets 23 C_FILES=$(C_PIECES:%=%.c) 24 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) 25 26 H_FILES= 27 28 SRCS=$(C_FILES) $(H_FILES) 29 OBJS=$(C_O_FILES) 30 31 PGMS=${ARCH}/genoffsets 32 33 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg 34 include $(RTEMS_ROOT)/make/leaf.cfg 80 RTEMS_TOPdir = @RTEMS_TOPdir@ 81 VERSION = @VERSION@ 82 project_bindir = @project_bindir@ 83 project_includedir = @project_includedir@ 84 project_libdir = @project_libdir@ 85 tooldir = @tooldir@ 86 87 AUTOMAKE_OPTIONS = foreign 88 ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal 89 90 noinst_PROGRAMS = genoffsets 91 92 genoffsets_SOURCES = genoffsets.c 93 35 94 36 95 # We use files that have not been installed yet. 37 CPU_DIR=../../cpu/$(RTEMS_CPU) 38 39 # 40 # (OPTIONAL) Add local stuff here using += 41 # 42 43 DEFINES += 44 CPPFLAGS += -I$(PROJECT_INCLUDE) \ 45 -I$(CPU_DIR) -I$(srcdir)/$(CPU_DIR) 46 CFLAGS += 47 48 LD_PATHS += 49 LD_LIBS += 50 LDFLAGS += 51 52 # 53 # Add your list of files to delete here. 54 # 55 56 CLEAN_ADDITIONS += 57 CLOBBER_ADDITIONS += 58 59 all: ${ARCH} $(SRCS) preinstall $(PGMS) 60 61 preinstall: ${ARCH} $(SRCS) $(PGMS) 62 $(INSTALL_CHANGE) $(INSTBINFLAGS) ${PGMS} ${PROJECT_RELEASE}/bin 63 64 # Install the program(s), appending _g or _p as appropriate. 65 # for include files, just use $(INSTALL_CHANGE) 66 67 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 96 97 CPU_DIR = ../../cpu/$(RTEMS_CPU) 98 99 INCLUDES = -I$(PROJECT_INCLUDE) -I$(CPU_DIR) 100 101 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 102 mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../mkinstalldirs 103 CONFIG_CLEAN_FILES = 104 PROGRAMS = $(noinst_PROGRAMS) 105 106 107 DEFS = @DEFS@ -I. -I$(srcdir) 108 CPPFLAGS = @CPPFLAGS@ 109 LDFLAGS = @LDFLAGS@ 110 LIBS = @LIBS@ 111 genoffsets_OBJECTS = genoffsets.o 112 genoffsets_LDADD = $(LDADD) 113 genoffsets_DEPENDENCIES = 114 genoffsets_LDFLAGS = 115 CFLAGS = @CFLAGS@ 116 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 117 CCLD = $(CC) 118 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ 119 DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in 120 121 122 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) 123 124 TAR = tar 125 GZIP_ENV = --best 126 DEP_FILES = .deps/genoffsets.P 127 SOURCES = $(genoffsets_SOURCES) 128 OBJECTS = $(genoffsets_OBJECTS) 129 130 all: all-redirect 131 .SUFFIXES: 132 .SUFFIXES: .S .c .o .s 133 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../../../../automake/local.am 134 cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile 135 136 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) 68 137 cd $(top_builddir) \ 69 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 138 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 139 140 $(ACLOCAL_M4): configure.in 141 cd $(srcdir) && $(ACLOCAL) 142 143 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 144 $(SHELL) ./config.status --recheck 145 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) 146 cd $(srcdir) && $(AUTOCONF) 147 148 mostlyclean-noinstPROGRAMS: 149 150 clean-noinstPROGRAMS: 151 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) 152 153 distclean-noinstPROGRAMS: 154 155 maintainer-clean-noinstPROGRAMS: 156 157 .s.o: 158 $(COMPILE) -c $< 159 160 .S.o: 161 $(COMPILE) -c $< 162 163 mostlyclean-compile: 164 -rm -f *.o core *.core 165 166 clean-compile: 167 168 distclean-compile: 169 -rm -f *.tab.c 170 171 maintainer-clean-compile: 172 173 genoffsets: $(genoffsets_OBJECTS) $(genoffsets_DEPENDENCIES) 174 @rm -f genoffsets 175 $(LINK) $(genoffsets_LDFLAGS) $(genoffsets_OBJECTS) $(genoffsets_LDADD) $(LIBS) 176 177 tags: TAGS 178 179 ID: $(HEADERS) $(SOURCES) $(LISP) 180 list='$(SOURCES) $(HEADERS)'; \ 181 unique=`for i in $$list; do echo $$i; done | \ 182 awk ' { files[$$0] = 1; } \ 183 END { for (i in files) print i; }'`; \ 184 here=`pwd` && cd $(srcdir) \ 185 && mkid -f$$here/ID $$unique $(LISP) 186 187 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) 188 tags=; \ 189 here=`pwd`; \ 190 list='$(SOURCES) $(HEADERS)'; \ 191 unique=`for i in $$list; do echo $$i; done | \ 192 awk ' { files[$$0] = 1; } \ 193 END { for (i in files) print i; }'`; \ 194 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ 195 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) 196 197 mostlyclean-tags: 198 199 clean-tags: 200 201 distclean-tags: 202 -rm -f TAGS ID 203 204 maintainer-clean-tags: 205 206 distdir = $(PACKAGE)-$(VERSION) 207 top_distdir = $(distdir) 208 209 # This target untars the dist file and tries a VPATH configuration. Then 210 # it guarantees that the distribution is self-contained by making another 211 # tarfile. 212 distcheck: dist 213 -rm -rf $(distdir) 214 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz 215 mkdir $(distdir)/=build 216 mkdir $(distdir)/=inst 217 dc_install_base=`cd $(distdir)/=inst && pwd`; \ 218 cd $(distdir)/=build \ 219 && ../configure --srcdir=.. --prefix=$$dc_install_base \ 220 && $(MAKE) $(AM_MAKEFLAGS) \ 221 && $(MAKE) $(AM_MAKEFLAGS) dvi \ 222 && $(MAKE) $(AM_MAKEFLAGS) check \ 223 && $(MAKE) $(AM_MAKEFLAGS) install \ 224 && $(MAKE) $(AM_MAKEFLAGS) installcheck \ 225 && $(MAKE) $(AM_MAKEFLAGS) dist 226 -rm -rf $(distdir) 227 @banner="$(distdir).tar.gz is ready for distribution"; \ 228 dashes=`echo "$$banner" | sed s/./=/g`; \ 229 echo "$$dashes"; \ 230 echo "$$banner"; \ 231 echo "$$dashes" 232 dist: distdir 233 -chmod -R a+r $(distdir) 234 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 235 -rm -rf $(distdir) 236 dist-all: distdir 237 -chmod -R a+r $(distdir) 238 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 239 -rm -rf $(distdir) 240 distdir: $(DISTFILES) 241 -rm -rf $(distdir) 242 mkdir $(distdir) 243 -chmod 777 $(distdir) 244 here=`cd $(top_builddir) && pwd`; \ 245 top_distdir=`cd $(distdir) && pwd`; \ 246 distdir=`cd $(distdir) && pwd`; \ 247 cd $(top_srcdir) \ 248 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile 249 @for file in $(DISTFILES); do \ 250 d=$(srcdir); \ 251 if test -d $$d/$$file; then \ 252 cp -pr $$/$$file $(distdir)/$$file; \ 253 else \ 254 test -f $(distdir)/$$file \ 255 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ 256 || cp -p $$d/$$file $(distdir)/$$file || :; \ 257 fi; \ 258 done 259 260 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) 261 262 -include $(DEP_FILES) 263 264 mostlyclean-depend: 265 266 clean-depend: 267 268 distclean-depend: 269 -rm -rf .deps 270 271 maintainer-clean-depend: 272 273 %.o: %.c 274 @echo '$(COMPILE) -c $<'; \ 275 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< 276 @-cp .deps/$(*F).pp .deps/$(*F).P; \ 277 tr ' ' '\012' < .deps/$(*F).pp \ 278 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ 279 >> .deps/$(*F).P; \ 280 rm .deps/$(*F).pp 281 282 %.lo: %.c 283 @echo '$(LTCOMPILE) -c $<'; \ 284 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< 285 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ 286 < .deps/$(*F).pp > .deps/$(*F).P; \ 287 tr ' ' '\012' < .deps/$(*F).pp \ 288 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ 289 >> .deps/$(*F).P; \ 290 rm -f .deps/$(*F).pp 291 info-am: 292 info: info-am 293 dvi-am: 294 dvi: dvi-am 295 check-am: all-am 296 check: check-am 297 installcheck-am: 298 installcheck: installcheck-am 299 install-exec-am: install-exec-local 300 install-exec: install-exec-am 301 302 install-data-am: 303 install-data: install-data-am 304 305 install-am: all-am 306 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 307 install: install-am 308 uninstall-am: 309 uninstall: uninstall-am 310 all-am: Makefile $(PROGRAMS) 311 all-redirect: all-am 312 install-strip: 313 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install 314 installdirs: 315 316 317 mostlyclean-generic: 318 319 clean-generic: 320 321 distclean-generic: 322 -rm -f Makefile $(CONFIG_CLEAN_FILES) 323 -rm -f config.cache config.log stamp-h stamp-h[0-9]* 324 325 maintainer-clean-generic: 326 mostlyclean-am: mostlyclean-noinstPROGRAMS mostlyclean-compile \ 327 mostlyclean-tags mostlyclean-depend mostlyclean-generic 328 329 mostlyclean: mostlyclean-am 330 331 clean-am: clean-noinstPROGRAMS clean-compile clean-tags clean-depend \ 332 clean-generic mostlyclean-am 333 334 clean: clean-am 335 336 distclean-am: distclean-noinstPROGRAMS distclean-compile distclean-tags \ 337 distclean-depend distclean-generic clean-am 338 339 distclean: distclean-am 340 -rm -f config.status 341 342 maintainer-clean-am: maintainer-clean-noinstPROGRAMS \ 343 maintainer-clean-compile maintainer-clean-tags \ 344 maintainer-clean-depend maintainer-clean-generic \ 345 distclean-am 346 @echo "This command is intended for maintainers to use;" 347 @echo "it deletes files that may require special tools to rebuild." 348 349 maintainer-clean: maintainer-clean-am 350 -rm -f config.status 351 352 .PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \ 353 clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \ 354 mostlyclean-compile distclean-compile clean-compile \ 355 maintainer-clean-compile tags mostlyclean-tags distclean-tags \ 356 clean-tags maintainer-clean-tags distdir mostlyclean-depend \ 357 distclean-depend clean-depend maintainer-clean-depend info-am info \ 358 dvi-am dvi check check-am installcheck-am installcheck \ 359 install-exec-local install-exec-am install-exec install-data-am \ 360 install-data install-am install uninstall-am uninstall all-redirect \ 361 all-am all installdirs mostlyclean-generic distclean-generic \ 362 clean-generic maintainer-clean-generic clean mostlyclean distclean \ 363 maintainer-clean 364 365 366 # HACK: install to build-tree 367 preinstall: install-exec-local 368 369 install-exec-local: genoffsets 370 $(mkinstalldirs) $(PROJECT_ROOT)/${RTEMS_BSP}/bin 371 $(INSTALL_PROGRAM) genoffsets ${PROJECT_ROOT}/${RTEMS_BSP}/bin 372 373 debug-am: 374 375 debug: debug-am 376 377 debug_install-am: 378 379 debug_install: debug_install-am 380 381 profile-am: 382 383 profile: profile-am 384 385 profile_install-am: 386 387 profile_install: profile_install-am 388 389 .PHONY: debug debug_install profile profile_install 390 391 # Tell versions [3.59,3.63) of GNU make to not export all variables. 392 # Otherwise a system limit (for SysV at least) may be exceeded. 393 .NOEXPORT: -
c/src/exec/score/tools/sh/Makefile.in
rc69856c3 r9b8baa1 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 # This Makefile.in is free software; the Free Software Foundation 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. 12 1 13 # 2 14 # $Id$ 3 15 # 4 # FIXME: $ARCH shouldn't be used inside of host-tools. 5 # 6 7 @SET_MAKE@ 16 17 18 # $Id$ 19 20 # NOTE: This is a temporary work-around to keep 21 # "make debug" and "make debug_install" working. 22 # Once automake is fully integrated these make targets 23 # and this file will probably be removed 24 25 26 SHELL = @SHELL@ 27 8 28 srcdir = @srcdir@ 9 29 top_srcdir = @top_srcdir@ 10 top_builddir = ../../../../../.. 11 subdir = c/src/exec/score/tools/sh 30 VPATH = @srcdir@ 31 prefix = @prefix@ 32 exec_prefix = @exec_prefix@ 33 34 bindir = @bindir@ 35 sbindir = @sbindir@ 36 libexecdir = @libexecdir@ 37 datadir = @datadir@ 38 sysconfdir = @sysconfdir@ 39 sharedstatedir = @sharedstatedir@ 40 localstatedir = @localstatedir@ 41 libdir = @libdir@ 42 infodir = @infodir@ 43 mandir = @mandir@ 44 includedir = @includedir@ 45 oldincludedir = /usr/include 46 47 DESTDIR = 48 49 pkgdatadir = $(datadir)/@PACKAGE@ 50 pkglibdir = $(libdir)/@PACKAGE@ 51 pkgincludedir = $(includedir)/@PACKAGE@ 52 53 top_builddir = . 54 AUTOCONF = @AUTOCONF@ 55 AUTOMAKE = @AUTOMAKE@ 56 AUTOHEADER = @AUTOHEADER@ 12 57 13 58 INSTALL = @INSTALL@ 14 15 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@ 59 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) 60 INSTALL_DATA = @INSTALL_DATA@ 61 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 62 transform = @program_transform_name@ 63 64 NORMAL_INSTALL = : 65 PRE_INSTALL = : 66 POST_INSTALL = : 67 NORMAL_UNINSTALL = : 68 PRE_UNINSTALL = : 69 POST_UNINSTALL = : 70 build_alias = @build_alias@ 71 build_triplet = @build@ 72 host_alias = @host_alias@ 73 host_triplet = @host@ 74 target_alias = @target_alias@ 75 target_triplet = @target@ 76 CC = @CC@ 77 MAKEINFO = @MAKEINFO@ 78 PACKAGE = @PACKAGE@ 16 79 PROJECT_ROOT = @PROJECT_ROOT@ 17 18 VPATH = @srcdir@ 19 20 # we use the host compiler here 21 USE_HOST_COMPILER=yes 22 23 # C source names, if any, go here -- minus the .c 24 C_PIECES=shgen sci 25 C_FILES=$(C_PIECES:%=%.c) 26 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) 27 28 H_FILES=sci.h 29 30 SRCS=$(C_FILES) $(H_FILES) 31 OBJS=$(C_O_FILES) 32 33 PGMS=${ARCH}/shgen@EXEEXT@ 34 35 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg 36 include $(RTEMS_ROOT)/make/leaf.cfg 37 38 # 39 # Add local stuff here using += 40 # 41 42 DEFINES += 43 CPPFLAGS += -I. 44 CFLAGS += 45 46 LD_PATHS += 47 LD_LIBS += -lm 48 LDFLAGS += 49 50 # 51 # Add your list of files to delete here. 52 # 53 54 CLEAN_ADDITIONS += 55 CLOBBER_ADDITIONS += 56 57 DESTDIR=${PROJECT_RELEASE}/bin 58 59 all: $(ARCH) $(PGMS) 60 61 ${PGMS}: $(OBJS) $(LINK_FILES) 62 $(make-exe) 63 64 $(DESTDIR): 65 @top_srcdir@/mkinstalldirs $@ 66 67 # Install the program 68 install: $(DESTDIR) $(PGMS) 69 $(INSTALL) $(INSTBINFLAGS) ${PGMS} $(DESTDIR) 70 71 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 80 RTEMS_TOPdir = @RTEMS_TOPdir@ 81 VERSION = @VERSION@ 82 project_bindir = @project_bindir@ 83 project_includedir = @project_includedir@ 84 project_libdir = @project_libdir@ 85 tooldir = @tooldir@ 86 87 AUTOMAKE_OPTIONS = foreign 88 ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal 89 90 noinst_PROGRAMS = shgen 91 92 shgen_SOURCES = sci.h sci.c shgen.c 93 94 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 95 mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../mkinstalldirs 96 CONFIG_CLEAN_FILES = 97 PROGRAMS = $(noinst_PROGRAMS) 98 99 100 DEFS = @DEFS@ -I. -I$(srcdir) 101 CPPFLAGS = @CPPFLAGS@ 102 LDFLAGS = @LDFLAGS@ 103 LIBS = @LIBS@ 104 shgen_OBJECTS = sci.o shgen.o 105 shgen_LDADD = $(LDADD) 106 shgen_DEPENDENCIES = 107 shgen_LDFLAGS = 108 CFLAGS = @CFLAGS@ 109 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 110 CCLD = $(CC) 111 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ 112 DIST_COMMON = AUTHORS COPYING Makefile.am Makefile.in TODO aclocal.m4 \ 113 configure configure.in 114 115 116 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) 117 118 TAR = tar 119 GZIP_ENV = --best 120 DEP_FILES = .deps/sci.P .deps/shgen.P 121 SOURCES = $(shgen_SOURCES) 122 OBJECTS = $(shgen_OBJECTS) 123 124 all: all-redirect 125 .SUFFIXES: 126 .SUFFIXES: .S .c .o .s 127 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../../../../automake/local.am 128 cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile 129 130 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) 72 131 cd $(top_builddir) \ 73 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 132 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 133 134 $(ACLOCAL_M4): configure.in 135 cd $(srcdir) && $(ACLOCAL) 136 137 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 138 $(SHELL) ./config.status --recheck 139 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) 140 cd $(srcdir) && $(AUTOCONF) 141 142 mostlyclean-noinstPROGRAMS: 143 144 clean-noinstPROGRAMS: 145 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) 146 147 distclean-noinstPROGRAMS: 148 149 maintainer-clean-noinstPROGRAMS: 150 151 .s.o: 152 $(COMPILE) -c $< 153 154 .S.o: 155 $(COMPILE) -c $< 156 157 mostlyclean-compile: 158 -rm -f *.o core *.core 159 160 clean-compile: 161 162 distclean-compile: 163 -rm -f *.tab.c 164 165 maintainer-clean-compile: 166 167 shgen: $(shgen_OBJECTS) $(shgen_DEPENDENCIES) 168 @rm -f shgen 169 $(LINK) $(shgen_LDFLAGS) $(shgen_OBJECTS) $(shgen_LDADD) $(LIBS) 170 171 tags: TAGS 172 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) 182 tags=; \ 183 here=`pwd`; \ 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) 190 191 mostlyclean-tags: 192 193 clean-tags: 194 195 distclean-tags: 196 -rm -f TAGS ID 197 198 maintainer-clean-tags: 199 200 distdir = $(PACKAGE)-$(VERSION) 201 top_distdir = $(distdir) 202 203 # This target untars the dist file and tries a VPATH configuration. Then 204 # it guarantees that the distribution is self-contained by making another 205 # tarfile. 206 distcheck: dist 207 -rm -rf $(distdir) 208 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz 209 mkdir $(distdir)/=build 210 mkdir $(distdir)/=inst 211 dc_install_base=`cd $(distdir)/=inst && pwd`; \ 212 cd $(distdir)/=build \ 213 && ../configure --srcdir=.. --prefix=$$dc_install_base \ 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" 226 dist: distdir 227 -chmod -R a+r $(distdir) 228 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 229 -rm -rf $(distdir) 230 dist-all: distdir 231 -chmod -R a+r $(distdir) 232 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 233 -rm -rf $(distdir) 234 distdir: $(DISTFILES) 235 -rm -rf $(distdir) 236 mkdir $(distdir) 237 -chmod 777 $(distdir) 238 here=`cd $(top_builddir) && pwd`; \ 239 top_distdir=`cd $(distdir) && pwd`; \ 240 distdir=`cd $(distdir) && pwd`; \ 241 cd $(top_srcdir) \ 242 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile 243 @for file in $(DISTFILES); do \ 244 d=$(srcdir); \ 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; \ 252 done 253 254 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) 255 256 -include $(DEP_FILES) 257 258 mostlyclean-depend: 259 260 clean-depend: 261 262 distclean-depend: 263 -rm -rf .deps 264 265 maintainer-clean-depend: 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: 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 306 install-strip: 307 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install 308 installdirs: 309 310 311 mostlyclean-generic: 312 313 clean-generic: 314 315 distclean-generic: 316 -rm -f Makefile $(CONFIG_CLEAN_FILES) 317 -rm -f config.cache config.log stamp-h stamp-h[0-9]* 318 319 maintainer-clean-generic: 320 mostlyclean-am: mostlyclean-noinstPROGRAMS mostlyclean-compile \ 321 mostlyclean-tags mostlyclean-depend mostlyclean-generic 322 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 \ 337 maintainer-clean-compile maintainer-clean-tags \ 338 maintainer-clean-depend maintainer-clean-generic \ 339 distclean-am 340 @echo "This command is intended for maintainers to use;" 341 @echo "it deletes files that may require special tools to rebuild." 342 343 maintainer-clean: maintainer-clean-am 344 -rm -f config.status 345 346 .PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \ 347 clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \ 348 mostlyclean-compile distclean-compile clean-compile \ 349 maintainer-clean-compile tags mostlyclean-tags distclean-tags \ 350 clean-tags maintainer-clean-tags distdir mostlyclean-depend \ 351 distclean-depend clean-depend maintainer-clean-depend info-am info \ 352 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ 353 install-exec install-data-am install-data install-am install \ 354 uninstall-am uninstall all-redirect all-am all installdirs \ 355 mostlyclean-generic distclean-generic clean-generic \ 356 maintainer-clean-generic clean mostlyclean distclean maintainer-clean 357 358 359 debug-am: 360 361 debug: debug-am 362 363 debug_install-am: 364 365 debug_install: debug_install-am 366 367 profile-am: 368 369 profile: profile-am 370 371 profile_install-am: 372 373 profile_install: profile_install-am 374 375 .PHONY: debug debug_install profile profile_install 376 377 # Tell versions [3.59,3.63) of GNU make to not export all variables. 378 # Otherwise a system limit (for SysV at least) may be exceeded. 379 .NOEXPORT: -
c/src/exec/score/tools/unix/Makefile.in
rc69856c3 r9b8baa1 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 # This Makefile.in is free software; the Free Software Foundation 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. 12 1 13 # 2 14 # $Id$ 3 15 # 4 16 5 @SET_MAKE@ 17 18 # $Id$ 19 20 # NOTE: This is a temporary work-around to keep 21 # "make debug" and "make debug_install" working. 22 # Once automake is fully integrated these make targets 23 # and this file will probably be removed 24 25 26 SHELL = @SHELL@ 27 6 28 srcdir = @srcdir@ 7 29 top_srcdir = @top_srcdir@ 8 top_builddir = ../../../../../.. 9 subdir = c/src/exec/score/tools/unix 30 VPATH = @srcdir@ 31 prefix = @prefix@ 32 exec_prefix = @exec_prefix@ 33 34 bindir = @bindir@ 35 sbindir = @sbindir@ 36 libexecdir = @libexecdir@ 37 datadir = @datadir@ 38 sysconfdir = @sysconfdir@ 39 sharedstatedir = @sharedstatedir@ 40 localstatedir = @localstatedir@ 41 libdir = @libdir@ 42 infodir = @infodir@ 43 mandir = @mandir@ 44 includedir = @includedir@ 45 oldincludedir = /usr/include 46 47 DESTDIR = 48 49 pkgdatadir = $(datadir)/@PACKAGE@ 50 pkglibdir = $(libdir)/@PACKAGE@ 51 pkgincludedir = $(includedir)/@PACKAGE@ 52 53 top_builddir = . 54 AUTOCONF = @AUTOCONF@ 55 AUTOMAKE = @AUTOMAKE@ 56 AUTOHEADER = @AUTOHEADER@ 10 57 11 58 INSTALL = @INSTALL@ 12 13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@ 59 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) 60 INSTALL_DATA = @INSTALL_DATA@ 61 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 62 transform = @program_transform_name@ 63 64 NORMAL_INSTALL = : 65 PRE_INSTALL = : 66 POST_INSTALL = : 67 NORMAL_UNINSTALL = : 68 PRE_UNINSTALL = : 69 POST_UNINSTALL = : 70 build_alias = @build_alias@ 71 build_triplet = @build@ 72 host_alias = @host_alias@ 73 host_triplet = @host@ 74 target_alias = @target_alias@ 75 target_triplet = @target@ 76 CC = @CC@ 77 MAKEINFO = @MAKEINFO@ 78 PACKAGE = @PACKAGE@ 14 79 PROJECT_ROOT = @PROJECT_ROOT@ 15 16 VPATH = @srcdir@ 17 18 # we use host compiler here for gensize. Hopefully it has same alignment!! 19 USE_HOST_COMPILER=yes 20 21 # C source names, if any, go here -- minus the .c 22 C_PIECES=gensize 23 C_FILES=$(C_PIECES:%=%.c) 24 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) 25 26 H_FILES= 27 28 SRCS=$(C_FILES) $(H_FILES) 29 OBJS=$(C_O_FILES) 30 31 PGMS=${ARCH}/gensize 32 33 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg 34 include $(RTEMS_ROOT)/make/leaf.cfg 80 RTEMS_TOPdir = @RTEMS_TOPdir@ 81 VERSION = @VERSION@ 82 project_bindir = @project_bindir@ 83 project_includedir = @project_includedir@ 84 project_libdir = @project_libdir@ 85 tooldir = @tooldir@ 86 87 AUTOMAKE_OPTIONS = foreign 88 ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal 89 90 noinst_PROGRAMS = gensize 91 92 gensize_SOURCES = gensize.c 35 93 36 94 # We use files that have not been installed yet. 37 CPU_DIR=../../cpu/$(RTEMS_CPU) 38 39 # 40 # (OPTIONAL) Add local stuff here using += 41 # 42 43 DEFINES += 44 CPPFLAGS += -I$(PROJECT_INCLUDE) \ 45 -I$(CPU_DIR) 46 CFLAGS += 47 48 LD_PATHS += 49 LD_LIBS += 50 LDFLAGS += 51 52 # 53 # Add your list of files to delete here. 54 # 55 56 CLEAN_ADDITIONS += 57 CLOBBER_ADDITIONS += 58 59 all: preinstall 60 61 preinstall: ${ARCH} $(SRCS) $(PGMS) 62 $(INSTALL) $(INSTBINFLAGS) $(PGMS) ${PROJECT_RELEASE}/bin 63 64 # Install the program(s), appending _g or _p as appropriate. 65 # for include files, just use $(INSTALL_CHANGE) 66 67 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 95 CPU_DIR = $(srcdir)/../../cpu/$(RTEMS_CPU) 96 97 INCLUDES = -I$(PROJECT_ROOT)/${RTEMS_BSP}/include -I$(CPU_DIR) 98 99 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 100 mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../mkinstalldirs 101 CONFIG_CLEAN_FILES = 102 PROGRAMS = $(noinst_PROGRAMS) 103 104 105 DEFS = @DEFS@ -I. -I$(srcdir) 106 CPPFLAGS = @CPPFLAGS@ 107 LDFLAGS = @LDFLAGS@ 108 LIBS = @LIBS@ 109 gensize_OBJECTS = gensize.o 110 gensize_LDADD = $(LDADD) 111 gensize_DEPENDENCIES = 112 gensize_LDFLAGS = 113 CFLAGS = @CFLAGS@ 114 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 115 CCLD = $(CC) 116 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ 117 DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in 118 119 120 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) 121 122 TAR = tar 123 GZIP_ENV = --best 124 DEP_FILES = .deps/gensize.P 125 SOURCES = $(gensize_SOURCES) 126 OBJECTS = $(gensize_OBJECTS) 127 128 all: all-redirect 129 .SUFFIXES: 130 .SUFFIXES: .S .c .o .s 131 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../../../../automake/local.am 132 cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile 133 134 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) 68 135 cd $(top_builddir) \ 69 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 136 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 137 138 $(ACLOCAL_M4): configure.in 139 cd $(srcdir) && $(ACLOCAL) 140 141 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 142 $(SHELL) ./config.status --recheck 143 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) 144 cd $(srcdir) && $(AUTOCONF) 145 146 mostlyclean-noinstPROGRAMS: 147 148 clean-noinstPROGRAMS: 149 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) 150 151 distclean-noinstPROGRAMS: 152 153 maintainer-clean-noinstPROGRAMS: 154 155 .s.o: 156 $(COMPILE) -c $< 157 158 .S.o: 159 $(COMPILE) -c $< 160 161 mostlyclean-compile: 162 -rm -f *.o core *.core 163 164 clean-compile: 165 166 distclean-compile: 167 -rm -f *.tab.c 168 169 maintainer-clean-compile: 170 171 gensize: $(gensize_OBJECTS) $(gensize_DEPENDENCIES) 172 @rm -f gensize 173 $(LINK) $(gensize_LDFLAGS) $(gensize_OBJECTS) $(gensize_LDADD) $(LIBS) 174 175 tags: TAGS 176 177 ID: $(HEADERS) $(SOURCES) $(LISP) 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 here=`pwd` && cd $(srcdir) \ 183 && mkid -f$$here/ID $$unique $(LISP) 184 185 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) 186 tags=; \ 187 here=`pwd`; \ 188 list='$(SOURCES) $(HEADERS)'; \ 189 unique=`for i in $$list; do echo $$i; done | \ 190 awk ' { files[$$0] = 1; } \ 191 END { for (i in files) print i; }'`; \ 192 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ 193 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) 194 195 mostlyclean-tags: 196 197 clean-tags: 198 199 distclean-tags: 200 -rm -f TAGS ID 201 202 maintainer-clean-tags: 203 204 distdir = $(PACKAGE)-$(VERSION) 205 top_distdir = $(distdir) 206 207 # This target untars the dist file and tries a VPATH configuration. Then 208 # it guarantees that the distribution is self-contained by making another 209 # tarfile. 210 distcheck: dist 211 -rm -rf $(distdir) 212 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz 213 mkdir $(distdir)/=build 214 mkdir $(distdir)/=inst 215 dc_install_base=`cd $(distdir)/=inst && pwd`; \ 216 cd $(distdir)/=build \ 217 && ../configure --srcdir=.. --prefix=$$dc_install_base \ 218 && $(MAKE) $(AM_MAKEFLAGS) \ 219 && $(MAKE) $(AM_MAKEFLAGS) dvi \ 220 && $(MAKE) $(AM_MAKEFLAGS) check \ 221 && $(MAKE) $(AM_MAKEFLAGS) install \ 222 && $(MAKE) $(AM_MAKEFLAGS) installcheck \ 223 && $(MAKE) $(AM_MAKEFLAGS) dist 224 -rm -rf $(distdir) 225 @banner="$(distdir).tar.gz is ready for distribution"; \ 226 dashes=`echo "$$banner" | sed s/./=/g`; \ 227 echo "$$dashes"; \ 228 echo "$$banner"; \ 229 echo "$$dashes" 230 dist: distdir 231 -chmod -R a+r $(distdir) 232 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 233 -rm -rf $(distdir) 234 dist-all: distdir 235 -chmod -R a+r $(distdir) 236 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 237 -rm -rf $(distdir) 238 distdir: $(DISTFILES) 239 -rm -rf $(distdir) 240 mkdir $(distdir) 241 -chmod 777 $(distdir) 242 here=`cd $(top_builddir) && pwd`; \ 243 top_distdir=`cd $(distdir) && pwd`; \ 244 distdir=`cd $(distdir) && pwd`; \ 245 cd $(top_srcdir) \ 246 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile 247 @for file in $(DISTFILES); do \ 248 d=$(srcdir); \ 249 if test -d $$d/$$file; then \ 250 cp -pr $$/$$file $(distdir)/$$file; \ 251 else \ 252 test -f $(distdir)/$$file \ 253 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ 254 || cp -p $$d/$$file $(distdir)/$$file || :; \ 255 fi; \ 256 done 257 258 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) 259 260 -include $(DEP_FILES) 261 262 mostlyclean-depend: 263 264 clean-depend: 265 266 distclean-depend: 267 -rm -rf .deps 268 269 maintainer-clean-depend: 270 271 %.o: %.c 272 @echo '$(COMPILE) -c $<'; \ 273 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< 274 @-cp .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 .deps/$(*F).pp 279 280 %.lo: %.c 281 @echo '$(LTCOMPILE) -c $<'; \ 282 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< 283 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ 284 < .deps/$(*F).pp > .deps/$(*F).P; \ 285 tr ' ' '\012' < .deps/$(*F).pp \ 286 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ 287 >> .deps/$(*F).P; \ 288 rm -f .deps/$(*F).pp 289 info-am: 290 info: info-am 291 dvi-am: 292 dvi: dvi-am 293 check-am: all-am 294 check: check-am 295 installcheck-am: 296 installcheck: installcheck-am 297 install-exec-am: install-exec-local 298 install-exec: install-exec-am 299 300 install-data-am: 301 install-data: install-data-am 302 303 install-am: all-am 304 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 305 install: install-am 306 uninstall-am: 307 uninstall: uninstall-am 308 all-am: Makefile $(PROGRAMS) 309 all-redirect: all-am 310 install-strip: 311 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install 312 installdirs: 313 314 315 mostlyclean-generic: 316 317 clean-generic: 318 319 distclean-generic: 320 -rm -f Makefile $(CONFIG_CLEAN_FILES) 321 -rm -f config.cache config.log stamp-h stamp-h[0-9]* 322 323 maintainer-clean-generic: 324 mostlyclean-am: mostlyclean-noinstPROGRAMS mostlyclean-compile \ 325 mostlyclean-tags mostlyclean-depend mostlyclean-generic 326 327 mostlyclean: mostlyclean-am 328 329 clean-am: clean-noinstPROGRAMS clean-compile clean-tags clean-depend \ 330 clean-generic mostlyclean-am 331 332 clean: clean-am 333 334 distclean-am: distclean-noinstPROGRAMS distclean-compile distclean-tags \ 335 distclean-depend distclean-generic clean-am 336 337 distclean: distclean-am 338 -rm -f config.status 339 340 maintainer-clean-am: maintainer-clean-noinstPROGRAMS \ 341 maintainer-clean-compile maintainer-clean-tags \ 342 maintainer-clean-depend maintainer-clean-generic \ 343 distclean-am 344 @echo "This command is intended for maintainers to use;" 345 @echo "it deletes files that may require special tools to rebuild." 346 347 maintainer-clean: maintainer-clean-am 348 -rm -f config.status 349 350 .PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \ 351 clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \ 352 mostlyclean-compile distclean-compile clean-compile \ 353 maintainer-clean-compile tags mostlyclean-tags distclean-tags \ 354 clean-tags maintainer-clean-tags distdir mostlyclean-depend \ 355 distclean-depend clean-depend maintainer-clean-depend info-am info \ 356 dvi-am dvi check check-am installcheck-am installcheck \ 357 install-exec-local install-exec-am install-exec install-data-am \ 358 install-data install-am install uninstall-am uninstall all-redirect \ 359 all-am all installdirs mostlyclean-generic distclean-generic \ 360 clean-generic maintainer-clean-generic clean mostlyclean distclean \ 361 maintainer-clean 362 363 364 # HACK: install into the build-tree 365 preinstall: install-exec-local 366 367 install-exec-local: gensize 368 $(mkinstalldirs) $(PROJECT_ROOT)/${RTEMS_BSP}/bin 369 $(INSTALL_PROGRAM) gensize $(PROJECT_ROOT)/${RTEMS_BSP}/bin 370 371 debug-am: 372 373 debug: debug-am 374 375 debug_install-am: 376 377 debug_install: debug_install-am 378 379 profile-am: 380 381 profile: profile-am 382 383 profile_install-am: 384 385 profile_install: profile_install-am 386 387 .PHONY: debug debug_install profile profile_install 388 389 # Tell versions [3.59,3.63) of GNU make to not export all variables. 390 # Otherwise a system limit (for SysV at least) may be exceeded. 391 .NOEXPORT: -
c/src/lib/libbsp/hppa1.1/simhppa/tools/Makefile.in
rc69856c3 r9b8baa1 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 # This Makefile.in is free software; the Free Software Foundation 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. 12 1 13 # 2 14 # $Id$ 3 15 # 4 16 5 @SET_MAKE@ 17 18 # $Id$ 19 20 # NOTE: This is a temporary work-around to keep 21 # "make debug" and "make debug_install" working. 22 # Once automake is fully integrated these make targets 23 # and this file will probably be removed 24 25 26 SHELL = @SHELL@ 27 6 28 srcdir = @srcdir@ 7 29 top_srcdir = @top_srcdir@ 8 top_builddir = ../../../../../../.. 9 subdir = c/src/lib/libbsp/hppa1.1/simhppa/tools 30 VPATH = @srcdir@ 31 prefix = @prefix@ 32 exec_prefix = @exec_prefix@ 33 34 bindir = @bindir@ 35 sbindir = @sbindir@ 36 libexecdir = @libexecdir@ 37 datadir = @datadir@ 38 sysconfdir = @sysconfdir@ 39 sharedstatedir = @sharedstatedir@ 40 localstatedir = @localstatedir@ 41 libdir = @libdir@ 42 infodir = @infodir@ 43 mandir = @mandir@ 44 includedir = @includedir@ 45 oldincludedir = /usr/include 46 47 DESTDIR = 48 49 pkgdatadir = $(datadir)/@PACKAGE@ 50 pkglibdir = $(libdir)/@PACKAGE@ 51 pkgincludedir = $(includedir)/@PACKAGE@ 52 53 top_builddir = . 54 AUTOCONF = @AUTOCONF@ 55 AUTOMAKE = @AUTOMAKE@ 56 AUTOHEADER = @AUTOHEADER@ 10 57 11 58 INSTALL = @INSTALL@ 12 13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@ 59 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) 60 INSTALL_DATA = @INSTALL_DATA@ 61 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 62 transform = @program_transform_name@ 63 64 NORMAL_INSTALL = : 65 PRE_INSTALL = : 66 POST_INSTALL = : 67 NORMAL_UNINSTALL = : 68 PRE_UNINSTALL = : 69 POST_UNINSTALL = : 70 build_alias = @build_alias@ 71 build_triplet = @build@ 72 host_alias = @host_alias@ 73 host_triplet = @host@ 74 target_alias = @target_alias@ 75 target_triplet = @target@ 76 CC = @CC@ 77 MAKEINFO = @MAKEINFO@ 78 PACKAGE = @PACKAGE@ 14 79 PROJECT_ROOT = @PROJECT_ROOT@ 15 16 VPATH = @srcdir@ 17 18 # we use host compiler here for genoffsets. Hopefully it has same alignment!! 19 USE_HOST_COMPILER=yes 20 21 # C source names, if any, go here -- minus the .c 22 C_PIECES=print_dump 23 C_FILES=$(C_PIECES:%=%.c) 24 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) 25 26 H_FILES= 27 28 SRCS=$(C_FILES) $(H_FILES) 29 OBJS=$(C_O_FILES) 30 31 PGMS=${ARCH}/print_dump 32 33 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg 34 include $(RTEMS_ROOT)/make/leaf.cfg 35 36 # 37 # (OPTIONAL) Add local stuff here using += 38 # 39 40 DEFINES += 41 CPPFLAGS += -I. 42 CFLAGS += 43 44 LD_PATHS += 45 LD_LIBS += 46 LDFLAGS += 47 48 # 49 # Add your list of files to delete here. 50 # 51 52 CLEAN_ADDITIONS += 53 CLOBBER_ADDITIONS += 54 55 all: ${ARCH} $(SRCS) $(PGMS) 56 $(INSTALL_CHANGE) -m 555 ${PGMS} ${PROJECT_RELEASE}/bin 57 58 # Install the program(s), appending _g or _p as appropriate. 59 # for include files, just use $(INSTALL_CHANGE) 60 61 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 80 RTEMS_TOPdir = @RTEMS_TOPdir@ 81 VERSION = @VERSION@ 82 83 AUTOMAKE_OPTIONS = foreign 84 ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal 85 86 noinst_PROGRAMS = print_dump 87 88 89 print_dump_SOURCES = print_dump.c 90 91 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 92 mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../../mkinstalldirs 93 CONFIG_HEADER = config.h 94 CONFIG_CLEAN_FILES = 95 PROGRAMS = $(noinst_PROGRAMS) 96 97 98 DEFS = @DEFS@ -I. -I$(srcdir) -I. 99 CPPFLAGS = @CPPFLAGS@ 100 LDFLAGS = @LDFLAGS@ 101 LIBS = @LIBS@ 102 print_dump_OBJECTS = print_dump.o 103 print_dump_LDADD = $(LDADD) 104 print_dump_DEPENDENCIES = 105 print_dump_LDFLAGS = 106 CFLAGS = @CFLAGS@ 107 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 108 CCLD = $(CC) 109 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ 110 DIST_COMMON = ./stamp-h.in Makefile.am Makefile.in aclocal.m4 \ 111 config.h.in configure configure.in 112 113 114 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) 115 116 TAR = tar 117 GZIP_ENV = --best 118 DEP_FILES = .deps/print_dump.P 119 SOURCES = $(print_dump_SOURCES) 120 OBJECTS = $(print_dump_OBJECTS) 121 122 all: all-redirect 123 .SUFFIXES: 124 .SUFFIXES: .S .c .o .s 125 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../../../../../automake/local.am 126 cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile 127 128 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) 62 129 cd $(top_builddir) \ 63 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 130 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 131 132 $(ACLOCAL_M4): configure.in 133 cd $(srcdir) && $(ACLOCAL) 134 135 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 136 $(SHELL) ./config.status --recheck 137 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) 138 cd $(srcdir) && $(AUTOCONF) 139 140 config.h: stamp-h 141 @if test ! -f $@; then \ 142 rm -f stamp-h; \ 143 $(MAKE) stamp-h; \ 144 else :; fi 145 stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status 146 cd $(top_builddir) \ 147 && CONFIG_FILES= CONFIG_HEADERS=config.h \ 148 $(SHELL) ./config.status 149 @echo timestamp > stamp-h 2> /dev/null 150 $(srcdir)/config.h.in: $(srcdir)/stamp-h.in 151 @if test ! -f $@; then \ 152 rm -f $(srcdir)/stamp-h.in; \ 153 $(MAKE) $(srcdir)/stamp-h.in; \ 154 else :; fi 155 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) 156 cd $(top_srcdir) && $(AUTOHEADER) 157 @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null 158 159 mostlyclean-hdr: 160 161 clean-hdr: 162 163 distclean-hdr: 164 -rm -f config.h 165 166 maintainer-clean-hdr: 167 168 mostlyclean-noinstPROGRAMS: 169 170 clean-noinstPROGRAMS: 171 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) 172 173 distclean-noinstPROGRAMS: 174 175 maintainer-clean-noinstPROGRAMS: 176 177 .s.o: 178 $(COMPILE) -c $< 179 180 .S.o: 181 $(COMPILE) -c $< 182 183 mostlyclean-compile: 184 -rm -f *.o core *.core 185 186 clean-compile: 187 188 distclean-compile: 189 -rm -f *.tab.c 190 191 maintainer-clean-compile: 192 193 print_dump: $(print_dump_OBJECTS) $(print_dump_DEPENDENCIES) 194 @rm -f print_dump 195 $(LINK) $(print_dump_LDFLAGS) $(print_dump_OBJECTS) $(print_dump_LDADD) $(LIBS) 196 197 tags: TAGS 198 199 ID: $(HEADERS) $(SOURCES) $(LISP) 200 list='$(SOURCES) $(HEADERS)'; \ 201 unique=`for i in $$list; do echo $$i; done | \ 202 awk ' { files[$$0] = 1; } \ 203 END { for (i in files) print i; }'`; \ 204 here=`pwd` && cd $(srcdir) \ 205 && mkid -f$$here/ID $$unique $(LISP) 206 207 TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP) 208 tags=; \ 209 here=`pwd`; \ 210 list='$(SOURCES) $(HEADERS)'; \ 211 unique=`for i in $$list; do echo $$i; done | \ 212 awk ' { files[$$0] = 1; } \ 213 END { for (i in files) print i; }'`; \ 214 test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \ 215 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS) 216 217 mostlyclean-tags: 218 219 clean-tags: 220 221 distclean-tags: 222 -rm -f TAGS ID 223 224 maintainer-clean-tags: 225 226 distdir = $(PACKAGE)-$(VERSION) 227 top_distdir = $(distdir) 228 229 # This target untars the dist file and tries a VPATH configuration. Then 230 # it guarantees that the distribution is self-contained by making another 231 # tarfile. 232 distcheck: dist 233 -rm -rf $(distdir) 234 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz 235 mkdir $(distdir)/=build 236 mkdir $(distdir)/=inst 237 dc_install_base=`cd $(distdir)/=inst && pwd`; \ 238 cd $(distdir)/=build \ 239 && ../configure --srcdir=.. --prefix=$$dc_install_base \ 240 && $(MAKE) $(AM_MAKEFLAGS) \ 241 && $(MAKE) $(AM_MAKEFLAGS) dvi \ 242 && $(MAKE) $(AM_MAKEFLAGS) check \ 243 && $(MAKE) $(AM_MAKEFLAGS) install \ 244 && $(MAKE) $(AM_MAKEFLAGS) installcheck \ 245 && $(MAKE) $(AM_MAKEFLAGS) dist 246 -rm -rf $(distdir) 247 @banner="$(distdir).tar.gz is ready for distribution"; \ 248 dashes=`echo "$$banner" | sed s/./=/g`; \ 249 echo "$$dashes"; \ 250 echo "$$banner"; \ 251 echo "$$dashes" 252 dist: distdir 253 -chmod -R a+r $(distdir) 254 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 255 -rm -rf $(distdir) 256 dist-all: distdir 257 -chmod -R a+r $(distdir) 258 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 259 -rm -rf $(distdir) 260 distdir: $(DISTFILES) 261 -rm -rf $(distdir) 262 mkdir $(distdir) 263 -chmod 777 $(distdir) 264 here=`cd $(top_builddir) && pwd`; \ 265 top_distdir=`cd $(distdir) && pwd`; \ 266 distdir=`cd $(distdir) && pwd`; \ 267 cd $(top_srcdir) \ 268 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile 269 @for file in $(DISTFILES); do \ 270 d=$(srcdir); \ 271 if test -d $$d/$$file; then \ 272 cp -pr $$/$$file $(distdir)/$$file; \ 273 else \ 274 test -f $(distdir)/$$file \ 275 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ 276 || cp -p $$d/$$file $(distdir)/$$file || :; \ 277 fi; \ 278 done 279 280 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) 281 282 -include $(DEP_FILES) 283 284 mostlyclean-depend: 285 286 clean-depend: 287 288 distclean-depend: 289 -rm -rf .deps 290 291 maintainer-clean-depend: 292 293 %.o: %.c 294 @echo '$(COMPILE) -c $<'; \ 295 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< 296 @-cp .deps/$(*F).pp .deps/$(*F).P; \ 297 tr ' ' '\012' < .deps/$(*F).pp \ 298 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ 299 >> .deps/$(*F).P; \ 300 rm .deps/$(*F).pp 301 302 %.lo: %.c 303 @echo '$(LTCOMPILE) -c $<'; \ 304 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< 305 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ 306 < .deps/$(*F).pp > .deps/$(*F).P; \ 307 tr ' ' '\012' < .deps/$(*F).pp \ 308 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ 309 >> .deps/$(*F).P; \ 310 rm -f .deps/$(*F).pp 311 info-am: 312 info: info-am 313 dvi-am: 314 dvi: dvi-am 315 check-am: all-am 316 check: check-am 317 installcheck-am: 318 installcheck: installcheck-am 319 all-recursive-am: config.h 320 $(MAKE) $(AM_MAKEFLAGS) all-recursive 321 322 install-exec-am: install-exec-local 323 install-exec: install-exec-am 324 325 install-data-am: 326 install-data: install-data-am 327 328 install-am: all-am 329 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 330 install: install-am 331 uninstall-am: 332 uninstall: uninstall-am 333 all-am: Makefile $(PROGRAMS) config.h 334 all-redirect: all-am 335 install-strip: 336 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install 337 installdirs: 338 339 340 mostlyclean-generic: 341 342 clean-generic: 343 344 distclean-generic: 345 -rm -f Makefile $(CONFIG_CLEAN_FILES) 346 -rm -f config.cache config.log stamp-h stamp-h[0-9]* 347 348 maintainer-clean-generic: 349 mostlyclean-am: mostlyclean-hdr mostlyclean-noinstPROGRAMS \ 350 mostlyclean-compile mostlyclean-tags mostlyclean-depend \ 351 mostlyclean-generic 352 353 mostlyclean: mostlyclean-am 354 355 clean-am: clean-hdr clean-noinstPROGRAMS clean-compile clean-tags \ 356 clean-depend clean-generic mostlyclean-am 357 358 clean: clean-am 359 360 distclean-am: distclean-hdr distclean-noinstPROGRAMS distclean-compile \ 361 distclean-tags distclean-depend distclean-generic \ 362 clean-am 363 364 distclean: distclean-am 365 -rm -f config.status 366 367 maintainer-clean-am: maintainer-clean-hdr \ 368 maintainer-clean-noinstPROGRAMS \ 369 maintainer-clean-compile maintainer-clean-tags \ 370 maintainer-clean-depend maintainer-clean-generic \ 371 distclean-am 372 @echo "This command is intended for maintainers to use;" 373 @echo "it deletes files that may require special tools to rebuild." 374 375 maintainer-clean: maintainer-clean-am 376 -rm -f config.status 377 378 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \ 379 mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \ 380 clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \ 381 mostlyclean-compile distclean-compile clean-compile \ 382 maintainer-clean-compile tags mostlyclean-tags distclean-tags \ 383 clean-tags maintainer-clean-tags distdir mostlyclean-depend \ 384 distclean-depend clean-depend maintainer-clean-depend info-am info \ 385 dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \ 386 install-exec-local install-exec-am install-exec install-data-am \ 387 install-data install-am install uninstall-am uninstall all-redirect \ 388 all-am all installdirs mostlyclean-generic distclean-generic \ 389 clean-generic maintainer-clean-generic clean mostlyclean distclean \ 390 maintainer-clean 391 392 393 # HACK: install to build-tree 394 install-exec-local: print_dump 395 $(mkinstalldirs) $(PROJECT_ROOT)/${RTEMS_BSP}/bin 396 $(INSTALL_PROGRAM) print_dump $(PROJECT_ROOT)/${RTEMS_BSP}/bin 397 398 debug-am: 399 400 debug: debug-am 401 402 debug_install-am: 403 404 debug_install: debug_install-am 405 406 profile-am: 407 408 profile: profile-am 409 410 profile_install-am: 411 412 profile_install: profile_install-am 413 414 .PHONY: debug debug_install profile profile_install 415 416 # Tell versions [3.59,3.63) of GNU make to not export all variables. 417 # Otherwise a system limit (for SysV at least) may be exceeded. 418 .NOEXPORT: -
c/src/lib/libbsp/hppa1.1/simhppa/tools/print_dump.c
rc69856c3 r9b8baa1 29 29 #include <stdarg.h> 30 30 31 #include " ../../../../../../build-tools/src/config.h"31 #include "config.h" 32 32 33 33 #ifndef VMS -
c/src/lib/libbsp/i386/pc386/tools/Makefile.in
rc69856c3 r9b8baa1 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 # This Makefile.in is free software; the Free Software Foundation 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. 12 1 13 # 2 14 # $Id$ 3 15 # 4 16 5 @SET_MAKE@ 17 18 # $Id$ 19 20 # NOTE: This is a temporary work-around to keep 21 # "make debug" and "make debug_install" working. 22 # Once automake is fully integrated these make targets 23 # and this file will probably be removed 24 25 26 SHELL = @SHELL@ 27 6 28 srcdir = @srcdir@ 7 29 top_srcdir = @top_srcdir@ 8 top_builddir = ../../../../../../.. 9 subdir = c/src/lib/libbsp/i386/pc386/tools 30 VPATH = @srcdir@ 31 prefix = @prefix@ 32 exec_prefix = @exec_prefix@ 33 34 bindir = @bindir@ 35 sbindir = @sbindir@ 36 libexecdir = @libexecdir@ 37 datadir = @datadir@ 38 sysconfdir = @sysconfdir@ 39 sharedstatedir = @sharedstatedir@ 40 localstatedir = @localstatedir@ 41 libdir = @libdir@ 42 infodir = @infodir@ 43 mandir = @mandir@ 44 includedir = @includedir@ 45 oldincludedir = /usr/include 46 47 DESTDIR = 48 49 pkgdatadir = $(datadir)/@PACKAGE@ 50 pkglibdir = $(libdir)/@PACKAGE@ 51 pkgincludedir = $(includedir)/@PACKAGE@ 52 53 top_builddir = . 54 AUTOCONF = @AUTOCONF@ 55 AUTOMAKE = @AUTOMAKE@ 56 AUTOHEADER = @AUTOHEADER@ 10 57 11 58 INSTALL = @INSTALL@ 12 13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@ 59 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) 60 INSTALL_DATA = @INSTALL_DATA@ 61 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 62 transform = @program_transform_name@ 63 64 NORMAL_INSTALL = : 65 PRE_INSTALL = : 66 POST_INSTALL = : 67 NORMAL_UNINSTALL = : 68 PRE_UNINSTALL = : 69 POST_UNINSTALL = : 70 build_alias = @build_alias@ 71 build_triplet = @build@ 72 host_alias = @host_alias@ 73 host_triplet = @host@ 74 target_alias = @target_alias@ 75 target_triplet = @target@ 76 CC = @CC@ 77 MAKEINFO = @MAKEINFO@ 78 PACKAGE = @PACKAGE@ 14 79 PROJECT_ROOT = @PROJECT_ROOT@ 15 16 VPATH = @srcdir@ 17 18 exec_prefix = @exec_prefix@ 19 bindir = @bindir@ 20 libdir = @libdir@ 21 includedir = @includedir@ 22 manext = 1 23 mandir = @mandir@/man$(manext) 24 25 VPATH=@srcdir@ 26 27 # we use host compiler in this directory 28 USE_HOST_COMPILER=yes 29 30 # C source names, if any, go here -- minus the .c 31 C_PIECES= bin2boot binpatch 32 C_FILES=$(C_PIECES:%=%.c) 33 C_O_FILES=$(C_PIECES:%=$(ARCH)/%.o) 34 35 CC_PIECES= 36 CC_FILES=$(CC_PIECES:%=%.cc) 37 CC_O_FILES=$(CC_PIECES:%=$(ARCH)/%.o) 38 39 H_FILES= 40 41 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) 42 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) 43 44 PGMS=$(ARCH)/bin2boot $(ARCH)/binpatch 45 46 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg 47 include $(RTEMS_ROOT)/make/leaf.cfg 48 49 # 50 # (OPTIONAL) Add local stuff here using += 51 # 52 53 DEFINES += 54 CPPFLAGS += 55 CFLAGS += 56 CXXFLAGS += 57 58 LD_PATHS += 59 LD_LIBS += 60 LDFLAGS += 61 62 # 63 # Add your list of files to delete here. The config files 64 # already know how to delete some stuff, so you may want 65 # to just run 'make clean' first to see what gets missed. 66 # 'make clobber' already includes 'make clean' 67 # 68 69 CLEAN_ADDITIONS += $(HOST_ARCH) 70 CLOBBER_ADDITIONS += 71 72 all: $(ARCH) $(SRCS) $(PGMS) 73 $(INSTALL_CHANGE) -m 555 $(PGMS) ${PROJECT_RELEASE}/build-tools 74 75 $(ARCH)/bin2boot: $(srcdir)/bin2boot.c 76 $(CC) $(LDFLAGS) -o $@ $(srcdir)/bin2boot.c $(LD_LIBS) 77 78 $(ARCH)/binpatch: $(srcdir)/binpatch.c 79 $(CC) $(LDFLAGS) -o $@ $(srcdir)/binpatch.c $(LD_LIBS) 80 81 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 80 RTEMS_TOPdir = @RTEMS_TOPdir@ 81 VERSION = @VERSION@ 82 83 AUTOMAKE_OPTIONS = foreign 84 ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal 85 86 EXTRA_DIST = Spec.doc 87 88 noinst_PROGRAMS = bin2boot binpatch 89 90 91 bin2boot_SOURCES = bin2boot.c 92 binpatch_SOURCES = binpatch.c 93 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 94 mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../../mkinstalldirs 95 CONFIG_CLEAN_FILES = 96 PROGRAMS = $(noinst_PROGRAMS) 97 98 99 DEFS = @DEFS@ -I. -I$(srcdir) 100 CPPFLAGS = @CPPFLAGS@ 101 LDFLAGS = @LDFLAGS@ 102 LIBS = @LIBS@ 103 bin2boot_OBJECTS = bin2boot.o 104 bin2boot_LDADD = $(LDADD) 105 bin2boot_DEPENDENCIES = 106 bin2boot_LDFLAGS = 107 binpatch_OBJECTS = binpatch.o 108 binpatch_LDADD = $(LDADD) 109 binpatch_DEPENDENCIES = 110 binpatch_LDFLAGS = 111 CFLAGS = @CFLAGS@ 112 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 113 CCLD = $(CC) 114 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ 115 DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in 116 117 118 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) 119 120 TAR = tar 121 GZIP_ENV = --best 122 DEP_FILES = .deps/bin2boot.P .deps/binpatch.P 123 SOURCES = $(bin2boot_SOURCES) $(binpatch_SOURCES) 124 OBJECTS = $(bin2boot_OBJECTS) $(binpatch_OBJECTS) 125 126 all: all-redirect 127 .SUFFIXES: 128 .SUFFIXES: .S .c .o .s 129 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../../../../../automake/local.am 130 cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile 131 132 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) 82 133 cd $(top_builddir) \ 83 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 134 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 135 136 $(ACLOCAL_M4): configure.in 137 cd $(srcdir) && $(ACLOCAL) 138 139 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 140 $(SHELL) ./config.status --recheck 141 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) 142 cd $(srcdir) && $(AUTOCONF) 143 144 mostlyclean-noinstPROGRAMS: 145 146 clean-noinstPROGRAMS: 147 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) 148 149 distclean-noinstPROGRAMS: 150 151 maintainer-clean-noinstPROGRAMS: 152 153 .s.o: 154 $(COMPILE) -c $< 155 156 .S.o: 157 $(COMPILE) -c $< 158 159 mostlyclean-compile: 160 -rm -f *.o core *.core 161 162 clean-compile: 163 164 distclean-compile: 165 -rm -f *.tab.c 166 167 maintainer-clean-compile: 168 169 bin2boot: $(bin2boot_OBJECTS) $(bin2boot_DEPENDENCIES) 170 @rm -f bin2boot 171 $(LINK) $(bin2boot_LDFLAGS) $(bin2boot_OBJECTS) $(bin2boot_LDADD) $(LIBS) 172 173 binpatch: $(binpatch_OBJECTS) $(binpatch_DEPENDENCIES) 174 @rm -f binpatch 175 $(LINK) $(binpatch_LDFLAGS) $(binpatch_OBJECTS) $(binpatch_LDADD) $(LIBS) 176 177 tags: TAGS 178 179 ID: $(HEADERS) $(SOURCES) $(LISP) 180 list='$(SOURCES) $(HEADERS)'; \ 181 unique=`for i in $$list; do echo $$i; done | \ 182 awk ' { files[$$0] = 1; } \ 183 END { for (i in files) print i; }'`; \ 184 here=`pwd` && cd $(srcdir) \ 185 && mkid -f$$here/ID $$unique $(LISP) 186 187 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) 188 tags=; \ 189 here=`pwd`; \ 190 list='$(SOURCES) $(HEADERS)'; \ 191 unique=`for i in $$list; do echo $$i; done | \ 192 awk ' { files[$$0] = 1; } \ 193 END { for (i in files) print i; }'`; \ 194 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ 195 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) 196 197 mostlyclean-tags: 198 199 clean-tags: 200 201 distclean-tags: 202 -rm -f TAGS ID 203 204 maintainer-clean-tags: 205 206 distdir = $(PACKAGE)-$(VERSION) 207 top_distdir = $(distdir) 208 209 # This target untars the dist file and tries a VPATH configuration. Then 210 # it guarantees that the distribution is self-contained by making another 211 # tarfile. 212 distcheck: dist 213 -rm -rf $(distdir) 214 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz 215 mkdir $(distdir)/=build 216 mkdir $(distdir)/=inst 217 dc_install_base=`cd $(distdir)/=inst && pwd`; \ 218 cd $(distdir)/=build \ 219 && ../configure --srcdir=.. --prefix=$$dc_install_base \ 220 && $(MAKE) $(AM_MAKEFLAGS) \ 221 && $(MAKE) $(AM_MAKEFLAGS) dvi \ 222 && $(MAKE) $(AM_MAKEFLAGS) check \ 223 && $(MAKE) $(AM_MAKEFLAGS) install \ 224 && $(MAKE) $(AM_MAKEFLAGS) installcheck \ 225 && $(MAKE) $(AM_MAKEFLAGS) dist 226 -rm -rf $(distdir) 227 @banner="$(distdir).tar.gz is ready for distribution"; \ 228 dashes=`echo "$$banner" | sed s/./=/g`; \ 229 echo "$$dashes"; \ 230 echo "$$banner"; \ 231 echo "$$dashes" 232 dist: distdir 233 -chmod -R a+r $(distdir) 234 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 235 -rm -rf $(distdir) 236 dist-all: distdir 237 -chmod -R a+r $(distdir) 238 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 239 -rm -rf $(distdir) 240 distdir: $(DISTFILES) 241 -rm -rf $(distdir) 242 mkdir $(distdir) 243 -chmod 777 $(distdir) 244 here=`cd $(top_builddir) && pwd`; \ 245 top_distdir=`cd $(distdir) && pwd`; \ 246 distdir=`cd $(distdir) && pwd`; \ 247 cd $(top_srcdir) \ 248 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile 249 @for file in $(DISTFILES); do \ 250 d=$(srcdir); \ 251 if test -d $$d/$$file; then \ 252 cp -pr $$/$$file $(distdir)/$$file; \ 253 else \ 254 test -f $(distdir)/$$file \ 255 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ 256 || cp -p $$d/$$file $(distdir)/$$file || :; \ 257 fi; \ 258 done 259 260 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) 261 262 -include $(DEP_FILES) 263 264 mostlyclean-depend: 265 266 clean-depend: 267 268 distclean-depend: 269 -rm -rf .deps 270 271 maintainer-clean-depend: 272 273 %.o: %.c 274 @echo '$(COMPILE) -c $<'; \ 275 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< 276 @-cp .deps/$(*F).pp .deps/$(*F).P; \ 277 tr ' ' '\012' < .deps/$(*F).pp \ 278 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ 279 >> .deps/$(*F).P; \ 280 rm .deps/$(*F).pp 281 282 %.lo: %.c 283 @echo '$(LTCOMPILE) -c $<'; \ 284 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< 285 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ 286 < .deps/$(*F).pp > .deps/$(*F).P; \ 287 tr ' ' '\012' < .deps/$(*F).pp \ 288 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ 289 >> .deps/$(*F).P; \ 290 rm -f .deps/$(*F).pp 291 info-am: 292 info: info-am 293 dvi-am: 294 dvi: dvi-am 295 check-am: all-am 296 check: check-am 297 installcheck-am: 298 installcheck: installcheck-am 299 install-exec-am: install-exec-local 300 install-exec: install-exec-am 301 302 install-data-am: 303 install-data: install-data-am 304 305 install-am: all-am 306 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 307 install: install-am 308 uninstall-am: 309 uninstall: uninstall-am 310 all-am: Makefile $(PROGRAMS) 311 all-redirect: all-am 312 install-strip: 313 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install 314 installdirs: 315 316 317 mostlyclean-generic: 318 319 clean-generic: 320 321 distclean-generic: 322 -rm -f Makefile $(CONFIG_CLEAN_FILES) 323 -rm -f config.cache config.log stamp-h stamp-h[0-9]* 324 325 maintainer-clean-generic: 326 mostlyclean-am: mostlyclean-noinstPROGRAMS mostlyclean-compile \ 327 mostlyclean-tags mostlyclean-depend mostlyclean-generic 328 329 mostlyclean: mostlyclean-am 330 331 clean-am: clean-noinstPROGRAMS clean-compile clean-tags clean-depend \ 332 clean-generic mostlyclean-am 333 334 clean: clean-am 335 336 distclean-am: distclean-noinstPROGRAMS distclean-compile distclean-tags \ 337 distclean-depend distclean-generic clean-am 338 339 distclean: distclean-am 340 -rm -f config.status 341 342 maintainer-clean-am: maintainer-clean-noinstPROGRAMS \ 343 maintainer-clean-compile maintainer-clean-tags \ 344 maintainer-clean-depend maintainer-clean-generic \ 345 distclean-am 346 @echo "This command is intended for maintainers to use;" 347 @echo "it deletes files that may require special tools to rebuild." 348 349 maintainer-clean: maintainer-clean-am 350 -rm -f config.status 351 352 .PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \ 353 clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \ 354 mostlyclean-compile distclean-compile clean-compile \ 355 maintainer-clean-compile tags mostlyclean-tags distclean-tags \ 356 clean-tags maintainer-clean-tags distdir mostlyclean-depend \ 357 distclean-depend clean-depend maintainer-clean-depend info-am info \ 358 dvi-am dvi check check-am installcheck-am installcheck \ 359 install-exec-local install-exec-am install-exec install-data-am \ 360 install-data install-am install uninstall-am uninstall all-redirect \ 361 all-am all installdirs mostlyclean-generic distclean-generic \ 362 clean-generic maintainer-clean-generic clean mostlyclean distclean \ 363 maintainer-clean 364 365 366 # HACK: install into build-tree 367 preinstall: install-exec-local 368 369 install-exec-local: $(PROGRAMS) 370 $(mkinstalldirs) $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools 371 $(INSTALL_PROGRAM) bin2boot $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools 372 $(INSTALL_PROGRAM) binpatch $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools 373 374 debug-am: 375 376 debug: debug-am 377 378 debug_install-am: 379 380 debug_install: debug_install-am 381 382 profile-am: 383 384 profile: profile-am 385 386 profile_install-am: 387 388 profile_install: profile_install-am 389 390 .PHONY: debug debug_install profile profile_install 391 392 # Tell versions [3.59,3.63) of GNU make to not export all variables. 393 # Otherwise a system limit (for SysV at least) may be exceeded. 394 .NOEXPORT: -
c/src/lib/libbsp/m68k/mvme162/tools/Makefile.in
rc69856c3 r9b8baa1 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 # This Makefile.in is free software; the Free Software Foundation 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. 12 1 13 # 2 14 # $Id$ 3 15 # 4 16 5 @SET_MAKE@ 17 18 # $Id$ 19 20 # NOTE: This is a temporary work-around to keep 21 # "make debug" and "make debug_install" working. 22 # Once automake is fully integrated these make targets 23 # and this file will probably be removed 24 25 26 SHELL = @SHELL@ 27 6 28 srcdir = @srcdir@ 7 29 top_srcdir = @top_srcdir@ 8 top_builddir = ../../../../../../.. 9 subdir = c/src/lib/libbsp/m68k/mvme162/tools 30 VPATH = @srcdir@ 31 prefix = @prefix@ 32 exec_prefix = @exec_prefix@ 33 34 bindir = @bindir@ 35 sbindir = @sbindir@ 36 libexecdir = @libexecdir@ 37 datadir = @datadir@ 38 sysconfdir = @sysconfdir@ 39 sharedstatedir = @sharedstatedir@ 40 localstatedir = @localstatedir@ 41 libdir = @libdir@ 42 infodir = @infodir@ 43 mandir = @mandir@ 44 includedir = @includedir@ 45 oldincludedir = /usr/include 46 47 DESTDIR = 48 49 pkgdatadir = $(datadir)/@PACKAGE@ 50 pkglibdir = $(libdir)/@PACKAGE@ 51 pkgincludedir = $(includedir)/@PACKAGE@ 52 53 top_builddir = . 54 AUTOCONF = @AUTOCONF@ 55 AUTOMAKE = @AUTOMAKE@ 56 AUTOHEADER = @AUTOHEADER@ 10 57 11 58 INSTALL = @INSTALL@ 12 13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@ 59 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) 60 INSTALL_DATA = @INSTALL_DATA@ 61 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 62 transform = @program_transform_name@ 63 64 NORMAL_INSTALL = : 65 PRE_INSTALL = : 66 POST_INSTALL = : 67 NORMAL_UNINSTALL = : 68 PRE_UNINSTALL = : 69 POST_UNINSTALL = : 70 build_alias = @build_alias@ 71 build_triplet = @build@ 72 host_alias = @host_alias@ 73 host_triplet = @host@ 74 target_alias = @target_alias@ 75 target_triplet = @target@ 76 CC = @CC@ 77 MAKEINFO = @MAKEINFO@ 78 PACKAGE = @PACKAGE@ 14 79 PROJECT_ROOT = @PROJECT_ROOT@ 15 16 VPATH = @srcdir@ 17 18 # we use host compiler here for genoffsets. Hopefully it has same alignment!! 19 USE_HOST_COMPILER=yes 20 21 # C source names, if any, go here -- minus the .c 22 C_PIECES=sload 23 C_FILES=$(C_PIECES:%=%.c) 24 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) 25 26 H_FILES= 27 28 SRCS=$(C_FILES) $(H_FILES) 29 OBJS=$(C_O_FILES) 30 31 PGMS=${ARCH}/sload 32 33 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg 34 include $(RTEMS_ROOT)/make/leaf.cfg 35 36 # 37 # (OPTIONAL) Add local stuff here using += 38 # 39 40 DEFINES += 41 CPPFLAGS += 42 CFLAGS += 43 44 LD_PATHS += 45 LD_LIBS += 46 LDFLAGS += 47 48 # 49 # Add your list of files to delete here. 50 # 51 52 CLEAN_ADDITIONS += 53 CLOBBER_ADDITIONS += 54 55 all: ${ARCH} $(SRCS) $(PGMS) 56 57 # Install the program(s), appending _g or _p as appropriate. 58 # for include files, just use $(INSTALL_CHANGE) 59 install: all 60 $(INSTALL_CHANGE) -m 555 ${PGMS} ${PROJECT_RELEASE}/bin 61 62 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 80 RTEMS_TOPdir = @RTEMS_TOPdir@ 81 VERSION = @VERSION@ 82 83 AUTOMAKE_OPTIONS = foreign 84 ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal 85 86 noinst_PROGRAMS = sload 87 88 sload_SOURCES = sload.c 89 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 90 mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../../mkinstalldirs 91 CONFIG_CLEAN_FILES = 92 PROGRAMS = $(noinst_PROGRAMS) 93 94 95 DEFS = @DEFS@ -I. -I$(srcdir) 96 CPPFLAGS = @CPPFLAGS@ 97 LDFLAGS = @LDFLAGS@ 98 LIBS = @LIBS@ 99 sload_OBJECTS = sload.o 100 sload_LDADD = $(LDADD) 101 sload_DEPENDENCIES = 102 sload_LDFLAGS = 103 CFLAGS = @CFLAGS@ 104 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 105 CCLD = $(CC) 106 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ 107 DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in 108 109 110 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) 111 112 TAR = tar 113 GZIP_ENV = --best 114 DEP_FILES = .deps/sload.P 115 SOURCES = $(sload_SOURCES) 116 OBJECTS = $(sload_OBJECTS) 117 118 all: all-redirect 119 .SUFFIXES: 120 .SUFFIXES: .S .c .o .s 121 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../../../../../automake/local.am 122 cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile 123 124 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) 63 125 cd $(top_builddir) \ 64 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 126 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 127 128 $(ACLOCAL_M4): configure.in 129 cd $(srcdir) && $(ACLOCAL) 130 131 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 132 $(SHELL) ./config.status --recheck 133 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) 134 cd $(srcdir) && $(AUTOCONF) 135 136 mostlyclean-noinstPROGRAMS: 137 138 clean-noinstPROGRAMS: 139 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) 140 141 distclean-noinstPROGRAMS: 142 143 maintainer-clean-noinstPROGRAMS: 144 145 .s.o: 146 $(COMPILE) -c $< 147 148 .S.o: 149 $(COMPILE) -c $< 150 151 mostlyclean-compile: 152 -rm -f *.o core *.core 153 154 clean-compile: 155 156 distclean-compile: 157 -rm -f *.tab.c 158 159 maintainer-clean-compile: 160 161 sload: $(sload_OBJECTS) $(sload_DEPENDENCIES) 162 @rm -f sload 163 $(LINK) $(sload_LDFLAGS) $(sload_OBJECTS) $(sload_LDADD) $(LIBS) 164 165 tags: TAGS 166 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) 176 tags=; \ 177 here=`pwd`; \ 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) 184 185 mostlyclean-tags: 186 187 clean-tags: 188 189 distclean-tags: 190 -rm -f TAGS ID 191 192 maintainer-clean-tags: 193 194 distdir = $(PACKAGE)-$(VERSION) 195 top_distdir = $(distdir) 196 197 # This target untars the dist file and tries a VPATH configuration. Then 198 # it guarantees that the distribution is self-contained by making another 199 # tarfile. 200 distcheck: dist 201 -rm -rf $(distdir) 202 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz 203 mkdir $(distdir)/=build 204 mkdir $(distdir)/=inst 205 dc_install_base=`cd $(distdir)/=inst && pwd`; \ 206 cd $(distdir)/=build \ 207 && ../configure --srcdir=.. --prefix=$$dc_install_base \ 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" 220 dist: distdir 221 -chmod -R a+r $(distdir) 222 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 223 -rm -rf $(distdir) 224 dist-all: distdir 225 -chmod -R a+r $(distdir) 226 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 227 -rm -rf $(distdir) 228 distdir: $(DISTFILES) 229 -rm -rf $(distdir) 230 mkdir $(distdir) 231 -chmod 777 $(distdir) 232 here=`cd $(top_builddir) && pwd`; \ 233 top_distdir=`cd $(distdir) && pwd`; \ 234 distdir=`cd $(distdir) && pwd`; \ 235 cd $(top_srcdir) \ 236 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile 237 @for file in $(DISTFILES); do \ 238 d=$(srcdir); \ 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; \ 246 done 247 248 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) 249 250 -include $(DEP_FILES) 251 252 mostlyclean-depend: 253 254 clean-depend: 255 256 distclean-depend: 257 -rm -rf .deps 258 259 maintainer-clean-depend: 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: install-exec-local 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 300 install-strip: 301 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install 302 installdirs: 303 304 305 mostlyclean-generic: 306 307 clean-generic: 308 309 distclean-generic: 310 -rm -f Makefile $(CONFIG_CLEAN_FILES) 311 -rm -f config.cache config.log stamp-h stamp-h[0-9]* 312 313 maintainer-clean-generic: 314 mostlyclean-am: mostlyclean-noinstPROGRAMS mostlyclean-compile \ 315 mostlyclean-tags mostlyclean-depend mostlyclean-generic 316 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 \ 331 maintainer-clean-compile maintainer-clean-tags \ 332 maintainer-clean-depend maintainer-clean-generic \ 333 distclean-am 334 @echo "This command is intended for maintainers to use;" 335 @echo "it deletes files that may require special tools to rebuild." 336 337 maintainer-clean: maintainer-clean-am 338 -rm -f config.status 339 340 .PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \ 341 clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \ 342 mostlyclean-compile distclean-compile clean-compile \ 343 maintainer-clean-compile tags mostlyclean-tags distclean-tags \ 344 clean-tags maintainer-clean-tags distdir mostlyclean-depend \ 345 distclean-depend clean-depend maintainer-clean-depend info-am info \ 346 dvi-am dvi check check-am installcheck-am installcheck \ 347 install-exec-local install-exec-am install-exec install-data-am \ 348 install-data install-am install uninstall-am uninstall all-redirect \ 349 all-am all installdirs mostlyclean-generic distclean-generic \ 350 clean-generic maintainer-clean-generic clean mostlyclean distclean \ 351 maintainer-clean 352 353 354 # HACK: install to build-tree 355 install-exec-local: $(PROGRAMS) 356 $(mkinstalldirs) $(PROJECT_ROOT)/${RTEMS_BSP}/bin 357 $(INSTALL_PROGRAM) $(PROGRAMS) $(PROJECT_ROOT)/${RTEMS_BSP}/bin 358 359 debug-am: 360 361 debug: debug-am 362 363 debug_install-am: 364 365 debug_install: debug_install-am 366 367 profile-am: 368 369 profile: profile-am 370 371 profile_install-am: 372 373 profile_install: profile_install-am 374 375 .PHONY: debug debug_install profile profile_install 376 377 # Tell versions [3.59,3.63) of GNU make to not export all variables. 378 # Otherwise a system limit (for SysV at least) may be exceeded. 379 .NOEXPORT: -
c/src/lib/libbsp/powerpc/psim/tools/Makefile.in
rc69856c3 r9b8baa1 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 # This Makefile.in is free software; the Free Software Foundation 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. 12 1 13 # 2 14 # $Id$ 3 15 # 4 16 5 @SET_MAKE@ 17 18 # $Id$ 19 20 # NOTE: This is a temporary work-around to keep 21 # "make debug" and "make debug_install" working. 22 # Once automake is fully integrated these make targets 23 # and this file will probably be removed 24 25 26 SHELL = @SHELL@ 27 6 28 srcdir = @srcdir@ 7 29 top_srcdir = @top_srcdir@ 8 top_builddir = ../../../../../../.. 9 subdir = c/src/lib/libbsp/powerpc/psim/tools 30 VPATH = @srcdir@ 31 prefix = @prefix@ 32 exec_prefix = @exec_prefix@ 33 34 bindir = @bindir@ 35 sbindir = @sbindir@ 36 libexecdir = @libexecdir@ 37 datadir = @datadir@ 38 sysconfdir = @sysconfdir@ 39 sharedstatedir = @sharedstatedir@ 40 localstatedir = @localstatedir@ 41 libdir = @libdir@ 42 infodir = @infodir@ 43 mandir = @mandir@ 44 includedir = @includedir@ 45 oldincludedir = /usr/include 46 47 DESTDIR = 48 49 pkgdatadir = $(datadir)/@PACKAGE@ 50 pkglibdir = $(libdir)/@PACKAGE@ 51 pkgincludedir = $(includedir)/@PACKAGE@ 52 53 top_builddir = . 54 AUTOCONF = @AUTOCONF@ 55 AUTOMAKE = @AUTOMAKE@ 56 AUTOHEADER = @AUTOHEADER@ 10 57 11 58 INSTALL = @INSTALL@ 12 13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@ 59 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) 60 INSTALL_DATA = @INSTALL_DATA@ 61 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 62 transform = @program_transform_name@ 63 64 NORMAL_INSTALL = : 65 PRE_INSTALL = : 66 POST_INSTALL = : 67 NORMAL_UNINSTALL = : 68 PRE_UNINSTALL = : 69 POST_UNINSTALL = : 70 build_alias = @build_alias@ 71 build_triplet = @build@ 72 host_alias = @host_alias@ 73 host_triplet = @host@ 74 target_alias = @target_alias@ 75 target_triplet = @target@ 76 MAKEINFO = @MAKEINFO@ 77 PACKAGE = @PACKAGE@ 14 78 PROJECT_ROOT = @PROJECT_ROOT@ 15 16 VPATH = @srcdir@ 17 18 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg 19 include $(RTEMS_ROOT)/make/leaf.cfg 20 21 DESTDIR=$(PROJECT_RELEASE)/tests 22 23 PGMS=runtest psim 24 25 INSTALLED=$(PGMS:%=$(DESTDIR)/%) 26 27 all: $(DESTDIR) $(PGMS) install 28 29 install: $(INSTALLED) 30 rm -f $(DESTDIR)/psim-gdb 31 cp $(DESTDIR)/psim $(DESTDIR)/psim-gdb 32 33 # Install the program 34 $(DESTDIR)/%: % 35 $(make-script) 36 37 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 79 RTEMS_TOPdir = @RTEMS_TOPdir@ 80 VERSION = @VERSION@ 81 82 AUTOMAKE_OPTIONS = foreign 83 ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal 84 85 noinst_SCRIPTS = psim runtest 86 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 87 mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../../mkinstalldirs 88 CONFIG_CLEAN_FILES = 89 SCRIPTS = $(noinst_SCRIPTS) 90 91 DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in 92 93 94 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) 95 96 TAR = tar 97 GZIP_ENV = --best 98 all: all-redirect 99 .SUFFIXES: 100 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../../../../../automake/local.am 101 cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile 102 103 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) 38 104 cd $(top_builddir) \ 39 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 105 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 106 107 $(ACLOCAL_M4): configure.in 108 cd $(srcdir) && $(ACLOCAL) 109 110 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 111 $(SHELL) ./config.status --recheck 112 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) 113 cd $(srcdir) && $(AUTOCONF) 114 tags: TAGS 115 TAGS: 116 117 118 distdir = $(PACKAGE)-$(VERSION) 119 top_distdir = $(distdir) 120 121 # This target untars the dist file and tries a VPATH configuration. Then 122 # it guarantees that the distribution is self-contained by making another 123 # tarfile. 124 distcheck: dist 125 -rm -rf $(distdir) 126 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz 127 mkdir $(distdir)/=build 128 mkdir $(distdir)/=inst 129 dc_install_base=`cd $(distdir)/=inst && pwd`; \ 130 cd $(distdir)/=build \ 131 && ../configure --srcdir=.. --prefix=$$dc_install_base \ 132 && $(MAKE) $(AM_MAKEFLAGS) \ 133 && $(MAKE) $(AM_MAKEFLAGS) dvi \ 134 && $(MAKE) $(AM_MAKEFLAGS) check \ 135 && $(MAKE) $(AM_MAKEFLAGS) install \ 136 && $(MAKE) $(AM_MAKEFLAGS) installcheck \ 137 && $(MAKE) $(AM_MAKEFLAGS) dist 138 -rm -rf $(distdir) 139 @banner="$(distdir).tar.gz is ready for distribution"; \ 140 dashes=`echo "$$banner" | sed s/./=/g`; \ 141 echo "$$dashes"; \ 142 echo "$$banner"; \ 143 echo "$$dashes" 144 dist: distdir 145 -chmod -R a+r $(distdir) 146 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 147 -rm -rf $(distdir) 148 dist-all: distdir 149 -chmod -R a+r $(distdir) 150 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 151 -rm -rf $(distdir) 152 distdir: $(DISTFILES) 153 -rm -rf $(distdir) 154 mkdir $(distdir) 155 -chmod 777 $(distdir) 156 here=`cd $(top_builddir) && pwd`; \ 157 top_distdir=`cd $(distdir) && pwd`; \ 158 distdir=`cd $(distdir) && pwd`; \ 159 cd $(top_srcdir) \ 160 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile 161 @for file in $(DISTFILES); do \ 162 d=$(srcdir); \ 163 if test -d $$d/$$file; then \ 164 cp -pr $$/$$file $(distdir)/$$file; \ 165 else \ 166 test -f $(distdir)/$$file \ 167 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ 168 || cp -p $$d/$$file $(distdir)/$$file || :; \ 169 fi; \ 170 done 171 info-am: 172 info: info-am 173 dvi-am: 174 dvi: dvi-am 175 check-am: all-am 176 check: check-am 177 installcheck-am: 178 installcheck: installcheck-am 179 install-exec-am: install-exec-local 180 install-exec: install-exec-am 181 182 install-data-am: 183 install-data: install-data-am 184 185 install-am: all-am 186 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 187 install: install-am 188 uninstall-am: 189 uninstall: uninstall-am 190 all-am: Makefile $(SCRIPTS) 191 all-redirect: all-am 192 install-strip: 193 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install 194 installdirs: 195 196 197 mostlyclean-generic: 198 199 clean-generic: 200 201 distclean-generic: 202 -rm -f Makefile $(CONFIG_CLEAN_FILES) 203 -rm -f config.cache config.log stamp-h stamp-h[0-9]* 204 205 maintainer-clean-generic: 206 mostlyclean-am: mostlyclean-generic 207 208 mostlyclean: mostlyclean-am 209 210 clean-am: clean-generic mostlyclean-am 211 212 clean: clean-am 213 214 distclean-am: distclean-generic clean-am 215 216 distclean: distclean-am 217 -rm -f config.status 218 219 maintainer-clean-am: maintainer-clean-generic distclean-am 220 @echo "This command is intended for maintainers to use;" 221 @echo "it deletes files that may require special tools to rebuild." 222 223 maintainer-clean: maintainer-clean-am 224 -rm -f config.status 225 226 .PHONY: tags distdir info-am info dvi-am dvi check check-am \ 227 installcheck-am installcheck install-exec-local install-exec-am \ 228 install-exec install-data-am install-data install-am install \ 229 uninstall-am uninstall all-redirect all-am all installdirs \ 230 mostlyclean-generic distclean-generic clean-generic \ 231 maintainer-clean-generic clean mostlyclean distclean maintainer-clean 232 233 234 # HACK: install to build-tree 235 install-exec-local: $(SCRIPTS) 236 $(mkinstalldirs) $(PROJECT_ROOT)/${RTEMS_BSP}/tests 237 $(INSTALL_SCRIPT) $(srcdir)/runtest $(PROJECT_ROOT)/${RTEMS_BSP}/tests/runtest 238 $(INSTALL_SCRIPT) $(srcdir)/psim $(PROJECT_ROOT)/${RTEMS_BSP}/tests/psim 239 $(INSTALL_SCRIPT) $(srcdir)/psim $(PROJECT_ROOT)/${RTEMS_BSP}/tests/psim-gdb 240 241 debug-am: 242 243 debug: debug-am 244 245 debug_install-am: 246 247 debug_install: debug_install-am 248 249 profile-am: 250 251 profile: profile-am 252 253 profile_install-am: 254 255 profile_install: profile_install-am 256 257 .PHONY: debug debug_install profile profile_install 258 259 # Tell versions [3.59,3.63) of GNU make to not export all variables. 260 # Otherwise a system limit (for SysV at least) may be exceeded. 261 .NOEXPORT: -
c/src/lib/libbsp/sparc/erc32/tools/Makefile.in
rc69856c3 r9b8baa1 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 # This Makefile.in is free software; the Free Software Foundation 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. 12 1 13 # 2 14 # $Id$ 3 15 # 4 16 5 @SET_MAKE@ 17 18 # $Id$ 19 20 # NOTE: This is a temporary work-around to keep 21 # "make debug" and "make debug_install" working. 22 # Once automake is fully integrated these make targets 23 # and this file will probably be removed 24 25 26 SHELL = @SHELL@ 27 6 28 srcdir = @srcdir@ 7 29 top_srcdir = @top_srcdir@ 8 top_builddir = ../../../../../../.. 9 subdir = c/src/lib/libbsp/sparc/erc32/tools 30 VPATH = @srcdir@ 31 prefix = @prefix@ 32 exec_prefix = @exec_prefix@ 33 34 bindir = @bindir@ 35 sbindir = @sbindir@ 36 libexecdir = @libexecdir@ 37 datadir = @datadir@ 38 sysconfdir = @sysconfdir@ 39 sharedstatedir = @sharedstatedir@ 40 localstatedir = @localstatedir@ 41 libdir = @libdir@ 42 infodir = @infodir@ 43 mandir = @mandir@ 44 includedir = @includedir@ 45 oldincludedir = /usr/include 46 47 DESTDIR = 48 49 pkgdatadir = $(datadir)/@PACKAGE@ 50 pkglibdir = $(libdir)/@PACKAGE@ 51 pkgincludedir = $(includedir)/@PACKAGE@ 52 53 top_builddir = . 54 AUTOCONF = @AUTOCONF@ 55 AUTOMAKE = @AUTOMAKE@ 56 AUTOHEADER = @AUTOHEADER@ 10 57 11 58 INSTALL = @INSTALL@ 12 13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@ 59 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) 60 INSTALL_DATA = @INSTALL_DATA@ 61 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 62 transform = @program_transform_name@ 63 64 NORMAL_INSTALL = : 65 PRE_INSTALL = : 66 POST_INSTALL = : 67 NORMAL_UNINSTALL = : 68 PRE_UNINSTALL = : 69 POST_UNINSTALL = : 70 build_alias = @build_alias@ 71 build_triplet = @build@ 72 host_alias = @host_alias@ 73 host_triplet = @host@ 74 target_alias = @target_alias@ 75 target_triplet = @target@ 76 KSH = @KSH@ 77 MAKEINFO = @MAKEINFO@ 78 PACKAGE = @PACKAGE@ 14 79 PROJECT_ROOT = @PROJECT_ROOT@ 15 16 VPATH = @srcdir@ 17 18 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg 19 include $(RTEMS_ROOT)/make/leaf.cfg 20 21 DESTDIR=$(PROJECT_RELEASE)/tests 22 23 BUILD_PGMS = runtest 24 PGMS = $(BUILD_PGMS) 25 26 CLEAN_ADDITIONS += $(BUILD_PGMS) 27 28 INSTALLED_PGMS=$(PGMS:%=$(DESTDIR)/%) 29 30 all: $(DESTDIR) $(PGMS) install 31 32 $(DESTDIR): 33 @top_srcdir@/mkinstalldirs $@ 34 35 $(INSTALLED_PGMS): $(PGMS) 36 $(INSTALL) $(INSTBINFLAGS) $^ $(DESTDIR) 37 38 install: $(DESTDIR) $(INSTALLED_PGMS) 39 40 %: $(srcdir)/%.in $(top_builddir)/config.status 80 RTEMS_TOPdir = @RTEMS_TOPdir@ 81 VERSION = @VERSION@ 82 83 AUTOMAKE_OPTIONS = foreign 84 ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal 85 86 noinst_SCRIPTS = runtest 87 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 88 mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../../mkinstalldirs 89 CONFIG_CLEAN_FILES = 90 SCRIPTS = $(noinst_SCRIPTS) 91 92 DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in 93 94 95 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) 96 97 TAR = tar 98 GZIP_ENV = --best 99 all: all-redirect 100 .SUFFIXES: 101 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../../../../../automake/local.am 102 cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile 103 104 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) 41 105 cd $(top_builddir) \ 42 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 106 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 107 108 $(ACLOCAL_M4): configure.in 109 cd $(srcdir) && $(ACLOCAL) 110 111 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 112 $(SHELL) ./config.status --recheck 113 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) 114 cd $(srcdir) && $(AUTOCONF) 115 tags: TAGS 116 TAGS: 117 118 119 distdir = $(PACKAGE)-$(VERSION) 120 top_distdir = $(distdir) 121 122 # This target untars the dist file and tries a VPATH configuration. Then 123 # it guarantees that the distribution is self-contained by making another 124 # tarfile. 125 distcheck: dist 126 -rm -rf $(distdir) 127 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz 128 mkdir $(distdir)/=build 129 mkdir $(distdir)/=inst 130 dc_install_base=`cd $(distdir)/=inst && pwd`; \ 131 cd $(distdir)/=build \ 132 && ../configure --srcdir=.. --prefix=$$dc_install_base \ 133 && $(MAKE) $(AM_MAKEFLAGS) \ 134 && $(MAKE) $(AM_MAKEFLAGS) dvi \ 135 && $(MAKE) $(AM_MAKEFLAGS) check \ 136 && $(MAKE) $(AM_MAKEFLAGS) install \ 137 && $(MAKE) $(AM_MAKEFLAGS) installcheck \ 138 && $(MAKE) $(AM_MAKEFLAGS) dist 139 -rm -rf $(distdir) 140 @banner="$(distdir).tar.gz is ready for distribution"; \ 141 dashes=`echo "$$banner" | sed s/./=/g`; \ 142 echo "$$dashes"; \ 143 echo "$$banner"; \ 144 echo "$$dashes" 145 dist: distdir 146 -chmod -R a+r $(distdir) 147 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 148 -rm -rf $(distdir) 149 dist-all: distdir 150 -chmod -R a+r $(distdir) 151 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 152 -rm -rf $(distdir) 153 distdir: $(DISTFILES) 154 -rm -rf $(distdir) 155 mkdir $(distdir) 156 -chmod 777 $(distdir) 157 here=`cd $(top_builddir) && pwd`; \ 158 top_distdir=`cd $(distdir) && pwd`; \ 159 distdir=`cd $(distdir) && pwd`; \ 160 cd $(top_srcdir) \ 161 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile 162 @for file in $(DISTFILES); do \ 163 d=$(srcdir); \ 164 if test -d $$d/$$file; then \ 165 cp -pr $$/$$file $(distdir)/$$file; \ 166 else \ 167 test -f $(distdir)/$$file \ 168 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ 169 || cp -p $$d/$$file $(distdir)/$$file || :; \ 170 fi; \ 171 done 172 info-am: 173 info: info-am 174 dvi-am: 175 dvi: dvi-am 176 check-am: all-am 177 check: check-am 178 installcheck-am: 179 installcheck: installcheck-am 180 install-exec-am: install-exec-local 181 install-exec: install-exec-am 182 183 install-data-am: 184 install-data: install-data-am 185 186 install-am: all-am 187 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 188 install: install-am 189 uninstall-am: 190 uninstall: uninstall-am 191 all-am: Makefile $(SCRIPTS) 192 all-redirect: all-am 193 install-strip: 194 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install 195 installdirs: 196 197 198 mostlyclean-generic: 199 200 clean-generic: 201 202 distclean-generic: 203 -rm -f Makefile $(CONFIG_CLEAN_FILES) 204 -rm -f config.cache config.log stamp-h stamp-h[0-9]* 205 206 maintainer-clean-generic: 207 mostlyclean-am: mostlyclean-generic 208 209 mostlyclean: mostlyclean-am 210 211 clean-am: clean-generic mostlyclean-am 212 213 clean: clean-am 214 215 distclean-am: distclean-generic clean-am 216 217 distclean: distclean-am 218 -rm -f config.status 219 220 maintainer-clean-am: maintainer-clean-generic distclean-am 221 @echo "This command is intended for maintainers to use;" 222 @echo "it deletes files that may require special tools to rebuild." 223 224 maintainer-clean: maintainer-clean-am 225 -rm -f config.status 226 227 .PHONY: tags distdir info-am info dvi-am dvi check check-am \ 228 installcheck-am installcheck install-exec-local install-exec-am \ 229 install-exec install-data-am install-data install-am install \ 230 uninstall-am uninstall all-redirect all-am all installdirs \ 231 mostlyclean-generic distclean-generic clean-generic \ 232 maintainer-clean-generic clean mostlyclean distclean maintainer-clean 233 234 235 #HACK: install to build-tree 236 install-exec-local: $(SCRIPTS) 237 $(mkinstalldir) $(PROJECT_ROOT)/${RTEMS_BSP}/tests 238 $(INSTALL_SCRIPT) runtest $(PROJECT_ROOT)/${RTEMS_BSP}/tests 239 240 debug-am: 241 242 debug: debug-am 243 244 debug_install-am: 245 246 debug_install: debug_install-am 247 248 profile-am: 249 250 profile: profile-am 251 252 profile_install-am: 253 254 profile_install: profile_install-am 255 256 .PHONY: debug debug_install profile profile_install 257 258 # Tell versions [3.59,3.63) of GNU make to not export all variables. 259 # Otherwise a system limit (for SysV at least) may be exceeded. 260 .NOEXPORT: -
c/src/lib/libbsp/unix/posix/tools/Makefile.in
rc69856c3 r9b8baa1 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 # This Makefile.in is free software; the Free Software Foundation 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. 12 1 13 # 2 14 # $Id$ 3 15 # 4 16 5 @SET_MAKE@ 17 18 # $Id$ 19 20 # NOTE: This is a temporary work-around to keep 21 # "make debug" and "make debug_install" working. 22 # Once automake is fully integrated these make targets 23 # and this file will probably be removed 24 25 26 SHELL = @SHELL@ 27 6 28 srcdir = @srcdir@ 7 29 top_srcdir = @top_srcdir@ 8 top_builddir = ../../../../../../.. 9 subdir = c/src/lib/libbsp/unix/posix/tools 30 VPATH = @srcdir@ 31 prefix = @prefix@ 32 exec_prefix = @exec_prefix@ 33 34 bindir = @bindir@ 35 sbindir = @sbindir@ 36 libexecdir = @libexecdir@ 37 datadir = @datadir@ 38 sysconfdir = @sysconfdir@ 39 sharedstatedir = @sharedstatedir@ 40 localstatedir = @localstatedir@ 41 libdir = @libdir@ 42 infodir = @infodir@ 43 mandir = @mandir@ 44 includedir = @includedir@ 45 oldincludedir = /usr/include 46 47 DESTDIR = 48 49 pkgdatadir = $(datadir)/@PACKAGE@ 50 pkglibdir = $(libdir)/@PACKAGE@ 51 pkgincludedir = $(includedir)/@PACKAGE@ 52 53 top_builddir = . 54 AUTOCONF = @AUTOCONF@ 55 AUTOMAKE = @AUTOMAKE@ 56 AUTOHEADER = @AUTOHEADER@ 10 57 11 58 INSTALL = @INSTALL@ 12 13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@ 59 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) 60 INSTALL_DATA = @INSTALL_DATA@ 61 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 62 transform = @program_transform_name@ 63 64 NORMAL_INSTALL = : 65 PRE_INSTALL = : 66 POST_INSTALL = : 67 NORMAL_UNINSTALL = : 68 PRE_UNINSTALL = : 69 POST_UNINSTALL = : 70 build_alias = @build_alias@ 71 build_triplet = @build@ 72 host_alias = @host_alias@ 73 host_triplet = @host@ 74 target_alias = @target_alias@ 75 target_triplet = @target@ 76 KSH = @KSH@ 77 MAKEINFO = @MAKEINFO@ 78 PACKAGE = @PACKAGE@ 79 PERL = @PERL@ 14 80 PROJECT_ROOT = @PROJECT_ROOT@ 15 16 VPATH = @srcdir@ 17 18 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg 19 include $(RTEMS_ROOT)/make/leaf.cfg 20 21 DESTDIR=$(PROJECT_RELEASE)/tests 22 23 # We use the generic difftest 24 BUILD_PGMS=runtest looptest 25 ifneq (@PERL@,) 26 BUILD_PGMS+=semdump shmdump 27 endif 28 29 PGMS = $(BUILD_PGMS) 30 31 CLEAN_ADDITIONS += $(BUILD_PGMS) 32 33 INSTALLED_PGMS=$(PGMS:%=$(DESTDIR)/%) 34 35 all: $(DESTDIR) $(PGMS) install 36 37 $(DESTDIR): 38 @top_srcdir@/mkinstalldirs $@ 39 40 $(INSTALLED_PGMS): $(PGMS) 41 $(INSTALL) $(INSTBINFLAGS) $^ $(DESTDIR) 42 43 install: $(DESTDIR) $(INSTALLED_PGMS) 44 45 %: $(srcdir)/%.in $(top_builddir)/config.status 81 RTEMS_TOPdir = @RTEMS_TOPdir@ 82 VERSION = @VERSION@ 83 84 AUTOMAKE_OPTIONS = foreign 85 ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal 86 87 @HAVE_PERL_TRUE@perl_scripts = shmdump semdump 88 89 noinst_SCRIPTS = runtest looptest $(perl_scripts) 90 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 91 mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../../mkinstalldirs 92 CONFIG_CLEAN_FILES = runtest shmdump looptest semdump 93 SCRIPTS = $(noinst_SCRIPTS) 94 95 DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in \ 96 looptest.in runtest.in semdump.in shmdump.in 97 98 99 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) 100 101 TAR = tar 102 GZIP_ENV = --best 103 all: all-redirect 104 .SUFFIXES: 105 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../../../../../automake/local.am 106 cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile 107 108 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) 46 109 cd $(top_builddir) \ 47 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 110 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 111 112 $(ACLOCAL_M4): configure.in 113 cd $(srcdir) && $(ACLOCAL) 114 115 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 116 $(SHELL) ./config.status --recheck 117 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) 118 cd $(srcdir) && $(AUTOCONF) 119 runtest: $(top_builddir)/config.status runtest.in 120 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 121 shmdump: $(top_builddir)/config.status shmdump.in 122 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 123 looptest: $(top_builddir)/config.status looptest.in 124 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 125 semdump: $(top_builddir)/config.status semdump.in 126 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 127 tags: TAGS 128 TAGS: 129 130 131 distdir = $(PACKAGE)-$(VERSION) 132 top_distdir = $(distdir) 133 134 # This target untars the dist file and tries a VPATH configuration. Then 135 # it guarantees that the distribution is self-contained by making another 136 # tarfile. 137 distcheck: dist 138 -rm -rf $(distdir) 139 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz 140 mkdir $(distdir)/=build 141 mkdir $(distdir)/=inst 142 dc_install_base=`cd $(distdir)/=inst && pwd`; \ 143 cd $(distdir)/=build \ 144 && ../configure --srcdir=.. --prefix=$$dc_install_base \ 145 && $(MAKE) $(AM_MAKEFLAGS) \ 146 && $(MAKE) $(AM_MAKEFLAGS) dvi \ 147 && $(MAKE) $(AM_MAKEFLAGS) check \ 148 && $(MAKE) $(AM_MAKEFLAGS) install \ 149 && $(MAKE) $(AM_MAKEFLAGS) installcheck \ 150 && $(MAKE) $(AM_MAKEFLAGS) dist 151 -rm -rf $(distdir) 152 @banner="$(distdir).tar.gz is ready for distribution"; \ 153 dashes=`echo "$$banner" | sed s/./=/g`; \ 154 echo "$$dashes"; \ 155 echo "$$banner"; \ 156 echo "$$dashes" 157 dist: distdir 158 -chmod -R a+r $(distdir) 159 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 160 -rm -rf $(distdir) 161 dist-all: distdir 162 -chmod -R a+r $(distdir) 163 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 164 -rm -rf $(distdir) 165 distdir: $(DISTFILES) 166 -rm -rf $(distdir) 167 mkdir $(distdir) 168 -chmod 777 $(distdir) 169 here=`cd $(top_builddir) && pwd`; \ 170 top_distdir=`cd $(distdir) && pwd`; \ 171 distdir=`cd $(distdir) && pwd`; \ 172 cd $(top_srcdir) \ 173 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile 174 @for file in $(DISTFILES); do \ 175 d=$(srcdir); \ 176 if test -d $$d/$$file; then \ 177 cp -pr $$/$$file $(distdir)/$$file; \ 178 else \ 179 test -f $(distdir)/$$file \ 180 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ 181 || cp -p $$d/$$file $(distdir)/$$file || :; \ 182 fi; \ 183 done 184 info-am: 185 info: info-am 186 dvi-am: 187 dvi: dvi-am 188 check-am: all-am 189 check: check-am 190 installcheck-am: 191 installcheck: installcheck-am 192 install-exec-am: install-exec-local 193 install-exec: install-exec-am 194 195 install-data-am: 196 install-data: install-data-am 197 198 install-am: all-am 199 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 200 install: install-am 201 uninstall-am: 202 uninstall: uninstall-am 203 all-am: Makefile $(SCRIPTS) 204 all-redirect: all-am 205 install-strip: 206 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install 207 installdirs: 208 209 210 mostlyclean-generic: 211 212 clean-generic: 213 214 distclean-generic: 215 -rm -f Makefile $(CONFIG_CLEAN_FILES) 216 -rm -f config.cache config.log stamp-h stamp-h[0-9]* 217 218 maintainer-clean-generic: 219 mostlyclean-am: mostlyclean-generic 220 221 mostlyclean: mostlyclean-am 222 223 clean-am: clean-generic mostlyclean-am 224 225 clean: clean-am 226 227 distclean-am: distclean-generic clean-am 228 229 distclean: distclean-am 230 -rm -f config.status 231 232 maintainer-clean-am: maintainer-clean-generic distclean-am 233 @echo "This command is intended for maintainers to use;" 234 @echo "it deletes files that may require special tools to rebuild." 235 236 maintainer-clean: maintainer-clean-am 237 -rm -f config.status 238 239 .PHONY: tags distdir info-am info dvi-am dvi check check-am \ 240 installcheck-am installcheck install-exec-local install-exec-am \ 241 install-exec install-data-am install-data install-am install \ 242 uninstall-am uninstall all-redirect all-am all installdirs \ 243 mostlyclean-generic distclean-generic clean-generic \ 244 maintainer-clean-generic clean mostlyclean distclean maintainer-clean 245 246 247 # HACK: install to build-tree 248 install-exec-local: $(SCRIPTS) 249 $(mkinstalldirs) $(PROJECT_ROOT)/${RTEMS_BSP}/tests 250 for i in $(SCRIPTS); do \ 251 $(INSTALL_SCRIPT) $$i $(PROJECT_ROOT)/${RTEMS_BSP}/tests ; \ 252 done 253 254 debug-am: 255 256 debug: debug-am 257 258 debug_install-am: 259 260 debug_install: debug_install-am 261 262 profile-am: 263 264 profile: profile-am 265 266 profile_install-am: 267 268 profile_install: profile_install-am 269 270 .PHONY: debug debug_install profile profile_install 271 272 # Tell versions [3.59,3.63) of GNU make to not export all variables. 273 # Otherwise a system limit (for SysV at least) may be exceeded. 274 .NOEXPORT: -
c/src/tests/tools/generic/Makefile.in
rc69856c3 r9b8baa1 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 # This Makefile.in is free software; the Free Software Foundation 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. 12 1 13 # 2 14 # $Id$ 3 15 # 4 16 5 @SET_MAKE@ 17 18 # $Id$ 19 20 # NOTE: This is a temporary work-around to keep 21 # "make debug" and "make debug_install" working. 22 # Once automake is fully integrated these make targets 23 # and this file will probably be removed 24 25 26 SHELL = @SHELL@ 27 6 28 srcdir = @srcdir@ 7 29 top_srcdir = @top_srcdir@ 8 top_builddir = ../../../../.. 9 subdir = c/src/tests/tools/generic 30 VPATH = @srcdir@ 31 prefix = @prefix@ 32 exec_prefix = @exec_prefix@ 33 34 bindir = @bindir@ 35 sbindir = @sbindir@ 36 libexecdir = @libexecdir@ 37 datadir = @datadir@ 38 sysconfdir = @sysconfdir@ 39 sharedstatedir = @sharedstatedir@ 40 localstatedir = @localstatedir@ 41 libdir = @libdir@ 42 infodir = @infodir@ 43 mandir = @mandir@ 44 includedir = @includedir@ 45 oldincludedir = /usr/include 46 47 DESTDIR = 48 49 pkgdatadir = $(datadir)/@PACKAGE@ 50 pkglibdir = $(libdir)/@PACKAGE@ 51 pkgincludedir = $(includedir)/@PACKAGE@ 52 53 top_builddir = . 54 AUTOCONF = @AUTOCONF@ 55 AUTOMAKE = @AUTOMAKE@ 56 AUTOHEADER = @AUTOHEADER@ 10 57 11 58 INSTALL = @INSTALL@ 12 13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@ 59 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) 60 INSTALL_DATA = @INSTALL_DATA@ 61 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 62 transform = @program_transform_name@ 63 64 NORMAL_INSTALL = : 65 PRE_INSTALL = : 66 POST_INSTALL = : 67 NORMAL_UNINSTALL = : 68 PRE_UNINSTALL = : 69 POST_UNINSTALL = : 70 build_alias = @build_alias@ 71 build_triplet = @build@ 72 host_alias = @host_alias@ 73 host_triplet = @host@ 74 target_alias = @target_alias@ 75 target_triplet = @target@ 76 KSH = @KSH@ 77 MAKEINFO = @MAKEINFO@ 78 PACKAGE = @PACKAGE@ 14 79 PROJECT_ROOT = @PROJECT_ROOT@ 15 16 VPATH = @srcdir@ 17 18 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg 19 include $(RTEMS_ROOT)/make/leaf.cfg 20 21 DESTDIR=$(PROJECT_RELEASE)/tests 22 23 PGMS=difftest sorttimes 24 25 INSTALLED=$(PGMS:%=$(DESTDIR)/%) 26 27 all: $(DESTDIR) $(PGMS) install 28 29 install: $(INSTALLED) 30 31 # Install the program 32 $(DESTDIR)/%: % 33 $(make-script) 34 35 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 80 RTEMS_TOPdir = @RTEMS_TOPdir@ 81 VERSION = @VERSION@ 82 83 AUTOMAKE_OPTIONS = foreign 84 ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal 85 86 noinst_SCRIPTS = difftest sorttimes 87 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 88 mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../mkinstalldirs 89 CONFIG_CLEAN_FILES = difftest sorttimes 90 SCRIPTS = $(noinst_SCRIPTS) 91 92 DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in \ 93 difftest.in sorttimes.in 94 95 96 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) 97 98 TAR = tar 99 GZIP_ENV = --best 100 all: all-redirect 101 .SUFFIXES: 102 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../../../automake/local.am 103 cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile 104 105 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) 36 106 cd $(top_builddir) \ 37 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 107 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 108 109 $(ACLOCAL_M4): configure.in 110 cd $(srcdir) && $(ACLOCAL) 111 112 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 113 $(SHELL) ./config.status --recheck 114 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) 115 cd $(srcdir) && $(AUTOCONF) 116 difftest: $(top_builddir)/config.status difftest.in 117 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 118 sorttimes: $(top_builddir)/config.status sorttimes.in 119 cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 120 tags: TAGS 121 TAGS: 122 123 124 distdir = $(PACKAGE)-$(VERSION) 125 top_distdir = $(distdir) 126 127 # This target untars the dist file and tries a VPATH configuration. Then 128 # it guarantees that the distribution is self-contained by making another 129 # tarfile. 130 distcheck: dist 131 -rm -rf $(distdir) 132 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz 133 mkdir $(distdir)/=build 134 mkdir $(distdir)/=inst 135 dc_install_base=`cd $(distdir)/=inst && pwd`; \ 136 cd $(distdir)/=build \ 137 && ../configure --srcdir=.. --prefix=$$dc_install_base \ 138 && $(MAKE) $(AM_MAKEFLAGS) \ 139 && $(MAKE) $(AM_MAKEFLAGS) dvi \ 140 && $(MAKE) $(AM_MAKEFLAGS) check \ 141 && $(MAKE) $(AM_MAKEFLAGS) install \ 142 && $(MAKE) $(AM_MAKEFLAGS) installcheck \ 143 && $(MAKE) $(AM_MAKEFLAGS) dist 144 -rm -rf $(distdir) 145 @banner="$(distdir).tar.gz is ready for distribution"; \ 146 dashes=`echo "$$banner" | sed s/./=/g`; \ 147 echo "$$dashes"; \ 148 echo "$$banner"; \ 149 echo "$$dashes" 150 dist: distdir 151 -chmod -R a+r $(distdir) 152 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 153 -rm -rf $(distdir) 154 dist-all: distdir 155 -chmod -R a+r $(distdir) 156 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 157 -rm -rf $(distdir) 158 distdir: $(DISTFILES) 159 -rm -rf $(distdir) 160 mkdir $(distdir) 161 -chmod 777 $(distdir) 162 here=`cd $(top_builddir) && pwd`; \ 163 top_distdir=`cd $(distdir) && pwd`; \ 164 distdir=`cd $(distdir) && pwd`; \ 165 cd $(top_srcdir) \ 166 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile 167 @for file in $(DISTFILES); do \ 168 d=$(srcdir); \ 169 if test -d $$d/$$file; then \ 170 cp -pr $$/$$file $(distdir)/$$file; \ 171 else \ 172 test -f $(distdir)/$$file \ 173 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ 174 || cp -p $$d/$$file $(distdir)/$$file || :; \ 175 fi; \ 176 done 177 info-am: 178 info: info-am 179 dvi-am: 180 dvi: dvi-am 181 check-am: all-am 182 check: check-am 183 installcheck-am: 184 installcheck: installcheck-am 185 install-exec-am: install-exec-local 186 install-exec: install-exec-am 187 188 install-data-am: 189 install-data: install-data-am 190 191 install-am: all-am 192 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 193 install: install-am 194 uninstall-am: 195 uninstall: uninstall-am 196 all-am: Makefile $(SCRIPTS) 197 all-redirect: all-am 198 install-strip: 199 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install 200 installdirs: 201 202 203 mostlyclean-generic: 204 205 clean-generic: 206 207 distclean-generic: 208 -rm -f Makefile $(CONFIG_CLEAN_FILES) 209 -rm -f config.cache config.log stamp-h stamp-h[0-9]* 210 211 maintainer-clean-generic: 212 mostlyclean-am: mostlyclean-generic 213 214 mostlyclean: mostlyclean-am 215 216 clean-am: clean-generic mostlyclean-am 217 218 clean: clean-am 219 220 distclean-am: distclean-generic clean-am 221 222 distclean: distclean-am 223 -rm -f config.status 224 225 maintainer-clean-am: maintainer-clean-generic distclean-am 226 @echo "This command is intended for maintainers to use;" 227 @echo "it deletes files that may require special tools to rebuild." 228 229 maintainer-clean: maintainer-clean-am 230 -rm -f config.status 231 232 .PHONY: tags distdir info-am info dvi-am dvi check check-am \ 233 installcheck-am installcheck install-exec-local install-exec-am \ 234 install-exec install-data-am install-data install-am install \ 235 uninstall-am uninstall all-redirect all-am all installdirs \ 236 mostlyclean-generic distclean-generic clean-generic \ 237 maintainer-clean-generic clean mostlyclean distclean maintainer-clean 238 239 240 # HACK: install to build-tree 241 install-exec-local: $(SCRIPTS) 242 $(mkinstalldirs) $(PROJECT_ROOT)/${RTEMS_BSP}/tests 243 $(INSTALL_SCRIPT) difftest $(PROJECT_ROOT)/${RTEMS_BSP}/tests 244 $(INSTALL_SCRIPT) sorttimes $(PROJECT_ROOT)/${RTEMS_BSP}/tests 245 246 debug-am: 247 248 debug: debug-am 249 250 debug_install-am: 251 252 debug_install: debug_install-am 253 254 profile-am: 255 256 profile: profile-am 257 258 profile_install-am: 259 260 profile_install: profile_install-am 261 262 .PHONY: debug debug_install profile profile_install 263 264 # Tell versions [3.59,3.63) of GNU make to not export all variables. 265 # Otherwise a system limit (for SysV at least) may be exceeded. 266 .NOEXPORT: -
c/src/tests/tools/generic/sorttimes.in
rc69856c3 r9b8baa1 1 #! KSHELL-p1 #!@KSH@ -p 2 2 # 3 3 # This script takes the output from the Timing Test Suite, reorders -
configure
rc69856c3 r9b8baa1 587 587 588 588 589 RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir; 589 echo $ac_n "checking for RTEMS Version""... $ac_c" 1>&6 590 echo "configure:591: checking for RTEMS Version" >&5 591 if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then 592 RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \ 593 sed -e 's%RTEMS[ ]*Version[ ]*\(.*\)[ ]*%\1%g'` 594 else 595 { echo "configure: error: Unable to find ${RTEMS_TOPdir}/VERSION" 1>&2; exit 1; } 596 fi 597 if test -z "$RTEMS_VERSION"; then 598 { echo "configure: error: Unable to determine version" 1>&2; exit 1; } 599 fi 600 echo "$ac_t""$RTEMS_VERSION" 1>&6 590 601 591 602 592 603 593 604 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 594 echo "configure: 595: checking whether ${MAKE-make} sets \${MAKE}" >&5605 echo "configure:606: checking whether ${MAKE-make} sets \${MAKE}" >&5 595 606 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 596 607 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 665 676 666 677 echo $ac_n "checking host system type""... $ac_c" 1>&6 667 echo "configure:6 68: checking host system type" >&5678 echo "configure:679: checking host system type" >&5 668 679 669 680 host_alias=$host … … 686 697 687 698 echo $ac_n "checking target system type""... $ac_c" 1>&6 688 echo "configure: 689: checking target system type" >&5699 echo "configure:700: checking target system type" >&5 689 700 690 701 target_alias=$target … … 704 715 705 716 echo $ac_n "checking build system type""... $ac_c" 1>&6 706 echo "configure:7 07: checking build system type" >&5717 echo "configure:718: checking build system type" >&5 707 718 708 719 build_alias=$build … … 910 921 set dummy cat; ac_word=$2 911 922 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 912 echo "configure:9 13: checking for $ac_word" >&5923 echo "configure:924: checking for $ac_word" >&5 913 924 if eval "test \"`echo '$''{'ac_cv_path_CAT'+set}'`\" = set"; then 914 925 echo $ac_n "(cached) $ac_c" 1>&6 … … 945 956 set dummy rm; ac_word=$2 946 957 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 947 echo "configure:9 48: checking for $ac_word" >&5958 echo "configure:959: checking for $ac_word" >&5 948 959 if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then 949 960 echo $ac_n "(cached) $ac_c" 1>&6 … … 980 991 set dummy cp; ac_word=$2 981 992 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 982 echo "configure:9 83: checking for $ac_word" >&5993 echo "configure:994: checking for $ac_word" >&5 983 994 if eval "test \"`echo '$''{'ac_cv_path_CP'+set}'`\" = set"; then 984 995 echo $ac_n "(cached) $ac_c" 1>&6 … … 1015 1026 set dummy mv; ac_word=$2 1016 1027 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1017 echo "configure:10 18: checking for $ac_word" >&51028 echo "configure:1029: checking for $ac_word" >&5 1018 1029 if eval "test \"`echo '$''{'ac_cv_path_MV'+set}'`\" = set"; then 1019 1030 echo $ac_n "(cached) $ac_c" 1>&6 … … 1050 1061 set dummy ln; ac_word=$2 1051 1062 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1052 echo "configure:10 53: checking for $ac_word" >&51063 echo "configure:1064: checking for $ac_word" >&5 1053 1064 if eval "test \"`echo '$''{'ac_cv_path_LN'+set}'`\" = set"; then 1054 1065 echo $ac_n "(cached) $ac_c" 1>&6 … … 1083 1094 1084 1095 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1085 echo "configure:10 86: checking whether ln -s works" >&51096 echo "configure:1097: checking whether ln -s works" >&5 1086 1097 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1087 1098 echo $ac_n "(cached) $ac_c" 1>&6 … … 1106 1117 set dummy chmod; ac_word=$2 1107 1118 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1108 echo "configure:11 09: checking for $ac_word" >&51119 echo "configure:1120: checking for $ac_word" >&5 1109 1120 if eval "test \"`echo '$''{'ac_cv_path_CHMOD'+set}'`\" = set"; then 1110 1121 echo $ac_n "(cached) $ac_c" 1>&6 … … 1141 1152 set dummy sort; ac_word=$2 1142 1153 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1143 echo "configure:11 44: checking for $ac_word" >&51154 echo "configure:1155: checking for $ac_word" >&5 1144 1155 if eval "test \"`echo '$''{'ac_cv_path_SORT'+set}'`\" = set"; then 1145 1156 echo $ac_n "(cached) $ac_c" 1>&6 … … 1185 1196 # ./install, which can be erroneously created by make from ./install.sh. 1186 1197 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 1187 echo "configure:11 88: checking for a BSD compatible install" >&51198 echo "configure:1199: checking for a BSD compatible install" >&5 1188 1199 if test -z "$INSTALL"; then 1189 1200 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 1241 1252 set dummy perl; ac_word=$2 1242 1253 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1243 echo "configure:12 44: checking for $ac_word" >&51254 echo "configure:1255: checking for $ac_word" >&5 1244 1255 if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then 1245 1256 echo $ac_n "(cached) $ac_c" 1>&6 … … 1283 1294 set dummy mkdir; ac_word=$2 1284 1295 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1285 echo "configure:12 86: checking for $ac_word" >&51296 echo "configure:1297: checking for $ac_word" >&5 1286 1297 if eval "test \"`echo '$''{'ac_cv_path_MKDIR'+set}'`\" = set"; then 1287 1298 echo $ac_n "(cached) $ac_c" 1>&6 … … 1319 1330 1320 1331 echo $ac_n "checking for working $MKDIR -m 0755""... $ac_c" 1>&6 1321 echo "configure:13 22: checking for working $MKDIR -m 0755" >&51332 echo "configure:1333: checking for working $MKDIR -m 0755" >&5 1322 1333 if eval "test \"`echo '$''{'rtems_cv_prog_MKDIR_P'+set}'`\" = set"; then 1323 1334 echo $ac_n "(cached) $ac_c" 1>&6 … … 1336 1347 1337 1348 echo $ac_n "checking for working $MKDIR -p""... $ac_c" 1>&6 1338 echo "configure:13 39: checking for working $MKDIR -p" >&51349 echo "configure:1350: checking for working $MKDIR -p" >&5 1339 1350 if eval "test \"`echo '$''{'rtems_cv_prog_mkdir_p'+set}'`\" = set"; then 1340 1351 echo $ac_n "(cached) $ac_c" 1>&6 … … 1356 1367 set dummy touch; ac_word=$2 1357 1368 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1358 echo "configure:13 59: checking for $ac_word" >&51369 echo "configure:1370: checking for $ac_word" >&5 1359 1370 if eval "test \"`echo '$''{'ac_cv_path_TOUCH'+set}'`\" = set"; then 1360 1371 echo $ac_n "(cached) $ac_c" 1>&6 … … 1391 1402 set dummy cmp; ac_word=$2 1392 1403 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1393 echo "configure:1 394: checking for $ac_word" >&51404 echo "configure:1405: checking for $ac_word" >&5 1394 1405 if eval "test \"`echo '$''{'ac_cv_path_CMP'+set}'`\" = set"; then 1395 1406 echo $ac_n "(cached) $ac_c" 1>&6 … … 1427 1438 set dummy sed; ac_word=$2 1428 1439 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1429 echo "configure:14 30: checking for $ac_word" >&51440 echo "configure:1441: checking for $ac_word" >&5 1430 1441 if eval "test \"`echo '$''{'ac_cv_path_SED'+set}'`\" = set"; then 1431 1442 echo $ac_n "(cached) $ac_c" 1>&6 … … 1464 1475 set dummy $ac_prog; ac_word=$2 1465 1476 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1466 echo "configure:14 67: checking for $ac_word" >&51477 echo "configure:1478: checking for $ac_word" >&5 1467 1478 if eval "test \"`echo '$''{'ac_cv_path_M4'+set}'`\" = set"; then 1468 1479 echo $ac_n "(cached) $ac_c" 1>&6 … … 1506 1517 set dummy $ac_prog; ac_word=$2 1507 1518 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1508 echo "configure:15 09: checking for $ac_word" >&51519 echo "configure:1520: checking for $ac_word" >&5 1509 1520 if eval "test \"`echo '$''{'ac_cv_path_KSH'+set}'`\" = set"; then 1510 1521 echo $ac_n "(cached) $ac_c" 1>&6 … … 1556 1567 1557 1568 echo $ac_n "checking rtems target cpu""... $ac_c" 1>&6 1558 echo "configure:15 59: checking rtems target cpu" >&51569 echo "configure:1570: checking rtems target cpu" >&5 1559 1570 case "${target}" in 1560 1571 # hpux unix port should go here … … 1587 1598 # Is this a supported CPU? 1588 1599 echo $ac_n "checking if cpu $target_cpu is supported""... $ac_c" 1>&6 1589 echo "configure:1 590: checking if cpu $target_cpu is supported" >&51600 echo "configure:1601: checking if cpu $target_cpu is supported" >&5 1590 1601 if test -d "$srcdir/$RTEMS_TOPdir/c/src/exec/score/cpu/$target_cpu"; then 1591 1602 echo "$ac_t""yes" 1>&6 … … 1649 1660 set dummy $ac_prog; ac_word=$2 1650 1661 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1651 echo "configure:16 52: checking for $ac_word" >&51662 echo "configure:1663: checking for $ac_word" >&5 1652 1663 if eval "test \"`echo '$''{'ac_cv_path_CC_FOR_TARGET'+set}'`\" = set"; then 1653 1664 echo $ac_n "(cached) $ac_c" 1>&6 … … 1693 1704 1694 1705 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1695 echo "configure:1 696: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&51706 echo "configure:1707: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 1696 1707 1697 1708 ac_ext=c … … 1704 1715 cat > conftest.$ac_ext << EOF 1705 1716 1706 #line 17 07"configure"1717 #line 1718 "configure" 1707 1718 #include "confdefs.h" 1708 1719 1709 1720 main(){return(0);} 1710 1721 EOF 1711 if { (eval echo configure:17 12: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1722 if { (eval echo configure:1723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1712 1723 ac_cv_prog_cc_works=yes 1713 1724 # If we can't run a trivial program, we are probably using a cross compiler. … … 1735 1746 fi 1736 1747 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1737 echo "configure:17 38: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&51748 echo "configure:1749: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 1738 1749 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1739 1750 cross_compiling=$ac_cv_prog_cc_cross 1740 1751 1741 1752 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1742 echo "configure:17 43: checking whether we are using GNU C" >&51753 echo "configure:1754: checking whether we are using GNU C" >&5 1743 1754 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1744 1755 echo $ac_n "(cached) $ac_c" 1>&6 … … 1749 1760 #endif 1750 1761 EOF 1751 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:17 52: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1762 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1752 1763 ac_cv_prog_gcc=yes 1753 1764 else … … 1764 1775 CFLAGS= 1765 1776 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1766 echo "configure:17 67: checking whether ${CC-cc} accepts -g" >&51777 echo "configure:1778: checking whether ${CC-cc} accepts -g" >&5 1767 1778 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1768 1779 echo $ac_n "(cached) $ac_c" 1>&6 … … 1806 1817 1807 1818 echo $ac_n "checking whether $CC_FOR_TARGET accepts -specs""... $ac_c" 1>&6 1808 echo "configure:18 09: checking whether $CC_FOR_TARGET accepts -specs" >&51819 echo "configure:1820: checking whether $CC_FOR_TARGET accepts -specs" >&5 1809 1820 if eval "test \"`echo '$''{'rtems_cv_gcc_specs'+set}'`\" = set"; then 1810 1821 echo $ac_n "(cached) $ac_c" 1>&6 … … 1827 1838 1828 1839 echo $ac_n "checking whether $CC_FOR_TARGET accepts --pipe""... $ac_c" 1>&6 1829 echo "configure:18 30: checking whether $CC_FOR_TARGET accepts --pipe" >&51840 echo "configure:1841: checking whether $CC_FOR_TARGET accepts --pipe" >&5 1830 1841 if eval "test \"`echo '$''{'rtems_cv_gcc_pipe'+set}'`\" = set"; then 1831 1842 echo $ac_n "(cached) $ac_c" 1>&6 … … 1868 1879 set dummy $ac_prog; ac_word=$2 1869 1880 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1870 echo "configure:18 71: checking for $ac_word" >&51881 echo "configure:1882: checking for $ac_word" >&5 1871 1882 if eval "test \"`echo '$''{'ac_cv_path_CXX_FOR_TARGET'+set}'`\" = set"; then 1872 1883 echo $ac_n "(cached) $ac_c" 1>&6 … … 1912 1923 1913 1924 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1914 echo "configure:19 15: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&51925 echo "configure:1926: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 1915 1926 1916 1927 ac_ext=C … … 1923 1934 cat > conftest.$ac_ext << EOF 1924 1935 1925 #line 19 26"configure"1936 #line 1937 "configure" 1926 1937 #include "confdefs.h" 1927 1938 1928 1939 int main(){return(0);} 1929 1940 EOF 1930 if { (eval echo configure:19 31: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1941 if { (eval echo configure:1942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1931 1942 ac_cv_prog_cxx_works=yes 1932 1943 # If we can't run a trivial program, we are probably using a cross compiler. … … 1954 1965 fi 1955 1966 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1956 echo "configure:19 57: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&51967 echo "configure:1968: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 1957 1968 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 1958 1969 cross_compiling=$ac_cv_prog_cxx_cross 1959 1970 1960 1971 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 1961 echo "configure:19 62: checking whether we are using GNU C++" >&51972 echo "configure:1973: checking whether we are using GNU C++" >&5 1962 1973 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then 1963 1974 echo $ac_n "(cached) $ac_c" 1>&6 … … 1968 1979 #endif 1969 1980 EOF 1970 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:19 71: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1981 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1982: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1971 1982 ac_cv_prog_gxx=yes 1972 1983 else … … 1983 1994 CXXFLAGS= 1984 1995 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 1985 echo "configure:19 86: checking whether ${CXX-g++} accepts -g" >&51996 echo "configure:1997: checking whether ${CXX-g++} accepts -g" >&5 1986 1997 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then 1987 1998 echo $ac_n "(cached) $ac_c" 1>&6 … … 2037 2048 2038 2049 echo $ac_n "checking target's ar""... $ac_c" 1>&6 2039 echo "configure:20 40: checking target's ar" >&52050 echo "configure:2051: checking target's ar" >&5 2040 2051 if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then 2041 2052 echo $ac_n "(cached) $ac_c" 1>&6 … … 2070 2081 # intends 2071 2082 echo $ac_n "checking whether environment variable AR_FOR_TARGET is an absolute path""... $ac_c" 1>&6 2072 echo "configure:20 73: checking whether environment variable AR_FOR_TARGET is an absolute path" >&52083 echo "configure:2084: checking whether environment variable AR_FOR_TARGET is an absolute path" >&5 2073 2084 case "$AR_FOR_TARGET" in 2074 2085 /*) # valid … … 2087 2098 set dummy "$program_prefix"ar; ac_word=$2 2088 2099 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2089 echo "configure:2 090: checking for $ac_word" >&52100 echo "configure:2101: checking for $ac_word" >&5 2090 2101 if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then 2091 2102 echo $ac_n "(cached) $ac_c" 1>&6 … … 2124 2135 2125 2136 echo $ac_n "checking target's as""... $ac_c" 1>&6 2126 echo "configure:21 27: checking target's as" >&52137 echo "configure:2138: checking target's as" >&5 2127 2138 if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then 2128 2139 echo $ac_n "(cached) $ac_c" 1>&6 … … 2157 2168 # intends 2158 2169 echo $ac_n "checking whether environment variable AS_FOR_TARGET is an absolute path""... $ac_c" 1>&6 2159 echo "configure:21 60: checking whether environment variable AS_FOR_TARGET is an absolute path" >&52170 echo "configure:2171: checking whether environment variable AS_FOR_TARGET is an absolute path" >&5 2160 2171 case "$AS_FOR_TARGET" in 2161 2172 /*) # valid … … 2174 2185 set dummy "$program_prefix"as; ac_word=$2 2175 2186 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2176 echo "configure:21 77: checking for $ac_word" >&52187 echo "configure:2188: checking for $ac_word" >&5 2177 2188 if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then 2178 2189 echo $ac_n "(cached) $ac_c" 1>&6 … … 2211 2222 2212 2223 echo $ac_n "checking target's ld""... $ac_c" 1>&6 2213 echo "configure:22 14: checking target's ld" >&52224 echo "configure:2225: checking target's ld" >&5 2214 2225 if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then 2215 2226 echo $ac_n "(cached) $ac_c" 1>&6 … … 2244 2255 # intends 2245 2256 echo $ac_n "checking whether environment variable LD_FOR_TARGET is an absolute path""... $ac_c" 1>&6 2246 echo "configure:22 47: checking whether environment variable LD_FOR_TARGET is an absolute path" >&52257 echo "configure:2258: checking whether environment variable LD_FOR_TARGET is an absolute path" >&5 2247 2258 case "$LD_FOR_TARGET" in 2248 2259 /*) # valid … … 2261 2272 set dummy "$program_prefix"ld; ac_word=$2 2262 2273 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2263 echo "configure:22 64: checking for $ac_word" >&52274 echo "configure:2275: checking for $ac_word" >&5 2264 2275 if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then 2265 2276 echo $ac_n "(cached) $ac_c" 1>&6 … … 2298 2309 2299 2310 echo $ac_n "checking target's nm""... $ac_c" 1>&6 2300 echo "configure:23 01: checking target's nm" >&52311 echo "configure:2312: checking target's nm" >&5 2301 2312 if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then 2302 2313 echo $ac_n "(cached) $ac_c" 1>&6 … … 2331 2342 # intends 2332 2343 echo $ac_n "checking whether environment variable NM_FOR_TARGET is an absolute path""... $ac_c" 1>&6 2333 echo "configure:23 34: checking whether environment variable NM_FOR_TARGET is an absolute path" >&52344 echo "configure:2345: checking whether environment variable NM_FOR_TARGET is an absolute path" >&5 2334 2345 case "$NM_FOR_TARGET" in 2335 2346 /*) # valid … … 2348 2359 set dummy "$program_prefix"nm; ac_word=$2 2349 2360 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2350 echo "configure:23 51: checking for $ac_word" >&52361 echo "configure:2362: checking for $ac_word" >&5 2351 2362 if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then 2352 2363 echo $ac_n "(cached) $ac_c" 1>&6 … … 2386 2397 2387 2398 echo $ac_n "checking target's ranlib""... $ac_c" 1>&6 2388 echo "configure:2 389: checking target's ranlib" >&52399 echo "configure:2400: checking target's ranlib" >&5 2389 2400 if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then 2390 2401 echo $ac_n "(cached) $ac_c" 1>&6 … … 2419 2430 # intends 2420 2431 echo $ac_n "checking whether environment variable RANLIB_FOR_TARGET is an absolute path""... $ac_c" 1>&6 2421 echo "configure:24 22: checking whether environment variable RANLIB_FOR_TARGET is an absolute path" >&52432 echo "configure:2433: checking whether environment variable RANLIB_FOR_TARGET is an absolute path" >&5 2422 2433 case "$RANLIB_FOR_TARGET" in 2423 2434 /*) # valid … … 2436 2447 set dummy "$program_prefix"ranlib; ac_word=$2 2437 2448 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2438 echo "configure:24 39: checking for $ac_word" >&52449 echo "configure:2450: checking for $ac_word" >&5 2439 2450 if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then 2440 2451 echo $ac_n "(cached) $ac_c" 1>&6 … … 2475 2486 2476 2487 echo $ac_n "checking whether $AR_FOR_TARGET -s works""... $ac_c" 1>&6 2477 echo "configure:24 78: checking whether $AR_FOR_TARGET -s works" >&52488 echo "configure:2489: checking whether $AR_FOR_TARGET -s works" >&5 2478 2489 if eval "test \"`echo '$''{'rtems_cv_AR_FOR_TARGET_S'+set}'`\" = set"; then 2479 2490 echo $ac_n "(cached) $ac_c" 1>&6 … … 2484 2495 { return b; } 2485 2496 EOF 2486 if { ac_try='$CC_FOR_TARGET -o conftest.o -c conftest.$ac_ext'; { (eval echo configure:24 87: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \2487 && { ac_try='$AR_FOR_TARGET -sr conftest.a conftest.o'; { (eval echo configure:24 88: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \2497 if { ac_try='$CC_FOR_TARGET -o conftest.o -c conftest.$ac_ext'; { (eval echo configure:2498: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \ 2498 && { ac_try='$AR_FOR_TARGET -sr conftest.a conftest.o'; { (eval echo configure:2499: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \ 2488 2499 && test -s conftest.a ; \ 2489 2500 then … … 2510 2521 2511 2522 echo $ac_n "checking target's objcopy""... $ac_c" 1>&6 2512 echo "configure:25 13: checking target's objcopy" >&52523 echo "configure:2524: checking target's objcopy" >&5 2513 2524 if eval "test \"`echo '$''{'ac_cv_path_OBJCOPY_FOR_TARGET'+set}'`\" = set"; then 2514 2525 echo $ac_n "(cached) $ac_c" 1>&6 … … 2543 2554 # intends 2544 2555 echo $ac_n "checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path""... $ac_c" 1>&6 2545 echo "configure:25 46: checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path" >&52556 echo "configure:2557: checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path" >&5 2546 2557 case "$OBJCOPY_FOR_TARGET" in 2547 2558 /*) # valid … … 2560 2571 set dummy "$program_prefix"objcopy; ac_word=$2 2561 2572 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2562 echo "configure:25 63: checking for $ac_word" >&52573 echo "configure:2574: checking for $ac_word" >&5 2563 2574 if eval "test \"`echo '$''{'ac_cv_path_OBJCOPY_FOR_TARGET'+set}'`\" = set"; then 2564 2575 echo $ac_n "(cached) $ac_c" 1>&6 … … 2597 2608 2598 2609 echo $ac_n "checking target's size""... $ac_c" 1>&6 2599 echo "configure:26 00: checking target's size" >&52610 echo "configure:2611: checking target's size" >&5 2600 2611 if eval "test \"`echo '$''{'ac_cv_path_SIZE_FOR_TARGET'+set}'`\" = set"; then 2601 2612 echo $ac_n "(cached) $ac_c" 1>&6 … … 2630 2641 # intends 2631 2642 echo $ac_n "checking whether environment variable SIZE_FOR_TARGET is an absolute path""... $ac_c" 1>&6 2632 echo "configure:26 33: checking whether environment variable SIZE_FOR_TARGET is an absolute path" >&52643 echo "configure:2644: checking whether environment variable SIZE_FOR_TARGET is an absolute path" >&5 2633 2644 case "$SIZE_FOR_TARGET" in 2634 2645 /*) # valid … … 2647 2658 set dummy "$program_prefix"size; ac_word=$2 2648 2659 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2649 echo "configure:26 50: checking for $ac_word" >&52660 echo "configure:2661: checking for $ac_word" >&5 2650 2661 if eval "test \"`echo '$''{'ac_cv_path_SIZE_FOR_TARGET'+set}'`\" = set"; then 2651 2662 echo $ac_n "(cached) $ac_c" 1>&6 … … 2684 2695 2685 2696 echo $ac_n "checking target's strip""... $ac_c" 1>&6 2686 echo "configure:26 87: checking target's strip" >&52697 echo "configure:2698: checking target's strip" >&5 2687 2698 if eval "test \"`echo '$''{'ac_cv_path_STRIP_FOR_TARGET'+set}'`\" = set"; then 2688 2699 echo $ac_n "(cached) $ac_c" 1>&6 … … 2717 2728 # intends 2718 2729 echo $ac_n "checking whether environment variable STRIP_FOR_TARGET is an absolute path""... $ac_c" 1>&6 2719 echo "configure:27 20: checking whether environment variable STRIP_FOR_TARGET is an absolute path" >&52730 echo "configure:2731: checking whether environment variable STRIP_FOR_TARGET is an absolute path" >&5 2720 2731 case "$STRIP_FOR_TARGET" in 2721 2732 /*) # valid … … 2734 2745 set dummy "$program_prefix"strip; ac_word=$2 2735 2746 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2736 echo "configure:27 37: checking for $ac_word" >&52747 echo "configure:2748: checking for $ac_word" >&5 2737 2748 if eval "test \"`echo '$''{'ac_cv_path_STRIP_FOR_TARGET'+set}'`\" = set"; then 2738 2749 echo $ac_n "(cached) $ac_c" 1>&6 … … 2773 2784 if test "${target_cpu}" = "i386"; then 2774 2785 echo $ac_n "checking for 16 bit mode assembler support""... $ac_c" 1>&6 2775 echo "configure:27 76: checking for 16 bit mode assembler support" >&52786 echo "configure:2787: checking for 16 bit mode assembler support" >&5 2776 2787 if eval "test \"`echo '$''{'rtems_cv_prog_gas_code16'+set}'`\" = set"; then 2777 2788 echo $ac_n "(cached) $ac_c" 1>&6 … … 2783 2794 lgdt 0 2784 2795 EOF 2785 if { ac_try='$AS_FOR_TARGET -o conftest.o conftest.s'; { (eval echo configure:27 86: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then2796 if { ac_try='$AS_FOR_TARGET -o conftest.o conftest.s'; { (eval echo configure:2797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then 2786 2797 rtems_cv_prog_gas_code16=yes 2787 2798 else … … 2798 2809 set dummy gcc; ac_word=$2 2799 2810 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2800 echo "configure:28 01: checking for $ac_word" >&52811 echo "configure:2812: checking for $ac_word" >&5 2801 2812 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2802 2813 echo $ac_n "(cached) $ac_c" 1>&6 … … 2828 2839 set dummy cc; ac_word=$2 2829 2840 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2830 echo "configure:28 31: checking for $ac_word" >&52841 echo "configure:2842: checking for $ac_word" >&5 2831 2842 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2832 2843 echo $ac_n "(cached) $ac_c" 1>&6 … … 2879 2890 set dummy cl; ac_word=$2 2880 2891 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2881 echo "configure:28 82: checking for $ac_word" >&52892 echo "configure:2893: checking for $ac_word" >&5 2882 2893 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 2883 2894 echo $ac_n "(cached) $ac_c" 1>&6 … … 2911 2922 2912 2923 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 2913 echo "configure:29 14: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&52924 echo "configure:2925: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 2914 2925 2915 2926 ac_ext=c … … 2922 2933 cat > conftest.$ac_ext << EOF 2923 2934 2924 #line 29 25"configure"2935 #line 2936 "configure" 2925 2936 #include "confdefs.h" 2926 2937 2927 2938 main(){return(0);} 2928 2939 EOF 2929 if { (eval echo configure:29 30: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2940 if { (eval echo configure:2941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2930 2941 ac_cv_prog_cc_works=yes 2931 2942 # If we can't run a trivial program, we are probably using a cross compiler. … … 2953 2964 fi 2954 2965 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 2955 echo "configure:29 56: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&52966 echo "configure:2967: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 2956 2967 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 2957 2968 cross_compiling=$ac_cv_prog_cc_cross 2958 2969 2959 2970 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 2960 echo "configure:29 61: checking whether we are using GNU C" >&52971 echo "configure:2972: checking whether we are using GNU C" >&5 2961 2972 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 2962 2973 echo $ac_n "(cached) $ac_c" 1>&6 … … 2967 2978 #endif 2968 2979 EOF 2969 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:29 70: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then2980 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 2970 2981 ac_cv_prog_gcc=yes 2971 2982 else … … 2986 2997 CFLAGS= 2987 2998 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 2988 echo "configure: 2989: checking whether ${CC-cc} accepts -g" >&52999 echo "configure:3000: checking whether ${CC-cc} accepts -g" >&5 2989 3000 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 2990 3001 echo $ac_n "(cached) $ac_c" 1>&6 … … 3018 3029 3019 3030 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 3020 echo "configure:30 21: checking for Cygwin environment" >&53031 echo "configure:3032: checking for Cygwin environment" >&5 3021 3032 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 3022 3033 echo $ac_n "(cached) $ac_c" 1>&6 3023 3034 else 3024 3035 cat > conftest.$ac_ext <<EOF 3025 #line 30 26"configure"3036 #line 3037 "configure" 3026 3037 #include "confdefs.h" 3027 3038 … … 3034 3045 ; return 0; } 3035 3046 EOF 3036 if { (eval echo configure:30 37: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3047 if { (eval echo configure:3048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3037 3048 rm -rf conftest* 3038 3049 ac_cv_cygwin=yes … … 3051 3062 test "$ac_cv_cygwin" = yes && CYGWIN=yes 3052 3063 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 3053 echo "configure:30 54: checking for mingw32 environment" >&53064 echo "configure:3065: checking for mingw32 environment" >&5 3054 3065 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 3055 3066 echo $ac_n "(cached) $ac_c" 1>&6 3056 3067 else 3057 3068 cat > conftest.$ac_ext <<EOF 3058 #line 30 59"configure"3069 #line 3070 "configure" 3059 3070 #include "confdefs.h" 3060 3071 … … 3063 3074 ; return 0; } 3064 3075 EOF 3065 if { (eval echo configure:30 66: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3076 if { (eval echo configure:3077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3066 3077 rm -rf conftest* 3067 3078 ac_cv_mingw32=yes … … 3082 3093 3083 3094 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 3084 echo "configure:30 85: checking for executable suffix" >&53095 echo "configure:3096: checking for executable suffix" >&5 3085 3096 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 3086 3097 echo $ac_n "(cached) $ac_c" 1>&6 … … 3092 3103 echo 'int main () { return 0; }' > conftest.$ac_ext 3093 3104 ac_cv_exeext= 3094 if { (eval echo configure:3 095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then3105 if { (eval echo configure:3106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 3095 3106 for file in conftest.*; do 3096 3107 case $file in … … 3131 3142 3132 3143 echo $ac_n "checking whether $RTEMS_HOST supports System V semaphores""... $ac_c" 1>&6 3133 echo "configure:31 34: checking whether $RTEMS_HOST supports System V semaphores" >&53144 echo "configure:3145: checking whether $RTEMS_HOST supports System V semaphores" >&5 3134 3145 if eval "test \"`echo '$''{'rtems_cv_sysv_sem'+set}'`\" = set"; then 3135 3146 echo $ac_n "(cached) $ac_c" 1>&6 … … 3140 3151 else 3141 3152 cat > conftest.$ac_ext <<EOF 3142 #line 31 43"configure"3153 #line 3154 "configure" 3143 3154 #include "confdefs.h" 3144 3155 … … 3166 3177 3167 3178 EOF 3168 if { (eval echo configure:31 69: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3179 if { (eval echo configure:3180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3169 3180 then 3170 3181 rtems_cv_sysv_sem="yes" … … 3189 3200 3190 3201 echo $ac_n "checking whether $RTEMS_HOST supports System V shared memory""... $ac_c" 1>&6 3191 echo "configure:3 192: checking whether $RTEMS_HOST supports System V shared memory" >&53202 echo "configure:3203: checking whether $RTEMS_HOST supports System V shared memory" >&5 3192 3203 if eval "test \"`echo '$''{'rtems_cv_sysv_shm'+set}'`\" = set"; then 3193 3204 echo $ac_n "(cached) $ac_c" 1>&6 … … 3198 3209 else 3199 3210 cat > conftest.$ac_ext <<EOF 3200 #line 32 01"configure"3211 #line 3212 "configure" 3201 3212 #include "confdefs.h" 3202 3213 … … 3214 3225 3215 3226 EOF 3216 if { (eval echo configure:32 17: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3227 if { (eval echo configure:3228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3217 3228 then 3218 3229 rtems_cv_sysv_shm="yes" … … 3237 3248 3238 3249 echo $ac_n "checking whether $RTEMS_HOST supports System V messages""... $ac_c" 1>&6 3239 echo "configure:32 40: checking whether $RTEMS_HOST supports System V messages" >&53250 echo "configure:3251: checking whether $RTEMS_HOST supports System V messages" >&5 3240 3251 if eval "test \"`echo '$''{'rtems_cv_sysv_msg'+set}'`\" = set"; then 3241 3252 echo $ac_n "(cached) $ac_c" 1>&6 … … 3246 3257 else 3247 3258 cat > conftest.$ac_ext <<EOF 3248 #line 32 49"configure"3259 #line 3260 "configure" 3249 3260 #include "confdefs.h" 3250 3261 … … 3262 3273 3263 3274 EOF 3264 if { (eval echo configure:32 65: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3275 if { (eval echo configure:3276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3265 3276 then 3266 3277 rtems_cv_sysv_msg="yes" … … 3284 3295 fi 3285 3296 3297 # Collect config subdirs for exec/score/tools 3298 t="c/src/exec/score/tools" 3299 scoretools_cfgdirs="$t/generic" 3300 if test -d $srcdir/$t/$target_cpu; then 3301 scoretools_cfgdirs="$scoretools_cfgdirs $t/$target_cpu" 3302 fi 3303 3286 3304 # find all the Executive Makefiles 3287 3305 3288 echo $ac_n "checking for Makefile.in in c/src/exec/score/tools/$target_cpu""... $ac_c" 1>&63289 echo "configure:3290: checking for Makefile.in in c/src/exec/score/tools/$target_cpu" >&53290 if test -d $srcdir/c/src/exec/score/tools/$target_cpu; then3291 rtems_av_save_dir=`pwd`;3292 cd $srcdir;3293 rtems_av_tmp=`find c/src/exec/score/tools/$target_cpu -name "Makefile.in" -print | sed "s/Makefile\.in/%/" | sort | sed "s/%/Makefile/"`3294 makefiles="$makefiles $rtems_av_tmp";3295 cd $rtems_av_save_dir;3296 echo "$ac_t""done" 1>&63297 else3298 echo "$ac_t""no" 1>&63299 fi3300 3301 3302 3303 3306 echo $ac_n "checking for Makefile.in in c/src/exec/rtems""... $ac_c" 1>&6 3304 echo "configure:330 5: checking for Makefile.in in c/src/exec/rtems" >&53307 echo "configure:3308: checking for Makefile.in in c/src/exec/rtems" >&5 3305 3308 if test -d $srcdir/c/src/exec/rtems; then 3306 3309 rtems_av_save_dir=`pwd`; … … 3317 3320 3318 3321 echo $ac_n "checking for Makefile.in in c/src/exec/sapi""... $ac_c" 1>&6 3319 echo "configure:332 0: checking for Makefile.in in c/src/exec/sapi" >&53322 echo "configure:3323: checking for Makefile.in in c/src/exec/sapi" >&5 3320 3323 if test -d $srcdir/c/src/exec/sapi; then 3321 3324 rtems_av_save_dir=`pwd`; … … 3332 3335 3333 3336 echo $ac_n "checking for Makefile.in in c/src/exec/score/cpu/$target_cpu""... $ac_c" 1>&6 3334 echo "configure:333 5: checking for Makefile.in in c/src/exec/score/cpu/$target_cpu" >&53337 echo "configure:3338: checking for Makefile.in in c/src/exec/score/cpu/$target_cpu" >&5 3335 3338 if test -d $srcdir/c/src/exec/score/cpu/$target_cpu; then 3336 3339 rtems_av_save_dir=`pwd`; … … 3349 3352 3350 3353 echo $ac_n "checking for Makefile.in in c/src/exec/posix""... $ac_c" 1>&6 3351 echo "configure:335 2: checking for Makefile.in in c/src/exec/posix" >&53354 echo "configure:3355: checking for Makefile.in in c/src/exec/posix" >&5 3352 3355 if test -d $srcdir/c/src/exec/posix; then 3353 3356 rtems_av_save_dir=`pwd`; … … 3371 3374 if test -z "$rtems_bsp"; then 3372 3375 echo $ac_n "checking for bsps""... $ac_c" 1>&6 3373 echo "configure:337 4: checking for bsps" >&53376 echo "configure:3377: checking for bsps" >&5 3374 3377 files=`ls $srcdir/c/src/lib/libbsp/$target_cpu` 3375 3378 for file in $files; do … … 3436 3439 3437 3440 echo $ac_n "checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir""... $ac_c" 1>&6 3438 echo "configure:34 39: checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir" >&53441 echo "configure:3442: checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir" >&5 3439 3442 if test -d $srcdir/c/src/lib/libbsp/$bspcpudir$bspdir; then 3440 3443 rtems_av_save_dir=`pwd`; … … 3451 3454 3452 3455 echo $ac_n "checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared""... $ac_c" 1>&6 3453 echo "configure:345 4: checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared" >&53456 echo "configure:3457: checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared" >&5 3454 3457 if test -d $srcdir/c/src/lib/libbsp/${bspcpudir}shared; then 3455 3458 rtems_av_save_dir=`pwd`; … … 3464 3467 3465 3468 3469 3470 # HACK: sed out bsp-tools from makefiles 3471 t="c/src/lib/libbsp/$bspcpudir$bspdir/tools" 3472 if test -d "$srcdir/$t"; then 3473 bsptools_cfgdirs="$bsptools_cfgdirs $t" 3474 makefiles=`echo "$makefiles" | sed -e "s%$t/Makefile%%g"` 3475 fi 3466 3476 fi 3467 3477 else … … 3474 3484 3475 3485 echo $ac_n "checking for Makefile.in in c/src/lib/libcpu/$target_cpu""... $ac_c" 1>&6 3476 echo "configure:34 77: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&53486 echo "configure:3487: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&5 3477 3487 if test -d $srcdir/c/src/lib/libcpu/$target_cpu; then 3478 3488 rtems_av_save_dir=`pwd`; … … 3491 3501 3492 3502 echo $ac_n "checking for Makefile.in in c/src/lib/start/$target_cpu""... $ac_c" 1>&6 3493 echo "configure:3 494: checking for Makefile.in in c/src/lib/start/$target_cpu" >&53503 echo "configure:3504: checking for Makefile.in in c/src/lib/start/$target_cpu" >&5 3494 3504 if test -d $srcdir/c/src/lib/start/$target_cpu; then 3495 3505 rtems_av_save_dir=`pwd`; … … 3522 3532 # If the TCP/IP stack is enabled, then find all TCP/IP Makefiles 3523 3533 echo $ac_n "checking if networking is enabled? ""... $ac_c" 1>&6 3524 echo "configure:35 25: checking if networking is enabled? " >&53534 echo "configure:3535: checking if networking is enabled? " >&5 3525 3535 echo "$ac_t""$RTEMS_HAS_NETWORKING" 1>&6 3526 3536 if test "$RTEMS_HAS_NETWORKING" = "yes"; then 3527 3537 3528 3538 echo $ac_n "checking for Makefile.in in c/src/lib/libnetworking""... $ac_c" 1>&6 3529 echo "configure:35 30: checking for Makefile.in in c/src/lib/libnetworking" >&53539 echo "configure:3540: checking for Makefile.in in c/src/lib/libnetworking" >&5 3530 3540 if test -d $srcdir/c/src/lib/libnetworking; then 3531 3541 rtems_av_save_dir=`pwd`; … … 3542 3552 3543 3553 echo $ac_n "checking for Makefile.in in c/src/lib/librpc""... $ac_c" 1>&6 3544 echo "configure:35 45: checking for Makefile.in in c/src/lib/librpc" >&53554 echo "configure:3555: checking for Makefile.in in c/src/lib/librpc" >&5 3545 3555 if test -d $srcdir/c/src/lib/librpc; then 3546 3556 rtems_av_save_dir=`pwd`; … … 3558 3568 3559 3569 echo $ac_n "checking for Makefile.in in c/src/lib/librdbg""... $ac_c" 1>&6 3560 echo "configure:35 61: checking for Makefile.in in c/src/lib/librdbg" >&53570 echo "configure:3571: checking for Makefile.in in c/src/lib/librdbg" >&5 3561 3571 if test -d $srcdir/c/src/lib/librdbg; then 3562 3572 rtems_av_save_dir=`pwd`; … … 3582 3592 # If the tests are enabled, then find all the test suite Makefiles 3583 3593 echo $ac_n "checking if the test suites are enabled? ""... $ac_c" 1>&6 3584 echo "configure:35 85: checking if the test suites are enabled? " >&53594 echo "configure:3595: checking if the test suites are enabled? " >&5 3585 3595 tests_enabled=yes 3586 3596 # Check whether --enable-tests or --disable-tests was given. … … 3600 3610 3601 3611 echo $ac_n "checking for Makefile.in in c/src/tests/tools/$target_cpu""... $ac_c" 1>&6 3602 echo "configure:36 03: checking for Makefile.in in c/src/tests/tools/$target_cpu" >&53612 echo "configure:3613: checking for Makefile.in in c/src/tests/tools/$target_cpu" >&5 3603 3613 if test -d $srcdir/c/src/tests/tools/$target_cpu; then 3604 3614 rtems_av_save_dir=`pwd`; … … 3617 3627 3618 3628 echo $ac_n "checking for Makefile.in in c/src/tests/libtests""... $ac_c" 1>&6 3619 echo "configure:36 20: checking for Makefile.in in c/src/tests/libtests" >&53629 echo "configure:3630: checking for Makefile.in in c/src/tests/libtests" >&5 3620 3630 if test -d $srcdir/c/src/tests/libtests; then 3621 3631 rtems_av_save_dir=`pwd`; … … 3632 3642 3633 3643 echo $ac_n "checking for Makefile.in in c/src/tests/sptests""... $ac_c" 1>&6 3634 echo "configure:36 35: checking for Makefile.in in c/src/tests/sptests" >&53644 echo "configure:3645: checking for Makefile.in in c/src/tests/sptests" >&5 3635 3645 if test -d $srcdir/c/src/tests/sptests; then 3636 3646 rtems_av_save_dir=`pwd`; … … 3647 3657 3648 3658 echo $ac_n "checking for Makefile.in in c/src/tests/tmtests""... $ac_c" 1>&6 3649 echo "configure:36 50: checking for Makefile.in in c/src/tests/tmtests" >&53659 echo "configure:3660: checking for Makefile.in in c/src/tests/tmtests" >&5 3650 3660 if test -d $srcdir/c/src/tests/tmtests; then 3651 3661 rtems_av_save_dir=`pwd`; … … 3663 3673 3664 3674 echo $ac_n "checking for Makefile.in in c/src/tests/mptests""... $ac_c" 1>&6 3665 echo "configure:36 66: checking for Makefile.in in c/src/tests/mptests" >&53675 echo "configure:3676: checking for Makefile.in in c/src/tests/mptests" >&5 3666 3676 if test -d $srcdir/c/src/tests/mptests; then 3667 3677 rtems_av_save_dir=`pwd`; … … 3680 3690 3681 3691 echo $ac_n "checking for Makefile.in in c/src/tests/psxtests""... $ac_c" 1>&6 3682 echo "configure:36 83: checking for Makefile.in in c/src/tests/psxtests" >&53692 echo "configure:3693: checking for Makefile.in in c/src/tests/psxtests" >&5 3683 3693 if test -d $srcdir/c/src/tests/psxtests; then 3684 3694 rtems_av_save_dir=`pwd`; … … 3694 3704 3695 3705 fi 3706 subdirs="c/src/tests/tools/generic" 3707 3696 3708 fi 3697 3709 … … 3712 3724 if test "$RTEMS_HAS_HWAPI" = "yes"; then 3713 3725 echo $ac_n "checking whether libwapi is present""... $ac_c" 1>&6 3714 echo "configure:37 15: checking whether libwapi is present" >&53726 echo "configure:3727: checking whether libwapi is present" >&5 3715 3727 if test -f ${srcdir}/c/src/lib/libhwapi/Makefile.in ; then 3716 3728 echo "$ac_t""yes" 1>&6 … … 3718 3730 3719 3731 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/analog""... $ac_c" 1>&6 3720 echo "configure:37 21: checking for Makefile.in in c/src/lib/libhwapi/analog" >&53732 echo "configure:3733: checking for Makefile.in in c/src/lib/libhwapi/analog" >&5 3721 3733 if test -d $srcdir/c/src/lib/libhwapi/analog; then 3722 3734 rtems_av_save_dir=`pwd`; … … 3733 3745 3734 3746 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/discrete""... $ac_c" 1>&6 3735 echo "configure:37 36: checking for Makefile.in in c/src/lib/libhwapi/discrete" >&53747 echo "configure:3748: checking for Makefile.in in c/src/lib/libhwapi/discrete" >&5 3736 3748 if test -d $srcdir/c/src/lib/libhwapi/discrete; then 3737 3749 rtems_av_save_dir=`pwd`; … … 3748 3760 3749 3761 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/drivers""... $ac_c" 1>&6 3750 echo "configure:37 51: checking for Makefile.in in c/src/lib/libhwapi/drivers" >&53762 echo "configure:3763: checking for Makefile.in in c/src/lib/libhwapi/drivers" >&5 3751 3763 if test -d $srcdir/c/src/lib/libhwapi/drivers; then 3752 3764 rtems_av_save_dir=`pwd`; … … 3763 3775 3764 3776 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory""... $ac_c" 1>&6 3765 echo "configure:37 66: checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory" >&53777 echo "configure:3778: checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory" >&5 3766 3778 if test -d $srcdir/c/src/lib/libhwapi/non_volatile_memory; then 3767 3779 rtems_av_save_dir=`pwd`; … … 3778 3790 3779 3791 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/serial""... $ac_c" 1>&6 3780 echo "configure:37 81: checking for Makefile.in in c/src/lib/libhwapi/serial" >&53792 echo "configure:3793: checking for Makefile.in in c/src/lib/libhwapi/serial" >&5 3781 3793 if test -d $srcdir/c/src/lib/libhwapi/serial; then 3782 3794 rtems_av_save_dir=`pwd`; … … 3793 3805 3794 3806 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/support""... $ac_c" 1>&6 3795 echo "configure:3 796: checking for Makefile.in in c/src/lib/libhwapi/support" >&53807 echo "configure:3808: checking for Makefile.in in c/src/lib/libhwapi/support" >&5 3796 3808 if test -d $srcdir/c/src/lib/libhwapi/support; then 3797 3809 rtems_av_save_dir=`pwd`; … … 3808 3820 3809 3821 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/wrapup""... $ac_c" 1>&6 3810 echo "configure:38 11: checking for Makefile.in in c/src/lib/libhwapi/wrapup" >&53822 echo "configure:3823: checking for Makefile.in in c/src/lib/libhwapi/wrapup" >&5 3811 3823 if test -d $srcdir/c/src/lib/libhwapi/wrapup; then 3812 3824 rtems_av_save_dir=`pwd`; … … 3851 3863 3852 3864 echo $ac_n "checking for Makefile.in in make""... $ac_c" 1>&6 3853 echo "configure:38 54: checking for Makefile.in in make" >&53865 echo "configure:3866: checking for Makefile.in in make" >&5 3854 3866 if test -d $srcdir/make; then 3855 3867 rtems_av_save_dir=`pwd`; … … 3866 3878 3867 3879 echo $ac_n "checking for Makefile.in in c/src/lib/libchip""... $ac_c" 1>&6 3868 echo "configure:38 69: checking for Makefile.in in c/src/lib/libchip" >&53880 echo "configure:3881: checking for Makefile.in in c/src/lib/libchip" >&5 3869 3881 if test -d $srcdir/c/src/lib/libchip; then 3870 3882 rtems_av_save_dir=`pwd`; … … 3881 3893 3882 3894 echo $ac_n "checking for Makefile.in in c/src/lib/libmisc""... $ac_c" 1>&6 3883 echo "configure:38 84: checking for Makefile.in in c/src/lib/libmisc" >&53895 echo "configure:3896: checking for Makefile.in in c/src/lib/libmisc" >&5 3884 3896 if test -d $srcdir/c/src/lib/libmisc; then 3885 3897 rtems_av_save_dir=`pwd`; … … 3896 3908 3897 3909 echo $ac_n "checking for Makefile.in in c/src/tests/samples""... $ac_c" 1>&6 3898 echo "configure:3 899: checking for Makefile.in in c/src/tests/samples" >&53910 echo "configure:3911: checking for Makefile.in in c/src/tests/samples" >&5 3899 3911 if test -d $srcdir/c/src/tests/samples; then 3900 3912 rtems_av_save_dir=`pwd`; … … 3910 3922 3911 3923 3912 subdirs="c/build-tools" 3924 subdirs="c/src/tests/tools/generic c/build-tools" 3925 3926 subdirs="c/src/tests/tools/generic c/build-tools $scoretools_cfgdirs" 3927 3928 subdirs="c/src/tests/tools/generic c/build-tools $scoretools_cfgdirs $bsptools_cfgdirs" 3929 3913 3930 3914 3931 # FIXME: libwapi needs a separate configure.in in future ;- … … 4048 4065 c/src/exec/score/src/Makefile 4049 4066 c/src/exec/score/tools/Makefile 4050 c/src/exec/score/tools/generic/Makefile4051 4067 c/src/exec/wrapup/Makefile 4052 4068 c/src/exec/wrapup/rtems/Makefile … … 4065 4081 c/src/tests/support/wrapup/Makefile 4066 4082 c/src/tests/tools/Makefile 4067 c/src/tests/tools/generic/Makefile4068 4083 $makefiles 4069 4084 c/update-tools/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 … … 4101 4116 s%@RTEMS_TOPdir@%$RTEMS_TOPdir%g 4102 4117 s%@PROJECT_ROOT@%$PROJECT_ROOT%g 4103 s%@RTEMS_ROOT@%$RTEMS_ROOT%g4104 4118 s%@SET_MAKE@%$SET_MAKE%g 4105 4119 s%@host@%$host%g … … 4151 4165 s%@EXEEXT@%$EXEEXT%g 4152 4166 s%@GCCSED@%$GCCSED%g 4167 s%@subdirs@%$subdirs%g 4153 4168 s%@RTEMS_GAS_CODE16@%$RTEMS_GAS_CODE16%g 4154 4169 s%@rtems_cv_prog_cc_cross@%$rtems_cv_prog_cc_cross%g … … 4168 4183 s%@CC_CFLAGS_PROFILE_V@%$CC_CFLAGS_PROFILE_V%g 4169 4184 s%@CC_LDFLAGS_PROFILE_V@%$CC_LDFLAGS_PROFILE_V%g 4170 s%@subdirs@%$subdirs%g4171 4185 4172 4186 CEOF … … 4229 4243 c/src/exec/score/src/Makefile 4230 4244 c/src/exec/score/tools/Makefile 4231 c/src/exec/score/tools/generic/Makefile4232 4245 c/src/exec/wrapup/Makefile 4233 4246 c/src/exec/wrapup/rtems/Makefile … … 4246 4259 c/src/tests/support/wrapup/Makefile 4247 4260 c/src/tests/tools/Makefile 4248 c/src/tests/tools/generic/Makefile4249 4261 $makefiles 4250 4262 c/update-tools/Makefile"} … … 4344 4356 done 4345 4357 4346 for ac_config_dir in c/ build-tools; do4358 for ac_config_dir in c/src/tests/tools/generic c/build-tools $scoretools_cfgdirs $bsptools_cfgdirs; do 4347 4359 4348 4360 # Do not complain, so a configure script can configure whichever -
configure.in
rc69856c3 r9b8baa1 180 180 fi 181 181 182 # Collect config subdirs for exec/score/tools 183 t="c/src/exec/score/tools" 184 scoretools_cfgdirs="$t/generic" 185 if test -d $srcdir/$t/$target_cpu; then 186 scoretools_cfgdirs="$scoretools_cfgdirs $t/$target_cpu" 187 fi 188 182 189 # find all the Executive Makefiles 183 RTEMS_CHECK_MAKEFILE(c/src/exec/score/tools/$target_cpu)184 190 RTEMS_CHECK_MAKEFILE(c/src/exec/rtems) 185 191 RTEMS_CHECK_MAKEFILE(c/src/exec/sapi) … … 261 267 RTEMS_CHECK_MAKEFILE(c/src/lib/libbsp/$bspcpudir$bspdir) 262 268 RTEMS_CHECK_MAKEFILE(c/src/lib/libbsp/${bspcpudir}shared) 269 270 # HACK: sed out bsp-tools from makefiles 271 t="c/src/lib/libbsp/$bspcpudir$bspdir/tools" 272 if test -d "$srcdir/$t"; then 273 bsptools_cfgdirs="$bsptools_cfgdirs $t" 274 makefiles=`echo "$makefiles" | sed -e "s%$t/Makefile%%g"` 275 fi 263 276 fi 264 277 else … … 321 334 RTEMS_CHECK_MAKEFILE(c/src/tests/psxtests) 322 335 fi 336 AC_CONFIG_SUBDIRS(c/src/tests/tools/generic) 323 337 fi 324 338 … … 371 385 372 386 AC_CONFIG_SUBDIRS(c/build-tools) 387 AC_CONFIG_SUBDIRS($scoretools_cfgdirs) 388 AC_CONFIG_SUBDIRS($bsptools_cfgdirs) 389 373 390 # FIXME: libwapi needs a separate configure.in in future ;- 374 391 # AC_CONFIG_SUBDIRS(c/src/lib/libwapi)