Changeset 9b8baa1 in rtems


Ignore:
Timestamp:
Mar 23, 1999, 6:02:17 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
ca3fec49
Parents:
c69856c3
Message:

Automake II patch from Ralf Corsepius <corsepiu@…>. Email
description follows:

Description:

  • automake for *all* tool subdirectories (Makefile.am, configure.in etc.)
  • autogen now also considers CONFIG_HEADER (generates stamp-h.ins and config.h.ins)
  • c/src/tests/tools/generic/difftest and c/src/tests/tools/generic/sorttimes generated by configure scripts
  • c/update-tools/ampolish, beautifier for Makefile.ams, similar to acpolish
  • rtems-polish.sh added to c/update-tools/ + ampolish support
  • New subdirectory ./automake, contains automake -Makefile fragments to support RTEMS make "debug, debug_install, profile, profile_install" for native Makefile.ams (== ignore these make targets).
  • aclocal/rtems-top.m4's RTEMS_TOP now reads the automake makefile variable VERSION from RTEMS ./VERSION file.
  • ./configure.in uses the macros from aclocal + support for the tools' configure scripts

Remarks:

  • To run rtems-polish.sh, "cd <rtems-source-tree>; ./c/update-tools/rtems-polish.sh"
  • AFAIS, now all native subdirectories are converted to automake (Please drop me a note, if I forgot something).
  • Unless you notice something fatal, IMO the time has come for a public try (== snapshot). I do not intend to send more automake related patches within, say 2 weeks, to give these patches time to settle and to give me some time to think on how to continue.
  • The patch assumes installation to the new main installation directory [$(prefix)].
Files:
8 added
40 edited
2 moved

Legend:

