Changeset 29e68b75 in rtems for tools


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, 5, 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

Location:
tools
Files:
18 edited

Legend:

Unmodified
Added
Removed
  • 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.