Changeset 29e68b75 in rtems


Ignore:
Timestamp:
Jul 26, 1999, 9:26:44 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
38bfb0d
Parents:
08b5f55
Message:

Patch from Ralf Corsepius <corsepiu@…>:

This patch is an addition to "The big-patch"

CHANGES:

  • FIX: c/Makefile.am: bogus comment which changed the behavior of c/Makefile.am removed
  • FIX: make/custom/ts_i386ex.cfg did not set HAS_NETWORKING correctly (Me thinks it might have been me who added this bogus setting :-).
  • NEW: removing make targets get, protos, debug_install, profile_install
  • NEW: replacing clobber with distclean
  • NEW: Reimplement distclean and clean as reverse depth first make targets (adaptation to automake's behavior)
  • NEW: removing RCS_CLEAN from make distclean (tools/build/rcs_clean is still in - remove it?)
  • NEW: "$(RM) Makefile" added to make distclean (adaptation to automake's behavior)
  • NEW: "$(RM) config.cache config.log" to CLOBBER_ADDITIONS in [lib|exec|tests]/Makefile.in (adaptation to automake's behavior)
  • NEW: "$(CLEAN_PROTOS)" removed (Not used anywhere)
  • NEW: binpatch.c moved from i386 bsp tools to tools/build (AFAIS, binpatch is not specific to the pc386 BSP at all)
  • NEW: AC_EXEEXT added to all configure scripts which contain AC_PROG_CC (Cygwin support)
  • NEW/Experimental: An experimental implementation of temporary installation tree support in libbsp/i386/pc386/tools/Makefile.am, based on dependency tracking with make, instead of applying INSTALL_CHANGE.

REMARK:

  • This patch is small in size, but changes the behavior of "make clean|distclean|clobber" basically.
  • This patch does not alter building/compiling RTEMS, ie. there should be no need to rerun all "make all" building tests.

KNOWN BUGS:

  • make RTEMS_BSP="..." distclean in c/ runs "make distclean" in BSPs subdirectories passed through RTEMS_BSP and in "c/." only, but does not descend into other BSP subdirectories previously configured with different settings of make RTEMS_BSP="...". => Workaround: always use the same setting of RTEMS_BSP when working inside the build-tree.
  • "make [distclean|clean]" do not clean subdirectories, which have been configured at configuration time, but which are not used due to make-time configuration (e.g. macros/networking/rdgb subdirectories). This will problem will vanish by itself when migrating from make-time to configuration-time configuration

APPLYING THE PATCH

mv c/src/lib/libbsp/i386/pc386/tools/binpatch.c tools/build
patch -p1 < rtems-rc-19990709-2.diff
autogen

Files:
1 deleted
65 edited

Legend:

Unmodified
Added
Removed
  • Makefile.am

    r08b5f55 r29e68b75  
    1010ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
    1111
    12 SUBDIRS = make tools @TARGET_SUBDIRS@
     12SUBDIRS = doc make tools @TARGET_SUBDIRS@
    1313
    1414AUTOMAKE_FILES = \
  • Makefile.in

    r08b5f55 r29e68b75  
    9494ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
    9595
    96 SUBDIRS = make tools @TARGET_SUBDIRS@
     96SUBDIRS = doc make tools @TARGET_SUBDIRS@
    9797
    9898AUTOMAKE_FILES =  automake/subdirs.am automake/local.am
     
    365365
    366366depend-recursive \
    367 clobber-recursive \
    368367preinstall-recursive \
    369368debug-recursive \
    370 debug_install-recursive \
    371 profile-recursive \
    372 profile_install-recursive:
     369profile-recursive:
    373370        @set fnord $(MAKEFLAGS); amf=$$2; \
    374371        dot_seen=no; \
     
    392389.PHONY: debug-recursive
    393390
    394 debug_install: debug_install-recursive
    395 .PHONY: debug_install-recursive
    396 
    397391profile: profile-recursive
    398392.PHONY: profile-recursive
    399393
    400 profile_install: profile_install-recursive
    401 .PHONY: profile-recursive
    402 
    403394preinstall: preinstall-recursive
    404395.PHONY: preinstall-recursive
    405 
    406 clobber: clobber-recursive
    407 .PHONY: clobber-recursive
    408396
    409397depend: depend-recursive
     
    414402.PHONY: debug debug-am
    415403
    416 debug_install-am:
    417 debug_install: debug_install-am
    418 .PHONY: debug_install debug_install-am
    419 
    420404profile-am:
    421405profile: profile-am
    422406.PHONY: profile profile-am
    423407
    424 profile_install-am:
    425 profile_install: profile_install-am
    426 .PHONY: profile_install profile_install-am
    427 
    428408preinstall-am:
    429409preinstall: preinstall-am
    430410.PHONY: preinstall preinstall-am
    431411
    432 clobber-am:
    433 clobber: clobber-am
    434 .PHONY: clobber clobber-am
    435 
    436412depend-am:
    437413depend: depend-am
  • automake/local.am

    r08b5f55 r29e68b75  
    1010.PHONY: debug debug-am
    1111
    12 debug_install-am:
    13 debug_install: debug_install-am
    14 .PHONY: debug_install debug_install-am
    15 
    1612profile-am:
    1713profile: profile-am
    1814.PHONY: profile profile-am
    19 
    20 profile_install-am:
    21 profile_install: profile_install-am
    22 .PHONY: profile_install profile_install-am
    2315
    2416preinstall-am:
     
    2618.PHONY: preinstall preinstall-am
    2719
    28 clobber-am:
    29 clobber: clobber-am
    30 .PHONY: clobber clobber-am
    31 
    3220depend-am:
    3321depend: depend-am
  • automake/subdirs.am

    r08b5f55 r29e68b75  
    99
    1010depend-recursive \
    11 clobber-recursive \
    1211preinstall-recursive \
    1312debug-recursive \
    14 debug_install-recursive \
    15 profile-recursive \
    16 profile_install-recursive:
     13profile-recursive:
    1714        @set fnord $(MAKEFLAGS); amf=$$2; \
    1815        dot_seen=no; \
     
    3835.PHONY: debug-recursive
    3936
    40 debug_install: debug_install-recursive
    41 .PHONY: debug_install-recursive
    42 
    4337profile: profile-recursive
    44 .PHONY: profile-recursive
    45 
    46 profile_install: profile_install-recursive
    4738.PHONY: profile-recursive
    4839
     
    5041.PHONY: preinstall-recursive
    5142
    52 clobber: clobber-recursive
    53 .PHONY: clobber-recursive
    54 
    5543depend: depend-recursive
    5644.PHONY: depend-recursive
  • c/Makefile.am

    r08b5f55 r29e68b75  
    22# $Id$
    33#
     4
     5## NOTE: This Makefile.am is rather fragile to the value of RTEMS_BSP
     6## Esp. make clean and make distclean have unwanted side-effects
     7## if RTEMS_BSP is not properly set up.
    48
    59AUTOMAKE_OPTIONS = foreign 1.4
     
    1317$(RTEMS_BSP)
    1418
     19
    1520## Use @RTEMS_BSP_LIST@ here, using $(RTEMS_BSP_LIST) would trigger
    1621## this rule for invalid BSPs
    1722@RTEMS_BSP_LIST@: src/configure
    1823        @set fnord $(MAKEFLAGS); amf=$$2; \
    19         # Adjust paths
    2024        test -n "${RTEMS_BSP}" && for i in ${RTEMS_BSP}; do \
    2125          echo "Configuring RTEMS_BSP=$$i"; \
     
    3034all-am: ${RTEMS_BSP}
    3135debug-am: ${RTEMS_BSP}
    32 debug_install-am: ${RTEMS_BSP}
    3336profile-am: ${RTEMS_BSP}
    34 profile_install-am: ${RTEMS_BSP}
    3537preinstall-am: ${RTEMS_BSP}
    3638depend-am: ${RTEMS_BSP}
  • c/Makefile.in

    r08b5f55 r29e68b75  
    344344@RTEMS_BSP_LIST@: src/configure
    345345        @set fnord $(MAKEFLAGS); amf=$$2; \
    346         # Adjust paths
    347346        test -n "${RTEMS_BSP}" && for i in ${RTEMS_BSP}; do \
    348347          echo "Configuring RTEMS_BSP=$$i"; \
     
    356355all-am: ${RTEMS_BSP}
    357356debug-am: ${RTEMS_BSP}
    358 debug_install-am: ${RTEMS_BSP}
    359357profile-am: ${RTEMS_BSP}
    360 profile_install-am: ${RTEMS_BSP}
    361358preinstall-am: ${RTEMS_BSP}
    362359depend-am: ${RTEMS_BSP}
    363360
    364361depend-recursive \
    365 clobber-recursive \
    366362preinstall-recursive \
    367363debug-recursive \
    368 debug_install-recursive \
    369 profile-recursive \
    370 profile_install-recursive:
     364profile-recursive:
    371365        @set fnord $(MAKEFLAGS); amf=$$2; \
    372366        dot_seen=no; \
     
    390384.PHONY: debug-recursive
    391385
    392 debug_install: debug_install-recursive
    393 .PHONY: debug_install-recursive
    394 
    395386profile: profile-recursive
    396387.PHONY: profile-recursive
    397388
    398 profile_install: profile_install-recursive
    399 .PHONY: profile-recursive
    400 
    401389preinstall: preinstall-recursive
    402390.PHONY: preinstall-recursive
    403 
    404 clobber: clobber-recursive
    405 .PHONY: clobber-recursive
    406391
    407392depend: depend-recursive
     
    412397.PHONY: debug debug-am
    413398
    414 debug_install-am:
    415 debug_install: debug_install-am
    416 .PHONY: debug_install debug_install-am
    417 
    418399profile-am:
    419400profile: profile-am
    420401.PHONY: profile profile-am
    421402
    422 profile_install-am:
    423 profile_install: profile_install-am
    424 .PHONY: profile_install profile_install-am
    425 
    426403preinstall-am:
    427404preinstall: preinstall-am
    428405.PHONY: preinstall preinstall-am
    429 
    430 clobber-am:
    431 clobber: clobber-am
    432 .PHONY: clobber clobber-am
    433406
    434407depend-am:
  • c/src/Makefile.in

    r08b5f55 r29e68b75  
    349349
    350350depend-recursive \
    351 clobber-recursive \
    352351preinstall-recursive \
    353352debug-recursive \
    354 debug_install-recursive \
    355 profile-recursive \
    356 profile_install-recursive:
     353profile-recursive:
    357354        @set fnord $(MAKEFLAGS); amf=$$2; \
    358355        dot_seen=no; \
     
    376373.PHONY: debug-recursive
    377374
    378 debug_install: debug_install-recursive
    379 .PHONY: debug_install-recursive
    380 
    381375profile: profile-recursive
    382376.PHONY: profile-recursive
    383377
    384 profile_install: profile_install-recursive
    385 .PHONY: profile-recursive
    386 
    387378preinstall: preinstall-recursive
    388379.PHONY: preinstall-recursive
    389 
    390 clobber: clobber-recursive
    391 .PHONY: clobber-recursive
    392380
    393381depend: depend-recursive
     
    398386.PHONY: debug debug-am
    399387
    400 debug_install-am:
    401 debug_install: debug_install-am
    402 .PHONY: debug_install debug_install-am
    403 
    404388profile-am:
    405389profile: profile-am
    406390.PHONY: profile profile-am
    407391
    408 profile_install-am:
    409 profile_install: profile_install-am
    410 .PHONY: profile_install profile_install-am
    411 
    412392preinstall-am:
    413393preinstall: preinstall-am
    414394.PHONY: preinstall preinstall-am
    415395
    416 clobber-am:
    417 clobber: clobber-am
    418 .PHONY: clobber clobber-am
    419 
    420396depend-am:
    421397depend: depend-am
  • c/src/exec/Makefile.in

    r08b5f55 r29e68b75  
    2323SUB_DIRS = score rtems $(POSIX_DIRS) sapi wrapup
    2424
     25CLOBBER_ADDITIONS += config.log config.cache
     26
    2527Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
    2628        cd $(top_builddir) \
  • c/src/exec/sapi/include/rtems/Makefile.in

    r08b5f55 r29e68b75  
    3838
    3939CLEAN_ADDITIONS +=
    40 CLOBBER_ADDITIONS +=
     40CLOBBER_ADDITIONS += sptables.h
    4141
    4242all: preinstall
  • c/src/exec/score/include/rtems/score/Makefile.in

    r08b5f55 r29e68b75  
    8888        echo "#define USE_INLINES 1"            >>$@; \
    8989        fi
    90         if test "$(HAS_MP)" = "yes"; then \
     90        @if test "$(HAS_MP)" = "yes"; then \
    9191        echo "#define RTEMS_MULTIPROCESSING 1"  >>$@; \
    9292        fi
  • c/src/lib/Makefile.in

    r08b5f55 r29e68b75  
    4242    $(LIBRPC) $(LIBRDBG) $(LIBCHIP) $(LIBHWAPI) $(LIBRTEMSCPLUSPLUS) wrapup
    4343
     44CLOBBER_ADDITIONS += config.log config.cache
     45
    4446Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
    4547        cd $(top_builddir) \
  • c/src/lib/libbsp/hppa1.1/simhppa/tools/Makefile.in

    r08b5f55 r29e68b75  
    7070target_triplet = @target@
    7171CC = @CC@
     72EXEEXT = @EXEEXT@
    7273INSTALL_CHANGE = @INSTALL_CHANGE@
    7374MAINT = @MAINT@
     
    99100CONFIG_HEADER = config.h
    100101CONFIG_CLEAN_FILES =
     102noinst_PROGRAMS =  print_dump$(EXEEXT)
    101103PROGRAMS =  $(noinst_PROGRAMS)
    102104
     
    197199maintainer-clean-compile:
    198200
    199 print_dump: $(print_dump_OBJECTS) $(print_dump_DEPENDENCIES)
    200         @rm -f print_dump
     201print_dump$(EXEEXT): $(print_dump_OBJECTS) $(print_dump_DEPENDENCIES)
     202        @rm -f print_dump$(EXEEXT)
    201203        $(LINK) $(print_dump_LDFLAGS) $(print_dump_OBJECTS) $(print_dump_LDADD) $(LIBS)
    202204
     
    406408.PHONY: debug debug-am
    407409
    408 debug_install-am:
    409 debug_install: debug_install-am
    410 .PHONY: debug_install debug_install-am
    411 
    412410profile-am:
    413411profile: profile-am
    414412.PHONY: profile profile-am
    415413
    416 profile_install-am:
    417 profile_install: profile_install-am
    418 .PHONY: profile_install profile_install-am
    419 
    420414preinstall-am:
    421415preinstall: preinstall-am
    422416.PHONY: preinstall preinstall-am
    423417
    424 clobber-am:
    425 clobber: clobber-am
    426 .PHONY: clobber clobber-am
    427 
    428418depend-am:
    429419depend: depend-am
  • c/src/lib/libbsp/hppa1.1/simhppa/tools/configure

    r08b5f55 r29e68b75  
    938938 
    939939
     940echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
     941echo "configure:942: checking for Cygwin environment" >&5
     942if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
     943  echo $ac_n "(cached) $ac_c" 1>&6
     944else
     945  cat > conftest.$ac_ext <<EOF
     946#line 947 "configure"
     947#include "confdefs.h"
     948
     949int main() {
     950
     951#ifndef __CYGWIN__
     952#define __CYGWIN__ __CYGWIN32__
     953#endif
     954return __CYGWIN__;
     955; return 0; }
     956EOF
     957if { (eval echo configure:958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     958  rm -rf conftest*
     959  ac_cv_cygwin=yes
     960else
     961  echo "configure: failed program was:" >&5
     962  cat conftest.$ac_ext >&5
     963  rm -rf conftest*
     964  ac_cv_cygwin=no
     965fi
     966rm -f conftest*
     967rm -f conftest*
     968fi
     969
     970echo "$ac_t""$ac_cv_cygwin" 1>&6
     971CYGWIN=
     972test "$ac_cv_cygwin" = yes && CYGWIN=yes
     973echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
     974echo "configure:975: checking for mingw32 environment" >&5
     975if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
     976  echo $ac_n "(cached) $ac_c" 1>&6
     977else
     978  cat > conftest.$ac_ext <<EOF
     979#line 980 "configure"
     980#include "confdefs.h"
     981
     982int main() {
     983return __MINGW32__;
     984; return 0; }
     985EOF
     986if { (eval echo configure:987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     987  rm -rf conftest*
     988  ac_cv_mingw32=yes
     989else
     990  echo "configure: failed program was:" >&5
     991  cat conftest.$ac_ext >&5
     992  rm -rf conftest*
     993  ac_cv_mingw32=no
     994fi
     995rm -f conftest*
     996rm -f conftest*
     997fi
     998
     999echo "$ac_t""$ac_cv_mingw32" 1>&6
     1000MINGW32=
     1001test "$ac_cv_mingw32" = yes && MINGW32=yes
     1002
     1003
     1004echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
     1005echo "configure:1006: checking for executable suffix" >&5
     1006if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
     1007  echo $ac_n "(cached) $ac_c" 1>&6
     1008else
     1009  if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
     1010  ac_cv_exeext=.exe
     1011else
     1012  rm -f conftest*
     1013  echo 'int main () { return 0; }' > conftest.$ac_ext
     1014  ac_cv_exeext=
     1015  if { (eval echo configure:1016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1016    for file in conftest.*; do
     1017      case $file in
     1018      *.c | *.o | *.obj) ;;
     1019      *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
     1020      esac
     1021    done
     1022  else
     1023    { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
     1024  fi
     1025  rm -f conftest*
     1026  test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
     1027fi
     1028fi
     1029
     1030EXEEXT=""
     1031test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
     1032echo "$ac_t""${ac_cv_exeext}" 1>&6
     1033ac_exeext=$EXEEXT
     1034
    9401035
    9411036# Extract the first word of "gcc", so it can be a program name with args.
    9421037set dummy gcc; ac_word=$2
    9431038echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    944 echo "configure:945: checking for $ac_word" >&5
     1039echo "configure:1040: checking for $ac_word" >&5
    9451040if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    9461041  echo $ac_n "(cached) $ac_c" 1>&6
     
    9721067set dummy cc; ac_word=$2
    9731068echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    974 echo "configure:975: checking for $ac_word" >&5
     1069echo "configure:1070: checking for $ac_word" >&5
    9751070if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    9761071  echo $ac_n "(cached) $ac_c" 1>&6
     
    10231118set dummy cl; ac_word=$2
    10241119echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1025 echo "configure:1026: checking for $ac_word" >&5
     1120echo "configure:1121: checking for $ac_word" >&5
    10261121if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    10271122  echo $ac_n "(cached) $ac_c" 1>&6
     
    10551150
    10561151echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    1057 echo "configure:1058: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     1152echo "configure:1153: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    10581153
    10591154ac_ext=c
     
    10661161cat > conftest.$ac_ext << EOF
    10671162
    1068 #line 1069 "configure"
     1163#line 1164 "configure"
    10691164#include "confdefs.h"
    10701165
    10711166main(){return(0);}
    10721167EOF
    1073 if { (eval echo configure:1074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1168if { (eval echo configure:1169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    10741169  ac_cv_prog_cc_works=yes
    10751170  # If we can't run a trivial program, we are probably using a cross compiler.
     
    10971192fi
    10981193echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1099 echo "configure:1100: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     1194echo "configure:1195: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    11001195echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    11011196cross_compiling=$ac_cv_prog_cc_cross
    11021197
    11031198echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    1104 echo "configure:1105: checking whether we are using GNU C" >&5
     1199echo "configure:1200: checking whether we are using GNU C" >&5
    11051200if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    11061201  echo $ac_n "(cached) $ac_c" 1>&6
     
    11111206#endif
    11121207EOF
    1113 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1114: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1208if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    11141209  ac_cv_prog_gcc=yes
    11151210else
     
    11301225CFLAGS=
    11311226echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    1132 echo "configure:1133: checking whether ${CC-cc} accepts -g" >&5
     1227echo "configure:1228: checking whether ${CC-cc} accepts -g" >&5
    11331228if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    11341229  echo $ac_n "(cached) $ac_c" 1>&6
     
    11651260do
    11661261echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1167 echo "configure:1168: checking for $ac_func" >&5
     1262echo "configure:1263: checking for $ac_func" >&5
    11681263if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    11691264  echo $ac_n "(cached) $ac_c" 1>&6
    11701265else
    11711266  cat > conftest.$ac_ext <<EOF
    1172 #line 1173 "configure"
     1267#line 1268 "configure"
    11731268#include "confdefs.h"
    11741269/* System header to define __stub macros and hopefully few prototypes,
     
    11931288; return 0; }
    11941289EOF
    1195 if { (eval echo configure:1196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1290if { (eval echo configure:1291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    11961291  rm -rf conftest*
    11971292  eval "ac_cv_func_$ac_func=yes"
     
    14251520s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
    14261521s%@MAINT@%$MAINT%g
     1522s%@EXEEXT@%$EXEEXT%g
    14271523s%@CC@%$CC%g
    14281524s%@PROJECT_ROOT@%$PROJECT_ROOT%g
  • c/src/lib/libbsp/hppa1.1/simhppa/tools/configure.in

    r08b5f55 r29e68b75  
    1111AM_INIT_AUTOMAKE(rtems-lib-libbsp-hppa-simhppa-tools,$RTEMS_VERSION,no)
    1212AM_MAINTAINER_MODE
     13AC_EXEEXT
    1314
    1415AC_PROG_CC
  • c/src/lib/libbsp/i386/pc386/tools/Makefile.am

    r08b5f55 r29e68b75  
    99
    1010noinst_PROGRAMS = \
    11 bin2boot \
    12 binpatch
     11bin2boot
    1312
    1413bin2boot_SOURCES = bin2boot.c
    15 binpatch_SOURCES = binpatch.c
     14
     15PREINSTALL_DIRS=$(PROJECT_ROOT)/pc386/build-tools
     16PREINSTALL_FILES = $(PROJECT_ROOT)/pc386/build-tools/bin2boot
     17
     18$(PREINSTALL_DIRS):
     19        $(mkinstalldirs) $@
     20
     21$(PROJECT_ROOT)/pc386/build-tools/bin2boot: bin2boot
     22        $(INSTALL_PROGRAM) $< $@
    1623
    1724# HACK: install into build-tree
    18 preinstall: install-exec-local
    19 
    20 install-exec-local: $(PROGRAMS)
    21         $(mkinstalldirs) $(PROJECT_ROOT)/pc386/build-tools
    22         $(INSTALL_PROGRAM) bin2boot $(PROJECT_ROOT)/pc386/build-tools
    23         $(INSTALL_PROGRAM) binpatch $(PROJECT_ROOT)/pc386/build-tools
     25all-local: $(PREINSTALL_DIRS) $(PREINSTALL_FILES)
    2426
    2527include $(top_srcdir)/../../../../../../../automake/local.am
  • c/src/lib/libbsp/i386/pc386/tools/Makefile.in

    r08b5f55 r29e68b75  
    7070target_triplet = @target@
    7171CC = @CC@
     72EXEEXT = @EXEEXT@
    7273INSTALL_CHANGE = @INSTALL_CHANGE@
    7374MAINT = @MAINT@
     
    9293EXTRA_DIST = Spec.doc
    9394
    94 noinst_PROGRAMS =  bin2boot binpatch
     95noinst_PROGRAMS =  bin2boot
    9596
    9697
    9798bin2boot_SOURCES = bin2boot.c
    98 binpatch_SOURCES = binpatch.c
     99
     100PREINSTALL_DIRS = $(PROJECT_ROOT)/pc386/build-tools
     101PREINSTALL_FILES = $(PROJECT_ROOT)/pc386/build-tools/bin2boot
    99102ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    100103mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../../mkinstalldirs
    101104CONFIG_CLEAN_FILES =
     105noinst_PROGRAMS =  bin2boot$(EXEEXT)
    102106PROGRAMS =  $(noinst_PROGRAMS)
    103107
     
    111115bin2boot_DEPENDENCIES =
    112116bin2boot_LDFLAGS =
    113 binpatch_OBJECTS =  binpatch.o
    114 binpatch_LDADD = $(LDADD)
    115 binpatch_DEPENDENCIES =
    116 binpatch_LDFLAGS =
    117117CFLAGS = @CFLAGS@
    118118COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
     
    126126TAR = tar
    127127GZIP_ENV = --best
    128 DEP_FILES =  .deps/bin2boot.P .deps/binpatch.P
    129 SOURCES = $(bin2boot_SOURCES) $(binpatch_SOURCES)
    130 OBJECTS = $(bin2boot_OBJECTS) $(binpatch_OBJECTS)
     128DEP_FILES =  .deps/bin2boot.P
     129SOURCES = $(bin2boot_SOURCES)
     130OBJECTS = $(bin2boot_OBJECTS)
    131131
    132132all: all-redirect
     
    173173maintainer-clean-compile:
    174174
    175 bin2boot: $(bin2boot_OBJECTS) $(bin2boot_DEPENDENCIES)
    176         @rm -f bin2boot
     175bin2boot$(EXEEXT): $(bin2boot_OBJECTS) $(bin2boot_DEPENDENCIES)
     176        @rm -f bin2boot$(EXEEXT)
    177177        $(LINK) $(bin2boot_LDFLAGS) $(bin2boot_OBJECTS) $(bin2boot_LDADD) $(LIBS)
    178 
    179 binpatch: $(binpatch_OBJECTS) $(binpatch_DEPENDENCIES)
    180         @rm -f binpatch
    181         $(LINK) $(binpatch_LDFLAGS) $(binpatch_OBJECTS) $(binpatch_LDADD) $(LIBS)
    182178
    183179tags: TAGS
     
    303299installcheck-am:
    304300installcheck: installcheck-am
    305 install-exec-am: install-exec-local
     301install-exec-am:
    306302install-exec: install-exec-am
    307303
     
    314310uninstall-am:
    315311uninstall: uninstall-am
    316 all-am: Makefile $(PROGRAMS)
     312all-am: Makefile $(PROGRAMS) all-local
    317313all-redirect: all-am
    318314install-strip:
     
    362358clean-tags maintainer-clean-tags distdir mostlyclean-depend \
    363359distclean-depend clean-depend maintainer-clean-depend info-am info \
    364 dvi-am dvi check check-am installcheck-am installcheck \
    365 install-exec-local install-exec-am install-exec install-data-am \
    366 install-data install-am install uninstall-am uninstall all-redirect \
    367 all-am all installdirs mostlyclean-generic distclean-generic \
    368 clean-generic maintainer-clean-generic clean mostlyclean distclean \
    369 maintainer-clean
    370 
     360dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
     361install-exec install-data-am install-data install-am install \
     362uninstall-am uninstall all-local all-redirect all-am all installdirs \
     363mostlyclean-generic distclean-generic clean-generic \
     364maintainer-clean-generic clean mostlyclean distclean maintainer-clean
     365
     366
     367$(PREINSTALL_DIRS):
     368        $(mkinstalldirs) $@
     369
     370$(PROJECT_ROOT)/pc386/build-tools/bin2boot: bin2boot
     371        $(INSTALL_PROGRAM) $< $@
    371372
    372373# HACK: install into build-tree
    373 preinstall: install-exec-local
    374 
    375 install-exec-local: $(PROGRAMS)
    376         $(mkinstalldirs) $(PROJECT_ROOT)/pc386/build-tools
    377         $(INSTALL_PROGRAM) bin2boot $(PROJECT_ROOT)/pc386/build-tools
    378         $(INSTALL_PROGRAM) binpatch $(PROJECT_ROOT)/pc386/build-tools
     374all-local: $(PREINSTALL_DIRS) $(PREINSTALL_FILES)
    379375
    380376debug-am:
     
    382378.PHONY: debug debug-am
    383379
    384 debug_install-am:
    385 debug_install: debug_install-am
    386 .PHONY: debug_install debug_install-am
    387 
    388380profile-am:
    389381profile: profile-am
    390382.PHONY: profile profile-am
    391383
    392 profile_install-am:
    393 profile_install: profile_install-am
    394 .PHONY: profile_install profile_install-am
    395 
    396384preinstall-am:
    397385preinstall: preinstall-am
    398386.PHONY: preinstall preinstall-am
    399387
    400 clobber-am:
    401 clobber: clobber-am
    402 .PHONY: clobber clobber-am
    403 
    404388depend-am:
    405389depend: depend-am
  • c/src/lib/libbsp/i386/pc386/tools/bin2boot.c

    r08b5f55 r29e68b75  
    404404  return 0;
    405405}
    406 
    407 
    408 
    409 
    410 
    411 
    412 
    413 
    414 
  • c/src/lib/libbsp/i386/pc386/tools/configure

    r08b5f55 r29e68b75  
    938938 
    939939
     940echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
     941echo "configure:942: checking for Cygwin environment" >&5
     942if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
     943  echo $ac_n "(cached) $ac_c" 1>&6
     944else
     945  cat > conftest.$ac_ext <<EOF
     946#line 947 "configure"
     947#include "confdefs.h"
     948
     949int main() {
     950
     951#ifndef __CYGWIN__
     952#define __CYGWIN__ __CYGWIN32__
     953#endif
     954return __CYGWIN__;
     955; return 0; }
     956EOF
     957if { (eval echo configure:958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     958  rm -rf conftest*
     959  ac_cv_cygwin=yes
     960else
     961  echo "configure: failed program was:" >&5
     962  cat conftest.$ac_ext >&5
     963  rm -rf conftest*
     964  ac_cv_cygwin=no
     965fi
     966rm -f conftest*
     967rm -f conftest*
     968fi
     969
     970echo "$ac_t""$ac_cv_cygwin" 1>&6
     971CYGWIN=
     972test "$ac_cv_cygwin" = yes && CYGWIN=yes
     973echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
     974echo "configure:975: checking for mingw32 environment" >&5
     975if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
     976  echo $ac_n "(cached) $ac_c" 1>&6
     977else
     978  cat > conftest.$ac_ext <<EOF
     979#line 980 "configure"
     980#include "confdefs.h"
     981
     982int main() {
     983return __MINGW32__;
     984; return 0; }
     985EOF
     986if { (eval echo configure:987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     987  rm -rf conftest*
     988  ac_cv_mingw32=yes
     989else
     990  echo "configure: failed program was:" >&5
     991  cat conftest.$ac_ext >&5
     992  rm -rf conftest*
     993  ac_cv_mingw32=no
     994fi
     995rm -f conftest*
     996rm -f conftest*
     997fi
     998
     999echo "$ac_t""$ac_cv_mingw32" 1>&6
     1000MINGW32=
     1001test "$ac_cv_mingw32" = yes && MINGW32=yes
     1002
     1003
     1004echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
     1005echo "configure:1006: checking for executable suffix" >&5
     1006if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
     1007  echo $ac_n "(cached) $ac_c" 1>&6
     1008else
     1009  if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
     1010  ac_cv_exeext=.exe
     1011else
     1012  rm -f conftest*
     1013  echo 'int main () { return 0; }' > conftest.$ac_ext
     1014  ac_cv_exeext=
     1015  if { (eval echo configure:1016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1016    for file in conftest.*; do
     1017      case $file in
     1018      *.c | *.o | *.obj) ;;
     1019      *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
     1020      esac
     1021    done
     1022  else
     1023    { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
     1024  fi
     1025  rm -f conftest*
     1026  test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
     1027fi
     1028fi
     1029
     1030EXEEXT=""
     1031test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
     1032echo "$ac_t""${ac_cv_exeext}" 1>&6
     1033ac_exeext=$EXEEXT
     1034
    9401035
    9411036# Extract the first word of "gcc", so it can be a program name with args.
    9421037set dummy gcc; ac_word=$2
    9431038echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    944 echo "configure:945: checking for $ac_word" >&5
     1039echo "configure:1040: checking for $ac_word" >&5
    9451040if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    9461041  echo $ac_n "(cached) $ac_c" 1>&6
     
    9721067set dummy cc; ac_word=$2
    9731068echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    974 echo "configure:975: checking for $ac_word" >&5
     1069echo "configure:1070: checking for $ac_word" >&5
    9751070if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    9761071  echo $ac_n "(cached) $ac_c" 1>&6
     
    10231118set dummy cl; ac_word=$2
    10241119echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1025 echo "configure:1026: checking for $ac_word" >&5
     1120echo "configure:1121: checking for $ac_word" >&5
    10261121if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    10271122  echo $ac_n "(cached) $ac_c" 1>&6
     
    10551150
    10561151echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    1057 echo "configure:1058: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     1152echo "configure:1153: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    10581153
    10591154ac_ext=c
     
    10661161cat > conftest.$ac_ext << EOF
    10671162
    1068 #line 1069 "configure"
     1163#line 1164 "configure"
    10691164#include "confdefs.h"
    10701165
    10711166main(){return(0);}
    10721167EOF
    1073 if { (eval echo configure:1074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1168if { (eval echo configure:1169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    10741169  ac_cv_prog_cc_works=yes
    10751170  # If we can't run a trivial program, we are probably using a cross compiler.
     
    10971192fi
    10981193echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1099 echo "configure:1100: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     1194echo "configure:1195: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    11001195echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    11011196cross_compiling=$ac_cv_prog_cc_cross
    11021197
    11031198echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    1104 echo "configure:1105: checking whether we are using GNU C" >&5
     1199echo "configure:1200: checking whether we are using GNU C" >&5
    11051200if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    11061201  echo $ac_n "(cached) $ac_c" 1>&6
     
    11111206#endif
    11121207EOF
    1113 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1114: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1208if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    11141209  ac_cv_prog_gcc=yes
    11151210else
     
    11301225CFLAGS=
    11311226echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    1132 echo "configure:1133: checking whether ${CC-cc} accepts -g" >&5
     1227echo "configure:1228: checking whether ${CC-cc} accepts -g" >&5
    11331228if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    11341229  echo $ac_n "(cached) $ac_c" 1>&6
     
    11621257
    11631258
    1164 for ac_func in strtol strtoul
     1259for ac_func in strtoul
    11651260do
    11661261echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1167 echo "configure:1168: checking for $ac_func" >&5
     1262echo "configure:1263: checking for $ac_func" >&5
    11681263if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    11691264  echo $ac_n "(cached) $ac_c" 1>&6
    11701265else
    11711266  cat > conftest.$ac_ext <<EOF
    1172 #line 1173 "configure"
     1267#line 1268 "configure"
    11731268#include "confdefs.h"
    11741269/* System header to define __stub macros and hopefully few prototypes,
     
    11931288; return 0; }
    11941289EOF
    1195 if { (eval echo configure:1196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1290if { (eval echo configure:1291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    11961291  rm -rf conftest*
    11971292  eval "ac_cv_func_$ac_func=yes"
     
    14341529s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
    14351530s%@MAINT@%$MAINT%g
     1531s%@EXEEXT@%$EXEEXT%g
    14361532s%@CC@%$CC%g
    14371533s%@PROJECT_ROOT@%$PROJECT_ROOT%g
  • c/src/lib/libbsp/i386/pc386/tools/configure.in

    r08b5f55 r29e68b75  
    1111AM_INIT_AUTOMAKE(rtems-lib-libbsp-i386-pc386-tools,$RTEMS_VERSION,no)
    1212AM_MAINTAINER_MODE
     13AC_EXEEXT
    1314
    1415AC_PROG_CC
    1516
    16 AC_CHECK_FUNCS(strtol strtoul)
     17AC_CHECK_FUNCS(strtoul)
    1718
    1819RTEMS_PROJECT_ROOT
  • c/src/lib/libbsp/i386/ts_386ex/tools/Makefile.in

    r08b5f55 r29e68b75  
    352352
    353353depend-recursive \
    354 clobber-recursive \
    355354preinstall-recursive \
    356355debug-recursive \
    357 debug_install-recursive \
    358 profile-recursive \
    359 profile_install-recursive:
     356profile-recursive:
    360357        @set fnord $(MAKEFLAGS); amf=$$2; \
    361358        dot_seen=no; \
     
    379376.PHONY: debug-recursive
    380377
    381 debug_install: debug_install-recursive
    382 .PHONY: debug_install-recursive
    383 
    384378profile: profile-recursive
    385379.PHONY: profile-recursive
    386380
    387 profile_install: profile_install-recursive
    388 .PHONY: profile-recursive
    389 
    390381preinstall: preinstall-recursive
    391382.PHONY: preinstall-recursive
    392 
    393 clobber: clobber-recursive
    394 .PHONY: clobber-recursive
    395383
    396384depend: depend-recursive
     
    401389.PHONY: debug debug-am
    402390
    403 debug_install-am:
    404 debug_install: debug_install-am
    405 .PHONY: debug_install debug_install-am
    406 
    407391profile-am:
    408392profile: profile-am
    409393.PHONY: profile profile-am
    410394
    411 profile_install-am:
    412 profile_install: profile_install-am
    413 .PHONY: profile_install profile_install-am
    414 
    415395preinstall-am:
    416396preinstall: preinstall-am
    417397.PHONY: preinstall preinstall-am
    418398
    419 clobber-am:
    420 clobber: clobber-am
    421 .PHONY: clobber clobber-am
    422 
    423399depend-am:
    424400depend: depend-am
  • c/src/lib/libbsp/i386/ts_386ex/tools/dos_sup/Makefile.in

    r08b5f55 r29e68b75  
    197197.PHONY: debug debug-am
    198198
    199 debug_install-am:
    200 debug_install: debug_install-am
    201 .PHONY: debug_install debug_install-am
    202 
    203199profile-am:
    204200profile: profile-am
    205201.PHONY: profile profile-am
    206202
    207 profile_install-am:
    208 profile_install: profile_install-am
    209 .PHONY: profile_install profile_install-am
    210 
    211203preinstall-am:
    212204preinstall: preinstall-am
    213205.PHONY: preinstall preinstall-am
    214206
    215 clobber-am:
    216 clobber: clobber-am
    217 .PHONY: clobber clobber-am
    218 
    219207depend-am:
    220208depend: depend-am
  • c/src/lib/libbsp/i386/ts_386ex/tools/ts_1325_ada/Makefile.in

    r08b5f55 r29e68b75  
    9292mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../../mkinstalldirs
    9393CONFIG_CLEAN_FILES =
    94 DIST_COMMON =  Makefile.am Makefile.in
     94DIST_COMMON =  README Makefile.am Makefile.in
    9595
    9696
     
    197197.PHONY: debug debug-am
    198198
    199 debug_install-am:
    200 debug_install: debug_install-am
    201 .PHONY: debug_install debug_install-am
    202 
    203199profile-am:
    204200profile: profile-am
    205201.PHONY: profile profile-am
    206202
    207 profile_install-am:
    208 profile_install: profile_install-am
    209 .PHONY: profile_install profile_install-am
    210 
    211203preinstall-am:
    212204preinstall: preinstall-am
    213205.PHONY: preinstall preinstall-am
    214206
    215 clobber-am:
    216 clobber: clobber-am
    217 .PHONY: clobber clobber-am
    218 
    219207depend-am:
    220208depend: depend-am
  • c/src/lib/libbsp/m68k/mvme162/tools/Makefile.in

    r08b5f55 r29e68b75  
    7070target_triplet = @target@
    7171CC = @CC@
     72EXEEXT = @EXEEXT@
    7273INSTALL_CHANGE = @INSTALL_CHANGE@
    7374MAINT = @MAINT@
     
    9697mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../../mkinstalldirs
    9798CONFIG_CLEAN_FILES =
     99noinst_PROGRAMS =  sload$(EXEEXT)
    98100PROGRAMS =  $(noinst_PROGRAMS)
    99101
     
    165167maintainer-clean-compile:
    166168
    167 sload: $(sload_OBJECTS) $(sload_DEPENDENCIES)
    168         @rm -f sload
     169sload$(EXEEXT): $(sload_OBJECTS) $(sload_DEPENDENCIES)
     170        @rm -f sload$(EXEEXT)
    169171        $(LINK) $(sload_LDFLAGS) $(sload_OBJECTS) $(sload_LDADD) $(LIBS)
    170172
     
    367369.PHONY: debug debug-am
    368370
    369 debug_install-am:
    370 debug_install: debug_install-am
    371 .PHONY: debug_install debug_install-am
    372 
    373371profile-am:
    374372profile: profile-am
    375373.PHONY: profile profile-am
    376374
    377 profile_install-am:
    378 profile_install: profile_install-am
    379 .PHONY: profile_install profile_install-am
    380 
    381375preinstall-am:
    382376preinstall: preinstall-am
    383377.PHONY: preinstall preinstall-am
    384378
    385 clobber-am:
    386 clobber: clobber-am
    387 .PHONY: clobber clobber-am
    388 
    389379depend-am:
    390380depend: depend-am
  • c/src/lib/libbsp/m68k/mvme162/tools/configure

    r08b5f55 r29e68b75  
    938938 
    939939
     940echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
     941echo "configure:942: checking for Cygwin environment" >&5
     942if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
     943  echo $ac_n "(cached) $ac_c" 1>&6
     944else
     945  cat > conftest.$ac_ext <<EOF
     946#line 947 "configure"
     947#include "confdefs.h"
     948
     949int main() {
     950
     951#ifndef __CYGWIN__
     952#define __CYGWIN__ __CYGWIN32__
     953#endif
     954return __CYGWIN__;
     955; return 0; }
     956EOF
     957if { (eval echo configure:958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     958  rm -rf conftest*
     959  ac_cv_cygwin=yes
     960else
     961  echo "configure: failed program was:" >&5
     962  cat conftest.$ac_ext >&5
     963  rm -rf conftest*
     964  ac_cv_cygwin=no
     965fi
     966rm -f conftest*
     967rm -f conftest*
     968fi
     969
     970echo "$ac_t""$ac_cv_cygwin" 1>&6
     971CYGWIN=
     972test "$ac_cv_cygwin" = yes && CYGWIN=yes
     973echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
     974echo "configure:975: checking for mingw32 environment" >&5
     975if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
     976  echo $ac_n "(cached) $ac_c" 1>&6
     977else
     978  cat > conftest.$ac_ext <<EOF
     979#line 980 "configure"
     980#include "confdefs.h"
     981
     982int main() {
     983return __MINGW32__;
     984; return 0; }
     985EOF
     986if { (eval echo configure:987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     987  rm -rf conftest*
     988  ac_cv_mingw32=yes
     989else
     990  echo "configure: failed program was:" >&5
     991  cat conftest.$ac_ext >&5
     992  rm -rf conftest*
     993  ac_cv_mingw32=no
     994fi
     995rm -f conftest*
     996rm -f conftest*
     997fi
     998
     999echo "$ac_t""$ac_cv_mingw32" 1>&6
     1000MINGW32=
     1001test "$ac_cv_mingw32" = yes && MINGW32=yes
     1002
     1003
     1004echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
     1005echo "configure:1006: checking for executable suffix" >&5
     1006if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
     1007  echo $ac_n "(cached) $ac_c" 1>&6
     1008else
     1009  if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
     1010  ac_cv_exeext=.exe
     1011else
     1012  rm -f conftest*
     1013  echo 'int main () { return 0; }' > conftest.$ac_ext
     1014  ac_cv_exeext=
     1015  if { (eval echo configure:1016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1016    for file in conftest.*; do
     1017      case $file in
     1018      *.c | *.o | *.obj) ;;
     1019      *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
     1020      esac
     1021    done
     1022  else
     1023    { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
     1024  fi
     1025  rm -f conftest*
     1026  test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
     1027fi
     1028fi
     1029
     1030EXEEXT=""
     1031test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
     1032echo "$ac_t""${ac_cv_exeext}" 1>&6
     1033ac_exeext=$EXEEXT
     1034
    9401035
    9411036# Extract the first word of "gcc", so it can be a program name with args.
    9421037set dummy gcc; ac_word=$2
    9431038echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    944 echo "configure:945: checking for $ac_word" >&5
     1039echo "configure:1040: checking for $ac_word" >&5
    9451040if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    9461041  echo $ac_n "(cached) $ac_c" 1>&6
     
    9721067set dummy cc; ac_word=$2
    9731068echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    974 echo "configure:975: checking for $ac_word" >&5
     1069echo "configure:1070: checking for $ac_word" >&5
    9751070if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    9761071  echo $ac_n "(cached) $ac_c" 1>&6
     
    10231118set dummy cl; ac_word=$2
    10241119echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1025 echo "configure:1026: checking for $ac_word" >&5
     1120echo "configure:1121: checking for $ac_word" >&5
    10261121if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    10271122  echo $ac_n "(cached) $ac_c" 1>&6
     
    10551150
    10561151echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    1057 echo "configure:1058: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     1152echo "configure:1153: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    10581153
    10591154ac_ext=c
     
    10661161cat > conftest.$ac_ext << EOF
    10671162
    1068 #line 1069 "configure"
     1163#line 1164 "configure"
    10691164#include "confdefs.h"
    10701165
    10711166main(){return(0);}
    10721167EOF
    1073 if { (eval echo configure:1074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1168if { (eval echo configure:1169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    10741169  ac_cv_prog_cc_works=yes
    10751170  # If we can't run a trivial program, we are probably using a cross compiler.
     
    10971192fi
    10981193echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1099 echo "configure:1100: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     1194echo "configure:1195: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    11001195echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    11011196cross_compiling=$ac_cv_prog_cc_cross
    11021197
    11031198echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    1104 echo "configure:1105: checking whether we are using GNU C" >&5
     1199echo "configure:1200: checking whether we are using GNU C" >&5
    11051200if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    11061201  echo $ac_n "(cached) $ac_c" 1>&6
     
    11111206#endif
    11121207EOF
    1113 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1114: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1208if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    11141209  ac_cv_prog_gcc=yes
    11151210else
     
    11301225CFLAGS=
    11311226echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    1132 echo "configure:1133: checking whether ${CC-cc} accepts -g" >&5
     1227echo "configure:1228: checking whether ${CC-cc} accepts -g" >&5
    11331228if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    11341229  echo $ac_n "(cached) $ac_c" 1>&6
     
    11631258
    11641259echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    1165 echo "configure:1166: checking how to run the C preprocessor" >&5
     1260echo "configure:1261: checking how to run the C preprocessor" >&5
    11661261# On Suns, sometimes $CPP names a directory.
    11671262if test -n "$CPP" && test -d "$CPP"; then
     
    11781273  # not just through cpp.
    11791274  cat > conftest.$ac_ext <<EOF
    1180 #line 1181 "configure"
     1275#line 1276 "configure"
    11811276#include "confdefs.h"
    11821277#include <assert.h>
     
    11841279EOF
    11851280ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1186 { (eval echo configure:1187: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1281{ (eval echo configure:1282: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    11871282ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    11881283if test -z "$ac_err"; then
     
    11951290  CPP="${CC-cc} -E -traditional-cpp"
    11961291  cat > conftest.$ac_ext <<EOF
    1197 #line 1198 "configure"
     1292#line 1293 "configure"
    11981293#include "confdefs.h"
    11991294#include <assert.h>
     
    12011296EOF
    12021297ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1203 { (eval echo configure:1204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1298{ (eval echo configure:1299: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    12041299ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    12051300if test -z "$ac_err"; then
     
    12121307  CPP="${CC-cc} -nologo -E"
    12131308  cat > conftest.$ac_ext <<EOF
    1214 #line 1215 "configure"
     1309#line 1310 "configure"
    12151310#include "confdefs.h"
    12161311#include <assert.h>
     
    12181313EOF
    12191314ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1220 { (eval echo configure:1221: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1315{ (eval echo configure:1316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    12211316ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    12221317if test -z "$ac_err"; then
     
    12431338
    12441339echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    1245 echo "configure:1246: checking for ANSI C header files" >&5
     1340echo "configure:1341: checking for ANSI C header files" >&5
    12461341if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    12471342  echo $ac_n "(cached) $ac_c" 1>&6
    12481343else
    12491344  cat > conftest.$ac_ext <<EOF
    1250 #line 1251 "configure"
     1345#line 1346 "configure"
    12511346#include "confdefs.h"
    12521347#include <stdlib.h>
     
    12561351EOF
    12571352ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1258 { (eval echo configure:1259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1353{ (eval echo configure:1354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    12591354ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    12601355if test -z "$ac_err"; then
     
    12731368  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    12741369cat > conftest.$ac_ext <<EOF
    1275 #line 1276 "configure"
     1370#line 1371 "configure"
    12761371#include "confdefs.h"
    12771372#include <string.h>
     
    12911386  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    12921387cat > conftest.$ac_ext <<EOF
    1293 #line 1294 "configure"
     1388#line 1389 "configure"
    12941389#include "confdefs.h"
    12951390#include <stdlib.h>
     
    13121407else
    13131408  cat > conftest.$ac_ext <<EOF
    1314 #line 1315 "configure"
     1409#line 1410 "configure"
    13151410#include "confdefs.h"
    13161411#include <ctype.h>
     
    13231418
    13241419EOF
    1325 if { (eval echo configure:1326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1420if { (eval echo configure:1421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    13261421then
    13271422  :
     
    13501445ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    13511446echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1352 echo "configure:1353: checking for $ac_hdr" >&5
     1447echo "configure:1448: checking for $ac_hdr" >&5
    13531448if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    13541449  echo $ac_n "(cached) $ac_c" 1>&6
    13551450else
    13561451  cat > conftest.$ac_ext <<EOF
    1357 #line 1358 "configure"
     1452#line 1453 "configure"
    13581453#include "confdefs.h"
    13591454#include <$ac_hdr>
    13601455EOF
    13611456ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1362 { (eval echo configure:1363: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1457{ (eval echo configure:1458: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    13631458ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    13641459if test -z "$ac_err"; then
     
    13901485ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    13911486echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1392 echo "configure:1393: checking for $ac_hdr" >&5
     1487echo "configure:1488: checking for $ac_hdr" >&5
    13931488if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    13941489  echo $ac_n "(cached) $ac_c" 1>&6
    13951490else
    13961491  cat > conftest.$ac_ext <<EOF
    1397 #line 1398 "configure"
     1492#line 1493 "configure"
    13981493#include "confdefs.h"
    13991494#include <$ac_hdr>
    14001495EOF
    14011496ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1402 { (eval echo configure:1403: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1497{ (eval echo configure:1498: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    14031498ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    14041499if test -z "$ac_err"; then
     
    14291524do
    14301525echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    1431 echo "configure:1432: checking for $ac_func" >&5
     1526echo "configure:1527: checking for $ac_func" >&5
    14321527if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    14331528  echo $ac_n "(cached) $ac_c" 1>&6
    14341529else
    14351530  cat > conftest.$ac_ext <<EOF
    1436 #line 1437 "configure"
     1531#line 1532 "configure"
    14371532#include "confdefs.h"
    14381533/* System header to define __stub macros and hopefully few prototypes,
     
    14571552; return 0; }
    14581553EOF
    1459 if { (eval echo configure:1460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1554if { (eval echo configure:1555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    14601555  rm -rf conftest*
    14611556  eval "ac_cv_func_$ac_func=yes"
     
    14821577
    14831578echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    1484 echo "configure:1485: checking for working mmap" >&5
     1579echo "configure:1580: checking for working mmap" >&5
    14851580if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    14861581  echo $ac_n "(cached) $ac_c" 1>&6
     
    14901585else
    14911586  cat > conftest.$ac_ext <<EOF
    1492 #line 1493 "configure"
     1587#line 1588 "configure"
    14931588#include "confdefs.h"
    14941589
     
    16301725
    16311726EOF
    1632 if { (eval echo configure:1633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1727if { (eval echo configure:1728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    16331728then
    16341729  ac_cv_func_mmap_fixed_mapped=yes
     
    18691964s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
    18701965s%@MAINT@%$MAINT%g
     1966s%@EXEEXT@%$EXEEXT%g
    18711967s%@CC@%$CC%g
    18721968s%@CPP@%$CPP%g
  • c/src/lib/libbsp/m68k/mvme162/tools/configure.in

    r08b5f55 r29e68b75  
    1111AM_INIT_AUTOMAKE(rtems-lib-libbsp-m68k-mvme162-tools,$RTEMS_VERSION,no)
    1212AM_MAINTAINER_MODE
     13AC_EXEEXT
    1314
    1415AC_PROG_CC
  • c/src/lib/libbsp/powerpc/psim/tools/Makefile.in

    r08b5f55 r29e68b75  
    249249.PHONY: debug debug-am
    250250
    251 debug_install-am:
    252 debug_install: debug_install-am
    253 .PHONY: debug_install debug_install-am
    254 
    255251profile-am:
    256252profile: profile-am
    257253.PHONY: profile profile-am
    258254
    259 profile_install-am:
    260 profile_install: profile_install-am
    261 .PHONY: profile_install profile_install-am
    262 
    263255preinstall-am:
    264256preinstall: preinstall-am
    265257.PHONY: preinstall preinstall-am
    266258
    267 clobber-am:
    268 clobber: clobber-am
    269 .PHONY: clobber clobber-am
    270 
    271259depend-am:
    272260depend: depend-am
  • c/src/lib/libbsp/sparc/erc32/tools/Makefile.in

    r08b5f55 r29e68b75  
    251251.PHONY: debug debug-am
    252252
    253 debug_install-am:
    254 debug_install: debug_install-am
    255 .PHONY: debug_install debug_install-am
    256 
    257253profile-am:
    258254profile: profile-am
    259255.PHONY: profile profile-am
    260256
    261 profile_install-am:
    262 profile_install: profile_install-am
    263 .PHONY: profile_install profile_install-am
    264 
    265257preinstall-am:
    266258preinstall: preinstall-am
    267259.PHONY: preinstall preinstall-am
    268260
    269 clobber-am:
    270 clobber: clobber-am
    271 .PHONY: clobber clobber-am
    272 
    273261depend-am:
    274262depend: depend-am
  • c/src/lib/libbsp/unix/posix/tools/Makefile.in

    r08b5f55 r29e68b75  
    262262.PHONY: debug debug-am
    263263
    264 debug_install-am:
    265 debug_install: debug_install-am
    266 .PHONY: debug_install debug_install-am
    267 
    268264profile-am:
    269265profile: profile-am
    270266.PHONY: profile profile-am
    271267
    272 profile_install-am:
    273 profile_install: profile_install-am
    274 .PHONY: profile_install profile_install-am
    275 
    276268preinstall-am:
    277269preinstall: preinstall-am
    278270.PHONY: preinstall preinstall-am
    279271
    280 clobber-am:
    281 clobber: clobber-am
    282 .PHONY: clobber clobber-am
    283 
    284272depend-am:
    285273depend: depend-am
  • c/src/make/Makefile.in

    r08b5f55 r29e68b75  
    461461
    462462depend-recursive \
    463 clobber-recursive \
    464463preinstall-recursive \
    465464debug-recursive \
    466 debug_install-recursive \
    467 profile-recursive \
    468 profile_install-recursive:
     465profile-recursive:
    469466        @set fnord $(MAKEFLAGS); amf=$$2; \
    470467        dot_seen=no; \
     
    488485.PHONY: debug-recursive
    489486
    490 debug_install: debug_install-recursive
    491 .PHONY: debug_install-recursive
    492 
    493487profile: profile-recursive
    494488.PHONY: profile-recursive
    495489
    496 profile_install: profile_install-recursive
    497 .PHONY: profile-recursive
    498 
    499490preinstall: preinstall-recursive
    500491.PHONY: preinstall-recursive
    501 
    502 clobber: clobber-recursive
    503 .PHONY: clobber-recursive
    504492
    505493depend: depend-recursive
     
    510498.PHONY: debug debug-am
    511499
    512 debug_install-am:
    513 debug_install: debug_install-am
    514 .PHONY: debug_install debug_install-am
    515 
    516500profile-am:
    517501profile: profile-am
    518502.PHONY: profile profile-am
    519503
    520 profile_install-am:
    521 profile_install: profile_install-am
    522 .PHONY: profile_install profile_install-am
    523 
    524504preinstall-am:
    525505preinstall: preinstall-am
    526506.PHONY: preinstall preinstall-am
    527507
    528 clobber-am:
    529 clobber: clobber-am
    530 .PHONY: clobber clobber-am
    531 
    532508depend-am:
    533509depend: depend-am
  • c/src/make/README

    r08b5f55 r29e68b75  
    117117        debug and profile support.
    118118
    119         Targets debug_install and profile_install are equivalent to 'make
    120         install' except that debug (or profile) variants are built and
    121         installed.
    122 
    123         The targets debug, profile, debug_install, profile_install, etc., can be
     119        The targets debug, profile, etc., can be
    124120        invoked recursively at the directory make level.  So from the top of a
    125121        tree, one could install a debug version of everything under that point
     
    127123
    128124            $ cd src/lib
    129             $ gmake debug_install
     125            $ gmake debug
     126            $ gmake install
    130127
    131128        When building a command that is linked with a generated library, the
  • c/src/make/Templates/Makefile.in

    r08b5f55 r29e68b75  
    258258.PHONY: debug debug-am
    259259
    260 debug_install-am:
    261 debug_install: debug_install-am
    262 .PHONY: debug_install debug_install-am
    263 
    264260profile-am:
    265261profile: profile-am
    266262.PHONY: profile profile-am
    267263
    268 profile_install-am:
    269 profile_install: profile_install-am
    270 .PHONY: profile_install profile_install-am
    271 
    272264preinstall-am:
    273265preinstall: preinstall-am
    274266.PHONY: preinstall preinstall-am
    275267
    276 clobber-am:
    277 clobber: clobber-am
    278 .PHONY: clobber clobber-am
    279 
    280268depend-am:
    281269depend: depend-am
  • c/src/make/compilers/Makefile.in

    r08b5f55 r29e68b75  
    265265.PHONY: debug debug-am
    266266
    267 debug_install-am:
    268 debug_install: debug_install-am
    269 .PHONY: debug_install debug_install-am
    270 
    271267profile-am:
    272268profile: profile-am
    273269.PHONY: profile profile-am
    274270
    275 profile_install-am:
    276 profile_install: profile_install-am
    277 .PHONY: profile_install profile_install-am
    278 
    279271preinstall-am:
    280272preinstall: preinstall-am
    281273.PHONY: preinstall preinstall-am
    282274
    283 clobber-am:
    284 clobber: clobber-am
    285 .PHONY: clobber clobber-am
    286 
    287275depend-am:
    288276depend: depend-am
  • c/src/make/custom/Makefile.in

    r08b5f55 r29e68b75  
    263263.PHONY: debug debug-am
    264264
    265 debug_install-am:
    266 debug_install: debug_install-am
    267 .PHONY: debug_install debug_install-am
    268 
    269265profile-am:
    270266profile: profile-am
    271267.PHONY: profile profile-am
    272268
    273 profile_install-am:
    274 profile_install: profile_install-am
    275 .PHONY: profile_install profile_install-am
    276 
    277269preinstall-am:
    278270preinstall: preinstall-am
    279271.PHONY: preinstall preinstall-am
    280272
    281 clobber-am:
    282 clobber: clobber-am
    283 .PHONY: clobber clobber-am
    284 
    285273depend-am:
    286274depend: depend-am
  • c/src/make/directory.cfg

    r08b5f55 r29e68b75  
    2222        done && test -z "$$fail"
    2323
     24
     25# mostlyclean-recursive maintainer-clean-recursive:
     26clean-recursive \
     27distclean-recursive:
     28        @set fnord $(MAKEFLAGS); amf=$$2; \
     29        dot_seen=no; \
     30        rev=''; list='$(SUB_DIRS)'; for subdir in $$list; do \
     31          rev="$$subdir $$rev"; \
     32          test "$$subdir" = "." && dot_seen=yes; \
     33        done; \
     34        test "$$dot_seen" = "no" && rev=". $$rev"; \
     35        target=`echo $@ | sed s/-recursive//`; \
     36        for subdir in $$rev; do \
     37          echo "Making $$target in $$subdir"; \
     38          if test "$$subdir" = "."; then \
     39            local_target="$$target-am"; \
     40          else \
     41            local_target="$$target"; \
     42          fi; \
     43          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
     44           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
     45        done && test -z "$$fail"
     46
     47clean-am: clean-generic
     48distclean-am: distclean-generic clean-am
     49
    2450preinstall: preinstall-recursive
    2551.PHONY: preinstall preinstall-am preinstall-recursive
     52
     53distclean: distclean-recursive
     54        -$(RM) config.status
     55
     56.PHONY: distclean distclean-am distclean-recursive
     57
     58clean: clean-recursive
     59.PHONY: clean clean-am clean-recursive
     60
  • c/src/make/main.cfg.in

    r08b5f55 r29e68b75  
    5858#
    5959
    60 RECURSE_TARGETS=all clean protos get clobber depend install \
     60RECURSE_TARGETS=all depend install \
    6161preinstall-recursive \
    62 $(TARGET_VARIANTS) $(TARGET_VARIANTS:%=%_install)
     62$(TARGET_VARIANTS)
    6363
    6464${ARCH}:
    6565        test -d ${ARCH} || mkdir ${ARCH}
    66 
    6766
    6867# general purpose forcing dependency; try to use .PHONY instead
     
    7170FORCE:
    7271
    73 .PHONY: $(RECURSE_TARGETS)
     72distclean-generic:
     73        -$(RM) Makefile .#* $(CONFIG_CLEAN_FILES)
     74        -$(RM) -r $(CLOBBER_ADDITIONS)
     75
     76clean-generic:
     77        -$(RM) a.out core mon.out gmon.out
     78        -$(RM) -r $(CLEAN_ADDITIONS)
     79
     80.PHONY: $(RECURSE_TARGETS)
     81.PHONY: clean-generic
     82.PHONY: distclean-generic
  • c/src/tests/Makefile.in

    r08b5f55 r29e68b75  
    4747preinstall: $(INSTALLDIRS)
    4848
     49CLOBBER_ADDITIONS += config.log config.cache
     50
    4951Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
    5052        cd $(top_builddir) \
  • c/src/tests/tools/generic/Makefile.in

    r08b5f55 r29e68b75  
    249249.PHONY: debug debug-am
    250250
    251 debug_install-am:
    252 debug_install: debug_install-am
    253 .PHONY: debug_install debug_install-am
    254 
    255251profile-am:
    256252profile: profile-am
    257253.PHONY: profile profile-am
    258254
    259 profile_install-am:
    260 profile_install: profile_install-am
    261 .PHONY: profile_install profile_install-am
    262 
    263255preinstall-am:
    264256preinstall: preinstall-am
    265257.PHONY: preinstall preinstall-am
    266258
    267 clobber-am:
    268 clobber: clobber-am
    269 .PHONY: clobber clobber-am
    270 
    271259depend-am:
    272260depend: depend-am
  • doc/Makefile.in

    r08b5f55 r29e68b75  
    196196.PHONY: debug debug-am
    197197
    198 debug_install-am:
    199 debug_install: debug_install-am
    200 .PHONY: debug_install debug_install-am
    201 
    202198profile-am:
    203199profile: profile-am
    204200.PHONY: profile profile-am
    205201
    206 profile_install-am:
    207 profile_install: profile_install-am
    208 .PHONY: profile_install profile_install-am
    209 
    210202preinstall-am:
    211203preinstall: preinstall-am
    212204.PHONY: preinstall preinstall-am
    213205
    214 clobber-am:
    215 clobber: clobber-am
    216 .PHONY: clobber clobber-am
    217 
    218206depend-am:
    219207depend: depend-am
  • make/Makefile.in

    r08b5f55 r29e68b75  
    329329
    330330depend-recursive \
    331 clobber-recursive \
    332331preinstall-recursive \
    333332debug-recursive \
    334 debug_install-recursive \
    335 profile-recursive \
    336 profile_install-recursive:
     333profile-recursive:
    337334        @set fnord $(MAKEFLAGS); amf=$$2; \
    338335        dot_seen=no; \
     
    356353.PHONY: debug-recursive
    357354
    358 debug_install: debug_install-recursive
    359 .PHONY: debug_install-recursive
    360 
    361355profile: profile-recursive
    362356.PHONY: profile-recursive
    363357
    364 profile_install: profile_install-recursive
    365 .PHONY: profile-recursive
    366 
    367358preinstall: preinstall-recursive
    368359.PHONY: preinstall-recursive
    369 
    370 clobber: clobber-recursive
    371 .PHONY: clobber-recursive
    372360
    373361depend: depend-recursive
     
    378366.PHONY: debug debug-am
    379367
    380 debug_install-am:
    381 debug_install: debug_install-am
    382 .PHONY: debug_install debug_install-am
    383 
    384368profile-am:
    385369profile: profile-am
    386370.PHONY: profile profile-am
    387371
    388 profile_install-am:
    389 profile_install: profile_install-am
    390 .PHONY: profile_install profile_install-am
    391 
    392372preinstall-am:
    393373preinstall: preinstall-am
    394374.PHONY: preinstall preinstall-am
    395375
    396 clobber-am:
    397 clobber: clobber-am
    398 .PHONY: clobber clobber-am
    399 
    400376depend-am:
    401377depend: depend-am
  • make/README

    r08b5f55 r29e68b75  
    117117        debug and profile support.
    118118
    119         Targets debug_install and profile_install are equivalent to 'make
    120         install' except that debug (or profile) variants are built and
    121         installed.
    122 
    123         The targets debug, profile, debug_install, profile_install, etc., can be
     119        The targets debug, profile, etc., can be
    124120        invoked recursively at the directory make level.  So from the top of a
    125121        tree, one could install a debug version of everything under that point
     
    127123
    128124            $ cd src/lib
    129             $ gmake debug_install
     125            $ gmake debug
     126            $ gmake install
    130127
    131128        When building a command that is linked with a generated library, the
  • make/Templates/Makefile.in

    r08b5f55 r29e68b75  
    197197.PHONY: debug debug-am
    198198
    199 debug_install-am:
    200 debug_install: debug_install-am
    201 .PHONY: debug_install debug_install-am
    202 
    203199profile-am:
    204200profile: profile-am
    205201.PHONY: profile profile-am
    206202
    207 profile_install-am:
    208 profile_install: profile_install-am
    209 .PHONY: profile_install profile_install-am
    210 
    211203preinstall-am:
    212204preinstall: preinstall-am
    213205.PHONY: preinstall preinstall-am
    214206
    215 clobber-am:
    216 clobber: clobber-am
    217 .PHONY: clobber clobber-am
    218 
    219207depend-am:
    220208depend: depend-am
  • make/compilers/Makefile.in

    r08b5f55 r29e68b75  
    197197.PHONY: debug debug-am
    198198
    199 debug_install-am:
    200 debug_install: debug_install-am
    201 .PHONY: debug_install debug_install-am
    202 
    203199profile-am:
    204200profile: profile-am
    205201.PHONY: profile profile-am
    206202
    207 profile_install-am:
    208 profile_install: profile_install-am
    209 .PHONY: profile_install profile_install-am
    210 
    211203preinstall-am:
    212204preinstall: preinstall-am
    213205.PHONY: preinstall preinstall-am
    214206
    215 clobber-am:
    216 clobber: clobber-am
    217 .PHONY: clobber clobber-am
    218 
    219207depend-am:
    220208depend: depend-am
  • make/custom/Makefile.in

    r08b5f55 r29e68b75  
    225225.PHONY: debug debug-am
    226226
    227 debug_install-am:
    228 debug_install: debug_install-am
    229 .PHONY: debug_install debug_install-am
    230 
    231227profile-am:
    232228profile: profile-am
    233229.PHONY: profile profile-am
    234230
    235 profile_install-am:
    236 profile_install: profile_install-am
    237 .PHONY: profile_install profile_install-am
    238 
    239231preinstall-am:
    240232preinstall: preinstall-am
    241233.PHONY: preinstall preinstall-am
    242234
    243 clobber-am:
    244 clobber: clobber-am
    245 .PHONY: clobber clobber-am
    246 
    247235depend-am:
    248236depend: depend-am
  • make/custom/ts_386ex.cfg

    r08b5f55 r29e68b75  
    2323# -fomit-frame-pointer breaks debugging and C++ exceptions
    2424CFLAGS_OPTIMIZE_V=-O4
    25 
    26 # This target does support the TCP/IP stack so honour requests
    27 # to enable it.
    28 HAS_NETWORKING=yes
    2925
    3026# This BSP does not support librdbg
  • make/directory.cfg

    r08b5f55 r29e68b75  
    2222        done && test -z "$$fail"
    2323
     24
     25# mostlyclean-recursive maintainer-clean-recursive:
     26clean-recursive \
     27distclean-recursive:
     28        @set fnord $(MAKEFLAGS); amf=$$2; \
     29        dot_seen=no; \
     30        rev=''; list='$(SUB_DIRS)'; for subdir in $$list; do \
     31          rev="$$subdir $$rev"; \
     32          test "$$subdir" = "." && dot_seen=yes; \
     33        done; \
     34        test "$$dot_seen" = "no" && rev=". $$rev"; \
     35        target=`echo $@ | sed s/-recursive//`; \
     36        for subdir in $$rev; do \
     37          echo "Making $$target in $$subdir"; \
     38          if test "$$subdir" = "."; then \
     39            local_target="$$target-am"; \
     40          else \
     41            local_target="$$target"; \
     42          fi; \
     43          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
     44           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
     45        done && test -z "$$fail"
     46
     47clean-am: clean-generic
     48distclean-am: distclean-generic clean-am
     49
    2450preinstall: preinstall-recursive
    2551.PHONY: preinstall preinstall-am preinstall-recursive
     52
     53distclean: distclean-recursive
     54        -$(RM) config.status
     55
     56.PHONY: distclean distclean-am distclean-recursive
     57
     58clean: clean-recursive
     59.PHONY: clean clean-am clean-recursive
     60
  • make/leaf.cfg

    r08b5f55 r29e68b75  
    5656# Builtin targets for compilation variants
    5757#
    58 debug debug_install:
     58debug:
    5959        $(MAKE) -f $(MAKEFILE) MAKEFILE=$(MAKEFILE) "ARCH=${TARGET_ARCH}-debug" \
    6060      "CFLAGS_DEBUG=$(CFLAGS_DEBUG_V)" \
     
    6262      "LDFLAGS_DEBUG=$(LDFLAGS_DEBUG_V)" $(TARGET_VA)
    6363
    64 profile profile_install:
     64profile:
    6565        $(MAKE) -f $(MAKEFILE) \
    6666      MAKEFILE=$(MAKEFILE) "ARCH=${TARGET_ARCH}-profile" \
     
    8181
    8282#
    83 # TARGET_VA will convert $@ (expected to be 'debug' or
    84 #     'debug_install' or 'profile' etc.)
     83# TARGET_VA will convert $@ (expected to be 'debug' or 'profile' etc.)
    8584#   into "" or "install" as appropriate.
    8685#   Used for variant recursion.
     
    8988TARGET_debug_V = all
    9089TARGET_profile_V = all
    91 
    92 TARGET_debug_install_V = install
    93 TARGET_profile_install_V = install
    9490
    9591TARGET_VA = $(TARGET_$@_V)
     
    108104LIBSUFFIX_VA = $(LIB_VARIANT).a
    109105
    110 get: $(SRCS) $(GET_ADDITIONS)
    111 
    112106#
    113 # Builtin clean and clobber rules
     107# Builtin clean and distclean rules
    114108# Individual makefiles can add stuff via CLEAN_ADDITIONS and CLOBBER_ADDITIONS
    115109# If desperate to save something, they can override CLEAN_OS, CLEAN_CC, etc.
    116110#
    117111
    118 clean:
    119         $(RM) -r a.out core mon.out gmon.out $(CLEAN_OS) $(CLEAN_CC)
    120         $(RM) -r $(CLEAN_PROTO) $(CLEAN_DEPEND) a.out
    121         $(RM) -r $(VARIANTS) $(CLEAN_ADDITIONS) $(IMPORT_SOURCE)
     112clean-am: clean-generic
     113        -$(RM) -r $(CLEAN_OS) $(CLEAN_CC) $(CLEAN_DEPEND)
     114        -$(RM) -r $(VARIANTS)
     115#       -$(RM) -r $(IMPORT_SOURCE)
    122116
    123 clobber: clean
    124         -$(RCS_CLEAN)
    125         $(RM) .#*
    126         $(RM) -r $(CLOBBER_OS) $(CLOBBER_CC) $(CLOBBER_DEPEND)
    127         $(RM) -r $(CLOBBER_ADDITIONS) a.out
     117distclean-am: distclean-generic clean-am
     118        -$(RM) -r $(CLOBBER_OS) $(CLOBBER_CC) $(CLOBBER_DEPEND)
    128119
    129120preinstall-am:
    130121preinstall: preinstall-am
     122
     123distclean: distclean-am
     124        -$(RM) config.status
     125clean: clean-am
     126
     127.PHONY: distclean distclean-am
     128.PHONY: clean clean-am
  • make/main.cfg

    r08b5f55 r29e68b75  
    5858#
    5959
    60 RECURSE_TARGETS=all clean protos get clobber depend install \
     60RECURSE_TARGETS=all depend install \
    6161preinstall-recursive \
    62 $(TARGET_VARIANTS) $(TARGET_VARIANTS:%=%_install)
     62$(TARGET_VARIANTS)
    6363
    6464${ARCH}:
    6565        test -d ${ARCH} || mkdir ${ARCH}
    66 
    6766
    6867# general purpose forcing dependency; try to use .PHONY instead
     
    7170FORCE:
    7271
    73 .PHONY: $(RECURSE_TARGETS)
     72distclean-generic:
     73        -$(RM) Makefile .#* $(CONFIG_CLEAN_FILES)
     74        -$(RM) -r $(CLOBBER_ADDITIONS)
     75
     76clean-generic:
     77        -$(RM) a.out core mon.out gmon.out
     78        -$(RM) -r $(CLEAN_ADDITIONS)
     79
     80.PHONY: $(RECURSE_TARGETS)
     81.PHONY: clean-generic
     82.PHONY: distclean-generic
  • tools/Makefile.in

    r08b5f55 r29e68b75  
    294294
    295295depend-recursive \
    296 clobber-recursive \
    297296preinstall-recursive \
    298297debug-recursive \
    299 debug_install-recursive \
    300 profile-recursive \
    301 profile_install-recursive:
     298profile-recursive:
    302299        @set fnord $(MAKEFLAGS); amf=$$2; \
    303300        dot_seen=no; \
     
    321318.PHONY: debug-recursive
    322319
    323 debug_install: debug_install-recursive
    324 .PHONY: debug_install-recursive
    325 
    326320profile: profile-recursive
    327321.PHONY: profile-recursive
    328322
    329 profile_install: profile_install-recursive
    330 .PHONY: profile-recursive
    331 
    332323preinstall: preinstall-recursive
    333324.PHONY: preinstall-recursive
    334 
    335 clobber: clobber-recursive
    336 .PHONY: clobber-recursive
    337325
    338326depend: depend-recursive
     
    343331.PHONY: debug debug-am
    344332
    345 debug_install-am:
    346 debug_install: debug_install-am
    347 .PHONY: debug_install debug_install-am
    348 
    349333profile-am:
    350334profile: profile-am
    351335.PHONY: profile profile-am
    352336
    353 profile_install-am:
    354 profile_install: profile_install-am
    355 .PHONY: profile_install profile_install-am
    356 
    357337preinstall-am:
    358338preinstall: preinstall-am
    359339.PHONY: preinstall preinstall-am
    360340
    361 clobber-am:
    362 clobber: clobber-am
    363 .PHONY: clobber clobber-am
    364 
    365341depend-am:
    366342depend: depend-am
  • tools/build/Makefile.am

    r08b5f55 r29e68b75  
    66ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
    77
    8 bin_PROGRAMS=cklength eolstrip packhex unhex
     8bin_PROGRAMS = cklength eolstrip packhex unhex
     9
     10noinst_PROGRAMS = binpatch
    911
    1012cklength_SOURCES = cklength.c
     
    1214packhex_SOURCES  = packhex.c
    1315unhex_SOURCES    = unhex.c
     16binpatch_SOURCES = binpatch.c
    1417
    1518bin_SCRIPTS=\
  • tools/build/Makefile.in

    r08b5f55 r29e68b75  
    7777ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
    7878
    79 bin_PROGRAMS = cklength eolstrip packhex unhex
     79bin_PROGRAMS = cklength eolstrip packhex unhex
     80
     81noinst_PROGRAMS = binpatch
    8082
    8183cklength_SOURCES = cklength.c
     
    8385packhex_SOURCES = packhex.c
    8486unhex_SOURCES = unhex.c
     87binpatch_SOURCES = binpatch.c
    8588
    8689bin_SCRIPTS =  install-if-change lock-directory unlock-directory rcs-clean
     
    9598bin_PROGRAMS =  cklength$(EXEEXT) eolstrip$(EXEEXT) packhex$(EXEEXT) \
    9699unhex$(EXEEXT)
    97 PROGRAMS =  $(bin_PROGRAMS)
     100noinst_PROGRAMS =  binpatch$(EXEEXT)
     101PROGRAMS =  $(bin_PROGRAMS) $(noinst_PROGRAMS)
    98102
    99103
     
    118122unhex_DEPENDENCIES =
    119123unhex_LDFLAGS =
     124binpatch_OBJECTS =  binpatch.o
     125binpatch_LDADD = $(LDADD)
     126binpatch_DEPENDENCIES =
     127binpatch_LDFLAGS =
    120128SCRIPTS =  $(bin_SCRIPTS) $(noinst_SCRIPTS)
    121129
     
    133141TAR = tar
    134142GZIP_ENV = --best
    135 DEP_FILES =  .deps/cklength.P .deps/eolstrip.P .deps/packhex.P \
    136 .deps/unhex.P
    137 SOURCES = $(cklength_SOURCES) $(eolstrip_SOURCES) $(packhex_SOURCES) $(unhex_SOURCES)
    138 OBJECTS = $(cklength_OBJECTS) $(eolstrip_OBJECTS) $(packhex_OBJECTS) $(unhex_OBJECTS)
     143DEP_FILES =  .deps/binpatch.P .deps/cklength.P .deps/eolstrip.P \
     144.deps/packhex.P .deps/unhex.P
     145SOURCES = $(cklength_SOURCES) $(eolstrip_SOURCES) $(packhex_SOURCES) $(unhex_SOURCES) $(binpatch_SOURCES)
     146OBJECTS = $(cklength_OBJECTS) $(eolstrip_OBJECTS) $(packhex_OBJECTS) $(unhex_OBJECTS) $(binpatch_OBJECTS)
    139147
    140148all: all-redirect
     
    217225        done
    218226
     227mostlyclean-noinstPROGRAMS:
     228
     229clean-noinstPROGRAMS:
     230        -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
     231
     232distclean-noinstPROGRAMS:
     233
     234maintainer-clean-noinstPROGRAMS:
     235
    219236.s.o:
    220237        $(COMPILE) -c $<
     
    248265        @rm -f unhex$(EXEEXT)
    249266        $(LINK) $(unhex_LDFLAGS) $(unhex_OBJECTS) $(unhex_LDADD) $(LIBS)
     267
     268binpatch$(EXEEXT): $(binpatch_OBJECTS) $(binpatch_DEPENDENCIES)
     269        @rm -f binpatch$(EXEEXT)
     270        $(LINK) $(binpatch_LDFLAGS) $(binpatch_OBJECTS) $(binpatch_LDADD) $(LIBS)
    250271
    251272install-binSCRIPTS: $(bin_SCRIPTS)
     
    422443maintainer-clean-generic:
    423444mostlyclean-am:  mostlyclean-hdr mostlyclean-binPROGRAMS \
    424                 mostlyclean-compile mostlyclean-tags mostlyclean-depend \
    425                 mostlyclean-generic
     445                mostlyclean-noinstPROGRAMS mostlyclean-compile \
     446                mostlyclean-tags mostlyclean-depend mostlyclean-generic
    426447
    427448mostlyclean: mostlyclean-am
    428449
    429 clean-am:  clean-hdr clean-binPROGRAMS clean-compile clean-tags \
    430                 clean-depend clean-generic mostlyclean-am
     450clean-am:  clean-hdr clean-binPROGRAMS clean-noinstPROGRAMS \
     451                clean-compile clean-tags clean-depend clean-generic \
     452                mostlyclean-am
    431453
    432454clean: clean-am
    433455
    434 distclean-am:  distclean-hdr distclean-binPROGRAMS distclean-compile \
     456distclean-am:  distclean-hdr distclean-binPROGRAMS \
     457                distclean-noinstPROGRAMS distclean-compile \
    435458                distclean-tags distclean-depend distclean-generic \
    436459                clean-am
     
    440463
    441464maintainer-clean-am:  maintainer-clean-hdr maintainer-clean-binPROGRAMS \
     465                maintainer-clean-noinstPROGRAMS \
    442466                maintainer-clean-compile maintainer-clean-tags \
    443467                maintainer-clean-depend maintainer-clean-generic \
     
    452476mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
    453477maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
     478mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
     479clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
    454480mostlyclean-compile distclean-compile clean-compile \
    455481maintainer-clean-compile uninstall-binSCRIPTS install-binSCRIPTS tags \
     
    468494.PHONY: debug debug-am
    469495
    470 debug_install-am:
    471 debug_install: debug_install-am
    472 .PHONY: debug_install debug_install-am
    473 
    474496profile-am:
    475497profile: profile-am
    476498.PHONY: profile profile-am
    477499
    478 profile_install-am:
    479 profile_install: profile_install-am
    480 .PHONY: profile_install profile_install-am
    481 
    482500preinstall-am:
    483501preinstall: preinstall-am
    484502.PHONY: preinstall preinstall-am
    485503
    486 clobber-am:
    487 clobber: clobber-am
    488 .PHONY: clobber clobber-am
    489 
    490504depend-am:
    491505depend: depend-am
  • tools/build/binpatch.c

    r08b5f55 r29e68b75  
    155155  return 0;
    156156}
    157 
    158      
    159 
    160  
    161 
    162 
    163 
    164 
    165  
    166 
    167 
    168 
  • tools/build/config.h.in

    r08b5f55 r29e68b75  
    33/* Define if you have the strerror function.  */
    44#undef HAVE_STRERROR
     5
     6/* Define if you have the strtol function.  */
     7#undef HAVE_STRTOL
  • tools/build/configure

    r08b5f55 r29e68b75  
    11671167fi
    11681168
    1169 for ac_func in strerror
     1169for ac_func in strerror strtol
    11701170do
    11711171echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  • tools/build/configure.in

    r08b5f55 r29e68b75  
    1515
    1616AC_PROG_CC
    17 AC_CHECK_FUNCS(strerror)
     17AC_CHECK_FUNCS(strerror strtol)
    1818
    1919RTEMS_PATH_KSH
  • tools/cpu/Makefile.in

    r08b5f55 r29e68b75  
    344344
    345345depend-recursive \
    346 clobber-recursive \
    347346preinstall-recursive \
    348347debug-recursive \
    349 debug_install-recursive \
    350 profile-recursive \
    351 profile_install-recursive:
     348profile-recursive:
    352349        @set fnord $(MAKEFLAGS); amf=$$2; \
    353350        dot_seen=no; \
     
    371368.PHONY: debug-recursive
    372369
    373 debug_install: debug_install-recursive
    374 .PHONY: debug_install-recursive
    375 
    376370profile: profile-recursive
    377371.PHONY: profile-recursive
    378372
    379 profile_install: profile_install-recursive
    380 .PHONY: profile-recursive
    381 
    382373preinstall: preinstall-recursive
    383374.PHONY: preinstall-recursive
    384 
    385 clobber: clobber-recursive
    386 .PHONY: clobber-recursive
    387375
    388376depend: depend-recursive
     
    393381.PHONY: debug debug-am
    394382
    395 debug_install-am:
    396 debug_install: debug_install-am
    397 .PHONY: debug_install debug_install-am
    398 
    399383profile-am:
    400384profile: profile-am
    401385.PHONY: profile profile-am
    402386
    403 profile_install-am:
    404 profile_install: profile_install-am
    405 .PHONY: profile_install profile_install-am
    406 
    407387preinstall-am:
    408388preinstall: preinstall-am
    409389.PHONY: preinstall preinstall-am
    410390
    411 clobber-am:
    412 clobber: clobber-am
    413 .PHONY: clobber clobber-am
    414 
    415391depend-am:
    416392depend: depend-am
  • tools/cpu/generic/Makefile.in

    r08b5f55 r29e68b75  
    247247.PHONY: debug debug-am
    248248
    249 debug_install-am:
    250 debug_install: debug_install-am
    251 .PHONY: debug_install debug_install-am
    252 
    253249profile-am:
    254250profile: profile-am
    255251.PHONY: profile profile-am
    256252
    257 profile_install-am:
    258 profile_install: profile_install-am
    259 .PHONY: profile_install profile_install-am
    260 
    261253preinstall-am:
    262254preinstall: preinstall-am
    263255.PHONY: preinstall preinstall-am
    264256
    265 clobber-am:
    266 clobber: clobber-am
    267 .PHONY: clobber clobber-am
    268 
    269257depend-am:
    270258depend: depend-am
  • tools/cpu/hppa1.1/configure

    r08b5f55 r29e68b75  
    938938 
    939939
     940echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
     941echo "configure:942: checking for Cygwin environment" >&5
     942if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
     943  echo $ac_n "(cached) $ac_c" 1>&6
     944else
     945  cat > conftest.$ac_ext <<EOF
     946#line 947 "configure"
     947#include "confdefs.h"
     948
     949int main() {
     950
     951#ifndef __CYGWIN__
     952#define __CYGWIN__ __CYGWIN32__
     953#endif
     954return __CYGWIN__;
     955; return 0; }
     956EOF
     957if { (eval echo configure:958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     958  rm -rf conftest*
     959  ac_cv_cygwin=yes
     960else
     961  echo "configure: failed program was:" >&5
     962  cat conftest.$ac_ext >&5
     963  rm -rf conftest*
     964  ac_cv_cygwin=no
     965fi
     966rm -f conftest*
     967rm -f conftest*
     968fi
     969
     970echo "$ac_t""$ac_cv_cygwin" 1>&6
     971CYGWIN=
     972test "$ac_cv_cygwin" = yes && CYGWIN=yes
     973echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
     974echo "configure:975: checking for mingw32 environment" >&5
     975if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
     976  echo $ac_n "(cached) $ac_c" 1>&6
     977else
     978  cat > conftest.$ac_ext <<EOF
     979#line 980 "configure"
     980#include "confdefs.h"
     981
     982int main() {
     983return __MINGW32__;
     984; return 0; }
     985EOF
     986if { (eval echo configure:987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     987  rm -rf conftest*
     988  ac_cv_mingw32=yes
     989else
     990  echo "configure: failed program was:" >&5
     991  cat conftest.$ac_ext >&5
     992  rm -rf conftest*
     993  ac_cv_mingw32=no
     994fi
     995rm -f conftest*
     996rm -f conftest*
     997fi
     998
     999echo "$ac_t""$ac_cv_mingw32" 1>&6
     1000MINGW32=
     1001test "$ac_cv_mingw32" = yes && MINGW32=yes
     1002
     1003
     1004echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
     1005echo "configure:1006: checking for executable suffix" >&5
     1006if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
     1007  echo $ac_n "(cached) $ac_c" 1>&6
     1008else
     1009  if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
     1010  ac_cv_exeext=.exe
     1011else
     1012  rm -f conftest*
     1013  echo 'int main () { return 0; }' > conftest.$ac_ext
     1014  ac_cv_exeext=
     1015  if { (eval echo configure:1016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1016    for file in conftest.*; do
     1017      case $file in
     1018      *.c | *.o | *.obj) ;;
     1019      *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
     1020      esac
     1021    done
     1022  else
     1023    { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
     1024  fi
     1025  rm -f conftest*
     1026  test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
     1027fi
     1028fi
     1029
     1030EXEEXT=""
     1031test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
     1032echo "$ac_t""${ac_cv_exeext}" 1>&6
     1033ac_exeext=$EXEEXT
     1034
    9401035
    9411036# Extract the first word of "gcc", so it can be a program name with args.
    9421037set dummy gcc; ac_word=$2
    9431038echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    944 echo "configure:945: checking for $ac_word" >&5
     1039echo "configure:1040: checking for $ac_word" >&5
    9451040if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    9461041  echo $ac_n "(cached) $ac_c" 1>&6
     
    9721067set dummy cc; ac_word=$2
    9731068echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    974 echo "configure:975: checking for $ac_word" >&5
     1069echo "configure:1070: checking for $ac_word" >&5
    9751070if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    9761071  echo $ac_n "(cached) $ac_c" 1>&6
     
    10231118set dummy cl; ac_word=$2
    10241119echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1025 echo "configure:1026: checking for $ac_word" >&5
     1120echo "configure:1121: checking for $ac_word" >&5
    10261121if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    10271122  echo $ac_n "(cached) $ac_c" 1>&6
     
    10551150
    10561151echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    1057 echo "configure:1058: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     1152echo "configure:1153: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    10581153
    10591154ac_ext=c
     
    10661161cat > conftest.$ac_ext << EOF
    10671162
    1068 #line 1069 "configure"
     1163#line 1164 "configure"
    10691164#include "confdefs.h"
    10701165
    10711166main(){return(0);}
    10721167EOF
    1073 if { (eval echo configure:1074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1168if { (eval echo configure:1169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    10741169  ac_cv_prog_cc_works=yes
    10751170  # If we can't run a trivial program, we are probably using a cross compiler.
     
    10971192fi
    10981193echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1099 echo "configure:1100: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     1194echo "configure:1195: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    11001195echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    11011196cross_compiling=$ac_cv_prog_cc_cross
    11021197
    11031198echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    1104 echo "configure:1105: checking whether we are using GNU C" >&5
     1199echo "configure:1200: checking whether we are using GNU C" >&5
    11051200if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    11061201  echo $ac_n "(cached) $ac_c" 1>&6
     
    11111206#endif
    11121207EOF
    1113 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1114: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1208if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    11141209  ac_cv_prog_gcc=yes
    11151210else
     
    11301225CFLAGS=
    11311226echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    1132 echo "configure:1133: checking whether ${CC-cc} accepts -g" >&5
     1227echo "configure:1228: checking whether ${CC-cc} accepts -g" >&5
    11331228if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    11341229  echo $ac_n "(cached) $ac_c" 1>&6
     
    13781473s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
    13791474s%@MAINT@%$MAINT%g
     1475s%@EXEEXT@%$EXEEXT%g
    13801476s%@CC@%$CC%g
    13811477s%@PROJECT_ROOT@%$PROJECT_ROOT%g
  • tools/cpu/hppa1.1/configure.in

    r08b5f55 r29e68b75  
    1111AM_INIT_AUTOMAKE(rtems-cpu-tools-hppa,$RTEMS_VERSION,no)
    1212AM_MAINTAINER_MODE
     13AC_EXEEXT
    1314
    1415AC_PROG_CC
  • tools/cpu/sh/Makefile.in

    r08b5f55 r29e68b75  
    7070target_triplet = @target@
    7171CC = @CC@
     72EXEEXT = @EXEEXT@
    7273INSTALL_CHANGE = @INSTALL_CHANGE@
    7374MAINT = @MAINT@
     
    9798mkinstalldirs = $(SHELL) $(top_srcdir)/../../../mkinstalldirs
    9899CONFIG_CLEAN_FILES =
     100noinst_PROGRAMS =  shgen$(EXEEXT)
    99101PROGRAMS =  $(noinst_PROGRAMS)
    100102
     
    167169maintainer-clean-compile:
    168170
    169 shgen: $(shgen_OBJECTS) $(shgen_DEPENDENCIES)
    170         @rm -f shgen
     171shgen$(EXEEXT): $(shgen_OBJECTS) $(shgen_DEPENDENCIES)
     172        @rm -f shgen$(EXEEXT)
    171173        $(LINK) $(shgen_LDFLAGS) $(shgen_OBJECTS) $(shgen_LDADD) $(LIBS)
    172174
     
    363365.PHONY: debug debug-am
    364366
    365 debug_install-am:
    366 debug_install: debug_install-am
    367 .PHONY: debug_install debug_install-am
    368 
    369367profile-am:
    370368profile: profile-am
    371369.PHONY: profile profile-am
    372370
    373 profile_install-am:
    374 profile_install: profile_install-am
    375 .PHONY: profile_install profile_install-am
    376 
    377371preinstall-am:
    378372preinstall: preinstall-am
    379373.PHONY: preinstall preinstall-am
    380374
    381 clobber-am:
    382 clobber: clobber-am
    383 .PHONY: clobber clobber-am
    384 
    385375depend-am:
    386376depend: depend-am
  • tools/cpu/sh/configure

    r08b5f55 r29e68b75  
    938938 
    939939
     940echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
     941echo "configure:942: checking for Cygwin environment" >&5
     942if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
     943  echo $ac_n "(cached) $ac_c" 1>&6
     944else
     945  cat > conftest.$ac_ext <<EOF
     946#line 947 "configure"
     947#include "confdefs.h"
     948
     949int main() {
     950
     951#ifndef __CYGWIN__
     952#define __CYGWIN__ __CYGWIN32__
     953#endif
     954return __CYGWIN__;
     955; return 0; }
     956EOF
     957if { (eval echo configure:958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     958  rm -rf conftest*
     959  ac_cv_cygwin=yes
     960else
     961  echo "configure: failed program was:" >&5
     962  cat conftest.$ac_ext >&5
     963  rm -rf conftest*
     964  ac_cv_cygwin=no
     965fi
     966rm -f conftest*
     967rm -f conftest*
     968fi
     969
     970echo "$ac_t""$ac_cv_cygwin" 1>&6
     971CYGWIN=
     972test "$ac_cv_cygwin" = yes && CYGWIN=yes
     973echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
     974echo "configure:975: checking for mingw32 environment" >&5
     975if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
     976  echo $ac_n "(cached) $ac_c" 1>&6
     977else
     978  cat > conftest.$ac_ext <<EOF
     979#line 980 "configure"
     980#include "confdefs.h"
     981
     982int main() {
     983return __MINGW32__;
     984; return 0; }
     985EOF
     986if { (eval echo configure:987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     987  rm -rf conftest*
     988  ac_cv_mingw32=yes
     989else
     990  echo "configure: failed program was:" >&5
     991  cat conftest.$ac_ext >&5
     992  rm -rf conftest*
     993  ac_cv_mingw32=no
     994fi
     995rm -f conftest*
     996rm -f conftest*
     997fi
     998
     999echo "$ac_t""$ac_cv_mingw32" 1>&6
     1000MINGW32=
     1001test "$ac_cv_mingw32" = yes && MINGW32=yes
     1002
     1003
     1004echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
     1005echo "configure:1006: checking for executable suffix" >&5
     1006if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
     1007  echo $ac_n "(cached) $ac_c" 1>&6
     1008else
     1009  if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
     1010  ac_cv_exeext=.exe
     1011else
     1012  rm -f conftest*
     1013  echo 'int main () { return 0; }' > conftest.$ac_ext
     1014  ac_cv_exeext=
     1015  if { (eval echo configure:1016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1016    for file in conftest.*; do
     1017      case $file in
     1018      *.c | *.o | *.obj) ;;
     1019      *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
     1020      esac
     1021    done
     1022  else
     1023    { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
     1024  fi
     1025  rm -f conftest*
     1026  test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
     1027fi
     1028fi
     1029
     1030EXEEXT=""
     1031test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
     1032echo "$ac_t""${ac_cv_exeext}" 1>&6
     1033ac_exeext=$EXEEXT
     1034
    9401035
    9411036# Extract the first word of "gcc", so it can be a program name with args.
    9421037set dummy gcc; ac_word=$2
    9431038echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    944 echo "configure:945: checking for $ac_word" >&5
     1039echo "configure:1040: checking for $ac_word" >&5
    9451040if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    9461041  echo $ac_n "(cached) $ac_c" 1>&6
     
    9721067set dummy cc; ac_word=$2
    9731068echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    974 echo "configure:975: checking for $ac_word" >&5
     1069echo "configure:1070: checking for $ac_word" >&5
    9751070if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    9761071  echo $ac_n "(cached) $ac_c" 1>&6
     
    10231118set dummy cl; ac_word=$2
    10241119echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1025 echo "configure:1026: checking for $ac_word" >&5
     1120echo "configure:1121: checking for $ac_word" >&5
    10261121if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    10271122  echo $ac_n "(cached) $ac_c" 1>&6
     
    10551150
    10561151echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    1057 echo "configure:1058: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     1152echo "configure:1153: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    10581153
    10591154ac_ext=c
     
    10661161cat > conftest.$ac_ext << EOF
    10671162
    1068 #line 1069 "configure"
     1163#line 1164 "configure"
    10691164#include "confdefs.h"
    10701165
    10711166main(){return(0);}
    10721167EOF
    1073 if { (eval echo configure:1074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1168if { (eval echo configure:1169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    10741169  ac_cv_prog_cc_works=yes
    10751170  # If we can't run a trivial program, we are probably using a cross compiler.
     
    10971192fi
    10981193echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1099 echo "configure:1100: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     1194echo "configure:1195: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    11001195echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    11011196cross_compiling=$ac_cv_prog_cc_cross
    11021197
    11031198echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    1104 echo "configure:1105: checking whether we are using GNU C" >&5
     1199echo "configure:1200: checking whether we are using GNU C" >&5
    11051200if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    11061201  echo $ac_n "(cached) $ac_c" 1>&6
     
    11111206#endif
    11121207EOF
    1113 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1114: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1208if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    11141209  ac_cv_prog_gcc=yes
    11151210else
     
    11301225CFLAGS=
    11311226echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    1132 echo "configure:1133: checking whether ${CC-cc} accepts -g" >&5
     1227echo "configure:1228: checking whether ${CC-cc} accepts -g" >&5
    11331228if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    11341229  echo $ac_n "(cached) $ac_c" 1>&6
     
    11621257
    11631258echo $ac_n "checking for fabs in -lm""... $ac_c" 1>&6
    1164 echo "configure:1165: checking for fabs in -lm" >&5
     1259echo "configure:1260: checking for fabs in -lm" >&5
    11651260ac_lib_var=`echo m'_'fabs | sed 'y%./+-%__p_%'`
    11661261if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    11701265LIBS="-lm  $LIBS"
    11711266cat > conftest.$ac_ext <<EOF
    1172 #line 1173 "configure"
     1267#line 1268 "configure"
    11731268#include "confdefs.h"
    11741269/* Override any gcc2 internal prototype to avoid an error.  */
     
    11811276; return 0; }
    11821277EOF
    1183 if { (eval echo configure:1184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1278if { (eval echo configure:1279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    11841279  rm -rf conftest*
    11851280  eval "ac_cv_lib_$ac_lib_var=yes"
     
    14251520s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
    14261521s%@MAINT@%$MAINT%g
     1522s%@EXEEXT@%$EXEEXT%g
    14271523s%@CC@%$CC%g
    14281524s%@PROJECT_ROOT@%$PROJECT_ROOT%g
  • tools/cpu/sh/configure.in

    r08b5f55 r29e68b75  
    1111AM_INIT_AUTOMAKE(rtems-cpu-tools-sh,$RTEMS_VERSION,no)
    1212AM_MAINTAINER_MODE
     13AC_EXEEXT
    1314
    1415AC_PROG_CC
  • tools/cpu/unix/Makefile.in

    r08b5f55 r29e68b75  
    7070target_triplet = @target@
    7171CC = @CC@
     72EXEEXT = @EXEEXT@
    7273INSTALL_CHANGE = @INSTALL_CHANGE@
    7374MAINT = @MAINT@
     
    9697mkinstalldirs = $(SHELL) $(top_srcdir)/../../../mkinstalldirs
    9798CONFIG_CLEAN_FILES =
     99noinst_PROGRAMS =  gensize$(EXEEXT)
    98100PROGRAMS =  $(noinst_PROGRAMS)
    99101
     
    165167maintainer-clean-compile:
    166168
    167 gensize: $(gensize_OBJECTS) $(gensize_DEPENDENCIES)
    168         @rm -f gensize
     169gensize$(EXEEXT): $(gensize_OBJECTS) $(gensize_DEPENDENCIES)
     170        @rm -f gensize$(EXEEXT)
    169171        $(LINK) $(gensize_LDFLAGS) $(gensize_OBJECTS) $(gensize_LDADD) $(LIBS)
    170172
     
    361363.PHONY: debug debug-am
    362364
    363 debug_install-am:
    364 debug_install: debug_install-am
    365 .PHONY: debug_install debug_install-am
    366 
    367365profile-am:
    368366profile: profile-am
    369367.PHONY: profile profile-am
    370368
    371 profile_install-am:
    372 profile_install: profile_install-am
    373 .PHONY: profile_install profile_install-am
    374 
    375369preinstall-am:
    376370preinstall: preinstall-am
    377371.PHONY: preinstall preinstall-am
    378372
    379 clobber-am:
    380 clobber: clobber-am
    381 .PHONY: clobber clobber-am
    382 
    383373depend-am:
    384374depend: depend-am
  • tools/cpu/unix/configure

    r08b5f55 r29e68b75  
    938938 
    939939
     940echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
     941echo "configure:942: checking for Cygwin environment" >&5
     942if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
     943  echo $ac_n "(cached) $ac_c" 1>&6
     944else
     945  cat > conftest.$ac_ext <<EOF
     946#line 947 "configure"
     947#include "confdefs.h"
     948
     949int main() {
     950
     951#ifndef __CYGWIN__
     952#define __CYGWIN__ __CYGWIN32__
     953#endif
     954return __CYGWIN__;
     955; return 0; }
     956EOF
     957if { (eval echo configure:958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     958  rm -rf conftest*
     959  ac_cv_cygwin=yes
     960else
     961  echo "configure: failed program was:" >&5
     962  cat conftest.$ac_ext >&5
     963  rm -rf conftest*
     964  ac_cv_cygwin=no
     965fi
     966rm -f conftest*
     967rm -f conftest*
     968fi
     969
     970echo "$ac_t""$ac_cv_cygwin" 1>&6
     971CYGWIN=
     972test "$ac_cv_cygwin" = yes && CYGWIN=yes
     973echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
     974echo "configure:975: checking for mingw32 environment" >&5
     975if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
     976  echo $ac_n "(cached) $ac_c" 1>&6
     977else
     978  cat > conftest.$ac_ext <<EOF
     979#line 980 "configure"
     980#include "confdefs.h"
     981
     982int main() {
     983return __MINGW32__;
     984; return 0; }
     985EOF
     986if { (eval echo configure:987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     987  rm -rf conftest*
     988  ac_cv_mingw32=yes
     989else
     990  echo "configure: failed program was:" >&5
     991  cat conftest.$ac_ext >&5
     992  rm -rf conftest*
     993  ac_cv_mingw32=no
     994fi
     995rm -f conftest*
     996rm -f conftest*
     997fi
     998
     999echo "$ac_t""$ac_cv_mingw32" 1>&6
     1000MINGW32=
     1001test "$ac_cv_mingw32" = yes && MINGW32=yes
     1002
     1003
     1004echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
     1005echo "configure:1006: checking for executable suffix" >&5
     1006if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
     1007  echo $ac_n "(cached) $ac_c" 1>&6
     1008else
     1009  if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
     1010  ac_cv_exeext=.exe
     1011else
     1012  rm -f conftest*
     1013  echo 'int main () { return 0; }' > conftest.$ac_ext
     1014  ac_cv_exeext=
     1015  if { (eval echo configure:1016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1016    for file in conftest.*; do
     1017      case $file in
     1018      *.c | *.o | *.obj) ;;
     1019      *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
     1020      esac
     1021    done
     1022  else
     1023    { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
     1024  fi
     1025  rm -f conftest*
     1026  test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
     1027fi
     1028fi
     1029
     1030EXEEXT=""
     1031test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
     1032echo "$ac_t""${ac_cv_exeext}" 1>&6
     1033ac_exeext=$EXEEXT
     1034
    9401035
    9411036# Extract the first word of "gcc", so it can be a program name with args.
    9421037set dummy gcc; ac_word=$2
    9431038echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    944 echo "configure:945: checking for $ac_word" >&5
     1039echo "configure:1040: checking for $ac_word" >&5
    9451040if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    9461041  echo $ac_n "(cached) $ac_c" 1>&6
     
    9721067set dummy cc; ac_word=$2
    9731068echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    974 echo "configure:975: checking for $ac_word" >&5
     1069echo "configure:1070: checking for $ac_word" >&5
    9751070if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    9761071  echo $ac_n "(cached) $ac_c" 1>&6
     
    10231118set dummy cl; ac_word=$2
    10241119echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1025 echo "configure:1026: checking for $ac_word" >&5
     1120echo "configure:1121: checking for $ac_word" >&5
    10261121if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    10271122  echo $ac_n "(cached) $ac_c" 1>&6
     
    10551150
    10561151echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    1057 echo "configure:1058: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     1152echo "configure:1153: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    10581153
    10591154ac_ext=c
     
    10661161cat > conftest.$ac_ext << EOF
    10671162
    1068 #line 1069 "configure"
     1163#line 1164 "configure"
    10691164#include "confdefs.h"
    10701165
    10711166main(){return(0);}
    10721167EOF
    1073 if { (eval echo configure:1074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1168if { (eval echo configure:1169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    10741169  ac_cv_prog_cc_works=yes
    10751170  # If we can't run a trivial program, we are probably using a cross compiler.
     
    10971192fi
    10981193echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1099 echo "configure:1100: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     1194echo "configure:1195: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    11001195echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    11011196cross_compiling=$ac_cv_prog_cc_cross
    11021197
    11031198echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    1104 echo "configure:1105: checking whether we are using GNU C" >&5
     1199echo "configure:1200: checking whether we are using GNU C" >&5
    11051200if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    11061201  echo $ac_n "(cached) $ac_c" 1>&6
     
    11111206#endif
    11121207EOF
    1113 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1114: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1208if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    11141209  ac_cv_prog_gcc=yes
    11151210else
     
    11301225CFLAGS=
    11311226echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    1132 echo "configure:1133: checking whether ${CC-cc} accepts -g" >&5
     1227echo "configure:1228: checking whether ${CC-cc} accepts -g" >&5
    11331228if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    11341229  echo $ac_n "(cached) $ac_c" 1>&6
     
    13781473s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
    13791474s%@MAINT@%$MAINT%g
     1475s%@EXEEXT@%$EXEEXT%g
    13801476s%@CC@%$CC%g
    13811477s%@PROJECT_ROOT@%$PROJECT_ROOT%g
  • tools/cpu/unix/configure.in

    r08b5f55 r29e68b75  
    1111AM_INIT_AUTOMAKE(rtems-cpu-tools-unix,$RTEMS_VERSION,no)
    1212AM_MAINTAINER_MODE
     13AC_EXEEXT
    1314
    1415AC_PROG_CC
  • tools/update/Makefile.in

    r08b5f55 r29e68b75  
    264264.PHONY: debug debug-am
    265265
    266 debug_install-am:
    267 debug_install: debug_install-am
    268 .PHONY: debug_install debug_install-am
    269 
    270266profile-am:
    271267profile: profile-am
    272268.PHONY: profile profile-am
    273269
    274 profile_install-am:
    275 profile_install: profile_install-am
    276 .PHONY: profile_install profile_install-am
    277 
    278270preinstall-am:
    279271preinstall: preinstall-am
    280272.PHONY: preinstall preinstall-am
    281273
    282 clobber-am:
    283 clobber: clobber-am
    284 .PHONY: clobber clobber-am
    285 
    286274depend-am:
    287275depend: depend-am
Note: See TracChangeset for help on using the changeset viewer.