Unmodified
Added
Removed
  • aclocal.m4

    rc69856c3 r9b8baa1  
    1313dnl $Id$
    1414
     15dnl
     16dnl RTEMS_TOP($1)
     17dnl
     18dnl $1 .. relative path from this configure.in to the toplevel configure.in
     19dnl
    1520AC_DEFUN(RTEMS_TOP,
    1621[dnl
     
    2126AC_SUBST(PROJECT_ROOT)
    2227
    23 RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir;
    24 AC_SUBST(RTEMS_ROOT)
     28dnl Determine RTEMS Version string from the VERSION file
     29dnl Hopefully, Joel never changes its format ;-
     30AC_MSG_CHECKING([for RTEMS Version])
     31if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then
     32changequote(,)dnl
     33RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \
     34sed -e 's%RTEMS[        ]*Version[      ]*\(.*\)[       ]*%\1%g'`
     35changequote([,])dnl
     36else
     37AC_MSG_ERROR(Unable to find ${RTEMS_TOPdir}/VERSION)
     38fi
     39if test -z "$RTEMS_VERSION"; then
     40AC_MSG_ERROR(Unable to determine version)
     41fi
     42AC_MSG_RESULT($RTEMS_VERSION)
     43
     44dnl FIXME: This once gets activated in future or will be removed
     45dnl RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir;
     46dnl AC_SUBST(RTEMS_ROOT)
    2547])dnl
    2648
  • aclocal/rtems-top.m4

    rc69856c3 r9b8baa1  
    11dnl $Id$
    22
     3dnl
     4dnl RTEMS_TOP($1)
     5dnl
     6dnl $1 .. relative path from this configure.in to the toplevel configure.in
     7dnl
    38AC_DEFUN(RTEMS_TOP,
    49[dnl
     
    914AC_SUBST(PROJECT_ROOT)
    1015
    11 RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir;
    12 AC_SUBST(RTEMS_ROOT)
     16dnl Determine RTEMS Version string from the VERSION file
     17dnl Hopefully, Joel never changes its format ;-
     18AC_MSG_CHECKING([for RTEMS Version])
     19if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then
     20changequote(,)dnl
     21RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \
     22sed -e 's%RTEMS[        ]*Version[      ]*\(.*\)[       ]*%\1%g'`
     23changequote([,])dnl
     24else
     25AC_MSG_ERROR(Unable to find ${RTEMS_TOPdir}/VERSION)
     26fi
     27if test -z "$RTEMS_VERSION"; then
     28AC_MSG_ERROR(Unable to determine version)
     29fi
     30AC_MSG_RESULT($RTEMS_VERSION)
     31
     32dnl FIXME: This once gets activated in future or will be removed
     33dnl RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir;
     34dnl AC_SUBST(RTEMS_ROOT)
    1335])dnl
  • autogen

    rc69856c3 r9b8baa1  
    11#!/bin/sh
    2 
    3 # $Id$
    4 
     2#
    53# helps bootstrapping, when checked out from CVS
    64# requires GNU autoconf and GNU automake
     5#
     6# $Id$
    77
    88# this is not meant to be exported outside the source tree
  • c/build-tools/Makefile.am

    rc69856c3 r9b8baa1  
    33#
    44
    5 AUTOMAKE_OPTIONS=foreign
     5AUTOMAKE_OPTIONS = foreign
    66ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal
    77
    88SUBDIRS = scripts src
     9
     10include $(top_srcdir)/../../automake/subdirs.am
     11include $(top_srcdir)/../../automake/local.am
  • c/build-tools/Makefile.in

    rc69856c3 r9b8baa1  
    1414# $Id$
    1515#
     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
    1635
    1736
     
    6887PACKAGE = @PACKAGE@
    6988PROJECT_ROOT = @PROJECT_ROOT@
    70 RTEMS_ROOT = @RTEMS_ROOT@
    7189RTEMS_TOPdir = @RTEMS_TOPdir@
    7290VERSION = @VERSION@
     
    8098CONFIG_HEADER = ./src/config.h
    8199CONFIG_CLEAN_FILES =
    82 DIST_COMMON =  Makefile.am Makefile.in aclocal.m4 configure configure.in
     100DIST_COMMON =  Makefile.am Makefile.in aclocal.m4 configure configure.in \
     101src/config.h.in src/stamp-h.in
    83102
    84103
     
    89108all: all-redirect
    90109.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
    92111        cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
    93112
     
    103122$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
    104123        cd $(srcdir) && $(AUTOCONF)
     124
     125src/config.h: src/stamp-h
     126        @if test ! -f $@; then \
     127                rm -f src/stamp-h; \
     128                $(MAKE) src/stamp-h; \
     129        else :; fi
     130src/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
     144mostlyclean-hdr:
     145
     146clean-hdr:
     147
     148distclean-hdr:
     149        -rm -f src/config.h
     150
     151maintainer-clean-hdr:
    105152
    106153# This directory's subdirectories are mostly independent; you can cd
     
    292339
    293340maintainer-clean-generic:
    294 mostlyclean-am:  mostlyclean-tags mostlyclean-generic
     341mostlyclean-am:  mostlyclean-hdr mostlyclean-tags mostlyclean-generic
    295342
    296343mostlyclean: mostlyclean-recursive
    297344
    298 clean-am:  clean-tags clean-generic mostlyclean-am
     345clean-am:  clean-hdr clean-tags clean-generic mostlyclean-am
    299346
    300347clean: clean-recursive
    301348
    302 distclean-am:  distclean-tags distclean-generic clean-am
     349distclean-am:  distclean-hdr distclean-tags distclean-generic clean-am
    303350
    304351distclean: distclean-recursive
    305352        -rm -f config.status
    306353
    307 maintainer-clean-am:  maintainer-clean-tags maintainer-clean-generic \
    308                 distclean-am
     354maintainer-clean-am:  maintainer-clean-hdr maintainer-clean-tags \
     355                maintainer-clean-generic distclean-am
    309356        @echo "This command is intended for maintainers to use;"
    310357        @echo "it deletes files that may require special tools to rebuild."
     
    313360        -rm -f config.status
    314361
    315 .PHONY: install-data-recursive uninstall-data-recursive \
    316 install-exec-recursive uninstall-exec-recursive installdirs-recursive \
    317 uninstalldirs-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 \
     363install-data-recursive uninstall-data-recursive install-exec-recursive \
     364uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
     365all-recursive check-recursive installcheck-recursive info-recursive \
     366dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
    320367maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
    321368distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
     
    327374
    328375
     376debug-recursive debug_install-recursive \
     377profile-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
     396debug: debug-recursive
     397
     398debug_install: debug_install-recursive
     399
     400profile: profile-recursive
     401
     402profile_install: profile_install-recursive
     403
     404.PHONY: \
     405debug debug-recursive debug_install \
     406profile profile-recursive profile_install
     407
     408debug-am:
     409
     410debug: debug-am
     411
     412debug_install-am:
     413
     414debug_install: debug_install-am
     415
     416profile-am:
     417
     418profile: profile-am
     419
     420profile_install-am:
     421
     422profile_install: profile_install-am
     423
     424.PHONY: debug debug_install profile profile_install
     425
    329426# Tell versions [3.59,3.63) of GNU make to not export all variables.
    330427# Otherwise a system limit (for SysV at least) may be exceeded.
  • c/build-tools/aclocal.m4

    rc69856c3 r9b8baa1  
    1313dnl $Id$
    1414
     15dnl
     16dnl RTEMS_TOP($1)
     17dnl
     18dnl $1 .. relative path from this configure.in to the toplevel configure.in
     19dnl
    1520AC_DEFUN(RTEMS_TOP,
    1621[dnl
     
    2126AC_SUBST(PROJECT_ROOT)
    2227
    23 RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir;
    24 AC_SUBST(RTEMS_ROOT)
     28dnl Determine RTEMS Version string from the VERSION file
     29dnl Hopefully, Joel never changes its format ;-
     30AC_MSG_CHECKING([for RTEMS Version])
     31if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then
     32changequote(,)dnl
     33RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \
     34sed -e 's%RTEMS[        ]*Version[      ]*\(.*\)[       ]*%\1%g'`
     35changequote([,])dnl
     36else
     37AC_MSG_ERROR(Unable to find ${RTEMS_TOPdir}/VERSION)
     38fi
     39if test -z "$RTEMS_VERSION"; then
     40AC_MSG_ERROR(Unable to determine version)
     41fi
     42AC_MSG_RESULT($RTEMS_VERSION)
     43
     44dnl FIXME: This once gets activated in future or will be removed
     45dnl RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir;
     46dnl AC_SUBST(RTEMS_ROOT)
    2547])dnl
    2648
  • c/build-tools/configure

    rc69856c3 r9b8baa1  
    547547
    548548
    549 RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir;
     549echo $ac_n "checking for RTEMS Version""... $ac_c" 1>&6
     550echo "configure:551: checking for RTEMS Version" >&5
     551if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then
     552RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \
     553sed -e 's%RTEMS[        ]*Version[      ]*\(.*\)[       ]*%\1%g'`
     554else
     555{ echo "configure: error: Unable to find ${RTEMS_TOPdir}/VERSION" 1>&2; exit 1; }
     556fi
     557if test -z "$RTEMS_VERSION"; then
     558{ echo "configure: error: Unable to determine version" 1>&2; exit 1; }
     559fi
     560echo "$ac_t""$RTEMS_VERSION" 1>&6
    550561
    551562
     
    558569
    559570echo $ac_n "checking host system type""... $ac_c" 1>&6
    560 echo "configure:561: checking host system type" >&5
     571echo "configure:572: checking host system type" >&5
    561572
    562573host_alias=$host
     
    591602# ./install, which can be erroneously created by make from ./install.sh.
    592603echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    593 echo "configure:594: checking for a BSD compatible install" >&5
     604echo "configure:605: checking for a BSD compatible install" >&5
    594605if test -z "$INSTALL"; then
    595606if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    644655
    645656echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
    646 echo "configure:647: checking whether build environment is sane" >&5
     657echo "configure:658: checking whether build environment is sane" >&5
    647658# Just in case
    648659sleep 1
     
    701712
    702713echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    703 echo "configure:704: checking whether ${MAKE-make} sets \${MAKE}" >&5
     714echo "configure:715: checking whether ${MAKE-make} sets \${MAKE}" >&5
    704715set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    705716if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    730741PACKAGE=rtems-build-tools
    731742
    732 VERSION=4.1.0
     743VERSION=$RTEMS_VERSION
    733744
    734745if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
     
    740751missing_dir=`cd $ac_aux_dir && pwd`
    741752echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
    742 echo "configure:743: checking for working aclocal" >&5
     753echo "configure:754: checking for working aclocal" >&5
    743754# Run test in a subshell; some versions of sh will print an error if
    744755# an executable is not found, even if stderr is redirected.
     
    753764
    754765echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
    755 echo "configure:756: checking for working autoconf" >&5
     766echo "configure:767: checking for working autoconf" >&5
    756767# Run test in a subshell; some versions of sh will print an error if
    757768# an executable is not found, even if stderr is redirected.
     
    766777
    767778echo $ac_n "checking for working automake""... $ac_c" 1>&6
    768 echo "configure:769: checking for working automake" >&5
     779echo "configure:780: checking for working automake" >&5
    769780# Run test in a subshell; some versions of sh will print an error if
    770781# an executable is not found, even if stderr is redirected.
     
    779790
    780791echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
    781 echo "configure:782: checking for working autoheader" >&5
     792echo "configure:793: checking for working autoheader" >&5
    782793# Run test in a subshell; some versions of sh will print an error if
    783794# an executable is not found, even if stderr is redirected.
     
    792803
    793804echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
    794 echo "configure:795: checking for working makeinfo" >&5
     805echo "configure:806: checking for working makeinfo" >&5
    795806# Run test in a subshell; some versions of sh will print an error if
    796807# an executable is not found, even if stderr is redirected.
     
    806817
    807818echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
    808 echo "configure:809: checking for Cygwin environment" >&5
     819echo "configure:820: checking for Cygwin environment" >&5
    809820if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
    810821  echo $ac_n "(cached) $ac_c" 1>&6
    811822else
    812823  cat > conftest.$ac_ext <<EOF
    813 #line 814 "configure"
     824#line 825 "configure"
    814825#include "confdefs.h"
    815826
     
    822833; return 0; }
    823834EOF
    824 if { (eval echo configure:825: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     835if { (eval echo configure:836: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    825836  rm -rf conftest*
    826837  ac_cv_cygwin=yes
     
    839850test "$ac_cv_cygwin" = yes && CYGWIN=yes
    840851echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
    841 echo "configure:842: checking for mingw32 environment" >&5
     852echo "configure:853: checking for mingw32 environment" >&5
    842853if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
    843854  echo $ac_n "(cached) $ac_c" 1>&6
    844855else
    845856  cat > conftest.$ac_ext <<EOF
    846 #line 847 "configure"
     857#line 858 "configure"
    847858#include "confdefs.h"
    848859
     
    851862; return 0; }
    852863EOF
    853 if { (eval echo configure:854: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     864if { (eval echo configure:865: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    854865  rm -rf conftest*
    855866  ac_cv_mingw32=yes
     
    870881
    871882echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    872 echo "configure:873: checking for executable suffix" >&5
     883echo "configure:884: checking for executable suffix" >&5
    873884if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    874885  echo $ac_n "(cached) $ac_c" 1>&6
     
    880891  echo 'int main () { return 0; }' > conftest.$ac_ext
    881892  ac_cv_exeext=
    882   if { (eval echo configure:883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     893  if { (eval echo configure:894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    883894    for file in conftest.*; do
    884895      case $file in
     
    904915set dummy gcc; ac_word=$2
    905916echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    906 echo "configure:907: checking for $ac_word" >&5
     917echo "configure:918: checking for $ac_word" >&5
    907918if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    908919  echo $ac_n "(cached) $ac_c" 1>&6
     
    934945set dummy cc; ac_word=$2
    935946echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    936 echo "configure:937: checking for $ac_word" >&5
     947echo "configure:948: checking for $ac_word" >&5
    937948if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    938949  echo $ac_n "(cached) $ac_c" 1>&6
     
    985996set dummy cl; ac_word=$2
    986997echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    987 echo "configure:988: checking for $ac_word" >&5
     998echo "configure:999: checking for $ac_word" >&5
    988999if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    9891000  echo $ac_n "(cached) $ac_c" 1>&6
     
    10171028
    10181029echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    1019 echo "configure:1020: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     1030echo "configure:1031: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    10201031
    10211032ac_ext=c
     
    10281039cat > conftest.$ac_ext << EOF
    10291040
    1030 #line 1031 "configure"
     1041#line 1042 "configure"
    10311042#include "confdefs.h"
    10321043
    10331044main(){return(0);}
    10341045EOF
    1035 if { (eval echo configure:1036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1046if { (eval echo configure:1047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    10361047  ac_cv_prog_cc_works=yes
    10371048  # If we can't run a trivial program, we are probably using a cross compiler.
     
    10591070fi
    10601071echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1061 echo "configure:1062: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     1072echo "configure:1073: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    10621073echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    10631074cross_compiling=$ac_cv_prog_cc_cross
    10641075
    10651076echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    1066 echo "configure:1067: checking whether we are using GNU C" >&5
     1077echo "configure:1078: checking whether we are using GNU C" >&5
    10671078if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    10681079  echo $ac_n "(cached) $ac_c" 1>&6
     
    10731084#endif
    10741085EOF
    1075 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1086if { 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
    10761087  ac_cv_prog_gcc=yes
    10771088else
     
    10921103CFLAGS=
    10931104echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    1094 echo "configure:1095: checking whether ${CC-cc} accepts -g" >&5
     1105echo "configure:1106: checking whether ${CC-cc} accepts -g" >&5
    10951106if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    10961107  echo $ac_n "(cached) $ac_c" 1>&6
     
    11261137do
    11271138echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1128 echo "configure:1129: checking for $ac_func" >&5
     1139echo "configure:1140: checking for $ac_func" >&5
    11291140if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    11301141  echo $ac_n "(cached) $ac_c" 1>&6
    11311142else
    11321143  cat > conftest.$ac_ext <<EOF
    1133 #line 1134 "configure"
     1144#line 1145 "configure"
    11341145#include "confdefs.h"
    11351146/* System header to define __stub macros and hopefully few prototypes,
     
    11541165; return 0; }
    11551166EOF
    1156 if { (eval echo configure:1157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1167if { (eval echo configure:1168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    11571168  rm -rf conftest*
    11581169  eval "ac_cv_func_$ac_func=yes"
     
    11851196set dummy $ac_prog; ac_word=$2
    11861197echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1187 echo "configure:1188: checking for $ac_word" >&5
     1198echo "configure:1199: checking for $ac_word" >&5
    11881199if eval "test \"`echo '$''{'ac_cv_path_KSH'+set}'`\" = set"; then
    11891200  echo $ac_n "(cached) $ac_c" 1>&6
     
    13731384s%@RTEMS_TOPdir@%$RTEMS_TOPdir%g
    13741385s%@PROJECT_ROOT@%$PROJECT_ROOT%g
    1375 s%@RTEMS_ROOT@%$RTEMS_ROOT%g
    13761386s%@host@%$host%g
    13771387s%@host_alias@%$host_alias%g
  • c/build-tools/configure.in

    rc69856c3 r9b8baa1  
    1010AC_CANONICAL_HOST
    1111
    12 AM_INIT_AUTOMAKE(rtems-build-tools,4.1.0,no)
     12AM_INIT_AUTOMAKE(rtems-build-tools,$RTEMS_VERSION,no)
    1313AC_EXEEXT
    1414
  • c/build-tools/os/Makefile.am

    rc69856c3 r9b8baa1  
    77# FIXME: Is this subdirectory still in use ?
    88## SUBDIRS = msdos
     9include $(top_srcdir)/../../automake/local.am
  • c/build-tools/scripts/Makefile.am

    rc69856c3 r9b8baa1  
    2222
    2323preinstall: install-exec-local
     24
     25include $(top_srcdir)/../../automake/local.am
  • c/build-tools/scripts/Makefile.in

    rc69856c3 r9b8baa1  
    1414# $Id$
    1515#
     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
    1624
    1725
     
    7078PACKAGE = @PACKAGE@
    7179PROJECT_ROOT = @PROJECT_ROOT@
    72 RTEMS_ROOT = @RTEMS_ROOT@
    7380RTEMS_TOPdir = @RTEMS_TOPdir@
    7481VERSION = @VERSION@
     
    96103all: all-redirect
    97104.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
    99106        cd $(top_srcdir) && $(AUTOMAKE) --foreign scripts/Makefile
    100107
     
    227234preinstall: install-exec-local
    228235
     236debug-am:
     237
     238debug: debug-am
     239
     240debug_install-am:
     241
     242debug_install: debug_install-am
     243
     244profile-am:
     245
     246profile: profile-am
     247
     248profile_install-am:
     249
     250profile_install: profile_install-am
     251
     252.PHONY: debug debug_install profile profile_install
     253
    229254# Tell versions [3.59,3.63) of GNU make to not export all variables.
    230255# Otherwise a system limit (for SysV at least) may be exceeded.
  • c/build-tools/src/Makefile.am

    rc69856c3 r9b8baa1  
    2121
    2222preinstall: install-exec-local
     23
     24include $(top_srcdir)/../../automake/local.am
  • c/build-tools/src/Makefile.in

    rc69856c3 r9b8baa1  
    1414# $Id$
    1515#
     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
    1624
    1725
     
    7078PACKAGE = @PACKAGE@
    7179PROJECT_ROOT = @PROJECT_ROOT@
    72 RTEMS_ROOT = @RTEMS_ROOT@
    7380RTEMS_TOPdir = @RTEMS_TOPdir@
    7481VERSION = @VERSION@
     
    129136.SUFFIXES:
    130137.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
    132139        cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile
    133140
     
    393400preinstall: install-exec-local
    394401
     402debug-am:
     403
     404debug: debug-am
     405
     406debug_install-am:
     407
     408debug_install: debug_install-am
     409
     410profile-am:
     411
     412profile: profile-am
     413
     414profile_install-am:
     415
     416profile_install: profile_install-am
     417
     418.PHONY: debug debug_install profile profile_install
     419
    395420# Tell versions [3.59,3.63) of GNU make to not export all variables.
    396421# 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
    113#
    214# $Id$
    315#
    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
     26SHELL = @SHELL@
     27
    1028srcdir = @srcdir@
    1129top_srcdir = @top_srcdir@
    12 top_builddir = ../../../../../..
    13 subdir = c/src/exec/score/tools/generic
     30VPATH = @srcdir@
     31prefix = @prefix@
     32exec_prefix = @exec_prefix@
     33
     34bindir = @bindir@
     35sbindir = @sbindir@
     36libexecdir = @libexecdir@
     37datadir = @datadir@
     38sysconfdir = @sysconfdir@
     39sharedstatedir = @sharedstatedir@
     40localstatedir = @localstatedir@
     41libdir = @libdir@
     42infodir = @infodir@
     43mandir = @mandir@
     44includedir = @includedir@
     45oldincludedir = /usr/include
     46
     47DESTDIR =
     48
     49pkgdatadir = $(datadir)/@PACKAGE@
     50pkglibdir = $(libdir)/@PACKAGE@
     51pkgincludedir = $(includedir)/@PACKAGE@
     52
     53top_builddir = .
     54AUTOCONF = @AUTOCONF@
     55AUTOMAKE = @AUTOMAKE@
     56AUTOHEADER = @AUTOHEADER@
    1457
    1558INSTALL = @INSTALL@
    16 
    17 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     59INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
     60INSTALL_DATA = @INSTALL_DATA@
     61INSTALL_SCRIPT = @INSTALL_SCRIPT@
     62transform = @program_transform_name@
     63
     64NORMAL_INSTALL = :
     65PRE_INSTALL = :
     66POST_INSTALL = :
     67NORMAL_UNINSTALL = :
     68PRE_UNINSTALL = :
     69POST_UNINSTALL = :
     70build_alias = @build_alias@
     71build_triplet = @build@
     72host_alias = @host_alias@
     73host_triplet = @host@
     74target_alias = @target_alias@
     75target_triplet = @target@
     76KSH = @KSH@
     77MAKEINFO = @MAKEINFO@
     78PACKAGE = @PACKAGE@
    1879PROJECT_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
     80RTEMS_TOPdir = @RTEMS_TOPdir@
     81VERSION = @VERSION@
     82program_prefix = @program_prefix@
     83project_bindir = @project_bindir@
     84project_includedir = @project_includedir@
     85project_libdir = @project_libdir@
     86tooldir = @tooldir@
     87
     88AUTOMAKE_OPTIONS = foreign
     89ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal
     90
     91# FIXME: This script doesn't make sense to be installed
     92noinst_SCRIPTS = size_rtems
     93ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     94mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../mkinstalldirs
     95CONFIG_CLEAN_FILES =  size_rtems
     96SCRIPTS =  $(noinst_SCRIPTS)
     97
     98DIST_COMMON =  Makefile.am Makefile.in aclocal.m4 configure configure.in \
     99size_rtems.in
     100
     101
     102DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
     103
     104TAR = tar
     105GZIP_ENV = --best
     106all: 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
     111Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
    45112        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
     118config.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)
     122size_rtems: $(top_builddir)/config.status size_rtems.in
     123        cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
     124tags: TAGS
     125TAGS:
     126
     127
     128distdir = $(PACKAGE)-$(VERSION)
     129top_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.
     134distcheck: 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"
     154dist: distdir
     155        -chmod -R a+r $(distdir)
     156        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
     157        -rm -rf $(distdir)
     158dist-all: distdir
     159        -chmod -R a+r $(distdir)
     160        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
     161        -rm -rf $(distdir)
     162distdir: $(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
     181info-am:
     182info: info-am
     183dvi-am:
     184dvi: dvi-am
     185check-am: all-am
     186check: check-am
     187installcheck-am:
     188installcheck: installcheck-am
     189install-exec-am: install-exec-local
     190install-exec: install-exec-am
     191
     192install-data-am:
     193install-data: install-data-am
     194
     195install-am: all-am
     196        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     197install: install-am
     198uninstall-am:
     199uninstall: uninstall-am
     200all-am: Makefile $(SCRIPTS)
     201all-redirect: all-am
     202install-strip:
     203        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
     204installdirs:
     205
     206
     207mostlyclean-generic:
     208
     209clean-generic:
     210
     211distclean-generic:
     212        -rm -f Makefile $(CONFIG_CLEAN_FILES)
     213        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
     214
     215maintainer-clean-generic:
     216mostlyclean-am:  mostlyclean-generic
     217
     218mostlyclean: mostlyclean-am
     219
     220clean-am:  clean-generic mostlyclean-am
     221
     222clean: clean-am
     223
     224distclean-am:  distclean-generic clean-am
     225
     226distclean: distclean-am
     227        -rm -f config.status
     228
     229maintainer-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
     233maintainer-clean: maintainer-clean-am
     234        -rm -f config.status
     235
     236.PHONY: tags distdir info-am info dvi-am dvi check check-am \
     237installcheck-am installcheck install-exec-local install-exec-am \
     238install-exec install-data-am install-data install-am install \
     239uninstall-am uninstall all-redirect all-am all installdirs \
     240mostlyclean-generic distclean-generic clean-generic \
     241maintainer-clean-generic clean mostlyclean distclean maintainer-clean
     242
     243
     244# HACK: install into build-tree
     245preinstall: install-exec-local
     246
     247install-exec-local: size_rtems
     248        $(mkinstalldirs) $(PROJECT_ROOT)/${RTEMS_BSP}/bin
     249        $(INSTALL_SCRIPT) size_rtems $(PROJECT_ROOT)/${RTEMS_BSP}/bin
     250
     251debug-am:
     252
     253debug: debug-am
     254
     255debug_install-am:
     256
     257debug_install: debug_install-am
     258
     259profile-am:
     260
     261profile: profile-am
     262
     263profile_install-am:
     264
     265profile_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
    113#
    214#  $Id$
    315#
    416
    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
     26SHELL = @SHELL@
     27
    628srcdir = @srcdir@
    729top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../..
    9 subdir = c/src/exec/score/tools/hppa1.1
     30VPATH = @srcdir@
     31prefix = @prefix@
     32exec_prefix = @exec_prefix@
     33
     34bindir = @bindir@
     35sbindir = @sbindir@
     36libexecdir = @libexecdir@
     37datadir = @datadir@
     38sysconfdir = @sysconfdir@
     39sharedstatedir = @sharedstatedir@
     40localstatedir = @localstatedir@
     41libdir = @libdir@
     42infodir = @infodir@
     43mandir = @mandir@
     44includedir = @includedir@
     45oldincludedir = /usr/include
     46
     47DESTDIR =
     48
     49pkgdatadir = $(datadir)/@PACKAGE@
     50pkglibdir = $(libdir)/@PACKAGE@
     51pkgincludedir = $(includedir)/@PACKAGE@
     52
     53top_builddir = .
     54AUTOCONF = @AUTOCONF@
     55AUTOMAKE = @AUTOMAKE@
     56AUTOHEADER = @AUTOHEADER@
    1057
    1158INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     59INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
     60INSTALL_DATA = @INSTALL_DATA@
     61INSTALL_SCRIPT = @INSTALL_SCRIPT@
     62transform = @program_transform_name@
     63
     64NORMAL_INSTALL = :
     65PRE_INSTALL = :
     66POST_INSTALL = :
     67NORMAL_UNINSTALL = :
     68PRE_UNINSTALL = :
     69POST_UNINSTALL = :
     70build_alias = @build_alias@
     71build_triplet = @build@
     72host_alias = @host_alias@
     73host_triplet = @host@
     74target_alias = @target_alias@
     75target_triplet = @target@
     76CC = @CC@
     77MAKEINFO = @MAKEINFO@
     78PACKAGE = @PACKAGE@
    1479PROJECT_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
     80RTEMS_TOPdir = @RTEMS_TOPdir@
     81VERSION = @VERSION@
     82project_bindir = @project_bindir@
     83project_includedir = @project_includedir@
     84project_libdir = @project_libdir@
     85tooldir = @tooldir@
     86
     87AUTOMAKE_OPTIONS = foreign
     88ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal
     89
     90noinst_PROGRAMS = genoffsets
     91
     92genoffsets_SOURCES =  genoffsets.c
     93
    3594
    3695# 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
     97CPU_DIR = ../../cpu/$(RTEMS_CPU)
     98
     99INCLUDES =  -I$(PROJECT_INCLUDE) -I$(CPU_DIR)
     100
     101ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     102mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../mkinstalldirs
     103CONFIG_CLEAN_FILES =
     104PROGRAMS =  $(noinst_PROGRAMS)
     105
     106
     107DEFS = @DEFS@ -I. -I$(srcdir)
     108CPPFLAGS = @CPPFLAGS@
     109LDFLAGS = @LDFLAGS@
     110LIBS = @LIBS@
     111genoffsets_OBJECTS =  genoffsets.o
     112genoffsets_LDADD = $(LDADD)
     113genoffsets_DEPENDENCIES =
     114genoffsets_LDFLAGS =
     115CFLAGS = @CFLAGS@
     116COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
     117CCLD = $(CC)
     118LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
     119DIST_COMMON =  Makefile.am Makefile.in aclocal.m4 configure configure.in
     120
     121
     122DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
     123
     124TAR = tar
     125GZIP_ENV = --best
     126DEP_FILES =  .deps/genoffsets.P
     127SOURCES = $(genoffsets_SOURCES)
     128OBJECTS = $(genoffsets_OBJECTS)
     129
     130all: 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
     136Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
    68137        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
     143config.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
     148mostlyclean-noinstPROGRAMS:
     149
     150clean-noinstPROGRAMS:
     151        -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
     152
     153distclean-noinstPROGRAMS:
     154
     155maintainer-clean-noinstPROGRAMS:
     156
     157.s.o:
     158        $(COMPILE) -c $<
     159
     160.S.o:
     161        $(COMPILE) -c $<
     162
     163mostlyclean-compile:
     164        -rm -f *.o core *.core
     165
     166clean-compile:
     167
     168distclean-compile:
     169        -rm -f *.tab.c
     170
     171maintainer-clean-compile:
     172
     173genoffsets: $(genoffsets_OBJECTS) $(genoffsets_DEPENDENCIES)
     174        @rm -f genoffsets
     175        $(LINK) $(genoffsets_LDFLAGS) $(genoffsets_OBJECTS) $(genoffsets_LDADD) $(LIBS)
     176
     177tags: TAGS
     178
     179ID: $(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
     187TAGS:  $(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
     197mostlyclean-tags:
     198
     199clean-tags:
     200
     201distclean-tags:
     202        -rm -f TAGS ID
     203
     204maintainer-clean-tags:
     205
     206distdir = $(PACKAGE)-$(VERSION)
     207top_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.
     212distcheck: 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"
     232dist: distdir
     233        -chmod -R a+r $(distdir)
     234        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
     235        -rm -rf $(distdir)
     236dist-all: distdir
     237        -chmod -R a+r $(distdir)
     238        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
     239        -rm -rf $(distdir)
     240distdir: $(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
     260DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
     261
     262-include $(DEP_FILES)
     263
     264mostlyclean-depend:
     265
     266clean-depend:
     267
     268distclean-depend:
     269        -rm -rf .deps
     270
     271maintainer-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
     291info-am:
     292info: info-am
     293dvi-am:
     294dvi: dvi-am
     295check-am: all-am
     296check: check-am
     297installcheck-am:
     298installcheck: installcheck-am
     299install-exec-am: install-exec-local
     300install-exec: install-exec-am
     301
     302install-data-am:
     303install-data: install-data-am
     304
     305install-am: all-am
     306        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     307install: install-am
     308uninstall-am:
     309uninstall: uninstall-am
     310all-am: Makefile $(PROGRAMS)
     311all-redirect: all-am
     312install-strip:
     313        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
     314installdirs:
     315
     316
     317mostlyclean-generic:
     318
     319clean-generic:
     320
     321distclean-generic:
     322        -rm -f Makefile $(CONFIG_CLEAN_FILES)
     323        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
     324
     325maintainer-clean-generic:
     326mostlyclean-am:  mostlyclean-noinstPROGRAMS mostlyclean-compile \
     327                mostlyclean-tags mostlyclean-depend mostlyclean-generic
     328
     329mostlyclean: mostlyclean-am
     330
     331clean-am:  clean-noinstPROGRAMS clean-compile clean-tags clean-depend \
     332                clean-generic mostlyclean-am
     333
     334clean: clean-am
     335
     336distclean-am:  distclean-noinstPROGRAMS distclean-compile distclean-tags \
     337                distclean-depend distclean-generic clean-am
     338
     339distclean: distclean-am
     340        -rm -f config.status
     341
     342maintainer-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
     349maintainer-clean: maintainer-clean-am
     350        -rm -f config.status
     351
     352.PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
     353clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
     354mostlyclean-compile distclean-compile clean-compile \
     355maintainer-clean-compile tags mostlyclean-tags distclean-tags \
     356clean-tags maintainer-clean-tags distdir mostlyclean-depend \
     357distclean-depend clean-depend maintainer-clean-depend info-am info \
     358dvi-am dvi check check-am installcheck-am installcheck \
     359install-exec-local install-exec-am install-exec install-data-am \
     360install-data install-am install uninstall-am uninstall all-redirect \
     361all-am all installdirs mostlyclean-generic distclean-generic \
     362clean-generic maintainer-clean-generic clean mostlyclean distclean \
     363maintainer-clean
     364
     365
     366# HACK: install to build-tree
     367preinstall: install-exec-local
     368
     369install-exec-local: genoffsets
     370        $(mkinstalldirs) $(PROJECT_ROOT)/${RTEMS_BSP}/bin
     371        $(INSTALL_PROGRAM) genoffsets ${PROJECT_ROOT}/${RTEMS_BSP}/bin
     372
     373debug-am:
     374
     375debug: debug-am
     376
     377debug_install-am:
     378
     379debug_install: debug_install-am
     380
     381profile-am:
     382
     383profile: profile-am
     384
     385profile_install-am:
     386
     387profile_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
    113#
    214#  $Id$
    315#
    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
     26SHELL = @SHELL@
     27
    828srcdir = @srcdir@
    929top_srcdir = @top_srcdir@
    10 top_builddir = ../../../../../..
    11 subdir = c/src/exec/score/tools/sh
     30VPATH = @srcdir@
     31prefix = @prefix@
     32exec_prefix = @exec_prefix@
     33
     34bindir = @bindir@
     35sbindir = @sbindir@
     36libexecdir = @libexecdir@
     37datadir = @datadir@
     38sysconfdir = @sysconfdir@
     39sharedstatedir = @sharedstatedir@
     40localstatedir = @localstatedir@
     41libdir = @libdir@
     42infodir = @infodir@
     43mandir = @mandir@
     44includedir = @includedir@
     45oldincludedir = /usr/include
     46
     47DESTDIR =
     48
     49pkgdatadir = $(datadir)/@PACKAGE@
     50pkglibdir = $(libdir)/@PACKAGE@
     51pkgincludedir = $(includedir)/@PACKAGE@
     52
     53top_builddir = .
     54AUTOCONF = @AUTOCONF@
     55AUTOMAKE = @AUTOMAKE@
     56AUTOHEADER = @AUTOHEADER@
    1257
    1358INSTALL = @INSTALL@
    14 
    15 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     59INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
     60INSTALL_DATA = @INSTALL_DATA@
     61INSTALL_SCRIPT = @INSTALL_SCRIPT@
     62transform = @program_transform_name@
     63
     64NORMAL_INSTALL = :
     65PRE_INSTALL = :
     66POST_INSTALL = :
     67NORMAL_UNINSTALL = :
     68PRE_UNINSTALL = :
     69POST_UNINSTALL = :
     70build_alias = @build_alias@
     71build_triplet = @build@
     72host_alias = @host_alias@
     73host_triplet = @host@
     74target_alias = @target_alias@
     75target_triplet = @target@
     76CC = @CC@
     77MAKEINFO = @MAKEINFO@
     78PACKAGE = @PACKAGE@
    1679PROJECT_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
     80RTEMS_TOPdir = @RTEMS_TOPdir@
     81VERSION = @VERSION@
     82project_bindir = @project_bindir@
     83project_includedir = @project_includedir@
     84project_libdir = @project_libdir@
     85tooldir = @tooldir@
     86
     87AUTOMAKE_OPTIONS = foreign
     88ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal
     89
     90noinst_PROGRAMS = shgen
     91
     92shgen_SOURCES =  sci.h sci.c shgen.c
     93
     94ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     95mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../mkinstalldirs
     96CONFIG_CLEAN_FILES =
     97PROGRAMS =  $(noinst_PROGRAMS)
     98
     99
     100DEFS = @DEFS@ -I. -I$(srcdir)
     101CPPFLAGS = @CPPFLAGS@
     102LDFLAGS = @LDFLAGS@
     103LIBS = @LIBS@
     104shgen_OBJECTS =  sci.o shgen.o
     105shgen_LDADD = $(LDADD)
     106shgen_DEPENDENCIES =
     107shgen_LDFLAGS =
     108CFLAGS = @CFLAGS@
     109COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
     110CCLD = $(CC)
     111LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
     112DIST_COMMON =  AUTHORS COPYING Makefile.am Makefile.in TODO aclocal.m4 \
     113configure configure.in
     114
     115
     116DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
     117
     118TAR = tar
     119GZIP_ENV = --best
     120DEP_FILES =  .deps/sci.P .deps/shgen.P
     121SOURCES = $(shgen_SOURCES)
     122OBJECTS = $(shgen_OBJECTS)
     123
     124all: 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
     130Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
    72131        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
     137config.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
     142mostlyclean-noinstPROGRAMS:
     143
     144clean-noinstPROGRAMS:
     145        -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
     146
     147distclean-noinstPROGRAMS:
     148
     149maintainer-clean-noinstPROGRAMS:
     150
     151.s.o:
     152        $(COMPILE) -c $<
     153
     154.S.o:
     155        $(COMPILE) -c $<
     156
     157mostlyclean-compile:
     158        -rm -f *.o core *.core
     159
     160clean-compile:
     161
     162distclean-compile:
     163        -rm -f *.tab.c
     164
     165maintainer-clean-compile:
     166
     167shgen: $(shgen_OBJECTS) $(shgen_DEPENDENCIES)
     168        @rm -f shgen
     169        $(LINK) $(shgen_LDFLAGS) $(shgen_OBJECTS) $(shgen_LDADD) $(LIBS)
     170
     171tags: TAGS
     172
     173ID: $(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
     181TAGS:  $(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
     191mostlyclean-tags:
     192
     193clean-tags:
     194
     195distclean-tags:
     196        -rm -f TAGS ID
     197
     198maintainer-clean-tags:
     199
     200distdir = $(PACKAGE)-$(VERSION)
     201top_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.
     206distcheck: 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"
     226dist: distdir
     227        -chmod -R a+r $(distdir)
     228        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
     229        -rm -rf $(distdir)
     230dist-all: distdir
     231        -chmod -R a+r $(distdir)
     232        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
     233        -rm -rf $(distdir)
     234distdir: $(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
     254DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
     255
     256-include $(DEP_FILES)
     257
     258mostlyclean-depend:
     259
     260clean-depend:
     261
     262distclean-depend:
     263        -rm -rf .deps
     264
     265maintainer-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
     285info-am:
     286info: info-am
     287dvi-am:
     288dvi: dvi-am
     289check-am: all-am
     290check: check-am
     291installcheck-am:
     292installcheck: installcheck-am
     293install-exec-am:
     294install-exec: install-exec-am
     295
     296install-data-am:
     297install-data: install-data-am
     298
     299install-am: all-am
     300        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     301install: install-am
     302uninstall-am:
     303uninstall: uninstall-am
     304all-am: Makefile $(PROGRAMS)
     305all-redirect: all-am
     306install-strip:
     307        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
     308installdirs:
     309
     310
     311mostlyclean-generic:
     312
     313clean-generic:
     314
     315distclean-generic:
     316        -rm -f Makefile $(CONFIG_CLEAN_FILES)
     317        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
     318
     319maintainer-clean-generic:
     320mostlyclean-am:  mostlyclean-noinstPROGRAMS mostlyclean-compile \
     321                mostlyclean-tags mostlyclean-depend mostlyclean-generic
     322
     323mostlyclean: mostlyclean-am
     324
     325clean-am:  clean-noinstPROGRAMS clean-compile clean-tags clean-depend \
     326                clean-generic mostlyclean-am
     327
     328clean: clean-am
     329
     330distclean-am:  distclean-noinstPROGRAMS distclean-compile distclean-tags \
     331                distclean-depend distclean-generic clean-am
     332
     333distclean: distclean-am
     334        -rm -f config.status
     335
     336maintainer-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
     343maintainer-clean: maintainer-clean-am
     344        -rm -f config.status
     345
     346.PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
     347clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
     348mostlyclean-compile distclean-compile clean-compile \
     349maintainer-clean-compile tags mostlyclean-tags distclean-tags \
     350clean-tags maintainer-clean-tags distdir mostlyclean-depend \
     351distclean-depend clean-depend maintainer-clean-depend info-am info \
     352dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
     353install-exec install-data-am install-data install-am install \
     354uninstall-am uninstall all-redirect all-am all installdirs \
     355mostlyclean-generic distclean-generic clean-generic \
     356maintainer-clean-generic clean mostlyclean distclean maintainer-clean
     357
     358
     359debug-am:
     360
     361debug: debug-am
     362
     363debug_install-am:
     364
     365debug_install: debug_install-am
     366
     367profile-am:
     368
     369profile: profile-am
     370
     371profile_install-am:
     372
     373profile_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
    113#
    214#  $Id$
    315#
    416
    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
     26SHELL = @SHELL@
     27
    628srcdir = @srcdir@
    729top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../..
    9 subdir = c/src/exec/score/tools/unix
     30VPATH = @srcdir@
     31prefix = @prefix@
     32exec_prefix = @exec_prefix@
     33
     34bindir = @bindir@
     35sbindir = @sbindir@
     36libexecdir = @libexecdir@
     37datadir = @datadir@
     38sysconfdir = @sysconfdir@
     39sharedstatedir = @sharedstatedir@
     40localstatedir = @localstatedir@
     41libdir = @libdir@
     42infodir = @infodir@
     43mandir = @mandir@
     44includedir = @includedir@
     45oldincludedir = /usr/include
     46
     47DESTDIR =
     48
     49pkgdatadir = $(datadir)/@PACKAGE@
     50pkglibdir = $(libdir)/@PACKAGE@
     51pkgincludedir = $(includedir)/@PACKAGE@
     52
     53top_builddir = .
     54AUTOCONF = @AUTOCONF@
     55AUTOMAKE = @AUTOMAKE@
     56AUTOHEADER = @AUTOHEADER@
    1057
    1158INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     59INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
     60INSTALL_DATA = @INSTALL_DATA@
     61INSTALL_SCRIPT = @INSTALL_SCRIPT@
     62transform = @program_transform_name@
     63
     64NORMAL_INSTALL = :
     65PRE_INSTALL = :
     66POST_INSTALL = :
     67NORMAL_UNINSTALL = :
     68PRE_UNINSTALL = :
     69POST_UNINSTALL = :
     70build_alias = @build_alias@
     71build_triplet = @build@
     72host_alias = @host_alias@
     73host_triplet = @host@
     74target_alias = @target_alias@
     75target_triplet = @target@
     76CC = @CC@
     77MAKEINFO = @MAKEINFO@
     78PACKAGE = @PACKAGE@
    1479PROJECT_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
     80RTEMS_TOPdir = @RTEMS_TOPdir@
     81VERSION = @VERSION@
     82project_bindir = @project_bindir@
     83project_includedir = @project_includedir@
     84project_libdir = @project_libdir@
     85tooldir = @tooldir@
     86
     87AUTOMAKE_OPTIONS = foreign
     88ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal
     89
     90noinst_PROGRAMS = gensize
     91
     92gensize_SOURCES = gensize.c
    3593
    3694# 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
     95CPU_DIR = $(srcdir)/../../cpu/$(RTEMS_CPU)
     96
     97INCLUDES =  -I$(PROJECT_ROOT)/${RTEMS_BSP}/include -I$(CPU_DIR)
     98
     99ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     100mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../mkinstalldirs
     101CONFIG_CLEAN_FILES =
     102PROGRAMS =  $(noinst_PROGRAMS)
     103
     104
     105DEFS = @DEFS@ -I. -I$(srcdir)
     106CPPFLAGS = @CPPFLAGS@
     107LDFLAGS = @LDFLAGS@
     108LIBS = @LIBS@
     109gensize_OBJECTS =  gensize.o
     110gensize_LDADD = $(LDADD)
     111gensize_DEPENDENCIES =
     112gensize_LDFLAGS =
     113CFLAGS = @CFLAGS@
     114COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
     115CCLD = $(CC)
     116LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
     117DIST_COMMON =  Makefile.am Makefile.in aclocal.m4 configure configure.in
     118
     119
     120DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
     121
     122TAR = tar
     123GZIP_ENV = --best
     124DEP_FILES =  .deps/gensize.P
     125SOURCES = $(gensize_SOURCES)
     126OBJECTS = $(gensize_OBJECTS)
     127
     128all: 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
     134Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
    68135        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
     141config.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
     146mostlyclean-noinstPROGRAMS:
     147
     148clean-noinstPROGRAMS:
     149        -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
     150
     151distclean-noinstPROGRAMS:
     152
     153maintainer-clean-noinstPROGRAMS:
     154
     155.s.o:
     156        $(COMPILE) -c $<
     157
     158.S.o:
     159        $(COMPILE) -c $<
     160
     161mostlyclean-compile:
     162        -rm -f *.o core *.core
     163
     164clean-compile:
     165
     166distclean-compile:
     167        -rm -f *.tab.c
     168
     169maintainer-clean-compile:
     170
     171gensize: $(gensize_OBJECTS) $(gensize_DEPENDENCIES)
     172        @rm -f gensize
     173        $(LINK) $(gensize_LDFLAGS) $(gensize_OBJECTS) $(gensize_LDADD) $(LIBS)
     174
     175tags: TAGS
     176
     177ID: $(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
     185TAGS:  $(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
     195mostlyclean-tags:
     196
     197clean-tags:
     198
     199distclean-tags:
     200        -rm -f TAGS ID
     201
     202maintainer-clean-tags:
     203
     204distdir = $(PACKAGE)-$(VERSION)
     205top_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.
     210distcheck: 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"
     230dist: distdir
     231        -chmod -R a+r $(distdir)
     232        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
     233        -rm -rf $(distdir)
     234dist-all: distdir
     235        -chmod -R a+r $(distdir)
     236        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
     237        -rm -rf $(distdir)
     238distdir: $(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
     258DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
     259
     260-include $(DEP_FILES)
     261
     262mostlyclean-depend:
     263
     264clean-depend:
     265
     266distclean-depend:
     267        -rm -rf .deps
     268
     269maintainer-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
     289info-am:
     290info: info-am
     291dvi-am:
     292dvi: dvi-am
     293check-am: all-am
     294check: check-am
     295installcheck-am:
     296installcheck: installcheck-am
     297install-exec-am: install-exec-local
     298install-exec: install-exec-am
     299
     300install-data-am:
     301install-data: install-data-am
     302
     303install-am: all-am
     304        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     305install: install-am
     306uninstall-am:
     307uninstall: uninstall-am
     308all-am: Makefile $(PROGRAMS)
     309all-redirect: all-am
     310install-strip:
     311        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
     312installdirs:
     313
     314
     315mostlyclean-generic:
     316
     317clean-generic:
     318
     319distclean-generic:
     320        -rm -f Makefile $(CONFIG_CLEAN_FILES)
     321        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
     322
     323maintainer-clean-generic:
     324mostlyclean-am:  mostlyclean-noinstPROGRAMS mostlyclean-compile \
     325                mostlyclean-tags mostlyclean-depend mostlyclean-generic
     326
     327mostlyclean: mostlyclean-am
     328
     329clean-am:  clean-noinstPROGRAMS clean-compile clean-tags clean-depend \
     330                clean-generic mostlyclean-am
     331
     332clean: clean-am
     333
     334distclean-am:  distclean-noinstPROGRAMS distclean-compile distclean-tags \
     335                distclean-depend distclean-generic clean-am
     336
     337distclean: distclean-am
     338        -rm -f config.status
     339
     340maintainer-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
     347maintainer-clean: maintainer-clean-am
     348        -rm -f config.status
     349
     350.PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
     351clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
     352mostlyclean-compile distclean-compile clean-compile \
     353maintainer-clean-compile tags mostlyclean-tags distclean-tags \
     354clean-tags maintainer-clean-tags distdir mostlyclean-depend \
     355distclean-depend clean-depend maintainer-clean-depend info-am info \
     356dvi-am dvi check check-am installcheck-am installcheck \
     357install-exec-local install-exec-am install-exec install-data-am \
     358install-data install-am install uninstall-am uninstall all-redirect \
     359all-am all installdirs mostlyclean-generic distclean-generic \
     360clean-generic maintainer-clean-generic clean mostlyclean distclean \
     361maintainer-clean
     362
     363
     364# HACK: install into the build-tree
     365preinstall: install-exec-local
     366
     367install-exec-local: gensize
     368        $(mkinstalldirs) $(PROJECT_ROOT)/${RTEMS_BSP}/bin
     369        $(INSTALL_PROGRAM) gensize $(PROJECT_ROOT)/${RTEMS_BSP}/bin
     370
     371debug-am:
     372
     373debug: debug-am
     374
     375debug_install-am:
     376
     377debug_install: debug_install-am
     378
     379profile-am:
     380
     381profile: profile-am
     382
     383profile_install-am:
     384
     385profile_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
    113#
    214#  $Id$
    315#
    416
    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
     26SHELL = @SHELL@
     27
    628srcdir = @srcdir@
    729top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/hppa1.1/simhppa/tools
     30VPATH = @srcdir@
     31prefix = @prefix@
     32exec_prefix = @exec_prefix@
     33
     34bindir = @bindir@
     35sbindir = @sbindir@
     36libexecdir = @libexecdir@
     37datadir = @datadir@
     38sysconfdir = @sysconfdir@
     39sharedstatedir = @sharedstatedir@
     40localstatedir = @localstatedir@
     41libdir = @libdir@
     42infodir = @infodir@
     43mandir = @mandir@
     44includedir = @includedir@
     45oldincludedir = /usr/include
     46
     47DESTDIR =
     48
     49pkgdatadir = $(datadir)/@PACKAGE@
     50pkglibdir = $(libdir)/@PACKAGE@
     51pkgincludedir = $(includedir)/@PACKAGE@
     52
     53top_builddir = .
     54AUTOCONF = @AUTOCONF@
     55AUTOMAKE = @AUTOMAKE@
     56AUTOHEADER = @AUTOHEADER@
    1057
    1158INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     59INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
     60INSTALL_DATA = @INSTALL_DATA@
     61INSTALL_SCRIPT = @INSTALL_SCRIPT@
     62transform = @program_transform_name@
     63
     64NORMAL_INSTALL = :
     65PRE_INSTALL = :
     66POST_INSTALL = :
     67NORMAL_UNINSTALL = :
     68PRE_UNINSTALL = :
     69POST_UNINSTALL = :
     70build_alias = @build_alias@
     71build_triplet = @build@
     72host_alias = @host_alias@
     73host_triplet = @host@
     74target_alias = @target_alias@
     75target_triplet = @target@
     76CC = @CC@
     77MAKEINFO = @MAKEINFO@
     78PACKAGE = @PACKAGE@
    1479PROJECT_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
     80RTEMS_TOPdir = @RTEMS_TOPdir@
     81VERSION = @VERSION@
     82
     83AUTOMAKE_OPTIONS = foreign
     84ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal
     85
     86noinst_PROGRAMS =  print_dump
     87
     88
     89print_dump_SOURCES =  print_dump.c
     90
     91ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     92mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../../mkinstalldirs
     93CONFIG_HEADER = config.h
     94CONFIG_CLEAN_FILES =
     95PROGRAMS =  $(noinst_PROGRAMS)
     96
     97
     98DEFS = @DEFS@ -I. -I$(srcdir) -I.
     99CPPFLAGS = @CPPFLAGS@
     100LDFLAGS = @LDFLAGS@
     101LIBS = @LIBS@
     102print_dump_OBJECTS =  print_dump.o
     103print_dump_LDADD = $(LDADD)
     104print_dump_DEPENDENCIES =
     105print_dump_LDFLAGS =
     106CFLAGS = @CFLAGS@
     107COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
     108CCLD = $(CC)
     109LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
     110DIST_COMMON =  ./stamp-h.in Makefile.am Makefile.in aclocal.m4 \
     111config.h.in configure configure.in
     112
     113
     114DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
     115
     116TAR = tar
     117GZIP_ENV = --best
     118DEP_FILES =  .deps/print_dump.P
     119SOURCES = $(print_dump_SOURCES)
     120OBJECTS = $(print_dump_OBJECTS)
     121
     122all: 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
     128Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
    62129        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
     135config.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
     140config.h: stamp-h
     141        @if test ! -f $@; then \
     142                rm -f stamp-h; \
     143                $(MAKE) stamp-h; \
     144        else :; fi
     145stamp-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
     159mostlyclean-hdr:
     160
     161clean-hdr:
     162
     163distclean-hdr:
     164        -rm -f config.h
     165
     166maintainer-clean-hdr:
     167
     168mostlyclean-noinstPROGRAMS:
     169
     170clean-noinstPROGRAMS:
     171        -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
     172
     173distclean-noinstPROGRAMS:
     174
     175maintainer-clean-noinstPROGRAMS:
     176
     177.s.o:
     178        $(COMPILE) -c $<
     179
     180.S.o:
     181        $(COMPILE) -c $<
     182
     183mostlyclean-compile:
     184        -rm -f *.o core *.core
     185
     186clean-compile:
     187
     188distclean-compile:
     189        -rm -f *.tab.c
     190
     191maintainer-clean-compile:
     192
     193print_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
     197tags: TAGS
     198
     199ID: $(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
     207TAGS:  $(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
     217mostlyclean-tags:
     218
     219clean-tags:
     220
     221distclean-tags:
     222        -rm -f TAGS ID
     223
     224maintainer-clean-tags:
     225
     226distdir = $(PACKAGE)-$(VERSION)
     227top_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.
     232distcheck: 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"
     252dist: distdir
     253        -chmod -R a+r $(distdir)
     254        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
     255        -rm -rf $(distdir)
     256dist-all: distdir
     257        -chmod -R a+r $(distdir)
     258        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
     259        -rm -rf $(distdir)
     260distdir: $(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
     280DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
     281
     282-include $(DEP_FILES)
     283
     284mostlyclean-depend:
     285
     286clean-depend:
     287
     288distclean-depend:
     289        -rm -rf .deps
     290
     291maintainer-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
     311info-am:
     312info: info-am
     313dvi-am:
     314dvi: dvi-am
     315check-am: all-am
     316check: check-am
     317installcheck-am:
     318installcheck: installcheck-am
     319all-recursive-am: config.h
     320        $(MAKE) $(AM_MAKEFLAGS) all-recursive
     321
     322install-exec-am: install-exec-local
     323install-exec: install-exec-am
     324
     325install-data-am:
     326install-data: install-data-am
     327
     328install-am: all-am
     329        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     330install: install-am
     331uninstall-am:
     332uninstall: uninstall-am
     333all-am: Makefile $(PROGRAMS) config.h
     334all-redirect: all-am
     335install-strip:
     336        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
     337installdirs:
     338
     339
     340mostlyclean-generic:
     341
     342clean-generic:
     343
     344distclean-generic:
     345        -rm -f Makefile $(CONFIG_CLEAN_FILES)
     346        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
     347
     348maintainer-clean-generic:
     349mostlyclean-am:  mostlyclean-hdr mostlyclean-noinstPROGRAMS \
     350                mostlyclean-compile mostlyclean-tags mostlyclean-depend \
     351                mostlyclean-generic
     352
     353mostlyclean: mostlyclean-am
     354
     355clean-am:  clean-hdr clean-noinstPROGRAMS clean-compile clean-tags \
     356                clean-depend clean-generic mostlyclean-am
     357
     358clean: clean-am
     359
     360distclean-am:  distclean-hdr distclean-noinstPROGRAMS distclean-compile \
     361                distclean-tags distclean-depend distclean-generic \
     362                clean-am
     363
     364distclean: distclean-am
     365        -rm -f config.status
     366
     367maintainer-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
     375maintainer-clean: maintainer-clean-am
     376        -rm -f config.status
     377
     378.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
     379mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
     380clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
     381mostlyclean-compile distclean-compile clean-compile \
     382maintainer-clean-compile tags mostlyclean-tags distclean-tags \
     383clean-tags maintainer-clean-tags distdir mostlyclean-depend \
     384distclean-depend clean-depend maintainer-clean-depend info-am info \
     385dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
     386install-exec-local install-exec-am install-exec install-data-am \
     387install-data install-am install uninstall-am uninstall all-redirect \
     388all-am all installdirs mostlyclean-generic distclean-generic \
     389clean-generic maintainer-clean-generic clean mostlyclean distclean \
     390maintainer-clean
     391
     392
     393# HACK: install to build-tree
     394install-exec-local: print_dump
     395        $(mkinstalldirs) $(PROJECT_ROOT)/${RTEMS_BSP}/bin
     396        $(INSTALL_PROGRAM) print_dump $(PROJECT_ROOT)/${RTEMS_BSP}/bin
     397
     398debug-am:
     399
     400debug: debug-am
     401
     402debug_install-am:
     403
     404debug_install: debug_install-am
     405
     406profile-am:
     407
     408profile: profile-am
     409
     410profile_install-am:
     411
     412profile_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  
    2929#include <stdarg.h>
    3030
    31 #include "../../../../../../build-tools/src/config.h"
     31#include "config.h"
    3232
    3333#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
    113#
    214# $Id$
    315#
    416
    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
     26SHELL = @SHELL@
     27
    628srcdir = @srcdir@
    729top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/i386/pc386/tools
     30VPATH = @srcdir@
     31prefix = @prefix@
     32exec_prefix = @exec_prefix@
     33
     34bindir = @bindir@
     35sbindir = @sbindir@
     36libexecdir = @libexecdir@
     37datadir = @datadir@
     38sysconfdir = @sysconfdir@
     39sharedstatedir = @sharedstatedir@
     40localstatedir = @localstatedir@
     41libdir = @libdir@
     42infodir = @infodir@
     43mandir = @mandir@
     44includedir = @includedir@
     45oldincludedir = /usr/include
     46
     47DESTDIR =
     48
     49pkgdatadir = $(datadir)/@PACKAGE@
     50pkglibdir = $(libdir)/@PACKAGE@
     51pkgincludedir = $(includedir)/@PACKAGE@
     52
     53top_builddir = .
     54AUTOCONF = @AUTOCONF@
     55AUTOMAKE = @AUTOMAKE@
     56AUTOHEADER = @AUTOHEADER@
    1057
    1158INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     59INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
     60INSTALL_DATA = @INSTALL_DATA@
     61INSTALL_SCRIPT = @INSTALL_SCRIPT@
     62transform = @program_transform_name@
     63
     64NORMAL_INSTALL = :
     65PRE_INSTALL = :
     66POST_INSTALL = :
     67NORMAL_UNINSTALL = :
     68PRE_UNINSTALL = :
     69POST_UNINSTALL = :
     70build_alias = @build_alias@
     71build_triplet = @build@
     72host_alias = @host_alias@
     73host_triplet = @host@
     74target_alias = @target_alias@
     75target_triplet = @target@
     76CC = @CC@
     77MAKEINFO = @MAKEINFO@
     78PACKAGE = @PACKAGE@
    1479PROJECT_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
     80RTEMS_TOPdir = @RTEMS_TOPdir@
     81VERSION = @VERSION@
     82
     83AUTOMAKE_OPTIONS = foreign
     84ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal
     85
     86EXTRA_DIST = Spec.doc
     87
     88noinst_PROGRAMS =  bin2boot binpatch
     89
     90
     91bin2boot_SOURCES = bin2boot.c
     92binpatch_SOURCES = binpatch.c
     93ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     94mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../../mkinstalldirs
     95CONFIG_CLEAN_FILES =
     96PROGRAMS =  $(noinst_PROGRAMS)
     97
     98
     99DEFS = @DEFS@ -I. -I$(srcdir)
     100CPPFLAGS = @CPPFLAGS@
     101LDFLAGS = @LDFLAGS@
     102LIBS = @LIBS@
     103bin2boot_OBJECTS =  bin2boot.o
     104bin2boot_LDADD = $(LDADD)
     105bin2boot_DEPENDENCIES =
     106bin2boot_LDFLAGS =
     107binpatch_OBJECTS =  binpatch.o
     108binpatch_LDADD = $(LDADD)
     109binpatch_DEPENDENCIES =
     110binpatch_LDFLAGS =
     111CFLAGS = @CFLAGS@
     112COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
     113CCLD = $(CC)
     114LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
     115DIST_COMMON =  Makefile.am Makefile.in aclocal.m4 configure configure.in
     116
     117
     118DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
     119
     120TAR = tar
     121GZIP_ENV = --best
     122DEP_FILES =  .deps/bin2boot.P .deps/binpatch.P
     123SOURCES = $(bin2boot_SOURCES) $(binpatch_SOURCES)
     124OBJECTS = $(bin2boot_OBJECTS) $(binpatch_OBJECTS)
     125
     126all: 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
     132Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
    82133        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
     139config.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
     144mostlyclean-noinstPROGRAMS:
     145
     146clean-noinstPROGRAMS:
     147        -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
     148
     149distclean-noinstPROGRAMS:
     150
     151maintainer-clean-noinstPROGRAMS:
     152
     153.s.o:
     154        $(COMPILE) -c $<
     155
     156.S.o:
     157        $(COMPILE) -c $<
     158
     159mostlyclean-compile:
     160        -rm -f *.o core *.core
     161
     162clean-compile:
     163
     164distclean-compile:
     165        -rm -f *.tab.c
     166
     167maintainer-clean-compile:
     168
     169bin2boot: $(bin2boot_OBJECTS) $(bin2boot_DEPENDENCIES)
     170        @rm -f bin2boot
     171        $(LINK) $(bin2boot_LDFLAGS) $(bin2boot_OBJECTS) $(bin2boot_LDADD) $(LIBS)
     172
     173binpatch: $(binpatch_OBJECTS) $(binpatch_DEPENDENCIES)
     174        @rm -f binpatch
     175        $(LINK) $(binpatch_LDFLAGS) $(binpatch_OBJECTS) $(binpatch_LDADD) $(LIBS)
     176
     177tags: TAGS
     178
     179ID: $(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
     187TAGS:  $(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
     197mostlyclean-tags:
     198
     199clean-tags:
     200
     201distclean-tags:
     202        -rm -f TAGS ID
     203
     204maintainer-clean-tags:
     205
     206distdir = $(PACKAGE)-$(VERSION)
     207top_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.
     212distcheck: 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"
     232dist: distdir
     233        -chmod -R a+r $(distdir)
     234        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
     235        -rm -rf $(distdir)
     236dist-all: distdir
     237        -chmod -R a+r $(distdir)
     238        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
     239        -rm -rf $(distdir)
     240distdir: $(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
     260DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
     261
     262-include $(DEP_FILES)
     263
     264mostlyclean-depend:
     265
     266clean-depend:
     267
     268distclean-depend:
     269        -rm -rf .deps
     270
     271maintainer-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
     291info-am:
     292info: info-am
     293dvi-am:
     294dvi: dvi-am
     295check-am: all-am
     296check: check-am
     297installcheck-am:
     298installcheck: installcheck-am
     299install-exec-am: install-exec-local
     300install-exec: install-exec-am
     301
     302install-data-am:
     303install-data: install-data-am
     304
     305install-am: all-am
     306        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     307install: install-am
     308uninstall-am:
     309uninstall: uninstall-am
     310all-am: Makefile $(PROGRAMS)
     311all-redirect: all-am
     312install-strip:
     313        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
     314installdirs:
     315
     316
     317mostlyclean-generic:
     318
     319clean-generic:
     320
     321distclean-generic:
     322        -rm -f Makefile $(CONFIG_CLEAN_FILES)
     323        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
     324
     325maintainer-clean-generic:
     326mostlyclean-am:  mostlyclean-noinstPROGRAMS mostlyclean-compile \
     327                mostlyclean-tags mostlyclean-depend mostlyclean-generic
     328
     329mostlyclean: mostlyclean-am
     330
     331clean-am:  clean-noinstPROGRAMS clean-compile clean-tags clean-depend \
     332                clean-generic mostlyclean-am
     333
     334clean: clean-am
     335
     336distclean-am:  distclean-noinstPROGRAMS distclean-compile distclean-tags \
     337                distclean-depend distclean-generic clean-am
     338
     339distclean: distclean-am
     340        -rm -f config.status
     341
     342maintainer-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
     349maintainer-clean: maintainer-clean-am
     350        -rm -f config.status
     351
     352.PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
     353clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
     354mostlyclean-compile distclean-compile clean-compile \
     355maintainer-clean-compile tags mostlyclean-tags distclean-tags \
     356clean-tags maintainer-clean-tags distdir mostlyclean-depend \
     357distclean-depend clean-depend maintainer-clean-depend info-am info \
     358dvi-am dvi check check-am installcheck-am installcheck \
     359install-exec-local install-exec-am install-exec install-data-am \
     360install-data install-am install uninstall-am uninstall all-redirect \
     361all-am all installdirs mostlyclean-generic distclean-generic \
     362clean-generic maintainer-clean-generic clean mostlyclean distclean \
     363maintainer-clean
     364
     365
     366# HACK: install into build-tree
     367preinstall: install-exec-local
     368
     369install-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
     374debug-am:
     375
     376debug: debug-am
     377
     378debug_install-am:
     379
     380debug_install: debug_install-am
     381
     382profile-am:
     383
     384profile: profile-am
     385
     386profile_install-am:
     387
     388profile_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
    113#
    214#  $Id$
    315#
    416
    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
     26SHELL = @SHELL@
     27
    628srcdir = @srcdir@
    729top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/m68k/mvme162/tools
     30VPATH = @srcdir@
     31prefix = @prefix@
     32exec_prefix = @exec_prefix@
     33
     34bindir = @bindir@
     35sbindir = @sbindir@
     36libexecdir = @libexecdir@
     37datadir = @datadir@
     38sysconfdir = @sysconfdir@
     39sharedstatedir = @sharedstatedir@
     40localstatedir = @localstatedir@
     41libdir = @libdir@
     42infodir = @infodir@
     43mandir = @mandir@
     44includedir = @includedir@
     45oldincludedir = /usr/include
     46
     47DESTDIR =
     48
     49pkgdatadir = $(datadir)/@PACKAGE@
     50pkglibdir = $(libdir)/@PACKAGE@
     51pkgincludedir = $(includedir)/@PACKAGE@
     52
     53top_builddir = .
     54AUTOCONF = @AUTOCONF@
     55AUTOMAKE = @AUTOMAKE@
     56AUTOHEADER = @AUTOHEADER@
    1057
    1158INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     59INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
     60INSTALL_DATA = @INSTALL_DATA@
     61INSTALL_SCRIPT = @INSTALL_SCRIPT@
     62transform = @program_transform_name@
     63
     64NORMAL_INSTALL = :
     65PRE_INSTALL = :
     66POST_INSTALL = :
     67NORMAL_UNINSTALL = :
     68PRE_UNINSTALL = :
     69POST_UNINSTALL = :
     70build_alias = @build_alias@
     71build_triplet = @build@
     72host_alias = @host_alias@
     73host_triplet = @host@
     74target_alias = @target_alias@
     75target_triplet = @target@
     76CC = @CC@
     77MAKEINFO = @MAKEINFO@
     78PACKAGE = @PACKAGE@
    1479PROJECT_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
     80RTEMS_TOPdir = @RTEMS_TOPdir@
     81VERSION = @VERSION@
     82
     83AUTOMAKE_OPTIONS = foreign
     84ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal
     85
     86noinst_PROGRAMS = sload
     87
     88sload_SOURCES = sload.c
     89ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     90mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../../mkinstalldirs
     91CONFIG_CLEAN_FILES =
     92PROGRAMS =  $(noinst_PROGRAMS)
     93
     94
     95DEFS = @DEFS@ -I. -I$(srcdir)
     96CPPFLAGS = @CPPFLAGS@
     97LDFLAGS = @LDFLAGS@
     98LIBS = @LIBS@
     99sload_OBJECTS =  sload.o
     100sload_LDADD = $(LDADD)
     101sload_DEPENDENCIES =
     102sload_LDFLAGS =
     103CFLAGS = @CFLAGS@
     104COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
     105CCLD = $(CC)
     106LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
     107DIST_COMMON =  Makefile.am Makefile.in aclocal.m4 configure configure.in
     108
     109
     110DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
     111
     112TAR = tar
     113GZIP_ENV = --best
     114DEP_FILES =  .deps/sload.P
     115SOURCES = $(sload_SOURCES)
     116OBJECTS = $(sload_OBJECTS)
     117
     118all: 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
     124Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
    63125        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
     131config.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
     136mostlyclean-noinstPROGRAMS:
     137
     138clean-noinstPROGRAMS:
     139        -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
     140
     141distclean-noinstPROGRAMS:
     142
     143maintainer-clean-noinstPROGRAMS:
     144
     145.s.o:
     146        $(COMPILE) -c $<
     147
     148.S.o:
     149        $(COMPILE) -c $<
     150
     151mostlyclean-compile:
     152        -rm -f *.o core *.core
     153
     154clean-compile:
     155
     156distclean-compile:
     157        -rm -f *.tab.c
     158
     159maintainer-clean-compile:
     160
     161sload: $(sload_OBJECTS) $(sload_DEPENDENCIES)
     162        @rm -f sload
     163        $(LINK) $(sload_LDFLAGS) $(sload_OBJECTS) $(sload_LDADD) $(LIBS)
     164
     165tags: TAGS
     166
     167ID: $(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
     175TAGS:  $(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
     185mostlyclean-tags:
     186
     187clean-tags:
     188
     189distclean-tags:
     190        -rm -f TAGS ID
     191
     192maintainer-clean-tags:
     193
     194distdir = $(PACKAGE)-$(VERSION)
     195top_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.
     200distcheck: 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"
     220dist: distdir
     221        -chmod -R a+r $(distdir)
     222        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
     223        -rm -rf $(distdir)
     224dist-all: distdir
     225        -chmod -R a+r $(distdir)
     226        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
     227        -rm -rf $(distdir)
     228distdir: $(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
     248DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
     249
     250-include $(DEP_FILES)
     251
     252mostlyclean-depend:
     253
     254clean-depend:
     255
     256distclean-depend:
     257        -rm -rf .deps
     258
     259maintainer-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
     279info-am:
     280info: info-am
     281dvi-am:
     282dvi: dvi-am
     283check-am: all-am
     284check: check-am
     285installcheck-am:
     286installcheck: installcheck-am
     287install-exec-am: install-exec-local
     288install-exec: install-exec-am
     289
     290install-data-am:
     291install-data: install-data-am
     292
     293install-am: all-am
     294        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     295install: install-am
     296uninstall-am:
     297uninstall: uninstall-am
     298all-am: Makefile $(PROGRAMS)
     299all-redirect: all-am
     300install-strip:
     301        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
     302installdirs:
     303
     304
     305mostlyclean-generic:
     306
     307clean-generic:
     308
     309distclean-generic:
     310        -rm -f Makefile $(CONFIG_CLEAN_FILES)
     311        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
     312
     313maintainer-clean-generic:
     314mostlyclean-am:  mostlyclean-noinstPROGRAMS mostlyclean-compile \
     315                mostlyclean-tags mostlyclean-depend mostlyclean-generic
     316
     317mostlyclean: mostlyclean-am
     318
     319clean-am:  clean-noinstPROGRAMS clean-compile clean-tags clean-depend \
     320                clean-generic mostlyclean-am
     321
     322clean: clean-am
     323
     324distclean-am:  distclean-noinstPROGRAMS distclean-compile distclean-tags \
     325                distclean-depend distclean-generic clean-am
     326
     327distclean: distclean-am
     328        -rm -f config.status
     329
     330maintainer-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
     337maintainer-clean: maintainer-clean-am
     338        -rm -f config.status
     339
     340.PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
     341clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
     342mostlyclean-compile distclean-compile clean-compile \
     343maintainer-clean-compile tags mostlyclean-tags distclean-tags \
     344clean-tags maintainer-clean-tags distdir mostlyclean-depend \
     345distclean-depend clean-depend maintainer-clean-depend info-am info \
     346dvi-am dvi check check-am installcheck-am installcheck \
     347install-exec-local install-exec-am install-exec install-data-am \
     348install-data install-am install uninstall-am uninstall all-redirect \
     349all-am all installdirs mostlyclean-generic distclean-generic \
     350clean-generic maintainer-clean-generic clean mostlyclean distclean \
     351maintainer-clean
     352
     353
     354# HACK: install to build-tree
     355install-exec-local: $(PROGRAMS)
     356        $(mkinstalldirs) $(PROJECT_ROOT)/${RTEMS_BSP}/bin
     357        $(INSTALL_PROGRAM) $(PROGRAMS) $(PROJECT_ROOT)/${RTEMS_BSP}/bin
     358
     359debug-am:
     360
     361debug: debug-am
     362
     363debug_install-am:
     364
     365debug_install: debug_install-am
     366
     367profile-am:
     368
     369profile: profile-am
     370
     371profile_install-am:
     372
     373profile_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
    113#
    214# $Id$
    315#
    416
    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
     26SHELL = @SHELL@
     27
    628srcdir = @srcdir@
    729top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/powerpc/psim/tools
     30VPATH = @srcdir@
     31prefix = @prefix@
     32exec_prefix = @exec_prefix@
     33
     34bindir = @bindir@
     35sbindir = @sbindir@
     36libexecdir = @libexecdir@
     37datadir = @datadir@
     38sysconfdir = @sysconfdir@
     39sharedstatedir = @sharedstatedir@
     40localstatedir = @localstatedir@
     41libdir = @libdir@
     42infodir = @infodir@
     43mandir = @mandir@
     44includedir = @includedir@
     45oldincludedir = /usr/include
     46
     47DESTDIR =
     48
     49pkgdatadir = $(datadir)/@PACKAGE@
     50pkglibdir = $(libdir)/@PACKAGE@
     51pkgincludedir = $(includedir)/@PACKAGE@
     52
     53top_builddir = .
     54AUTOCONF = @AUTOCONF@
     55AUTOMAKE = @AUTOMAKE@
     56AUTOHEADER = @AUTOHEADER@
    1057
    1158INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     59INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
     60INSTALL_DATA = @INSTALL_DATA@
     61INSTALL_SCRIPT = @INSTALL_SCRIPT@
     62transform = @program_transform_name@
     63
     64NORMAL_INSTALL = :
     65PRE_INSTALL = :
     66POST_INSTALL = :
     67NORMAL_UNINSTALL = :
     68PRE_UNINSTALL = :
     69POST_UNINSTALL = :
     70build_alias = @build_alias@
     71build_triplet = @build@
     72host_alias = @host_alias@
     73host_triplet = @host@
     74target_alias = @target_alias@
     75target_triplet = @target@
     76MAKEINFO = @MAKEINFO@
     77PACKAGE = @PACKAGE@
    1478PROJECT_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
     79RTEMS_TOPdir = @RTEMS_TOPdir@
     80VERSION = @VERSION@
     81
     82AUTOMAKE_OPTIONS = foreign
     83ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal
     84
     85noinst_SCRIPTS = psim runtest
     86ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     87mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../../mkinstalldirs
     88CONFIG_CLEAN_FILES =
     89SCRIPTS =  $(noinst_SCRIPTS)
     90
     91DIST_COMMON =  Makefile.am Makefile.in aclocal.m4 configure configure.in
     92
     93
     94DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
     95
     96TAR = tar
     97GZIP_ENV = --best
     98all: 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
     103Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
    38104        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
     110config.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)
     114tags: TAGS
     115TAGS:
     116
     117
     118distdir = $(PACKAGE)-$(VERSION)
     119top_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.
     124distcheck: 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"
     144dist: distdir
     145        -chmod -R a+r $(distdir)
     146        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
     147        -rm -rf $(distdir)
     148dist-all: distdir
     149        -chmod -R a+r $(distdir)
     150        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
     151        -rm -rf $(distdir)
     152distdir: $(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
     171info-am:
     172info: info-am
     173dvi-am:
     174dvi: dvi-am
     175check-am: all-am
     176check: check-am
     177installcheck-am:
     178installcheck: installcheck-am
     179install-exec-am: install-exec-local
     180install-exec: install-exec-am
     181
     182install-data-am:
     183install-data: install-data-am
     184
     185install-am: all-am
     186        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     187install: install-am
     188uninstall-am:
     189uninstall: uninstall-am
     190all-am: Makefile $(SCRIPTS)
     191all-redirect: all-am
     192install-strip:
     193        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
     194installdirs:
     195
     196
     197mostlyclean-generic:
     198
     199clean-generic:
     200
     201distclean-generic:
     202        -rm -f Makefile $(CONFIG_CLEAN_FILES)
     203        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
     204
     205maintainer-clean-generic:
     206mostlyclean-am:  mostlyclean-generic
     207
     208mostlyclean: mostlyclean-am
     209
     210clean-am:  clean-generic mostlyclean-am
     211
     212clean: clean-am
     213
     214distclean-am:  distclean-generic clean-am
     215
     216distclean: distclean-am
     217        -rm -f config.status
     218
     219maintainer-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
     223maintainer-clean: maintainer-clean-am
     224        -rm -f config.status
     225
     226.PHONY: tags distdir info-am info dvi-am dvi check check-am \
     227installcheck-am installcheck install-exec-local install-exec-am \
     228install-exec install-data-am install-data install-am install \
     229uninstall-am uninstall all-redirect all-am all installdirs \
     230mostlyclean-generic distclean-generic clean-generic \
     231maintainer-clean-generic clean mostlyclean distclean maintainer-clean
     232
     233
     234# HACK: install to build-tree
     235install-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
     241debug-am:
     242
     243debug: debug-am
     244
     245debug_install-am:
     246
     247debug_install: debug_install-am
     248
     249profile-am:
     250
     251profile: profile-am
     252
     253profile_install-am:
     254
     255profile_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
    113#
    214# $Id$
    315#
    416
    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
     26SHELL = @SHELL@
     27
    628srcdir = @srcdir@
    729top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/sparc/erc32/tools
     30VPATH = @srcdir@
     31prefix = @prefix@
     32exec_prefix = @exec_prefix@
     33
     34bindir = @bindir@
     35sbindir = @sbindir@
     36libexecdir = @libexecdir@
     37datadir = @datadir@
     38sysconfdir = @sysconfdir@
     39sharedstatedir = @sharedstatedir@
     40localstatedir = @localstatedir@
     41libdir = @libdir@
     42infodir = @infodir@
     43mandir = @mandir@
     44includedir = @includedir@
     45oldincludedir = /usr/include
     46
     47DESTDIR =
     48
     49pkgdatadir = $(datadir)/@PACKAGE@
     50pkglibdir = $(libdir)/@PACKAGE@
     51pkgincludedir = $(includedir)/@PACKAGE@
     52
     53top_builddir = .
     54AUTOCONF = @AUTOCONF@
     55AUTOMAKE = @AUTOMAKE@
     56AUTOHEADER = @AUTOHEADER@
    1057
    1158INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     59INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
     60INSTALL_DATA = @INSTALL_DATA@
     61INSTALL_SCRIPT = @INSTALL_SCRIPT@
     62transform = @program_transform_name@
     63
     64NORMAL_INSTALL = :
     65PRE_INSTALL = :
     66POST_INSTALL = :
     67NORMAL_UNINSTALL = :
     68PRE_UNINSTALL = :
     69POST_UNINSTALL = :
     70build_alias = @build_alias@
     71build_triplet = @build@
     72host_alias = @host_alias@
     73host_triplet = @host@
     74target_alias = @target_alias@
     75target_triplet = @target@
     76KSH = @KSH@
     77MAKEINFO = @MAKEINFO@
     78PACKAGE = @PACKAGE@
    1479PROJECT_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
     80RTEMS_TOPdir = @RTEMS_TOPdir@
     81VERSION = @VERSION@
     82
     83AUTOMAKE_OPTIONS = foreign
     84ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal
     85
     86noinst_SCRIPTS = runtest
     87ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     88mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../../mkinstalldirs
     89CONFIG_CLEAN_FILES =
     90SCRIPTS =  $(noinst_SCRIPTS)
     91
     92DIST_COMMON =  Makefile.am Makefile.in aclocal.m4 configure configure.in
     93
     94
     95DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
     96
     97TAR = tar
     98GZIP_ENV = --best
     99all: 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
     104Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
    41105        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
     111config.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)
     115tags: TAGS
     116TAGS:
     117
     118
     119distdir = $(PACKAGE)-$(VERSION)
     120top_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.
     125distcheck: 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"
     145dist: distdir
     146        -chmod -R a+r $(distdir)
     147        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
     148        -rm -rf $(distdir)
     149dist-all: distdir
     150        -chmod -R a+r $(distdir)
     151        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
     152        -rm -rf $(distdir)
     153distdir: $(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
     172info-am:
     173info: info-am
     174dvi-am:
     175dvi: dvi-am
     176check-am: all-am
     177check: check-am
     178installcheck-am:
     179installcheck: installcheck-am
     180install-exec-am: install-exec-local
     181install-exec: install-exec-am
     182
     183install-data-am:
     184install-data: install-data-am
     185
     186install-am: all-am
     187        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     188install: install-am
     189uninstall-am:
     190uninstall: uninstall-am
     191all-am: Makefile $(SCRIPTS)
     192all-redirect: all-am
     193install-strip:
     194        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
     195installdirs:
     196
     197
     198mostlyclean-generic:
     199
     200clean-generic:
     201
     202distclean-generic:
     203        -rm -f Makefile $(CONFIG_CLEAN_FILES)
     204        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
     205
     206maintainer-clean-generic:
     207mostlyclean-am:  mostlyclean-generic
     208
     209mostlyclean: mostlyclean-am
     210
     211clean-am:  clean-generic mostlyclean-am
     212
     213clean: clean-am
     214
     215distclean-am:  distclean-generic clean-am
     216
     217distclean: distclean-am
     218        -rm -f config.status
     219
     220maintainer-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
     224maintainer-clean: maintainer-clean-am
     225        -rm -f config.status
     226
     227.PHONY: tags distdir info-am info dvi-am dvi check check-am \
     228installcheck-am installcheck install-exec-local install-exec-am \
     229install-exec install-data-am install-data install-am install \
     230uninstall-am uninstall all-redirect all-am all installdirs \
     231mostlyclean-generic distclean-generic clean-generic \
     232maintainer-clean-generic clean mostlyclean distclean maintainer-clean
     233
     234
     235#HACK: install to build-tree
     236install-exec-local: $(SCRIPTS)
     237        $(mkinstalldir) $(PROJECT_ROOT)/${RTEMS_BSP}/tests
     238        $(INSTALL_SCRIPT) runtest $(PROJECT_ROOT)/${RTEMS_BSP}/tests
     239
     240debug-am:
     241
     242debug: debug-am
     243
     244debug_install-am:
     245
     246debug_install: debug_install-am
     247
     248profile-am:
     249
     250profile: profile-am
     251
     252profile_install-am:
     253
     254profile_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
    113#
    214# $Id$
    315#
    416
    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
     26SHELL = @SHELL@
     27
    628srcdir = @srcdir@
    729top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../../../..
    9 subdir = c/src/lib/libbsp/unix/posix/tools
     30VPATH = @srcdir@
     31prefix = @prefix@
     32exec_prefix = @exec_prefix@
     33
     34bindir = @bindir@
     35sbindir = @sbindir@
     36libexecdir = @libexecdir@
     37datadir = @datadir@
     38sysconfdir = @sysconfdir@
     39sharedstatedir = @sharedstatedir@
     40localstatedir = @localstatedir@
     41libdir = @libdir@
     42infodir = @infodir@
     43mandir = @mandir@
     44includedir = @includedir@
     45oldincludedir = /usr/include
     46
     47DESTDIR =
     48
     49pkgdatadir = $(datadir)/@PACKAGE@
     50pkglibdir = $(libdir)/@PACKAGE@
     51pkgincludedir = $(includedir)/@PACKAGE@
     52
     53top_builddir = .
     54AUTOCONF = @AUTOCONF@
     55AUTOMAKE = @AUTOMAKE@
     56AUTOHEADER = @AUTOHEADER@
    1057
    1158INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     59INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
     60INSTALL_DATA = @INSTALL_DATA@
     61INSTALL_SCRIPT = @INSTALL_SCRIPT@
     62transform = @program_transform_name@
     63
     64NORMAL_INSTALL = :
     65PRE_INSTALL = :
     66POST_INSTALL = :
     67NORMAL_UNINSTALL = :
     68PRE_UNINSTALL = :
     69POST_UNINSTALL = :
     70build_alias = @build_alias@
     71build_triplet = @build@
     72host_alias = @host_alias@
     73host_triplet = @host@
     74target_alias = @target_alias@
     75target_triplet = @target@
     76KSH = @KSH@
     77MAKEINFO = @MAKEINFO@
     78PACKAGE = @PACKAGE@
     79PERL = @PERL@
    1480PROJECT_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
     81RTEMS_TOPdir = @RTEMS_TOPdir@
     82VERSION = @VERSION@
     83
     84AUTOMAKE_OPTIONS = foreign
     85ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal
     86
     87@HAVE_PERL_TRUE@perl_scripts = shmdump semdump
     88
     89noinst_SCRIPTS = runtest looptest $(perl_scripts)
     90ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     91mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../../mkinstalldirs
     92CONFIG_CLEAN_FILES =  runtest shmdump looptest semdump
     93SCRIPTS =  $(noinst_SCRIPTS)
     94
     95DIST_COMMON =  Makefile.am Makefile.in aclocal.m4 configure configure.in \
     96looptest.in runtest.in semdump.in shmdump.in
     97
     98
     99DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
     100
     101TAR = tar
     102GZIP_ENV = --best
     103all: 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
     108Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
    46109        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
     115config.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)
     119runtest: $(top_builddir)/config.status runtest.in
     120        cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
     121shmdump: $(top_builddir)/config.status shmdump.in
     122        cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
     123looptest: $(top_builddir)/config.status looptest.in
     124        cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
     125semdump: $(top_builddir)/config.status semdump.in
     126        cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
     127tags: TAGS
     128TAGS:
     129
     130
     131distdir = $(PACKAGE)-$(VERSION)
     132top_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.
     137distcheck: 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"
     157dist: distdir
     158        -chmod -R a+r $(distdir)
     159        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
     160        -rm -rf $(distdir)
     161dist-all: distdir
     162        -chmod -R a+r $(distdir)
     163        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
     164        -rm -rf $(distdir)
     165distdir: $(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
     184info-am:
     185info: info-am
     186dvi-am:
     187dvi: dvi-am
     188check-am: all-am
     189check: check-am
     190installcheck-am:
     191installcheck: installcheck-am
     192install-exec-am: install-exec-local
     193install-exec: install-exec-am
     194
     195install-data-am:
     196install-data: install-data-am
     197
     198install-am: all-am
     199        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     200install: install-am
     201uninstall-am:
     202uninstall: uninstall-am
     203all-am: Makefile $(SCRIPTS)
     204all-redirect: all-am
     205install-strip:
     206        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
     207installdirs:
     208
     209
     210mostlyclean-generic:
     211
     212clean-generic:
     213
     214distclean-generic:
     215        -rm -f Makefile $(CONFIG_CLEAN_FILES)
     216        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
     217
     218maintainer-clean-generic:
     219mostlyclean-am:  mostlyclean-generic
     220
     221mostlyclean: mostlyclean-am
     222
     223clean-am:  clean-generic mostlyclean-am
     224
     225clean: clean-am
     226
     227distclean-am:  distclean-generic clean-am
     228
     229distclean: distclean-am
     230        -rm -f config.status
     231
     232maintainer-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
     236maintainer-clean: maintainer-clean-am
     237        -rm -f config.status
     238
     239.PHONY: tags distdir info-am info dvi-am dvi check check-am \
     240installcheck-am installcheck install-exec-local install-exec-am \
     241install-exec install-data-am install-data install-am install \
     242uninstall-am uninstall all-redirect all-am all installdirs \
     243mostlyclean-generic distclean-generic clean-generic \
     244maintainer-clean-generic clean mostlyclean distclean maintainer-clean
     245
     246
     247# HACK: install to build-tree
     248install-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
     254debug-am:
     255
     256debug: debug-am
     257
     258debug_install-am:
     259
     260debug_install: debug_install-am
     261
     262profile-am:
     263
     264profile: profile-am
     265
     266profile_install-am:
     267
     268profile_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
    113#
    214#  $Id$
    315#
    416
    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
     26SHELL = @SHELL@
     27
    628srcdir = @srcdir@
    729top_srcdir = @top_srcdir@
    8 top_builddir = ../../../../..
    9 subdir = c/src/tests/tools/generic
     30VPATH = @srcdir@
     31prefix = @prefix@
     32exec_prefix = @exec_prefix@
     33
     34bindir = @bindir@
     35sbindir = @sbindir@
     36libexecdir = @libexecdir@
     37datadir = @datadir@
     38sysconfdir = @sysconfdir@
     39sharedstatedir = @sharedstatedir@
     40localstatedir = @localstatedir@
     41libdir = @libdir@
     42infodir = @infodir@
     43mandir = @mandir@
     44includedir = @includedir@
     45oldincludedir = /usr/include
     46
     47DESTDIR =
     48
     49pkgdatadir = $(datadir)/@PACKAGE@
     50pkglibdir = $(libdir)/@PACKAGE@
     51pkgincludedir = $(includedir)/@PACKAGE@
     52
     53top_builddir = .
     54AUTOCONF = @AUTOCONF@
     55AUTOMAKE = @AUTOMAKE@
     56AUTOHEADER = @AUTOHEADER@
    1057
    1158INSTALL = @INSTALL@
    12 
    13 RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
     59INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
     60INSTALL_DATA = @INSTALL_DATA@
     61INSTALL_SCRIPT = @INSTALL_SCRIPT@
     62transform = @program_transform_name@
     63
     64NORMAL_INSTALL = :
     65PRE_INSTALL = :
     66POST_INSTALL = :
     67NORMAL_UNINSTALL = :
     68PRE_UNINSTALL = :
     69POST_UNINSTALL = :
     70build_alias = @build_alias@
     71build_triplet = @build@
     72host_alias = @host_alias@
     73host_triplet = @host@
     74target_alias = @target_alias@
     75target_triplet = @target@
     76KSH = @KSH@
     77MAKEINFO = @MAKEINFO@
     78PACKAGE = @PACKAGE@
    1479PROJECT_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
     80RTEMS_TOPdir = @RTEMS_TOPdir@
     81VERSION = @VERSION@
     82
     83AUTOMAKE_OPTIONS = foreign
     84ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal
     85
     86noinst_SCRIPTS = difftest sorttimes
     87ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     88mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../mkinstalldirs
     89CONFIG_CLEAN_FILES =  difftest sorttimes
     90SCRIPTS =  $(noinst_SCRIPTS)
     91
     92DIST_COMMON =  Makefile.am Makefile.in aclocal.m4 configure configure.in \
     93difftest.in sorttimes.in
     94
     95
     96DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
     97
     98TAR = tar
     99GZIP_ENV = --best
     100all: 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
     105Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
    36106        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
     112config.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)
     116difftest: $(top_builddir)/config.status difftest.in
     117        cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
     118sorttimes: $(top_builddir)/config.status sorttimes.in
     119        cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
     120tags: TAGS
     121TAGS:
     122
     123
     124distdir = $(PACKAGE)-$(VERSION)
     125top_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.
     130distcheck: 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"
     150dist: distdir
     151        -chmod -R a+r $(distdir)
     152        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
     153        -rm -rf $(distdir)
     154dist-all: distdir
     155        -chmod -R a+r $(distdir)
     156        GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
     157        -rm -rf $(distdir)
     158distdir: $(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
     177info-am:
     178info: info-am
     179dvi-am:
     180dvi: dvi-am
     181check-am: all-am
     182check: check-am
     183installcheck-am:
     184installcheck: installcheck-am
     185install-exec-am: install-exec-local
     186install-exec: install-exec-am
     187
     188install-data-am:
     189install-data: install-data-am
     190
     191install-am: all-am
     192        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     193install: install-am
     194uninstall-am:
     195uninstall: uninstall-am
     196all-am: Makefile $(SCRIPTS)
     197all-redirect: all-am
     198install-strip:
     199        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
     200installdirs:
     201
     202
     203mostlyclean-generic:
     204
     205clean-generic:
     206
     207distclean-generic:
     208        -rm -f Makefile $(CONFIG_CLEAN_FILES)
     209        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
     210
     211maintainer-clean-generic:
     212mostlyclean-am:  mostlyclean-generic
     213
     214mostlyclean: mostlyclean-am
     215
     216clean-am:  clean-generic mostlyclean-am
     217
     218clean: clean-am
     219
     220distclean-am:  distclean-generic clean-am
     221
     222distclean: distclean-am
     223        -rm -f config.status
     224
     225maintainer-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
     229maintainer-clean: maintainer-clean-am
     230        -rm -f config.status
     231
     232.PHONY: tags distdir info-am info dvi-am dvi check check-am \
     233installcheck-am installcheck install-exec-local install-exec-am \
     234install-exec install-data-am install-data install-am install \
     235uninstall-am uninstall all-redirect all-am all installdirs \
     236mostlyclean-generic distclean-generic clean-generic \
     237maintainer-clean-generic clean mostlyclean distclean maintainer-clean
     238
     239
     240# HACK: install to build-tree
     241install-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
     246debug-am:
     247
     248debug: debug-am
     249
     250debug_install-am:
     251
     252debug_install: debug_install-am
     253
     254profile-am:
     255
     256profile: profile-am
     257
     258profile_install-am:
     259
     260profile_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 -p
     1#!@KSH@ -p
    22#
    33#  This script takes the output from the Timing Test Suite, reorders
  • configure

    rc69856c3 r9b8baa1  
    587587
    588588
    589 RTEMS_ROOT='$(top_srcdir)'/$RTEMS_TOPdir;
     589echo $ac_n "checking for RTEMS Version""... $ac_c" 1>&6
     590echo "configure:591: checking for RTEMS Version" >&5
     591if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then
     592RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \
     593sed -e 's%RTEMS[        ]*Version[      ]*\(.*\)[       ]*%\1%g'`
     594else
     595{ echo "configure: error: Unable to find ${RTEMS_TOPdir}/VERSION" 1>&2; exit 1; }
     596fi
     597if test -z "$RTEMS_VERSION"; then
     598{ echo "configure: error: Unable to determine version" 1>&2; exit 1; }
     599fi
     600echo "$ac_t""$RTEMS_VERSION" 1>&6
    590601
    591602
    592603
    593604echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    594 echo "configure:595: checking whether ${MAKE-make} sets \${MAKE}" >&5
     605echo "configure:606: checking whether ${MAKE-make} sets \${MAKE}" >&5
    595606set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    596607if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    665676
    666677echo $ac_n "checking host system type""... $ac_c" 1>&6
    667 echo "configure:668: checking host system type" >&5
     678echo "configure:679: checking host system type" >&5
    668679
    669680host_alias=$host
     
    686697
    687698echo $ac_n "checking target system type""... $ac_c" 1>&6
    688 echo "configure:689: checking target system type" >&5
     699echo "configure:700: checking target system type" >&5
    689700
    690701target_alias=$target
     
    704715
    705716echo $ac_n "checking build system type""... $ac_c" 1>&6
    706 echo "configure:707: checking build system type" >&5
     717echo "configure:718: checking build system type" >&5
    707718
    708719build_alias=$build
     
    910921set dummy cat; ac_word=$2
    911922echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    912 echo "configure:913: checking for $ac_word" >&5
     923echo "configure:924: checking for $ac_word" >&5
    913924if eval "test \"`echo '$''{'ac_cv_path_CAT'+set}'`\" = set"; then
    914925  echo $ac_n "(cached) $ac_c" 1>&6
     
    945956set dummy rm; ac_word=$2
    946957echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    947 echo "configure:948: checking for $ac_word" >&5
     958echo "configure:959: checking for $ac_word" >&5
    948959if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then
    949960  echo $ac_n "(cached) $ac_c" 1>&6
     
    980991set dummy cp; ac_word=$2
    981992echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    982 echo "configure:983: checking for $ac_word" >&5
     993echo "configure:994: checking for $ac_word" >&5
    983994if eval "test \"`echo '$''{'ac_cv_path_CP'+set}'`\" = set"; then
    984995  echo $ac_n "(cached) $ac_c" 1>&6
     
    10151026set dummy mv; ac_word=$2
    10161027echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1017 echo "configure:1018: checking for $ac_word" >&5
     1028echo "configure:1029: checking for $ac_word" >&5
    10181029if eval "test \"`echo '$''{'ac_cv_path_MV'+set}'`\" = set"; then
    10191030  echo $ac_n "(cached) $ac_c" 1>&6
     
    10501061set dummy ln; ac_word=$2
    10511062echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1052 echo "configure:1053: checking for $ac_word" >&5
     1063echo "configure:1064: checking for $ac_word" >&5
    10531064if eval "test \"`echo '$''{'ac_cv_path_LN'+set}'`\" = set"; then
    10541065  echo $ac_n "(cached) $ac_c" 1>&6
     
    10831094
    10841095echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    1085 echo "configure:1086: checking whether ln -s works" >&5
     1096echo "configure:1097: checking whether ln -s works" >&5
    10861097if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    10871098  echo $ac_n "(cached) $ac_c" 1>&6
     
    11061117set dummy chmod; ac_word=$2
    11071118echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1108 echo "configure:1109: checking for $ac_word" >&5
     1119echo "configure:1120: checking for $ac_word" >&5
    11091120if eval "test \"`echo '$''{'ac_cv_path_CHMOD'+set}'`\" = set"; then
    11101121  echo $ac_n "(cached) $ac_c" 1>&6
     
    11411152set dummy sort; ac_word=$2
    11421153echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1143 echo "configure:1144: checking for $ac_word" >&5
     1154echo "configure:1155: checking for $ac_word" >&5
    11441155if eval "test \"`echo '$''{'ac_cv_path_SORT'+set}'`\" = set"; then
    11451156  echo $ac_n "(cached) $ac_c" 1>&6
     
    11851196# ./install, which can be erroneously created by make from ./install.sh.
    11861197echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    1187 echo "configure:1188: checking for a BSD compatible install" >&5
     1198echo "configure:1199: checking for a BSD compatible install" >&5
    11881199if test -z "$INSTALL"; then
    11891200if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    12411252set dummy perl; ac_word=$2
    12421253echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1243 echo "configure:1244: checking for $ac_word" >&5
     1254echo "configure:1255: checking for $ac_word" >&5
    12441255if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
    12451256  echo $ac_n "(cached) $ac_c" 1>&6
     
    12831294set dummy mkdir; ac_word=$2
    12841295echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1285 echo "configure:1286: checking for $ac_word" >&5
     1296echo "configure:1297: checking for $ac_word" >&5
    12861297if eval "test \"`echo '$''{'ac_cv_path_MKDIR'+set}'`\" = set"; then
    12871298  echo $ac_n "(cached) $ac_c" 1>&6
     
    13191330
    13201331echo $ac_n "checking for working $MKDIR -m 0755""... $ac_c" 1>&6
    1321 echo "configure:1322: checking for working $MKDIR -m 0755" >&5
     1332echo "configure:1333: checking for working $MKDIR -m 0755" >&5
    13221333if eval "test \"`echo '$''{'rtems_cv_prog_MKDIR_P'+set}'`\" = set"; then
    13231334  echo $ac_n "(cached) $ac_c" 1>&6
     
    13361347
    13371348echo $ac_n "checking for working $MKDIR -p""... $ac_c" 1>&6
    1338 echo "configure:1339: checking for working $MKDIR -p" >&5
     1349echo "configure:1350: checking for working $MKDIR -p" >&5
    13391350if eval "test \"`echo '$''{'rtems_cv_prog_mkdir_p'+set}'`\" = set"; then
    13401351  echo $ac_n "(cached) $ac_c" 1>&6
     
    13561367set dummy touch; ac_word=$2
    13571368echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1358 echo "configure:1359: checking for $ac_word" >&5
     1369echo "configure:1370: checking for $ac_word" >&5
    13591370if eval "test \"`echo '$''{'ac_cv_path_TOUCH'+set}'`\" = set"; then
    13601371  echo $ac_n "(cached) $ac_c" 1>&6
     
    13911402set dummy cmp; ac_word=$2
    13921403echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1393 echo "configure:1394: checking for $ac_word" >&5
     1404echo "configure:1405: checking for $ac_word" >&5
    13941405if eval "test \"`echo '$''{'ac_cv_path_CMP'+set}'`\" = set"; then
    13951406  echo $ac_n "(cached) $ac_c" 1>&6
     
    14271438set dummy sed; ac_word=$2
    14281439echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1429 echo "configure:1430: checking for $ac_word" >&5
     1440echo "configure:1441: checking for $ac_word" >&5
    14301441if eval "test \"`echo '$''{'ac_cv_path_SED'+set}'`\" = set"; then
    14311442  echo $ac_n "(cached) $ac_c" 1>&6
     
    14641475set dummy $ac_prog; ac_word=$2
    14651476echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1466 echo "configure:1467: checking for $ac_word" >&5
     1477echo "configure:1478: checking for $ac_word" >&5
    14671478if eval "test \"`echo '$''{'ac_cv_path_M4'+set}'`\" = set"; then
    14681479  echo $ac_n "(cached) $ac_c" 1>&6
     
    15061517set dummy $ac_prog; ac_word=$2
    15071518echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1508 echo "configure:1509: checking for $ac_word" >&5
     1519echo "configure:1520: checking for $ac_word" >&5
    15091520if eval "test \"`echo '$''{'ac_cv_path_KSH'+set}'`\" = set"; then
    15101521  echo $ac_n "(cached) $ac_c" 1>&6
     
    15561567
    15571568echo $ac_n "checking rtems target cpu""... $ac_c" 1>&6
    1558 echo "configure:1559: checking rtems target cpu" >&5
     1569echo "configure:1570: checking rtems target cpu" >&5
    15591570case "${target}" in
    15601571  # hpux unix port should go here
     
    15871598# Is this a supported CPU?
    15881599echo $ac_n "checking if cpu $target_cpu is supported""... $ac_c" 1>&6
    1589 echo "configure:1590: checking if cpu $target_cpu is supported" >&5
     1600echo "configure:1601: checking if cpu $target_cpu is supported" >&5
    15901601if test -d "$srcdir/$RTEMS_TOPdir/c/src/exec/score/cpu/$target_cpu"; then
    15911602  echo "$ac_t""yes" 1>&6
     
    16491660set dummy $ac_prog; ac_word=$2
    16501661echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1651 echo "configure:1652: checking for $ac_word" >&5
     1662echo "configure:1663: checking for $ac_word" >&5
    16521663if eval "test \"`echo '$''{'ac_cv_path_CC_FOR_TARGET'+set}'`\" = set"; then
    16531664  echo $ac_n "(cached) $ac_c" 1>&6
     
    16931704
    16941705echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    1695 echo "configure:1696: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     1706echo "configure:1707: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    16961707
    16971708ac_ext=c
     
    17041715cat > conftest.$ac_ext << EOF
    17051716
    1706 #line 1707 "configure"
     1717#line 1718 "configure"
    17071718#include "confdefs.h"
    17081719
    17091720main(){return(0);}
    17101721EOF
    1711 if { (eval echo configure:1712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1722if { (eval echo configure:1723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    17121723  ac_cv_prog_cc_works=yes
    17131724  # If we can't run a trivial program, we are probably using a cross compiler.
     
    17351746fi
    17361747echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1737 echo "configure:1738: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     1748echo "configure:1749: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    17381749echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    17391750cross_compiling=$ac_cv_prog_cc_cross
    17401751
    17411752echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    1742 echo "configure:1743: checking whether we are using GNU C" >&5
     1753echo "configure:1754: checking whether we are using GNU C" >&5
    17431754if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    17441755  echo $ac_n "(cached) $ac_c" 1>&6
     
    17491760#endif
    17501761EOF
    1751 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1762if { 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
    17521763  ac_cv_prog_gcc=yes
    17531764else
     
    17641775  CFLAGS=
    17651776  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    1766 echo "configure:1767: checking whether ${CC-cc} accepts -g" >&5
     1777echo "configure:1778: checking whether ${CC-cc} accepts -g" >&5
    17671778if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    17681779  echo $ac_n "(cached) $ac_c" 1>&6
     
    18061817
    18071818echo $ac_n "checking whether $CC_FOR_TARGET accepts -specs""... $ac_c" 1>&6
    1808 echo "configure:1809: checking whether $CC_FOR_TARGET accepts -specs" >&5
     1819echo "configure:1820: checking whether $CC_FOR_TARGET accepts -specs" >&5
    18091820if eval "test \"`echo '$''{'rtems_cv_gcc_specs'+set}'`\" = set"; then
    18101821  echo $ac_n "(cached) $ac_c" 1>&6
     
    18271838
    18281839echo $ac_n "checking whether $CC_FOR_TARGET accepts --pipe""... $ac_c" 1>&6
    1829 echo "configure:1830: checking whether $CC_FOR_TARGET accepts --pipe" >&5
     1840echo "configure:1841: checking whether $CC_FOR_TARGET accepts --pipe" >&5
    18301841if eval "test \"`echo '$''{'rtems_cv_gcc_pipe'+set}'`\" = set"; then
    18311842  echo $ac_n "(cached) $ac_c" 1>&6
     
    18681879set dummy $ac_prog; ac_word=$2
    18691880echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1870 echo "configure:1871: checking for $ac_word" >&5
     1881echo "configure:1882: checking for $ac_word" >&5
    18711882if eval "test \"`echo '$''{'ac_cv_path_CXX_FOR_TARGET'+set}'`\" = set"; then
    18721883  echo $ac_n "(cached) $ac_c" 1>&6
     
    19121923
    19131924echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    1914 echo "configure:1915: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
     1925echo "configure:1926: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
    19151926
    19161927ac_ext=C
     
    19231934cat > conftest.$ac_ext << EOF
    19241935
    1925 #line 1926 "configure"
     1936#line 1937 "configure"
    19261937#include "confdefs.h"
    19271938
    19281939int main(){return(0);}
    19291940EOF
    1930 if { (eval echo configure:1931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1941if { (eval echo configure:1942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    19311942  ac_cv_prog_cxx_works=yes
    19321943  # If we can't run a trivial program, we are probably using a cross compiler.
     
    19541965fi
    19551966echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1956 echo "configure:1957: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
     1967echo "configure:1968: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
    19571968echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
    19581969cross_compiling=$ac_cv_prog_cxx_cross
    19591970
    19601971echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
    1961 echo "configure:1962: checking whether we are using GNU C++" >&5
     1972echo "configure:1973: checking whether we are using GNU C++" >&5
    19621973if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
    19631974  echo $ac_n "(cached) $ac_c" 1>&6
     
    19681979#endif
    19691980EOF
    1970 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1971: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1981if { 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
    19711982  ac_cv_prog_gxx=yes
    19721983else
     
    19831994  CXXFLAGS=
    19841995  echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
    1985 echo "configure:1986: checking whether ${CXX-g++} accepts -g" >&5
     1996echo "configure:1997: checking whether ${CXX-g++} accepts -g" >&5
    19861997if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
    19871998  echo $ac_n "(cached) $ac_c" 1>&6
     
    20372048 
    20382049echo $ac_n "checking target's ar""... $ac_c" 1>&6
    2039 echo "configure:2040: checking target's ar" >&5
     2050echo "configure:2051: checking target's ar" >&5
    20402051if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then
    20412052  echo $ac_n "(cached) $ac_c" 1>&6
     
    20702081    # intends
    20712082    echo $ac_n "checking whether environment variable AR_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2072 echo "configure:2073: checking whether environment variable AR_FOR_TARGET is an absolute path" >&5
     2083echo "configure:2084: checking whether environment variable AR_FOR_TARGET is an absolute path" >&5
    20732084    case "$AR_FOR_TARGET" in
    20742085    /*) # valid
     
    20872098set dummy "$program_prefix"ar; ac_word=$2
    20882099echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2089 echo "configure:2090: checking for $ac_word" >&5
     2100echo "configure:2101: checking for $ac_word" >&5
    20902101if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then
    20912102  echo $ac_n "(cached) $ac_c" 1>&6
     
    21242135 
    21252136echo $ac_n "checking target's as""... $ac_c" 1>&6
    2126 echo "configure:2127: checking target's as" >&5
     2137echo "configure:2138: checking target's as" >&5
    21272138if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then
    21282139  echo $ac_n "(cached) $ac_c" 1>&6
     
    21572168    # intends
    21582169    echo $ac_n "checking whether environment variable AS_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2159 echo "configure:2160: checking whether environment variable AS_FOR_TARGET is an absolute path" >&5
     2170echo "configure:2171: checking whether environment variable AS_FOR_TARGET is an absolute path" >&5
    21602171    case "$AS_FOR_TARGET" in
    21612172    /*) # valid
     
    21742185set dummy "$program_prefix"as; ac_word=$2
    21752186echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2176 echo "configure:2177: checking for $ac_word" >&5
     2187echo "configure:2188: checking for $ac_word" >&5
    21772188if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then
    21782189  echo $ac_n "(cached) $ac_c" 1>&6
     
    22112222 
    22122223echo $ac_n "checking target's ld""... $ac_c" 1>&6
    2213 echo "configure:2214: checking target's ld" >&5
     2224echo "configure:2225: checking target's ld" >&5
    22142225if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then
    22152226  echo $ac_n "(cached) $ac_c" 1>&6
     
    22442255    # intends
    22452256    echo $ac_n "checking whether environment variable LD_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2246 echo "configure:2247: checking whether environment variable LD_FOR_TARGET is an absolute path" >&5
     2257echo "configure:2258: checking whether environment variable LD_FOR_TARGET is an absolute path" >&5
    22472258    case "$LD_FOR_TARGET" in
    22482259    /*) # valid
     
    22612272set dummy "$program_prefix"ld; ac_word=$2
    22622273echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2263 echo "configure:2264: checking for $ac_word" >&5
     2274echo "configure:2275: checking for $ac_word" >&5
    22642275if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then
    22652276  echo $ac_n "(cached) $ac_c" 1>&6
     
    22982309 
    22992310echo $ac_n "checking target's nm""... $ac_c" 1>&6
    2300 echo "configure:2301: checking target's nm" >&5
     2311echo "configure:2312: checking target's nm" >&5
    23012312if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then
    23022313  echo $ac_n "(cached) $ac_c" 1>&6
     
    23312342    # intends
    23322343    echo $ac_n "checking whether environment variable NM_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2333 echo "configure:2334: checking whether environment variable NM_FOR_TARGET is an absolute path" >&5
     2344echo "configure:2345: checking whether environment variable NM_FOR_TARGET is an absolute path" >&5
    23342345    case "$NM_FOR_TARGET" in
    23352346    /*) # valid
     
    23482359set dummy "$program_prefix"nm; ac_word=$2
    23492360echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2350 echo "configure:2351: checking for $ac_word" >&5
     2361echo "configure:2362: checking for $ac_word" >&5
    23512362if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then
    23522363  echo $ac_n "(cached) $ac_c" 1>&6
     
    23862397 
    23872398echo $ac_n "checking target's ranlib""... $ac_c" 1>&6
    2388 echo "configure:2389: checking target's ranlib" >&5
     2399echo "configure:2400: checking target's ranlib" >&5
    23892400if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then
    23902401  echo $ac_n "(cached) $ac_c" 1>&6
     
    24192430    # intends
    24202431    echo $ac_n "checking whether environment variable RANLIB_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2421 echo "configure:2422: checking whether environment variable RANLIB_FOR_TARGET is an absolute path" >&5
     2432echo "configure:2433: checking whether environment variable RANLIB_FOR_TARGET is an absolute path" >&5
    24222433    case "$RANLIB_FOR_TARGET" in
    24232434    /*) # valid
     
    24362447set dummy "$program_prefix"ranlib; ac_word=$2
    24372448echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2438 echo "configure:2439: checking for $ac_word" >&5
     2449echo "configure:2450: checking for $ac_word" >&5
    24392450if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then
    24402451  echo $ac_n "(cached) $ac_c" 1>&6
     
    24752486   
    24762487echo $ac_n "checking whether $AR_FOR_TARGET -s works""... $ac_c" 1>&6
    2477 echo "configure:2478: checking whether $AR_FOR_TARGET -s works" >&5
     2488echo "configure:2489: checking whether $AR_FOR_TARGET -s works" >&5
    24782489if eval "test \"`echo '$''{'rtems_cv_AR_FOR_TARGET_S'+set}'`\" = set"; then
    24792490  echo $ac_n "(cached) $ac_c" 1>&6
     
    24842495{ return b; }
    24852496EOF
    2486 if { ac_try='$CC_FOR_TARGET -o conftest.o -c conftest.$ac_ext'; { (eval echo configure:2487: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \
    2487   && { ac_try='$AR_FOR_TARGET -sr conftest.a conftest.o'; { (eval echo configure:2488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } \
     2497if { 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; }; } \
    24882499  && test -s conftest.a ; \
    24892500then
     
    25102521 
    25112522echo $ac_n "checking target's objcopy""... $ac_c" 1>&6
    2512 echo "configure:2513: checking target's objcopy" >&5
     2523echo "configure:2524: checking target's objcopy" >&5
    25132524if eval "test \"`echo '$''{'ac_cv_path_OBJCOPY_FOR_TARGET'+set}'`\" = set"; then
    25142525  echo $ac_n "(cached) $ac_c" 1>&6
     
    25432554    # intends
    25442555    echo $ac_n "checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2545 echo "configure:2546: checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path" >&5
     2556echo "configure:2557: checking whether environment variable OBJCOPY_FOR_TARGET is an absolute path" >&5
    25462557    case "$OBJCOPY_FOR_TARGET" in
    25472558    /*) # valid
     
    25602571set dummy "$program_prefix"objcopy; ac_word=$2
    25612572echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2562 echo "configure:2563: checking for $ac_word" >&5
     2573echo "configure:2574: checking for $ac_word" >&5
    25632574if eval "test \"`echo '$''{'ac_cv_path_OBJCOPY_FOR_TARGET'+set}'`\" = set"; then
    25642575  echo $ac_n "(cached) $ac_c" 1>&6
     
    25972608 
    25982609echo $ac_n "checking target's size""... $ac_c" 1>&6
    2599 echo "configure:2600: checking target's size" >&5
     2610echo "configure:2611: checking target's size" >&5
    26002611if eval "test \"`echo '$''{'ac_cv_path_SIZE_FOR_TARGET'+set}'`\" = set"; then
    26012612  echo $ac_n "(cached) $ac_c" 1>&6
     
    26302641    # intends
    26312642    echo $ac_n "checking whether environment variable SIZE_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2632 echo "configure:2633: checking whether environment variable SIZE_FOR_TARGET is an absolute path" >&5
     2643echo "configure:2644: checking whether environment variable SIZE_FOR_TARGET is an absolute path" >&5
    26332644    case "$SIZE_FOR_TARGET" in
    26342645    /*) # valid
     
    26472658set dummy "$program_prefix"size; ac_word=$2
    26482659echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2649 echo "configure:2650: checking for $ac_word" >&5
     2660echo "configure:2661: checking for $ac_word" >&5
    26502661if eval "test \"`echo '$''{'ac_cv_path_SIZE_FOR_TARGET'+set}'`\" = set"; then
    26512662  echo $ac_n "(cached) $ac_c" 1>&6
     
    26842695 
    26852696echo $ac_n "checking target's strip""... $ac_c" 1>&6
    2686 echo "configure:2687: checking target's strip" >&5
     2697echo "configure:2698: checking target's strip" >&5
    26872698if eval "test \"`echo '$''{'ac_cv_path_STRIP_FOR_TARGET'+set}'`\" = set"; then
    26882699  echo $ac_n "(cached) $ac_c" 1>&6
     
    27172728    # intends
    27182729    echo $ac_n "checking whether environment variable STRIP_FOR_TARGET is an absolute path""... $ac_c" 1>&6
    2719 echo "configure:2720: checking whether environment variable STRIP_FOR_TARGET is an absolute path" >&5
     2730echo "configure:2731: checking whether environment variable STRIP_FOR_TARGET is an absolute path" >&5
    27202731    case "$STRIP_FOR_TARGET" in
    27212732    /*) # valid
     
    27342745set dummy "$program_prefix"strip; ac_word=$2
    27352746echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2736 echo "configure:2737: checking for $ac_word" >&5
     2747echo "configure:2748: checking for $ac_word" >&5
    27372748if eval "test \"`echo '$''{'ac_cv_path_STRIP_FOR_TARGET'+set}'`\" = set"; then
    27382749  echo $ac_n "(cached) $ac_c" 1>&6
     
    27732784if test "${target_cpu}" = "i386"; then
    27742785    echo $ac_n "checking for 16 bit mode assembler support""... $ac_c" 1>&6
    2775 echo "configure:2776: checking for 16 bit mode assembler support" >&5
     2786echo "configure:2787: checking for 16 bit mode assembler support" >&5
    27762787if eval "test \"`echo '$''{'rtems_cv_prog_gas_code16'+set}'`\" = set"; then
    27772788  echo $ac_n "(cached) $ac_c" 1>&6
     
    27832794         lgdt 0
    27842795EOF
    2785       if { ac_try='$AS_FOR_TARGET -o conftest.o conftest.s'; { (eval echo configure:2786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
     2796      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
    27862797        rtems_cv_prog_gas_code16=yes
    27872798      else
     
    27982809set dummy gcc; ac_word=$2
    27992810echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2800 echo "configure:2801: checking for $ac_word" >&5
     2811echo "configure:2812: checking for $ac_word" >&5
    28012812if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    28022813  echo $ac_n "(cached) $ac_c" 1>&6
     
    28282839set dummy cc; ac_word=$2
    28292840echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2830 echo "configure:2831: checking for $ac_word" >&5
     2841echo "configure:2842: checking for $ac_word" >&5
    28312842if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    28322843  echo $ac_n "(cached) $ac_c" 1>&6
     
    28792890set dummy cl; ac_word=$2
    28802891echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2881 echo "configure:2882: checking for $ac_word" >&5
     2892echo "configure:2893: checking for $ac_word" >&5
    28822893if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    28832894  echo $ac_n "(cached) $ac_c" 1>&6
     
    29112922
    29122923echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    2913 echo "configure:2914: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     2924echo "configure:2925: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    29142925
    29152926ac_ext=c
     
    29222933cat > conftest.$ac_ext << EOF
    29232934
    2924 #line 2925 "configure"
     2935#line 2936 "configure"
    29252936#include "confdefs.h"
    29262937
    29272938main(){return(0);}
    29282939EOF
    2929 if { (eval echo configure:2930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2940if { (eval echo configure:2941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    29302941  ac_cv_prog_cc_works=yes
    29312942  # If we can't run a trivial program, we are probably using a cross compiler.
     
    29532964fi
    29542965echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    2955 echo "configure:2956: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     2966echo "configure:2967: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    29562967echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    29572968cross_compiling=$ac_cv_prog_cc_cross
    29582969
    29592970echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    2960 echo "configure:2961: checking whether we are using GNU C" >&5
     2971echo "configure:2972: checking whether we are using GNU C" >&5
    29612972if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    29622973  echo $ac_n "(cached) $ac_c" 1>&6
     
    29672978#endif
    29682979EOF
    2969 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     2980if { 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
    29702981  ac_cv_prog_gcc=yes
    29712982else
     
    29862997CFLAGS=
    29872998echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    2988 echo "configure:2989: checking whether ${CC-cc} accepts -g" >&5
     2999echo "configure:3000: checking whether ${CC-cc} accepts -g" >&5
    29893000if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    29903001  echo $ac_n "(cached) $ac_c" 1>&6
     
    30183029
    30193030echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
    3020 echo "configure:3021: checking for Cygwin environment" >&5
     3031echo "configure:3032: checking for Cygwin environment" >&5
    30213032if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
    30223033  echo $ac_n "(cached) $ac_c" 1>&6
    30233034else
    30243035  cat > conftest.$ac_ext <<EOF
    3025 #line 3026 "configure"
     3036#line 3037 "configure"
    30263037#include "confdefs.h"
    30273038
     
    30343045; return 0; }
    30353046EOF
    3036 if { (eval echo configure:3037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3047if { (eval echo configure:3048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    30373048  rm -rf conftest*
    30383049  ac_cv_cygwin=yes
     
    30513062test "$ac_cv_cygwin" = yes && CYGWIN=yes
    30523063echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
    3053 echo "configure:3054: checking for mingw32 environment" >&5
     3064echo "configure:3065: checking for mingw32 environment" >&5
    30543065if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
    30553066  echo $ac_n "(cached) $ac_c" 1>&6
    30563067else
    30573068  cat > conftest.$ac_ext <<EOF
    3058 #line 3059 "configure"
     3069#line 3070 "configure"
    30593070#include "confdefs.h"
    30603071
     
    30633074; return 0; }
    30643075EOF
    3065 if { (eval echo configure:3066: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3076if { (eval echo configure:3077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    30663077  rm -rf conftest*
    30673078  ac_cv_mingw32=yes
     
    30823093
    30833094echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    3084 echo "configure:3085: checking for executable suffix" >&5
     3095echo "configure:3096: checking for executable suffix" >&5
    30853096if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    30863097  echo $ac_n "(cached) $ac_c" 1>&6
     
    30923103  echo 'int main () { return 0; }' > conftest.$ac_ext
    30933104  ac_cv_exeext=
    3094   if { (eval echo configure:3095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     3105  if { (eval echo configure:3106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    30953106    for file in conftest.*; do
    30963107      case $file in
     
    31313142
    31323143echo $ac_n "checking whether $RTEMS_HOST supports System V semaphores""... $ac_c" 1>&6
    3133 echo "configure:3134: checking whether $RTEMS_HOST supports System V semaphores" >&5
     3144echo "configure:3145: checking whether $RTEMS_HOST supports System V semaphores" >&5
    31343145if eval "test \"`echo '$''{'rtems_cv_sysv_sem'+set}'`\" = set"; then
    31353146  echo $ac_n "(cached) $ac_c" 1>&6
     
    31403151else
    31413152  cat > conftest.$ac_ext <<EOF
    3142 #line 3143 "configure"
     3153#line 3154 "configure"
    31433154#include "confdefs.h"
    31443155
     
    31663177
    31673178EOF
    3168 if { (eval echo configure:3169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3179if { (eval echo configure:3180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    31693180then
    31703181  rtems_cv_sysv_sem="yes"
     
    31893200
    31903201echo $ac_n "checking whether $RTEMS_HOST supports System V shared memory""... $ac_c" 1>&6
    3191 echo "configure:3192: checking whether $RTEMS_HOST supports System V shared memory" >&5
     3202echo "configure:3203: checking whether $RTEMS_HOST supports System V shared memory" >&5
    31923203if eval "test \"`echo '$''{'rtems_cv_sysv_shm'+set}'`\" = set"; then
    31933204  echo $ac_n "(cached) $ac_c" 1>&6
     
    31983209else
    31993210  cat > conftest.$ac_ext <<EOF
    3200 #line 3201 "configure"
     3211#line 3212 "configure"
    32013212#include "confdefs.h"
    32023213
     
    32143225
    32153226EOF
    3216 if { (eval echo configure:3217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3227if { (eval echo configure:3228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    32173228then
    32183229  rtems_cv_sysv_shm="yes"
     
    32373248
    32383249echo $ac_n "checking whether $RTEMS_HOST supports System V messages""... $ac_c" 1>&6
    3239 echo "configure:3240: checking whether $RTEMS_HOST supports System V messages" >&5
     3250echo "configure:3251: checking whether $RTEMS_HOST supports System V messages" >&5
    32403251if eval "test \"`echo '$''{'rtems_cv_sysv_msg'+set}'`\" = set"; then
    32413252  echo $ac_n "(cached) $ac_c" 1>&6
     
    32463257else
    32473258  cat > conftest.$ac_ext <<EOF
    3248 #line 3249 "configure"
     3259#line 3260 "configure"
    32493260#include "confdefs.h"
    32503261
     
    32623273
    32633274EOF
    3264 if { (eval echo configure:3265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3275if { (eval echo configure:3276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    32653276then
    32663277  rtems_cv_sysv_msg="yes"
     
    32843295fi
    32853296
     3297# Collect config subdirs for exec/score/tools
     3298t="c/src/exec/score/tools"
     3299scoretools_cfgdirs="$t/generic"
     3300if test -d $srcdir/$t/$target_cpu; then
     3301  scoretools_cfgdirs="$scoretools_cfgdirs $t/$target_cpu"
     3302fi
     3303
    32863304# find all the Executive Makefiles
    32873305
    3288 echo $ac_n "checking for Makefile.in in c/src/exec/score/tools/$target_cpu""... $ac_c" 1>&6
    3289 echo "configure:3290: checking for Makefile.in in c/src/exec/score/tools/$target_cpu" >&5
    3290 if test -d $srcdir/c/src/exec/score/tools/$target_cpu; then
    3291   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>&6
    3297 else
    3298   echo "$ac_t""no" 1>&6
    3299 fi
    3300 
    3301 
    3302 
    33033306echo $ac_n "checking for Makefile.in in c/src/exec/rtems""... $ac_c" 1>&6
    3304 echo "configure:3305: checking for Makefile.in in c/src/exec/rtems" >&5
     3307echo "configure:3308: checking for Makefile.in in c/src/exec/rtems" >&5
    33053308if test -d $srcdir/c/src/exec/rtems; then
    33063309  rtems_av_save_dir=`pwd`;
     
    33173320
    33183321echo $ac_n "checking for Makefile.in in c/src/exec/sapi""... $ac_c" 1>&6
    3319 echo "configure:3320: checking for Makefile.in in c/src/exec/sapi" >&5
     3322echo "configure:3323: checking for Makefile.in in c/src/exec/sapi" >&5
    33203323if test -d $srcdir/c/src/exec/sapi; then
    33213324  rtems_av_save_dir=`pwd`;
     
    33323335
    33333336echo $ac_n "checking for Makefile.in in c/src/exec/score/cpu/$target_cpu""... $ac_c" 1>&6
    3334 echo "configure:3335: checking for Makefile.in in c/src/exec/score/cpu/$target_cpu" >&5
     3337echo "configure:3338: checking for Makefile.in in c/src/exec/score/cpu/$target_cpu" >&5
    33353338if test -d $srcdir/c/src/exec/score/cpu/$target_cpu; then
    33363339  rtems_av_save_dir=`pwd`;
     
    33493352 
    33503353echo $ac_n "checking for Makefile.in in c/src/exec/posix""... $ac_c" 1>&6
    3351 echo "configure:3352: checking for Makefile.in in c/src/exec/posix" >&5
     3354echo "configure:3355: checking for Makefile.in in c/src/exec/posix" >&5
    33523355if test -d $srcdir/c/src/exec/posix; then
    33533356  rtems_av_save_dir=`pwd`;
     
    33713374  if test -z "$rtems_bsp"; then
    33723375    echo $ac_n "checking for bsps""... $ac_c" 1>&6
    3373 echo "configure:3374: checking for bsps" >&5
     3376echo "configure:3377: checking for bsps" >&5
    33743377    files=`ls $srcdir/c/src/lib/libbsp/$target_cpu`
    33753378    for file in $files; do
     
    34363439       
    34373440echo $ac_n "checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir""... $ac_c" 1>&6
    3438 echo "configure:3439: checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir" >&5
     3441echo "configure:3442: checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir" >&5
    34393442if test -d $srcdir/c/src/lib/libbsp/$bspcpudir$bspdir; then
    34403443  rtems_av_save_dir=`pwd`;
     
    34513454       
    34523455echo $ac_n "checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared""... $ac_c" 1>&6
    3453 echo "configure:3454: checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared" >&5
     3456echo "configure:3457: checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared" >&5
    34543457if test -d $srcdir/c/src/lib/libbsp/${bspcpudir}shared; then
    34553458  rtems_av_save_dir=`pwd`;
     
    34643467
    34653468
     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
    34663476      fi
    34673477    else
     
    34743484
    34753485echo $ac_n "checking for Makefile.in in c/src/lib/libcpu/$target_cpu""... $ac_c" 1>&6
    3476 echo "configure:3477: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&5
     3486echo "configure:3487: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&5
    34773487if test -d $srcdir/c/src/lib/libcpu/$target_cpu; then
    34783488  rtems_av_save_dir=`pwd`;
     
    34913501 
    34923502echo $ac_n "checking for Makefile.in in c/src/lib/start/$target_cpu""... $ac_c" 1>&6
    3493 echo "configure:3494: checking for Makefile.in in c/src/lib/start/$target_cpu" >&5
     3503echo "configure:3504: checking for Makefile.in in c/src/lib/start/$target_cpu" >&5
    34943504if test -d $srcdir/c/src/lib/start/$target_cpu; then
    34953505  rtems_av_save_dir=`pwd`;
     
    35223532# If the TCP/IP stack is enabled, then find all TCP/IP Makefiles
    35233533echo $ac_n "checking if networking is enabled? ""... $ac_c" 1>&6
    3524 echo "configure:3525: checking if networking is enabled? " >&5
     3534echo "configure:3535: checking if networking is enabled? " >&5
    35253535echo "$ac_t""$RTEMS_HAS_NETWORKING" 1>&6
    35263536if test "$RTEMS_HAS_NETWORKING" = "yes"; then
    35273537 
    35283538echo $ac_n "checking for Makefile.in in c/src/lib/libnetworking""... $ac_c" 1>&6
    3529 echo "configure:3530: checking for Makefile.in in c/src/lib/libnetworking" >&5
     3539echo "configure:3540: checking for Makefile.in in c/src/lib/libnetworking" >&5
    35303540if test -d $srcdir/c/src/lib/libnetworking; then
    35313541  rtems_av_save_dir=`pwd`;
     
    35423552 
    35433553echo $ac_n "checking for Makefile.in in c/src/lib/librpc""... $ac_c" 1>&6
    3544 echo "configure:3545: checking for Makefile.in in c/src/lib/librpc" >&5
     3554echo "configure:3555: checking for Makefile.in in c/src/lib/librpc" >&5
    35453555if test -d $srcdir/c/src/lib/librpc; then
    35463556  rtems_av_save_dir=`pwd`;
     
    35583568   
    35593569echo $ac_n "checking for Makefile.in in c/src/lib/librdbg""... $ac_c" 1>&6
    3560 echo "configure:3561: checking for Makefile.in in c/src/lib/librdbg" >&5
     3570echo "configure:3571: checking for Makefile.in in c/src/lib/librdbg" >&5
    35613571if test -d $srcdir/c/src/lib/librdbg; then
    35623572  rtems_av_save_dir=`pwd`;
     
    35823592# If the tests are enabled, then find all the test suite Makefiles
    35833593echo $ac_n "checking if the test suites are enabled? ""... $ac_c" 1>&6
    3584 echo "configure:3585: checking if the test suites are enabled? " >&5
     3594echo "configure:3595: checking if the test suites are enabled? " >&5
    35853595tests_enabled=yes
    35863596# Check whether --enable-tests or --disable-tests was given.
     
    36003610
    36013611echo $ac_n "checking for Makefile.in in c/src/tests/tools/$target_cpu""... $ac_c" 1>&6
    3602 echo "configure:3603: checking for Makefile.in in c/src/tests/tools/$target_cpu" >&5
     3612echo "configure:3613: checking for Makefile.in in c/src/tests/tools/$target_cpu" >&5
    36033613if test -d $srcdir/c/src/tests/tools/$target_cpu; then
    36043614  rtems_av_save_dir=`pwd`;
     
    36173627   
    36183628echo $ac_n "checking for Makefile.in in c/src/tests/libtests""... $ac_c" 1>&6
    3619 echo "configure:3620: checking for Makefile.in in c/src/tests/libtests" >&5
     3629echo "configure:3630: checking for Makefile.in in c/src/tests/libtests" >&5
    36203630if test -d $srcdir/c/src/tests/libtests; then
    36213631  rtems_av_save_dir=`pwd`;
     
    36323642   
    36333643echo $ac_n "checking for Makefile.in in c/src/tests/sptests""... $ac_c" 1>&6
    3634 echo "configure:3635: checking for Makefile.in in c/src/tests/sptests" >&5
     3644echo "configure:3645: checking for Makefile.in in c/src/tests/sptests" >&5
    36353645if test -d $srcdir/c/src/tests/sptests; then
    36363646  rtems_av_save_dir=`pwd`;
     
    36473657   
    36483658echo $ac_n "checking for Makefile.in in c/src/tests/tmtests""... $ac_c" 1>&6
    3649 echo "configure:3650: checking for Makefile.in in c/src/tests/tmtests" >&5
     3659echo "configure:3660: checking for Makefile.in in c/src/tests/tmtests" >&5
    36503660if test -d $srcdir/c/src/tests/tmtests; then
    36513661  rtems_av_save_dir=`pwd`;
     
    36633673       
    36643674echo $ac_n "checking for Makefile.in in c/src/tests/mptests""... $ac_c" 1>&6
    3665 echo "configure:3666: checking for Makefile.in in c/src/tests/mptests" >&5
     3675echo "configure:3676: checking for Makefile.in in c/src/tests/mptests" >&5
    36663676if test -d $srcdir/c/src/tests/mptests; then
    36673677  rtems_av_save_dir=`pwd`;
     
    36803690     
    36813691echo $ac_n "checking for Makefile.in in c/src/tests/psxtests""... $ac_c" 1>&6
    3682 echo "configure:3683: checking for Makefile.in in c/src/tests/psxtests" >&5
     3692echo "configure:3693: checking for Makefile.in in c/src/tests/psxtests" >&5
    36833693if test -d $srcdir/c/src/tests/psxtests; then
    36843694  rtems_av_save_dir=`pwd`;
     
    36943704
    36953705   fi
     3706   subdirs="c/src/tests/tools/generic"
     3707
    36963708fi
    36973709
     
    37123724if test "$RTEMS_HAS_HWAPI" = "yes"; then
    37133725  echo $ac_n "checking whether libwapi is present""... $ac_c" 1>&6
    3714 echo "configure:3715: checking whether libwapi is present" >&5
     3726echo "configure:3727: checking whether libwapi is present" >&5
    37153727  if test -f ${srcdir}/c/src/lib/libhwapi/Makefile.in ; then
    37163728    echo "$ac_t""yes" 1>&6
     
    37183730   
    37193731echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/analog""... $ac_c" 1>&6
    3720 echo "configure:3721: checking for Makefile.in in c/src/lib/libhwapi/analog" >&5
     3732echo "configure:3733: checking for Makefile.in in c/src/lib/libhwapi/analog" >&5
    37213733if test -d $srcdir/c/src/lib/libhwapi/analog; then
    37223734  rtems_av_save_dir=`pwd`;
     
    37333745   
    37343746echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/discrete""... $ac_c" 1>&6
    3735 echo "configure:3736: checking for Makefile.in in c/src/lib/libhwapi/discrete" >&5
     3747echo "configure:3748: checking for Makefile.in in c/src/lib/libhwapi/discrete" >&5
    37363748if test -d $srcdir/c/src/lib/libhwapi/discrete; then
    37373749  rtems_av_save_dir=`pwd`;
     
    37483760   
    37493761echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/drivers""... $ac_c" 1>&6
    3750 echo "configure:3751: checking for Makefile.in in c/src/lib/libhwapi/drivers" >&5
     3762echo "configure:3763: checking for Makefile.in in c/src/lib/libhwapi/drivers" >&5
    37513763if test -d $srcdir/c/src/lib/libhwapi/drivers; then
    37523764  rtems_av_save_dir=`pwd`;
     
    37633775   
    37643776echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory""... $ac_c" 1>&6
    3765 echo "configure:3766: checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory" >&5
     3777echo "configure:3778: checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory" >&5
    37663778if test -d $srcdir/c/src/lib/libhwapi/non_volatile_memory; then
    37673779  rtems_av_save_dir=`pwd`;
     
    37783790   
    37793791echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/serial""... $ac_c" 1>&6
    3780 echo "configure:3781: checking for Makefile.in in c/src/lib/libhwapi/serial" >&5
     3792echo "configure:3793: checking for Makefile.in in c/src/lib/libhwapi/serial" >&5
    37813793if test -d $srcdir/c/src/lib/libhwapi/serial; then
    37823794  rtems_av_save_dir=`pwd`;
     
    37933805   
    37943806echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/support""... $ac_c" 1>&6
    3795 echo "configure:3796: checking for Makefile.in in c/src/lib/libhwapi/support" >&5
     3807echo "configure:3808: checking for Makefile.in in c/src/lib/libhwapi/support" >&5
    37963808if test -d $srcdir/c/src/lib/libhwapi/support; then
    37973809  rtems_av_save_dir=`pwd`;
     
    38083820   
    38093821echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/wrapup""... $ac_c" 1>&6
    3810 echo "configure:3811: checking for Makefile.in in c/src/lib/libhwapi/wrapup" >&5
     3822echo "configure:3823: checking for Makefile.in in c/src/lib/libhwapi/wrapup" >&5
    38113823if test -d $srcdir/c/src/lib/libhwapi/wrapup; then
    38123824  rtems_av_save_dir=`pwd`;
     
    38513863
    38523864echo $ac_n "checking for Makefile.in in make""... $ac_c" 1>&6
    3853 echo "configure:3854: checking for Makefile.in in make" >&5
     3865echo "configure:3866: checking for Makefile.in in make" >&5
    38543866if test -d $srcdir/make; then
    38553867  rtems_av_save_dir=`pwd`;
     
    38663878
    38673879echo $ac_n "checking for Makefile.in in c/src/lib/libchip""... $ac_c" 1>&6
    3868 echo "configure:3869: checking for Makefile.in in c/src/lib/libchip" >&5
     3880echo "configure:3881: checking for Makefile.in in c/src/lib/libchip" >&5
    38693881if test -d $srcdir/c/src/lib/libchip; then
    38703882  rtems_av_save_dir=`pwd`;
     
    38813893
    38823894echo $ac_n "checking for Makefile.in in c/src/lib/libmisc""... $ac_c" 1>&6
    3883 echo "configure:3884: checking for Makefile.in in c/src/lib/libmisc" >&5
     3895echo "configure:3896: checking for Makefile.in in c/src/lib/libmisc" >&5
    38843896if test -d $srcdir/c/src/lib/libmisc; then
    38853897  rtems_av_save_dir=`pwd`;
     
    38963908
    38973909echo $ac_n "checking for Makefile.in in c/src/tests/samples""... $ac_c" 1>&6
    3898 echo "configure:3899: checking for Makefile.in in c/src/tests/samples" >&5
     3910echo "configure:3911: checking for Makefile.in in c/src/tests/samples" >&5
    38993911if test -d $srcdir/c/src/tests/samples; then
    39003912  rtems_av_save_dir=`pwd`;
     
    39103922
    39113923
    3912 subdirs="c/build-tools"
     3924subdirs="c/src/tests/tools/generic c/build-tools"
     3925
     3926subdirs="c/src/tests/tools/generic c/build-tools $scoretools_cfgdirs"
     3927
     3928subdirs="c/src/tests/tools/generic c/build-tools $scoretools_cfgdirs $bsptools_cfgdirs"
     3929
    39133930
    39143931# FIXME: libwapi needs a separate configure.in in future ;-
     
    40484065c/src/exec/score/src/Makefile
    40494066c/src/exec/score/tools/Makefile
    4050 c/src/exec/score/tools/generic/Makefile
    40514067c/src/exec/wrapup/Makefile
    40524068c/src/exec/wrapup/rtems/Makefile
     
    40654081c/src/tests/support/wrapup/Makefile
    40664082c/src/tests/tools/Makefile
    4067 c/src/tests/tools/generic/Makefile
    40684083$makefiles
    40694084c/update-tools/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
     
    41014116s%@RTEMS_TOPdir@%$RTEMS_TOPdir%g
    41024117s%@PROJECT_ROOT@%$PROJECT_ROOT%g
    4103 s%@RTEMS_ROOT@%$RTEMS_ROOT%g
    41044118s%@SET_MAKE@%$SET_MAKE%g
    41054119s%@host@%$host%g
     
    41514165s%@EXEEXT@%$EXEEXT%g
    41524166s%@GCCSED@%$GCCSED%g
     4167s%@subdirs@%$subdirs%g
    41534168s%@RTEMS_GAS_CODE16@%$RTEMS_GAS_CODE16%g
    41544169s%@rtems_cv_prog_cc_cross@%$rtems_cv_prog_cc_cross%g
     
    41684183s%@CC_CFLAGS_PROFILE_V@%$CC_CFLAGS_PROFILE_V%g
    41694184s%@CC_LDFLAGS_PROFILE_V@%$CC_LDFLAGS_PROFILE_V%g
    4170 s%@subdirs@%$subdirs%g
    41714185
    41724186CEOF
     
    42294243c/src/exec/score/src/Makefile
    42304244c/src/exec/score/tools/Makefile
    4231 c/src/exec/score/tools/generic/Makefile
    42324245c/src/exec/wrapup/Makefile
    42334246c/src/exec/wrapup/rtems/Makefile
     
    42464259c/src/tests/support/wrapup/Makefile
    42474260c/src/tests/tools/Makefile
    4248 c/src/tests/tools/generic/Makefile
    42494261$makefiles
    42504262c/update-tools/Makefile"}
     
    43444356  done
    43454357
    4346   for ac_config_dir in c/build-tools; do
     4358  for ac_config_dir in c/src/tests/tools/generic c/build-tools $scoretools_cfgdirs $bsptools_cfgdirs; do
    43474359
    43484360    # Do not complain, so a configure script can configure whichever
  • configure.in

    rc69856c3 r9b8baa1  
    180180fi
    181181
     182# Collect config subdirs for exec/score/tools
     183t="c/src/exec/score/tools"
     184scoretools_cfgdirs="$t/generic"
     185if test -d $srcdir/$t/$target_cpu; then
     186  scoretools_cfgdirs="$scoretools_cfgdirs $t/$target_cpu"
     187fi
     188
    182189# find all the Executive Makefiles
    183 RTEMS_CHECK_MAKEFILE(c/src/exec/score/tools/$target_cpu)
    184190RTEMS_CHECK_MAKEFILE(c/src/exec/rtems)
    185191RTEMS_CHECK_MAKEFILE(c/src/exec/sapi)
     
    261267        RTEMS_CHECK_MAKEFILE(c/src/lib/libbsp/$bspcpudir$bspdir)
    262268        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
    263276      fi
    264277    else
     
    321334     RTEMS_CHECK_MAKEFILE(c/src/tests/psxtests)
    322335   fi
     336   AC_CONFIG_SUBDIRS(c/src/tests/tools/generic)
    323337fi
    324338
     
    371385
    372386AC_CONFIG_SUBDIRS(c/build-tools)
     387AC_CONFIG_SUBDIRS($scoretools_cfgdirs)
     388AC_CONFIG_SUBDIRS($bsptools_cfgdirs)
     389
    373390# FIXME: libwapi needs a separate configure.in in future ;-
    374391# AC_CONFIG_SUBDIRS(c/src/lib/libwapi)