Changeset 70810dc in rtems


Ignore:
Timestamp:
02/08/00 22:33:25 (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
fb196c3c
Parents:
a976681e
Message:

Patches rtems-rc-20000204-0.diff from Ralf Corsepius <corsepiu@…>
that contains:

  • Removes remaining (now illegal) references to $(SRC) from a couple of Makefile.ams
  • Removes duplicate AC_CONFIG_SUBDIRS macro from c/configure.in
  • Moves ENABLE_LIBCDIR into RTEMS_PROG_C[C|XX]_FOR_TARGET (hides LIBCDIR from most configure scripts, i.e. LIBCDIR becomes less visible)
  • Adds RTEMS_PROG_C[C|XX]_FOR_TARGET and RTEMS_CANONICALIZE_TOOLS to libbsp/*/configure.ins (A minor bug in previous implementations, which only has an impact when switching to GNU/Cygnus canonicalization)
  • Cleans up several bogus comments.
  • Removes MKLIB
  • Switches the version number to 4.5.0 (for testing version number handling)
Files:
165 edited

Legend:

Unmodified
Added
Removed
  • aclocal/canonicalize-tools.m4

    ra976681e r70810dc  
    1414AC_DEFUN(RTEMS_GCC_PRINT,
    1515[
    16 dnl case $host_os in
    17 dnl  *cygwin*)
    18 dnl    dnl FIXME: Hack for cygwin/egcs reporting mixed '\\' and '/'
    19 dnl    dnl        Should be removed once cygwin/egcs reports '/' only
    20 dnl    $1=`$CC_FOR_TARGET --print-prog-name=$2 | sed -e 's%\\\\%/%g' `
    21 dnl    ;;
    22 dnl  *)
    2316    $1=`$CC_FOR_TARGET --print-prog-name=$2`
    24 dnl    ;;
    25 dnl  esac
    2617])
    2718
  • aclocal/gcc-pipe.m4

    ra976681e r70810dc  
    1212rtems_cv_gcc_pipe=no
    1313if test "$rtems_cv_prog_gcc" = "yes"; then
    14 dnl case "$host_os" in
    15 dnl   cygwin*)
    16 dnl    ;;
    17 dnl  *)
    1814    echo 'void f(){}' >conftest.c
    1915    if test -z "`${CC_FOR_TARGET} --pipe -c conftest.c 2>&1`";then
     
    2117    fi
    2218    rm -f conftest*
    23 dnl    ;;
    24 dnl esac
    2519fi
    2620])
  • aclocal/prog-cc.m4

    ra976681e r70810dc  
    1313AC_BEFORE([$0], [RTEMS_CANONICALIZE_TOOLS])dnl
    1414AC_REQUIRE([RTEMS_TOOL_PREFIX])dnl
     15AC_REQUIRE([RTEMS_ENABLE_LIBCDIR])dnl
    1516
    1617dnl Only accept gcc and cc
  • aclocal/prog-cxx.m4

    ra976681e r70810dc  
    1313AC_BEFORE([$0], [RTEMS_CANONICALIZE_TOOLS])dnl
    1414AC_REQUIRE([RTEMS_TOOL_PREFIX])dnl
     15AC_REQUIRE([RTEMS_ENABLE_LIBCDIR])dnl
    1516
    1617dnl Only accept g++ and c++
  • aclocal/project-root.m4

    ra976681e r70810dc  
    1616AC_SUBST(RTEMS_ROOT)
    1717
    18 INSTALL_CHANGE="\$(KSH) \$(PROJECT_ROOT)/tools/build/install-if-change"
    19 AC_SUBST(INSTALL_CHANGE)
    20 
    2118PACKHEX="\$(PROJECT_ROOT)/tools/build/packhex"
    2219AC_SUBST(PACKHEX)
  • c/configure.in

    ra976681e r70810dc  
    101101AC_CONFIG_SUBDIRS(make)
    102102
    103 AC_CONFIG_SUBDIRS(make)
    104 
     103# Explicitly list all Makefiles here
    105104AC_OUTPUT(
    106105Makefile
  • c/make/Makefile.am

    ra976681e r70810dc  
    1 ##
     1## 
    22## $Id$
    3 ##
     3## 
    44
    55AUTOMAKE_OPTIONS = foreign 1.4
    66ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
    77
    8 rtems_makedir=$(prefix)/make
     8rtems_makedir = $(prefix)/make
    99
    10 GENERIC_FILES = \
    11 target.cfg
     10GENERIC_FILES = target.cfg
    1211
    13 rtems_make_DATA = \
    14 $(GENERIC_FILES)
     12rtems_make_DATA = $(GENERIC_FILES)
    1513
    16 include $(top_srcdir)/../../automake/subdirs.am
     14EXTRA_DIST = target.cfg.in
     15
    1716include $(top_srcdir)/../../automake/local.am
  • c/make/configure.in

    ra976681e r70810dc  
    2525RTEMS_ENABLE_CXX
    2626RTEMS_ENABLE_GCC28
    27 RTEMS_ENABLE_LIBCDIR
    2827
    2928RTEMS_CHECK_CPU
     
    3231RTEMS_PROJECT_ROOT
    3332
    34 dnl check target cc
    3533RTEMS_PROG_CC_FOR_TARGET
    3634
     
    4543AC_SUBST(RTEMS_HAS_POSIX)
    4644AC_SUBST(RTEMS_HOST)
    47 AC_SUBST(RTEMS_HAS_MULTIPROCESSING)
    48 AC_SUBST(RTEMS_HAS_POSIX_API)
    49 AC_SUBST(RTEMS_HAS_ITRON_API)
    50 AC_SUBST(RTEMS_HAS_NETWORKING)
    51 AC_SUBST(RTEMS_HAS_RDBG)
    5245AC_SUBST(RTEMS_HAS_CPLUSPLUS)
    53 AC_SUBST(RTEMS_USE_MACROS)
    5446AC_SUBST(RTEMS_USE_GCC272)
    55 AC_SUBST(RTEMS_LIBC_DIR)
    5647AC_SUBST(RTEMS_CPU)
    5748
     49# Explicitly list all Makefiles here
    5850AC_OUTPUT(
    5951Makefile
  • c/src/configure.in

    ra976681e r70810dc  
    5858RTEMS_PROJECT_ROOT
    5959
     60# Explicitly list all Makefiles here
    6061AC_OUTPUT(
    6162Makefile
  • c/src/exec/configure.in

    ra976681e r70810dc  
    1717RTEMS_ENABLE_INLINES
    1818RTEMS_ENABLE_GCC28
    19 RTEMS_ENABLE_LIBCDIR
    2019
    2120RTEMS_ENV_RTEMSBSP
     
    2625RTEMS_PROJECT_ROOT
    2726
    28 dnl check target cc
    2927RTEMS_PROG_CC_FOR_TARGET
    3028RTEMS_CANONICALIZE_TOOLS
     
    7068AC_CONFIG_SUBDIRS(score/cpu/$RTEMS_CPU)
    7169
    72 # Try to explicitly list a Makefile here
     70# Explicitly list all Makefiles here
    7371AC_OUTPUT(
    7472Makefile
  • c/src/exec/itron/configure.in

    ra976681e r70810dc  
    2424RTEMS_PROJECT_ROOT
    2525
    26 ## FIXME: needed for INSTALL_CHANGE in autoconf subdirectories
    27 RTEMS_PATH_KSH
    28 
    29 dnl check target cc
    3026RTEMS_PROG_CC_FOR_TARGET
    3127RTEMS_CANONICALIZE_TOOLS
     
    6157## FIXME: We configure and build the macros subdirectory, too.
    6258## Should probably use AM_CONDITIONALs to disable them in future
    63 # Try to explicitly list a Makefile here
     59# Explicitly list all Makefiles here
    6460AC_OUTPUT(
    6561Makefile
  • c/src/exec/itron/src/Makefile.am

    ra976681e r70810dc  
    4444C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
    4545
    46 SRCS = $(C_FILES)
    4746OBJS = $(C_O_FILES)
    4847
  • c/src/exec/libcsupport/src/Makefile.am

    ra976681e r70810dc  
    9999$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
    100100
    101 SRCS = $(C_FILES) $(H_FILES) $(SYS_H_FILES) $(RTEMS_H_FILES)
    102101OBJS = $(C_O_FILES)
    103102
     
    118117DOC_FILES = TODO CASES
    119118
    120 ## This only works with automake > 1.14
    121119EXTRA_DIST = \
    122120$(DOC_FILES) \
  • c/src/exec/posix/configure.in

    ra976681e r70810dc  
    2424RTEMS_PROJECT_ROOT
    2525
    26 ## FIXME: needed for INSTALL_CHANGE in autoconf subdirectories
    27 RTEMS_PATH_KSH
    28 
    29 dnl check target cc
    3026RTEMS_PROG_CC_FOR_TARGET
    3127RTEMS_CANONICALIZE_TOOLS
     
    6763## FIXME: We configure and build the macros subdirectory, too.
    6864## Should probably use AM_CONDITIONALs to disable them in future
    69 # Try to explicitly list a Makefile here
     65# Explicitly list all Makefiles here
    7066AC_OUTPUT(
    7167Makefile
  • c/src/exec/posix/src/Makefile.am

    ra976681e r70810dc  
    8282C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
    8383
    84 SRCS = $(C_FILES)
    8584OBJS = $(C_O_FILES)
    8685
     
    9594AM_CFLAGS += $(CFLAGS_OS_V)
    9695
    97 all: ${ARCH} $(SRCS) ${OBJS}
     96all: ${ARCH} ${OBJS}
    9897
    9998# temporary so we can see how many things are left to implement
  • c/src/exec/rtems/src/Makefile.am

    ra976681e r70810dc  
    6464C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
    6565
    66 SRCS = $(C_FILES)
    6766OBJS = $(C_O_FILES)
    6867
     
    7473AM_CFLAGS += $(CFLAGS_OS_V)
    7574
    76 all: ${ARCH} $(SRCS) ${OBJS}
     75all: ${ARCH} ${OBJS}
    7776
    7877EXTRA_DIST = $(STD_C_FILES) $(MP_C_FILES)
  • c/src/exec/sapi/src/Makefile.am

    ra976681e r70810dc  
    99C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
    1010
    11 SRCS = $(C_FILES)
    1211OBJS = $(C_O_FILES)
    1312
  • c/src/exec/score/cpu/a29k/configure.in

    ra976681e r70810dc  
    1313AM_MAINTAINER_MODE
    1414
    15 RTEMS_ENABLE_LIBCDIR
    16 
    1715RTEMS_ENV_RTEMSBSP
    1816
     
    2220RTEMS_PROJECT_ROOT
    2321
    24 dnl check target cc
    2522RTEMS_PROG_CC_FOR_TARGET
    2623RTEMS_CANONICALIZE_TOOLS
     
    3128RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
    3229
    33 # Try to explicitly list a Makefile here
     30# Explicitly list all Makefiles here
    3431AC_OUTPUT(
    3532Makefile
  • c/src/exec/score/cpu/hppa1.1/configure.in

    ra976681e r70810dc  
    1313AM_MAINTAINER_MODE
    1414
    15 RTEMS_ENABLE_LIBCDIR
    16 
    1715RTEMS_ENV_RTEMSBSP
    1816
     
    2220RTEMS_PROJECT_ROOT
    2321
    24 dnl check target cc
    2522RTEMS_PROG_CC_FOR_TARGET
    2623RTEMS_CANONICALIZE_TOOLS
     
    3128RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
    3229
    33 # Try to explicitly list a Makefile here
     30# Explicitly list all Makefiles here
    3431AC_OUTPUT(
    3532Makefile
  • c/src/exec/score/cpu/i386/configure.in

    ra976681e r70810dc  
    1313AM_MAINTAINER_MODE
    1414
    15 RTEMS_ENABLE_LIBCDIR
    16 
    1715RTEMS_ENV_RTEMSBSP
    1816
     
    2220RTEMS_PROJECT_ROOT
    2321
    24 dnl check target cc
    2522RTEMS_PROG_CC_FOR_TARGET
    2623RTEMS_CANONICALIZE_TOOLS
     
    3128RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
    3229
    33 # Try to explicitly list a Makefile here
     30# Explicitly list all Makefiles here
    3431AC_OUTPUT(
    3532Makefile
  • c/src/exec/score/cpu/i960/configure.in

    ra976681e r70810dc  
    1313AM_MAINTAINER_MODE
    1414
    15 RTEMS_ENABLE_LIBCDIR
    16 
    1715RTEMS_ENV_RTEMSBSP
    1816
     
    2220RTEMS_PROJECT_ROOT
    2321
    24 dnl check target cc
    2522RTEMS_PROG_CC_FOR_TARGET
    2623RTEMS_CANONICALIZE_TOOLS
     
    3128RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
    3229
    33 # Try to explicitly list a Makefile here
     30# Explicitly list all Makefiles here
    3431AC_OUTPUT(
    3532Makefile
  • c/src/exec/score/cpu/m68k/configure.in

    ra976681e r70810dc  
    1313AM_MAINTAINER_MODE
    1414
    15 RTEMS_ENABLE_LIBCDIR
    16 
    1715RTEMS_ENV_RTEMSBSP
    1816
     
    2220RTEMS_PROJECT_ROOT
    2321
    24 dnl check target cc
    2522RTEMS_PROG_CC_FOR_TARGET
    2623RTEMS_CANONICALIZE_TOOLS
     
    3128RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
    3229
    33 # Try to explicitly list a Makefile here
     30# Explicitly list all Makefiles here
    3431AC_OUTPUT(
    3532Makefile
  • c/src/exec/score/cpu/mips/configure.in

    ra976681e r70810dc  
    1313AM_MAINTAINER_MODE
    1414
    15 RTEMS_ENABLE_LIBCDIR
    16 
    1715RTEMS_ENV_RTEMSBSP
    1816
     
    2220RTEMS_PROJECT_ROOT
    2321
    24 dnl check target cc
    2522RTEMS_PROG_CC_FOR_TARGET
    2623RTEMS_CANONICALIZE_TOOLS
     
    3128RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
    3229
    33 # Try to explicitly list a Makefile here
     30# Explicitly list all Makefiles here
    3431AC_OUTPUT(
    3532Makefile
  • c/src/exec/score/cpu/mips64orion/configure.in

    ra976681e r70810dc  
    1313AM_MAINTAINER_MODE
    1414
    15 RTEMS_ENABLE_LIBCDIR
    16 
    1715RTEMS_ENV_RTEMSBSP
    1816
     
    2220RTEMS_PROJECT_ROOT
    2321
    24 dnl check target cc
    2522RTEMS_PROG_CC_FOR_TARGET
    2623RTEMS_CANONICALIZE_TOOLS
     
    3128RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
    3229
    33 # Try to explicitly list a Makefile here
     30# Explicitly list all Makefiles here
    3431AC_OUTPUT(
    3532Makefile
  • c/src/exec/score/cpu/no_cpu/configure.in

    ra976681e r70810dc  
    1010RTEMS_CANONICAL_TARGET_CPU
    1111
    12 AM_INIT_AUTOMAKE(rtems-c-src-exec-score-cpu-sparc,$RTEMS_VERSION,no)
     12AM_INIT_AUTOMAKE(rtems-c-src-exec-score-cpu-no_cpu,$RTEMS_VERSION,no)
    1313AM_MAINTAINER_MODE
    14 
    15 RTEMS_ENABLE_LIBCDIR
    1614
    1715RTEMS_ENV_RTEMSBSP
     
    2220RTEMS_PROJECT_ROOT
    2321
    24 dnl check target cc
    2522RTEMS_PROG_CC_FOR_TARGET
    2623RTEMS_CANONICALIZE_TOOLS
     
    3128RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
    3229
    33 # Try to explicitly list a Makefile here
     30# Explicitly list all Makefiles here
    3431AC_OUTPUT(
    3532Makefile
  • c/src/exec/score/cpu/powerpc/configure.in

    ra976681e r70810dc  
    1313AM_MAINTAINER_MODE
    1414
    15 RTEMS_ENABLE_LIBCDIR
    16 
    1715RTEMS_ENV_RTEMSBSP
    1816
     
    2220RTEMS_PROJECT_ROOT
    2321
    24 dnl check target cc
    2522RTEMS_PROG_CC_FOR_TARGET
    2623RTEMS_CANONICALIZE_TOOLS
     
    3431AM_CONDITIONAL(PPC_NEW_EXCEPTION_PROCESSING,test "$RTEMS_CPU_MODEL" = "mpc750" -o "$RTEMS_CPU_MODEL" = "mpc604")
    3532
    36 # Try to explicitly list a Makefile here
     33# Explicitly list all Makefiles here
    3734AC_OUTPUT(
    3835Makefile
  • c/src/exec/score/cpu/sh/configure.in

    ra976681e r70810dc  
    1313AM_MAINTAINER_MODE
    1414
    15 RTEMS_ENABLE_LIBCDIR
    16 
    1715RTEMS_ENV_RTEMSBSP
    1816
     
    2220RTEMS_PROJECT_ROOT
    2321
    24 dnl check target cc
    2522RTEMS_PROG_CC_FOR_TARGET
    2623RTEMS_CANONICALIZE_TOOLS
     
    3229RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
    3330
    34 # Try to explicitly list a Makefile here
     31# Explicitly list all Makefiles here
    3532AC_OUTPUT(
    3633Makefile
  • c/src/exec/score/cpu/sparc/configure.in

    ra976681e r70810dc  
    1313AM_MAINTAINER_MODE
    1414
    15 RTEMS_ENABLE_LIBCDIR
    16 
    1715RTEMS_ENV_RTEMSBSP
    1816
     
    2220RTEMS_PROJECT_ROOT
    2321
    24 dnl check target cc
    2522RTEMS_PROG_CC_FOR_TARGET
    2623RTEMS_CANONICALIZE_TOOLS
     
    3128RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
    3229
    33 # Try to explicitly list a Makefile here
     30# Explicitly list all Makefiles here
    3431AC_OUTPUT(
    3532Makefile
  • c/src/exec/score/cpu/unix/configure.in

    ra976681e r70810dc  
    1313AM_MAINTAINER_MODE
    1414
    15 RTEMS_ENABLE_LIBCDIR
    1615RTEMS_ENABLE_MULTIPROCESSING
    1716
     
    2322RTEMS_PROJECT_ROOT
    2423
    25 dnl check target cc
    2624RTEMS_PROG_CC_FOR_TARGET
    2725RTEMS_CANONICALIZE_TOOLS
     
    3836fi
    3937
    40 # Try to explicitly list a Makefile here
     38# Explicitly list all Makefiles here
    4139AC_OUTPUT(
    4240Makefile
  • c/src/exec/score/src/Makefile.am

    ra976681e r70810dc  
    6565C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
    6666
    67 SRCS = $(C_FILES)
    6867OBJS = $(C_O_FILES)
    6968
  • c/src/lib/configure.in

    ra976681e r70810dc  
    1414RTEMS_ENABLE_MULTIPROCESSING
    1515RTEMS_ENABLE_NETWORKING
    16 RTEMS_ENABLE_LIBCDIR
    1716RTEMS_ENABLE_BARE
    1817RTEMS_ENABLE_HWAPI
     
    2524RTEMS_PROJECT_ROOT
    2625
    27 dnl check target cc
    2826RTEMS_PROG_CC_FOR_TARGET
    2927RTEMS_CANONICALIZE_TOOLS
     
    5250AC_CONFIG_SUBDIRS($cfg_subdirs)
    5351
    54 # try to explicitly list a Makefile here
     52# Explicitly list all Makefiles here
    5553AC_OUTPUT(
    5654Makefile
  • c/src/lib/libbsp/a29k/configure.in

    ra976681e r70810dc  
    2020AC_CONFIG_SUBDIRS($bspdir)
    2121
    22 # Explicitly list a Makefile here
     22# Explicitly list all Makefiles here
    2323AC_OUTPUT(
    2424Makefile)
  • c/src/lib/libbsp/a29k/portsw/configure.in

    ra976681e r70810dc  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516RTEMS_ENABLE_MULTIPROCESSING
    1617
     
    2122RTEMS_CANONICAL_HOST
    2223
     24AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
     25
    2326RTEMS_PROJECT_ROOT
    2427
    25 AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
    26 
    27 # Explicitly list a Makefile here
     28# Explicitly list all Makefiles here
    2829AC_OUTPUT(
    2930Makefile
  • c/src/lib/libbsp/bare/configure.in

    ra976681e r70810dc  
    1919RTEMS_PROJECT_ROOT
    2020
    21 # try to explicitly list a Makefile here
     21# Explicitly list all Makefiles here
    2222AC_OUTPUT(
    2323Makefile
  • c/src/lib/libbsp/configure.in

    ra976681e r70810dc  
    1313
    1414RTEMS_ENABLE_MULTIPROCESSING
    15 RTEMS_ENABLE_LIBCDIR
     15RTEMS_PROG_CC_FOR_TARGET
     16RTEMS_CANONICALIZE_TOOLS
    1617RTEMS_ENABLE_BARE
    1718
     
    2021RTEMS_CHECK_CPU
    2122RTEMS_CANONICAL_HOST
    22 
    23 RTEMS_PROJECT_ROOT
    24 
    25 dnl check target cc
    26 RTEMS_PROG_CC_FOR_TARGET
    27 RTEMS_CANONICALIZE_TOOLS
    2823
    2924RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
     
    6055AC_CONFIG_SUBDIRS($cfg_subdirs)
    6156
    62 # Explicitly list all Makefiles
     57RTEMS_PROJECT_ROOT
     58
     59# Explicitly list all Makefiles here
    6360AC_OUTPUT(
    6461Makefile
  • c/src/lib/libbsp/hppa1.1/configure.in

    ra976681e r70810dc  
    2020AC_CONFIG_SUBDIRS($bspdir)
    2121
    22 # try to explicitly list a Makefile here
     22# Explicitly list all Makefiles here
    2323AC_OUTPUT(
    2424Makefile)
  • c/src/lib/libbsp/hppa1.1/simhppa/configure.in

    ra976681e r70810dc  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516RTEMS_ENABLE_MULTIPROCESSING
    1617
     
    2122RTEMS_CANONICAL_HOST
    2223
    23 RTEMS_PROJECT_ROOT
    24 
    2524AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
    2625
    2726AC_CONFIG_SUBDIRS(tools)
    2827
    29 # Explicitly list a Makefile here
     28RTEMS_PROJECT_ROOT
     29
     30# Explicitly list all Makefiles here
    3031AC_OUTPUT(
    3132Makefile
  • c/src/lib/libbsp/hppa1.1/simhppa/tools/configure.in

    ra976681e r70810dc  
    99RTEMS_CANONICAL_TARGET_CPU
    1010
    11 AM_INIT_AUTOMAKE(rtems-lib-libbsp-hppa-simhppa-tools,$RTEMS_VERSION,no)
     11AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-hppa1.1-simhppa-tools,$RTEMS_VERSION,no)
    1212AM_MAINTAINER_MODE
    1313AC_EXEEXT
     
    2121RTEMS_TOOLPATHS
    2222
     23# Explicitly list all Makefiles here
    2324AC_OUTPUT(
    2425Makefile)
  • c/src/lib/libbsp/i386/configure.in

    ra976681e r70810dc  
    2020AC_CONFIG_SUBDIRS($bspdir)
    2121
    22 # Explicitly list a Makefile here
     22# Explicitly list all Makefiles here
    2323AC_OUTPUT(
    2424Makefile
  • c/src/lib/libbsp/i386/i386ex/configure.in

    ra976681e r70810dc  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516
    1617RTEMS_ENV_RTEMSBSP
     
    2425AM_CONDITIONAL(RTEMS_GAS_CODE16,test "$RTEMS_GAS_CODE16" = "yes");
    2526
    26 RTEMS_PROJECT_ROOT
    2727AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
    2828
    29 # Explicitly list all Makefile here
     29RTEMS_PROJECT_ROOT
     30
     31# Explicitly list all Makefiles here
    3032AC_OUTPUT(
    3133Makefile
  • c/src/lib/libbsp/i386/pc386/configure.in

    ra976681e r70810dc  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516
    1617RTEMS_ENV_RTEMSBSP
     
    2425AM_CONDITIONAL(RTEMS_GAS_CODE16,test "$RTEMS_GAS_CODE16" = "yes");
    2526
    26 RTEMS_PROJECT_ROOT
    2727AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
    2828
     
    3030
    3131AC_SUBST(RTEMS_BSP)
    32 # Explicitly list all Makefile here
     32
     33RTEMS_PROJECT_ROOT
     34
     35# Explicitly list all Makefiles here
    3336AC_OUTPUT(
    3437Makefile
  • c/src/lib/libbsp/i386/pc386/tools/configure.in

    ra976681e r70810dc  
    99RTEMS_CANONICAL_TARGET_CPU
    1010
    11 AM_INIT_AUTOMAKE(rtems-lib-libbsp-i386-pc386-tools,$RTEMS_VERSION,no)
     11AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-i386-pc386-tools,$RTEMS_VERSION,no)
    1212AM_MAINTAINER_MODE
    1313AC_EXEEXT
     
    2121RTEMS_TOOLPATHS
    2222
     23# Explicitly list all Makefiles here
    2324AC_OUTPUT(
    2425Makefile)
  • c/src/lib/libbsp/i386/ts_386ex/configure.in

    ra976681e r70810dc  
    99
    1010RTEMS_CANONICAL_TARGET_CPU
    11 AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-i386-ts_i386ex,$RTEMS_VERSION,no)
     11AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-i386-ts_386ex,$RTEMS_VERSION,no)
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516
    1617RTEMS_ENV_RTEMSBSP
     
    2425AM_CONDITIONAL(RTEMS_GAS_CODE16,test "$RTEMS_GAS_CODE16" = "yes");
    2526
    26 RTEMS_PROJECT_ROOT
    2727AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
    2828
    2929AC_CONFIG_SUBDIRS(tools)
    3030
    31 # Explicitly list all Makefile here
     31RTEMS_PROJECT_ROOT
     32
     33# Explicitly list all Makefiles here
    3234AC_OUTPUT(
    3335Makefile
  • c/src/lib/libbsp/i386/ts_386ex/tools/configure.in

    ra976681e r70810dc  
    99RTEMS_CANONICAL_TARGET_CPU
    1010
    11 AM_INIT_AUTOMAKE(rtems-lib-libbsp-i386-ts_386ex-tools,$RTEMS_VERSION,no)
     11AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-i386-ts_386ex-tools,$RTEMS_VERSION,no)
    1212AM_MAINTAINER_MODE
    1313
     
    1515RTEMS_TOOLPATHS
    1616
     17# Explicitly list all Makefiles here
    1718AC_OUTPUT(
    1819Makefile
  • c/src/lib/libbsp/i960/configure.in

    ra976681e r70810dc  
    2020AC_CONFIG_SUBDIRS($bspdir)
    2121
    22 # try to explicitly list a Makefile here
     22# Explicitly list all Makefiles here
    2323AC_OUTPUT(
    2424Makefile)
  • c/src/lib/libbsp/i960/cvme961/configure.in

    ra976681e r70810dc  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516RTEMS_ENABLE_MULTIPROCESSING
    1617
     
    2122RTEMS_CANONICAL_HOST
    2223
     24AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
     25
    2326RTEMS_PROJECT_ROOT
    2427
    25 AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
    26 
    27 # Explicitly list a Makefile here
     28# Explicitly list all Makefiles here
    2829AC_OUTPUT(
    2930Makefile
  • c/src/lib/libbsp/i960/rxgen960/configure.in

    ra976681e r70810dc  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516RTEMS_ENABLE_MULTIPROCESSING
    1617
     
    2122RTEMS_CANONICAL_HOST
    2223
     24AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
     25
    2326RTEMS_PROJECT_ROOT
    2427
    25 AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
    26 
    27 # Explicitly list a Makefile here
     28# Explicitly list all Makefiles here
    2829AC_OUTPUT(
    2930Makefile
  • c/src/lib/libbsp/i960/rxgen960/startup/Makefile.am

    ra976681e r70810dc  
    3333        $(make-rel)
    3434
    35 # FIXME: The original Makefile.in contained this:
    36 #> XXX: JRS look at the list of objects installed
    37 #>      $(INSTALL_CHANGE) -m 644 $(OBJS) $(PROJECT_RELEASE)/lib
    38 #
    39 # The install_change line could probably be replaced by this:
    40 # $(PROJECT_RELEASE)/lib/%.o: $(ARCH)/%.o
    41 #       $(INSTALL_DATA) $< $@
    42 # TMPINSTALL_FILES += \
    43 #  $(OBJS:$(ARCH)/%.o=$(PROJECT_RELEASE)/lib/%.o)
    44 #
    45 # .. but this behavior seems to be rather questionable :(
    46 
    4735$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
    4836        $(INSTALL_DATA) $< $@
  • c/src/lib/libbsp/m68k/configure.in

    ra976681e r70810dc  
    2020AC_CONFIG_SUBDIRS($bspdir)
    2121
    22 # Explicitly list a Makefile here
     22# Explicitly list all Makefiles here
    2323AC_OUTPUT(
    2424Makefile
  • c/src/lib/libbsp/m68k/dmv152/configure.in

    ra976681e r70810dc  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516
    1617RTEMS_ENV_RTEMSBSP
     
    2122RTEMS_PROJECT_ROOT
    2223
    23 # Explicitly list a Makefile here
     24# Explicitly list all Makefiles here
    2425AC_OUTPUT(
    2526Makefile
  • c/src/lib/libbsp/m68k/efi332/configure.in

    ra976681e r70810dc  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516
    1617RTEMS_ENV_RTEMSBSP
     
    2122RTEMS_PROJECT_ROOT
    2223
    23 # Explicitly list a Makefile here
     24# Explicitly list all Makefiles here
    2425AC_OUTPUT(
    2526Makefile
  • c/src/lib/libbsp/m68k/efi68k/configure.in

    ra976681e r70810dc  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516
    1617RTEMS_ENV_RTEMSBSP
     
    2122RTEMS_PROJECT_ROOT
    2223
    23 # Explicitly list a Makefile here
     24# Explicitly list all Makefiles here
    2425AC_OUTPUT(
    2526Makefile
  • c/src/lib/libbsp/m68k/gen68302/configure.in

    ra976681e r70810dc  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516
    1617RTEMS_ENV_RTEMSBSP
     
    2122RTEMS_PROJECT_ROOT
    2223
    23 # Explicitly list a Makefile here
     24# Explicitly list all Makefiles here
    2425AC_OUTPUT(
    2526Makefile
  • c/src/lib/libbsp/m68k/gen68340/configure.in

    ra976681e r70810dc  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516
    1617RTEMS_ENV_RTEMSBSP
     
    2122RTEMS_PROJECT_ROOT
    2223
    23 # Explicitly list a Makefile here
     24# Explicitly list all Makefiles here
    2425AC_OUTPUT(
    2526Makefile
  • c/src/lib/libbsp/m68k/gen68360/configure.in

    ra976681e r70810dc  
    99
    1010RTEMS_CANONICAL_TARGET_CPU
    11 AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-m68k-dmv152,$RTEMS_VERSION,no)
     11AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-m68k-gen68360,$RTEMS_VERSION,no)
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516
    1617RTEMS_ENV_RTEMSBSP
     
    2021RTEMS_CANONICAL_HOST
    2122
    22 RTEMS_PROJECT_ROOT
    2323AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
    2424
    25 # Explicitly list a Makefile here
     25RTEMS_PROJECT_ROOT
     26
     27# Explicitly list all Makefiles here
    2628AC_OUTPUT(
    2729Makefile
  • c/src/lib/libbsp/m68k/gen68360/startup/Makefile.am

    ra976681e r70810dc  
    3434        $(INSTALL_DATA) $< $@
    3535
     36$(PROJECT_RELEASE)/lib/linkcmds.bootp: linkcmds.bootp
     37        $(INSTALL_DATA) $< $@
     38
    3639# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    3740TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds \
    38     $(PROJECT_RELEASE)/lib/linkcmds.prom
     41    $(PROJECT_RELEASE)/lib/linkcmds.prom \
     42    $(PROJECT_RELEASE)/lib/linkcmds.bootp
    3943
    4044all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
  • c/src/lib/libbsp/m68k/idp/configure.in

    ra976681e r70810dc  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516
    1617RTEMS_ENV_RTEMSBSP
     
    2122RTEMS_PROJECT_ROOT
    2223
    23 # Explicitly list a Makefile here
     24# Explicitly list all Makefiles here
    2425AC_OUTPUT(
    2526Makefile
  • c/src/lib/libbsp/m68k/mvme136/configure.in

    ra976681e r70810dc  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516
    1617RTEMS_ENV_RTEMSBSP
     
    2425RTEMS_PROJECT_ROOT
    2526
    26 # Explicitly list a Makefile here
     27# Explicitly list all Makefiles here
    2728AC_OUTPUT(
    2829Makefile
  • c/src/lib/libbsp/m68k/mvme147/configure.in

    ra976681e r70810dc  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516
    1617RTEMS_ENV_RTEMSBSP
     
    2122RTEMS_PROJECT_ROOT
    2223
    23 # Explicitly list a Makefile here
     24# Explicitly list all Makefiles here
    2425AC_OUTPUT(
    2526Makefile
  • c/src/lib/libbsp/m68k/mvme147s/configure.in

    ra976681e r70810dc  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516
    1617RTEMS_ENV_RTEMSBSP
     
    2425RTEMS_PROJECT_ROOT
    2526
    26 # Explicitly list a Makefile here
     27# Explicitly list all Makefiles here
    2728AC_OUTPUT(
    2829Makefile
  • c/src/lib/libbsp/m68k/mvme162/configure.in

    ra976681e r70810dc  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516
    1617RTEMS_ENV_RTEMSBSP
     
    1920RTEMS_CANONICAL_HOST
    2021
     22AC_CONFIG_SUBDIRS(tools)
     23
    2124RTEMS_PROJECT_ROOT
    2225
    23 AC_CONFIG_SUBDIRS(tools)
    24 
    25 # Explicitly list a Makefile here
     26# Explicitly list all Makefiles here
    2627AC_OUTPUT(
    2728Makefile
  • c/src/lib/libbsp/m68k/mvme162/tools/configure.in

    ra976681e r70810dc  
    99RTEMS_CANONICAL_TARGET_CPU
    1010
    11 AM_INIT_AUTOMAKE(rtems-lib-libbsp-m68k-mvme162-tools,$RTEMS_VERSION,no)
     11AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-m68k-mvme162-tools,$RTEMS_VERSION,no)
    1212AM_MAINTAINER_MODE
    1313AC_EXEEXT
     
    2222RTEMS_TOOLPATHS
    2323
     24# Explicitly list all Makefiles here
    2425AC_OUTPUT(
    2526Makefile)
  • c/src/lib/libbsp/m68k/mvme167/configure.in

    ra976681e r70810dc  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516
    1617RTEMS_ENV_RTEMSBSP
     
    2122RTEMS_PROJECT_ROOT
    2223
    23 # Explicitly list a Makefile here
     24# Explicitly list all Makefiles here
    2425AC_OUTPUT(
    2526Makefile
  • c/src/lib/libbsp/m68k/ods68302/configure.in

    ra976681e r70810dc  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516
    1617RTEMS_ENV_RTEMSBSP
     
    2122RTEMS_PROJECT_ROOT
    2223
    23 # Explicitly list a Makefile here
     24# Explicitly list all Makefiles here
    2425AC_OUTPUT(
    2526Makefile
  • c/src/lib/libbsp/mips/configure.in

    ra976681e r70810dc  
    2020AC_CONFIG_SUBDIRS($bspdir)
    2121
    22 # Explicitly list a Makefile here
     22# Explicitly list all Makefiles here
    2323AC_OUTPUT(
    2424Makefile)
  • c/src/lib/libbsp/mips/p4000/configure.in

    ra976681e r70810dc  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516
    1617RTEMS_ENV_RTEMSBSP
     
    2122RTEMS_PROJECT_ROOT
    2223
    23 # Explicitly list a Makefile here
     24# Explicitly list all Makefiles here
    2425AC_OUTPUT(
    2526Makefile
  • c/src/lib/libbsp/mips64orion/configure.in

    ra976681e r70810dc  
    2020AC_CONFIG_SUBDIRS($bspdir)
    2121
    22 # Explicitly list a Makefile here
     22# Explicitly list all Makefiles here
    2323AC_OUTPUT(
    2424Makefile)
  • c/src/lib/libbsp/mips64orion/p4000/configure.in

    ra976681e r70810dc  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516
    1617RTEMS_ENV_RTEMSBSP
     
    2122RTEMS_PROJECT_ROOT
    2223
    23 # Explicitly list a Makefile here
     24# Explicitly list all Makefiles here
    2425AC_OUTPUT(
    2526Makefile
  • c/src/lib/libbsp/no_cpu/configure.in

    ra976681e r70810dc  
    2020AC_CONFIG_SUBDIRS($bspdir)
    2121
    22 # try to explicitly list a Makefile here
     22# Explicitly list all Makefiles here
    2323AC_OUTPUT(
    2424Makefile)
  • c/src/lib/libbsp/no_cpu/no_bsp/configure.in

    ra976681e r70810dc  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516RTEMS_ENABLE_MULTIPROCESSING
    1617
     
    2122RTEMS_CANONICAL_HOST
    2223
     24AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
     25
    2326RTEMS_PROJECT_ROOT
    2427
    25 AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
    26 
    27 # Explicitly list a Makefile here
     28# Explicitly list all Makefiles here
    2829AC_OUTPUT(
    2930Makefile
  • c/src/lib/libbsp/powerpc/configure.in

    ra976681e r70810dc  
    2121AC_CONFIG_SUBDIRS($bspdir)
    2222
    23 # Explicitly list a Makefile here
     23# Explicitly list all Makefiles here
    2424AC_OUTPUT(
    2525Makefile
  • c/src/lib/libbsp/powerpc/dmv177/configure.in

    ra976681e r70810dc  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516RTEMS_ENABLE_MULTIPROCESSING
    1617RTEMS_ENABLE_NETWORKING
     
    2324RTEMS_CANONICAL_HOST
    2425
    25 RTEMS_PROJECT_ROOT
    2626AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
    2727AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
    2828
    29 # Explicitly list a Makefile here
     29RTEMS_PROJECT_ROOT
     30
     31# Explicitly list all Makefiles here
    3032AC_OUTPUT(
    3133Makefile
  • c/src/lib/libbsp/powerpc/eth_comm/configure.in

    ra976681e r70810dc  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516RTEMS_ENABLE_MULTIPROCESSING
    1617RTEMS_ENABLE_NETWORKING
     
    2324RTEMS_CANONICAL_HOST
    2425
    25 RTEMS_PROJECT_ROOT
    2626AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
    2727AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
    2828
    29 # Explicitly list a Makefile here
     29RTEMS_PROJECT_ROOT
     30
     31# Explicitly list all Makefiles here
    3032AC_OUTPUT(
    3133Makefile
  • c/src/lib/libbsp/powerpc/helas403/configure.in

    ra976681e r70810dc  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516RTEMS_ENABLE_MULTIPROCESSING
    1617RTEMS_ENABLE_NETWORKING
     
    2324RTEMS_CANONICAL_HOST
    2425
    25 RTEMS_PROJECT_ROOT
    2626AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
    2727AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
    2828
    29 # Explicitly list a Makefile here
     29RTEMS_PROJECT_ROOT
     30
     31# Explicitly list all Makefiles here
    3032AC_OUTPUT(
    3133Makefile
  • c/src/lib/libbsp/powerpc/motorola_powerpc/configure.in

    ra976681e r70810dc  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516RTEMS_ENABLE_MULTIPROCESSING
    1617RTEMS_ENABLE_NETWORKING
     
    2324RTEMS_CANONICAL_HOST
    2425
    25 RTEMS_PROJECT_ROOT
    2626AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
    2727AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
    2828
    29 # Explicitly list a Makefile here
     29RTEMS_PROJECT_ROOT
     30
     31# Explicitly list all Makefiles here
    3032AC_OUTPUT(
    3133Makefile
  • c/src/lib/libbsp/powerpc/papyrus/configure.in

    ra976681e r70810dc  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516RTEMS_ENABLE_MULTIPROCESSING
    1617RTEMS_ENABLE_NETWORKING
     
    2324RTEMS_CANONICAL_HOST
    2425
    25 RTEMS_PROJECT_ROOT
    2626AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
    2727AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
    2828
    29 # Explicitly list a Makefile here
     29RTEMS_PROJECT_ROOT
     30
     31# Explicitly list all Makefiles here
    3032AC_OUTPUT(
    3133Makefile
  • c/src/lib/libbsp/powerpc/ppcn_60x/configure.in

    ra976681e r70810dc  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516RTEMS_ENABLE_MULTIPROCESSING
    1617
     
    2122RTEMS_CANONICAL_HOST
    2223
    23 RTEMS_PROJECT_ROOT
    24 
    2524# Don't build the network directory
    2625# The problem is that the code there has not yet been converted to
     
    2928# AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
    3029
     30RTEMS_PROJECT_ROOT
    3131
    32 # Explicitly list a Makefile here
     32# Explicitly list all Makefiles here
    3333AC_OUTPUT(
    3434Makefile
  • c/src/lib/libbsp/powerpc/psim/configure.in

    ra976681e r70810dc  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516RTEMS_ENABLE_MULTIPROCESSING
    1617
     
    2122RTEMS_CANONICAL_HOST
    2223
    23 RTEMS_PROJECT_ROOT
    2424AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
    2525
    2626AC_CONFIG_SUBDIRS(tools)
    2727
    28 # Explicitly list a Makefile here
     28RTEMS_PROJECT_ROOT
     29
     30# Explicitly list all Makefiles here
    2931AC_OUTPUT(
    3032Makefile
  • c/src/lib/libbsp/powerpc/psim/tools/configure.in

    ra976681e r70810dc  
    99RTEMS_CANONICAL_TARGET_CPU
    1010
    11 AM_INIT_AUTOMAKE(rtems-lib-libbsp-powerpc-psim-tools,$RTEMS_VERSION,no)
     11AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-powerpc-psim-tools,$RTEMS_VERSION,no)
    1212AM_MAINTAINER_MODE
    1313
     
    1515RTEMS_TOOLPATHS
    1616
     17# Explicitly list all Makefiles here
    1718AC_OUTPUT(
    1819Makefile)
  • c/src/lib/libbsp/powerpc/score603e/configure.in

    ra976681e r70810dc  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516
    1617RTEMS_ENV_RTEMSBSP
     
    2122RTEMS_PROJECT_ROOT
    2223
    23 # Explicitly list a Makefile here
     24# Explicitly list all Makefiles here
    2425AC_OUTPUT(
    2526Makefile
  • c/src/lib/libbsp/sh/configure.in

    ra976681e r70810dc  
    2020AC_CONFIG_SUBDIRS($bspdir)
    2121
    22 # try to explicitly list a Makefile here
     22# Explicitly list all Makefiles here
    2323AC_OUTPUT(
    2424Makefile
  • c/src/lib/libbsp/sh/gensh1/configure.in

    ra976681e r70810dc  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516
    1617RTEMS_ENV_RTEMSBSP
     
    2122RTEMS_PROJECT_ROOT
    2223
     24# Explicitly list all Makefiles here
    2325AC_OUTPUT(
    2426Makefile
  • c/src/lib/libbsp/sh/gensh2/configure.in

    ra976681e r70810dc  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516
    1617RTEMS_ENV_RTEMSBSP
     
    2122RTEMS_PROJECT_ROOT
    2223
    23 # Explicitly list a Makefile here
     24# Explicitly list all Makefiles here
    2425AC_OUTPUT(
    2526Makefile
  • c/src/lib/libbsp/sparc/configure.in

    ra976681e r70810dc  
    2020AC_CONFIG_SUBDIRS($bspdir)
    2121
    22 # try to explicitly list a Makefile here
     22# Explicitly list all Makefiles here
    2323AC_OUTPUT(
    2424Makefile)
  • c/src/lib/libbsp/sparc/erc32/configure.in

    ra976681e r70810dc  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_CANONICALIZE_TOOLS
    1516
    1617RTEMS_ENV_RTEMSBSP
     
    1920RTEMS_CANONICAL_HOST
    2021
     22AC_CONFIG_SUBDIRS(tools)
     23
    2124RTEMS_PROJECT_ROOT
    2225
    23 AC_CONFIG_SUBDIRS(tools)
    24 
    25 # Explicitly list a Makefile here
     26# Explicitly list all Makefiles here
    2627AC_OUTPUT(
    2728Makefile
  • c/src/lib/libbsp/sparc/erc32/tools/configure.in

    ra976681e r70810dc  
    99RTEMS_CANONICAL_TARGET_CPU
    1010
    11 AM_INIT_AUTOMAKE(rtems-lib-libbsp-sparc-erc32-tools,$RTEMS_VERSION,no)
     11AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-sparc-erc32-tools,$RTEMS_VERSION,no)
    1212AM_MAINTAINER_MODE
    1313
     
    1717RTEMS_TOOLPATHS
    1818
     19# Explicitly list all Makefiles here
    1920AC_OUTPUT(
    2021Makefile
  • c/src/lib/libbsp/unix/configure.in

    ra976681e r70810dc  
    2020AC_CONFIG_SUBDIRS($bspdir)
    2121
    22 # try to explicitly list a Makefile here
     22# Explicitly list all Makefiles here
    2323AC_OUTPUT(
    2424Makefile)
  • c/src/lib/libbsp/unix/posix/configure.in

    ra976681e r70810dc  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
     14RTEMS_PROG_CC_FOR_TARGET
     15RTEMS_PROG_CXX_FOR_TARGET
     16RTEMS_CANONICALIZE_TOOLS
    1517RTEMS_ENABLE_MULTIPROCESSING
    1618RTEMS_ENABLE_CXX
     
    2325
    2426RTEMS_CHECK_CXX
    25 RTEMS_PROJECT_ROOT
    2627
    2728AC_CONFIG_SUBDIRS(tools)
     
    3031AM_CONDITIONAL(HAS_CXX,test "$HAS_CPLUSPLUS" = "yes")
    3132
    32 # Explicitly list a Makefile here
     33RTEMS_PROJECT_ROOT
     34
     35# Explicitly list all Makefiles here
    3336AC_OUTPUT(
    3437Makefile
  • c/src/lib/libbsp/unix/posix/tools/configure.in

    ra976681e r70810dc  
    99RTEMS_CANONICAL_TARGET_CPU
    1010
    11 AM_INIT_AUTOMAKE(rtems-lib-libbsp-unix-posix-tools,$RTEMS_VERSION,no)
     11AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-unix-posix-tools,$RTEMS_VERSION,no)
    1212AM_MAINTAINER_MODE
    1313
     
    2020RTEMS_TOOLPATHS
    2121
     22# Explicitly list all Makefiles here
    2223AC_OUTPUT(
    2324Makefile
  • c/src/lib/libc/Makefile.am

    ra976681e r70810dc  
    9999$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
    100100
    101 SRCS = $(C_FILES) $(H_FILES) $(SYS_H_FILES) $(RTEMS_H_FILES)
    102101OBJS = $(C_O_FILES)
    103102
     
    118117DOC_FILES = TODO CASES
    119118
    120 ## This only works with automake > 1.14
    121119EXTRA_DIST = \
    122120$(DOC_FILES) \
  • c/src/lib/libcpu/a29k/clock/Makefile.am

    ra976681e r70810dc  
    2424#
    2525
    26 $(PGM): $(SRCS) $(OBJS)
     26$(PGM): $(OBJS)
    2727        $(make-rel)
    2828
  • c/src/lib/libcpu/a29k/configure.in

    ra976681e r70810dc  
    1313AM_MAINTAINER_MODE
    1414
    15 RTEMS_ENABLE_LIBCDIR
    16 
    1715RTEMS_ENABLE_BARE
    1816RTEMS_ENV_RTEMSBSP
     
    2321RTEMS_PROJECT_ROOT
    2422
    25 dnl check target cc
    2623RTEMS_PROG_CC_FOR_TARGET
    2724RTEMS_CANONICALIZE_TOOLS
     
    3027RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
    3128
     29# Explicitly list all Makefiles here
    3230AC_OUTPUT(
    3331Makefile
  • c/src/lib/libcpu/a29k/timer/Makefile.am

    ra976681e r70810dc  
    2121#
    2222
    23 $(PGM): $(SRCS) $(OBJS)
     23$(PGM): $(OBJS)
    2424        $(make-rel)
    2525
     
    2828.PRECIOUS: $(PGM)
    2929
    30 EXTRA_DIST = Makefile gettime.S timer.c timerisr.c
     30EXTRA_DIST = Makefile timer.c timerisr.c
    3131
    3232include $(top_srcdir)/../../../../../automake/local.am
  • c/src/lib/libcpu/configure.in

    ra976681e r70810dc  
    2323AC_CONFIG_SUBDIRS($RTEMS_CPU_SUBDIR)
    2424
     25# Explicitly list all Makefiles here
    2526AC_OUTPUT(
    2627Makefile)
  • c/src/lib/libcpu/hppa1.1/configure.in

    ra976681e r70810dc  
    1313AM_MAINTAINER_MODE
    1414
    15 RTEMS_ENABLE_LIBCDIR
    16 
    1715RTEMS_ENABLE_BARE
    1816RTEMS_ENV_RTEMSBSP
     
    2321RTEMS_PROJECT_ROOT
    2422
    25 dnl check target cc
    2623RTEMS_PROG_CC_FOR_TARGET
    2724RTEMS_CANONICALIZE_TOOLS
     
    3027RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
    3128
     29# Explicitly list all Makefiles here
    3230AC_OUTPUT(
    3331Makefile
  • c/src/lib/libcpu/i386/configure.in

    ra976681e r70810dc  
    1313AM_MAINTAINER_MODE
    1414
    15 RTEMS_ENABLE_LIBCDIR
    16 
    1715RTEMS_ENABLE_BARE
    1816RTEMS_ENV_RTEMSBSP
     
    2321RTEMS_PROJECT_ROOT
    2422
    25 dnl check target cc
    2623RTEMS_PROG_CC_FOR_TARGET
    2724RTEMS_CANONICALIZE_TOOLS
     
    3027RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
    3128
     29# Explicitly list all Makefiles here
    3230AC_OUTPUT(
    3331Makefile)
  • c/src/lib/libcpu/m68k/configure.in

    ra976681e r70810dc  
    1313AM_MAINTAINER_MODE
    1414
    15 RTEMS_ENABLE_LIBCDIR
    16 
    1715RTEMS_ENABLE_BARE
    1816RTEMS_ENV_RTEMSBSP
     
    2321RTEMS_PROJECT_ROOT
    2422
    25 dnl check target cc
    2623RTEMS_PROG_CC_FOR_TARGET
    2724RTEMS_CANONICALIZE_TOOLS
     
    3229AM_CONDITIONAL(m68040, test "$RTEMS_CPU_MODEL" = "m68040")
    3330
     31# Explicitly list all Makefiles here
    3432AC_OUTPUT(
    3533Makefile
  • c/src/lib/libcpu/mips/configure.in

    ra976681e r70810dc  
    1313AM_MAINTAINER_MODE
    1414
    15 RTEMS_ENABLE_LIBCDIR
    16 
    1715RTEMS_ENABLE_BARE
    1816RTEMS_ENV_RTEMSBSP
     
    2321RTEMS_PROJECT_ROOT
    2422
    25 dnl check target cc
    2623RTEMS_PROG_CC_FOR_TARGET
    2724RTEMS_CANONICALIZE_TOOLS
     
    3027RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
    3128
     29# Explicitly list all Makefiles here
    3230AC_OUTPUT(
    3331Makefile
  • c/src/lib/libcpu/mips64orion/configure.in

    ra976681e r70810dc  
    1313AM_MAINTAINER_MODE
    1414
    15 RTEMS_ENABLE_LIBCDIR
    16 
    1715RTEMS_ENABLE_BARE
    1816RTEMS_ENV_RTEMSBSP
     
    2321RTEMS_PROJECT_ROOT
    2422
    25 dnl check target cc
    2623RTEMS_PROG_CC_FOR_TARGET
    2724RTEMS_CANONICALIZE_TOOLS
     
    3027RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
    3128
     29# Explicitly list all Makefiles here
    3230AC_OUTPUT(
    3331Makefile
  • c/src/lib/libcpu/powerpc/configure.in

    ra976681e r70810dc  
    1313AM_MAINTAINER_MODE
    1414
    15 RTEMS_ENABLE_LIBCDIR
    16 
    1715RTEMS_ENABLE_BARE
    1816RTEMS_ENV_RTEMSBSP
     
    2321RTEMS_PROJECT_ROOT
    2422
    25 dnl check target cc
    2623RTEMS_PROG_CC_FOR_TARGET
    2724RTEMS_CANONICALIZE_TOOLS
     
    4239AM_CONDITIONAL(ppc403, test "$RTEMS_CPU_MODEL" = "ppc403")
    4340
     41# Explicitly list all Makefiles here
    4442AC_OUTPUT(
    4543Makefile
  • c/src/lib/libcpu/sh/configure.in

    ra976681e r70810dc  
    1313AM_MAINTAINER_MODE
    1414
    15 RTEMS_ENABLE_LIBCDIR
    16 
    1715RTEMS_ENABLE_BARE
    1816RTEMS_ENV_RTEMSBSP
     
    2321RTEMS_PROJECT_ROOT
    2422
    25 dnl check target cc
    2623RTEMS_PROG_CC_FOR_TARGET
    2724RTEMS_CANONICALIZE_TOOLS
     
    3027RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
    3128
     29# Explicitly list all Makefiles here
    3230AC_OUTPUT(
    3331Makefile
  • c/src/lib/libcpu/sparc/configure.in

    ra976681e r70810dc  
    1313AM_MAINTAINER_MODE
    1414
    15 RTEMS_ENABLE_LIBCDIR
    16 
    1715RTEMS_ENABLE_BARE
    1816RTEMS_ENV_RTEMSBSP
     
    2321RTEMS_PROJECT_ROOT
    2422
    25 dnl check target cc
    2623RTEMS_PROG_CC_FOR_TARGET
    2724RTEMS_CANONICALIZE_TOOLS
     
    3027RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
    3128
     29# Explicitly list all Makefiles here
    3230AC_OUTPUT(
    3331Makefile
  • c/src/libchip/configure.in

    ra976681e r70810dc  
    1313
    1414RTEMS_ENABLE_NETWORKING
    15 RTEMS_ENABLE_LIBCDIR
    1615RTEMS_ENABLE_BARE
    1716
     
    2322RTEMS_PROJECT_ROOT
    2423
    25 dnl check target cc
    2624RTEMS_PROG_CC_FOR_TARGET
    2725RTEMS_CANONICALIZE_TOOLS
     
    3836AM_CONDITIONAL(HAS_NETWORKING, test "$HAS_NETWORKING" = "yes")
    3937
    40 # try to explicitly list a Makefile here
     38# Explicitly list all Makefiles here
    4139AC_OUTPUT(
    4240Makefile
  • c/src/libchip/network/Makefile.am

    ra976681e r70810dc  
    1 #
    2 # $Id$
    3 #
     1##
     2## $Id$
     3##
    44
    55AUTOMAKE_OPTIONS = foreign 1.4
    66
    77LIBNAME = libnetchip
    8 LIB = ${ARCH}/${LIBNAME}.a
     8LIB = $(ARCH)/$(LIBNAME).a
    99
    1010C_FILES = dec21140.c sonic.c
    11 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
     11C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
    1212
    1313H_FILES = sonic.h
    14 noinst_HEADERS = $(H_FILES)
    1514
    16 SRCS = $(C_FILES) $(H_FILES)
    1715OBJS = $(C_O_FILES)
    1816
    1917include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    20 include $(RTEMS_ROOT)/make/lib.cfg
     18include $(top_srcdir)/../../../automake/lib.am
    2119
    2220$(PROJECT_INCLUDE)/libchip:
     
    2927#
    3028
    31 AM_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
    32 AM_CFLAGS += $(LIBC_DEFINES)
     29AM_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
     30AM_CFLAGS = $(LIBC_DEFINES)
    3331
    34 if HAS_NETWORKING
    35 
    36 PREINSTALL_FILES = \
    37 $(PROJECT_INCLUDE)/libchip \
    38 $(noinst_HEADERS:%=$(PROJECT_INCLUDE)/libchip/%)
    39 
    40 TMPINSTALL_FILES += \
    41 $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
    42 
    43 $(LIB): ${OBJS}
     32$(LIB): $(OBJS)
    4433        $(make-library)
    4534
     
    4736        $(INSTALL_DATA) $< $@
    4837
    49 all: ${ARCH} $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
    50 
     38if HAS_NETWORKING
     39PREINSTALL_FILES += $(PROJECT_INCLUDE)/libchip \
     40    $(PROJECT_INCLUDE)/libchip/sonic.h
    5141endif
    5242
    53 EXTRA_DIST = README README.sonic
    54 EXTRA_DIST += $(C_FILES)
     43TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
     44
     45if HAS_NETWORKING
     46all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB) $(TMPINSTALL_FILES)
     47endif
     48
     49.PRECIOUS: $(LIB)
     50
     51EXTRA_DIST = README README.dec21140 README.sonic dec21140.c sonic.c sonic.h
    5552
    5653include $(top_srcdir)/../../../automake/local.am
  • c/src/libchip/rtc/Makefile.am

    ra976681e r70810dc  
    1616noinst_HEADERS = $(H_FILES)
    1717
    18 SRCS = $(C_FILES) $(H_FILES)
    1918OBJS = $(C_O_FILES)
    2019
     
    5150README.ds1643 README.icm7170 README.m48t08 README.m48t18 STATUS
    5251
    53 EXTRA_DIST += $(C_FILES) $(DOC_FILES)
     52EXTRA_DIST = $(C_FILES) $(DOC_FILES)
    5453
    5554include $(top_srcdir)/../../../automake/local.am
  • c/src/libchip/serial/Makefile.am

    ra976681e r70810dc  
    1717noinst_HEADERS = $(H_FILES) $(INSTALLED_H_FILES)
    1818
    19 SRCS = $(C_FILES) $(H_FILES)
    2019OBJS = $(C_O_FILES)
    2120
     
    5251README.mc68681 README.ns16550 README.xr88681 README.z85c30 STATUS
    5352
    54 EXTRA_DIST += $(C_FILES) $(DOC_FILES)
     53EXTRA_DIST = $(C_FILES) $(DOC_FILES)
    5554
    5655include $(top_srcdir)/../../../automake/local.am
  • c/src/libmisc/configure.in

    ra976681e r70810dc  
    1414
    1515RTEMS_ENABLE_MULTIPROCESSING
    16 RTEMS_ENABLE_LIBCDIR
    1716RTEMS_ENABLE_BARE
    1817
     
    2423RTEMS_PROJECT_ROOT
    2524
    26 dnl check target cc
    2725RTEMS_PROG_CC_FOR_TARGET
    2826RTEMS_CANONICALIZE_TOOLS
     
    3331AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
    3432
    35 # Try to explicitly list a Makefile here
     33# Explicitly list all Makefiles here
    3634AC_OUTPUT(
    3735Makefile
  • c/src/libmisc/cpuuse/Makefile.am

    ra976681e r70810dc  
    1 ##
    2 ##  $Id$
    3 ##
     1## 
     2## $Id$
     3## 
    44
    55AUTOMAKE_OPTIONS = foreign 1.4
    66
    77LIBNAME = libcpuuse-tmp
    8 LIB = ${ARCH}/${LIBNAME}.a
     8LIB = $(ARCH)/$(LIBNAME).a
    99
    1010C_FILES = cpuuse.c
    11 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
     11C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
    1212
    1313H_FILES = cpuuse.h
    14 noinst_HEADERS = $(H_FILES)
    1514
    16 SRCS = $(C_FILES) $(H_FILES)
    1715OBJS = $(C_O_FILES)
    1816
    1917include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    20 include $(RTEMS_ROOT)/make/lib.cfg
    21 
    22 PREINSTALL_FILES = \
    23 $(PROJECT_INCLUDE)/rtems \
    24 $(H_FILES:%=$(PROJECT_INCLUDE)/rtems/%)
     18include $(top_srcdir)/../../../automake/lib.am
    2519
    2620$(PROJECT_INCLUDE)/rtems:
     
    3327#
    3428
    35 ${LIB}: ${OBJS}
     29$(LIB): $(OBJS)
    3630        $(make-library)
    3731
    38 all: ${ARCH} $(PREINSTALL_FILES) $(LIB) $(TMPINSTALL_FILES)
     32PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \
     33    $(H_FILES:%=$(PROJECT_INCLUDE)/rtems/%)
    3934
    40 EXTRA_DIST += $(C_FILES)
     35all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
     36
     37.PRECIOUS: $(LIB)
     38
     39EXTRA_DIST = README cpuuse.c cpuuse.h
    4140
    4241include $(top_srcdir)/../../../automake/local.am
  • c/src/libmisc/monitor/Makefile.am

    ra976681e r70810dc  
    1 ##
    2 ##  $Id$
    3 ##
     1## 
     2## $Id$
     3## 
    44
    55AUTOMAKE_OPTIONS = foreign 1.4
    66
    77LIBNAME = libmonitor-tmp
    8 LIB = ${ARCH}/$(LIBNAME).a
     8LIB = $(ARCH)/$(LIBNAME).a
    99
    1010# We only build multiprocessing related files if HAS_MP was defined
     
    1616
    1717if HAS_MP
    18 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o) $(MP_C_FILES:%.c=${ARCH}/%.o)
     18C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) $(MP_C_FILES:%.c=$(ARCH)/%.o)
    1919else
    20 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
     20C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
    2121endif
    2222
    2323H_FILES = monitor.h symbols.h
    24 noinst_HEADERS = $(H_FILES)
    2524
    26 SRCS = README $(C_FILES) $(H_FILES)
    2725OBJS = $(C_O_FILES)
    2826
    2927include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    30 include $(RTEMS_ROOT)/make/lib.cfg
    31 
    32 PREINSTALL_FILES = \
    33 $(PROJECT_INCLUDE)/rtems \
    34 $(H_FILES:%=$(PROJECT_INCLUDE)/rtems/%)
     28include $(top_srcdir)/../../../automake/lib.am
    3529
    3630$(PROJECT_INCLUDE)/rtems:
     
    4337#
    4438
    45 ${LIB}: ${OBJS}
     39$(LIB): $(OBJS)
    4640        $(make-library)
    4741
    48 all: ${ARCH} $(PREINSTALL_FILES) $(LIB) $(TMPINSTALL_FILES)
     42PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \
     43    $(H_FILES:%=$(PROJECT_INCLUDE)/rtems/%)
    4944
    50 EXTRA_DIST += $(C_FILES) $(MP_C_FILES)
     45all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
     46
     47.PRECIOUS: $(LIB)
     48
     49EXTRA_DIST = README mon-command.c mon-config.c mon-dname.c mon-driver.c \
     50    mon-extension.c mon-itask.c mon-manager.c mon-monitor.c mon-mpci.c \
     51    mon-object.c mon-prmisc.c mon-queue.c mon-server.c mon-symbols.c \
     52    mon-task.c monitor.h symbols.h
    5153
    5254include $(top_srcdir)/../../../automake/local.am
  • c/src/libmisc/rtmonuse/Makefile.am

    ra976681e r70810dc  
    1 ##
    2 ##  $Id$
    3 ##
     1## 
     2## $Id$
     3## 
    44
    55AUTOMAKE_OPTIONS = foreign 1.4
    66
    77LIBNAME = librtmonuse-tmp
    8 LIB = ${ARCH}/${LIBNAME}.a
     8LIB = $(ARCH)/$(LIBNAME).a
    99
    1010C_FILES = rtmonuse.c
    11 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
     11C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
    1212
    1313H_FILES = rtmonuse.h
    14 noinst_HEADERS = $(H_FILES)
    1514
    16 SRCS = $(C_FILES) $(H_FILES)
    1715OBJS = $(C_O_FILES)
    1816
    1917include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    20 include $(RTEMS_ROOT)/make/lib.cfg
    21 
    22 PREINSTALL_FILES = \
    23 $(PROJECT_INCLUDE)/rtems \
    24 $(H_FILES:%=$(PROJECT_INCLUDE)/rtems/%)
     18include $(top_srcdir)/../../../automake/lib.am
    2519
    2620$(PROJECT_INCLUDE)/rtems:
     
    3327#
    3428
    35 ${LIB}: ${OBJS}
     29$(LIB): $(OBJS)
    3630        $(make-library)
    3731
    38 all: ${ARCH} $(PREINSTALL_FILES) $(LIB) $(TMPINSTALL_FILES)
     32PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \
     33    $(H_FILES:%=$(PROJECT_INCLUDE)/rtems/%)
    3934
    40 EXTRA_DIST += $(C_FILES)
     35all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
     36
     37.PRECIOUS: $(LIB)
     38
     39EXTRA_DIST = rtmonuse.c rtmonuse.h
    4140
    4241include $(top_srcdir)/../../../automake/local.am
  • c/src/libmisc/stackchk/Makefile.am

    ra976681e r70810dc  
    1 ##
    2 ##  $Id$
    3 ##
     1## 
     2## $Id$
     3## 
    44
    55AUTOMAKE_OPTIONS = foreign 1.4
    66
    77LIBNAME = libstackchk-tmp
    8 LIB = ${ARCH}/${LIBNAME}.a
     8LIB = $(ARCH)/$(LIBNAME).a
    99
    1010C_FILES = check.c
    11 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
     11C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
    1212
    1313H_FILES = internal.h
    1414INSTALLED_H_FILES = stackchk.h
    15 noinst_HEADERS = $(H_FILES) $(INSTALLED_H_FILES)
    1615
    17 SRCS = $(C_FILES) $(H_FILES) $(INSTALLED_H_FILES)
    1816OBJS = $(C_O_FILES)
    1917
    2018include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    21 include $(RTEMS_ROOT)/make/lib.cfg
    22 
    23 PREINSTALL_FILES = \
    24 $(PROJECT_INCLUDE)/rtems \
    25 $(INSTALLED_H_FILES:%=$(PROJECT_INCLUDE)/rtems/%)
     19include $(top_srcdir)/../../../automake/lib.am
    2620
    2721$(PROJECT_INCLUDE)/rtems:
     
    3428#
    3529
    36 ${LIB}: ${OBJS}
     30$(LIB): $(OBJS)
    3731        $(make-library)
    3832
    39 all: ${ARCH} $(PREINSTALL_FILES) $(LIB) $(TMPINSTALL_FILES)
     33PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \
     34    $(INSTALLED_H_FILES:%=$(PROJECT_INCLUDE)/rtems/%)
    4035
    41 EXTRA_DIST += $(C_FILES)
     36all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
     37
     38.PRECIOUS: $(LIB)
     39
     40EXTRA_DIST = README check.c internal.h stackchk.h
    4241
    4342include $(top_srcdir)/../../../automake/local.am
  • c/src/libmisc/untar/Makefile.am

    ra976681e r70810dc  
    1 ##
    2 ##  $Id$
    3 ##
     1## 
     2## $Id$
     3## 
    44
    55AUTOMAKE_OPTIONS = foreign 1.4
    66
    77LIBNAME = libuntar-tmp
    8 LIB = ${ARCH}/${LIBNAME}.a
     8LIB = $(ARCH)/$(LIBNAME).a
    99
    1010C_FILES = untar.c
    11 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
     11C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
    1212
    1313H_FILES = untar.h
    14 noinst_HEADERS = $(H_FILES)
    1514
    16 SRCS = $(C_FILES) $(H_FILES)
    1715OBJS = $(C_O_FILES)
    1816
    1917include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    20 include $(RTEMS_ROOT)/make/lib.cfg
    21 
    22 PREINSTALL_FILES = \
    23 $(PROJECT_INCLUDE)/rtems \
    24 $(H_FILES:%=$(PROJECT_INCLUDE)/rtems/%)
     18include $(top_srcdir)/../../../automake/lib.am
    2519
    2620$(PROJECT_INCLUDE)/rtems:
     
    3327#
    3428
    35 ${LIB}: ${OBJS}
     29$(LIB): $(OBJS)
    3630        $(make-library)
    3731
    38 all: ${ARCH} $(PREINSTALL_FILES) $(LIB) $(TMPINSTALL_FILES)
     32PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \
     33    $(H_FILES:%=$(PROJECT_INCLUDE)/rtems/%)
    3934
    40 EXTRA_DIST += $(C_FILES)
     35all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
     36
     37.PRECIOUS: $(LIB)
     38
     39EXTRA_DIST = README untar.c untar.h
    4140
    4241include $(top_srcdir)/../../../automake/local.am
  • c/src/libmisc/wrapup/Makefile.am

    ra976681e r70810dc  
    1 ##
    2 ##  $Id$
    3 ##
     1## 
     2## $Id$
     3## 
    44
    55AUTOMAKE_OPTIONS = foreign 1.4
    66
    77LIBNAME = libmisc
    8 LIB = ${ARCH}/$(LIBNAME).a
     8LIB = $(ARCH)/$(LIBNAME).a
    99
    1010include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    1111include $(top_srcdir)/../../../automake/lib.am
    1212
    13 TMP_LIBS = ../monitor/$(ARCH)/libmonitor-tmp.a ../untar/$(ARCH)/libuntar-tmp.a \
    14     ../stackchk/$(ARCH)/libstackchk-tmp.a ../cpuuse/$(ARCH)/libcpuuse-tmp.a \
    15     ../rtmonuse/$(ARCH)/librtmonuse-tmp.a \
     13TMP_LIBS = ../monitor/$(ARCH)/libmonitor-tmp.a \
     14    ../untar/$(ARCH)/libuntar-tmp.a ../stackchk/$(ARCH)/libstackchk-tmp.a \
     15    ../cpuuse/$(ARCH)/libcpuuse-tmp.a ../rtmonuse/$(ARCH)/librtmonuse-tmp.a \
    1616    ../dumpbuf/$(ARCH)/libdumpbuf-tmp.a
    17 
    18 TMPINSTALL_FILES += \
    19 $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
    2017
    2118$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
     
    3027        $(RM) -r $(ARCH)
    3128        mkdir $(ARCH)
    32         cd $(ARCH); for lib in $^; do \
    33                          $(AR) -xv ../$$lib; \
    34                     done
     29        cd $(ARCH); for lib in $^; do $(AR) -xv ../$$lib; done
    3530        $(AR) ruv $@ $(ARCH)/*
    3631        $(RANLIB) $@
    3732
    38 all: ${ARCH} $(LIB) $(TMPINSTALL_FILES)
     33TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
     34
     35all-local: $(ARCH) $(LIB) $(TMPINSTALL_FILES)
     36
     37.PRECIOUS: $(LIB)
    3938
    4039include $(top_srcdir)/../../../automake/local.am
  • c/src/libnetworking/configure.in

    ra976681e r70810dc  
    1010RTEMS_CANONICAL_TARGET_CPU
    1111
    12 AM_INIT_AUTOMAKE(rtems-c-src-lib-libnetworking,$RTEMS_VERSION,no)
     12AM_INIT_AUTOMAKE(rtems-c-src-libnetworking,$RTEMS_VERSION,no)
    1313AM_MAINTAINER_MODE
    1414
    1515RTEMS_ENABLE_NETWORKING
    16 RTEMS_ENABLE_LIBCDIR
    1716RTEMS_ENABLE_BARE
    1817RTEMS_ENABLE_POSIX
     
    2524RTEMS_PROJECT_ROOT
    2625
    27 dnl check target cc
    2826RTEMS_PROG_CC_FOR_TARGET
    2927RTEMS_CANONICALIZE_TOOLS
     
    3533AM_CONDITIONAL(HAS_POSIX,test "$HAS_POSIX_API" = "yes")
    3634
    37 # try to explicitly list a Makefile here
     35# Explicitly list all Makefiles here
    3836AC_OUTPUT(
    3937Makefile
  • c/src/librdbg/configure.in

    ra976681e r70810dc  
    1515RTEMS_ENABLE_NETWORKING
    1616RTEMS_ENABLE_RDBG
    17 RTEMS_ENABLE_LIBCDIR
    1817RTEMS_ENABLE_BARE
    1918
     
    2322RTEMS_CANONICAL_HOST
    2423
    25 dnl check target cc
    2624RTEMS_PROG_CC_FOR_TARGET
    2725RTEMS_CANONICALIZE_TOOLS
     
    5048RTEMS_PROJECT_ROOT
    5149
    52 # Try to explicitly list a Makefile here
     50# Explicitly list all Makefiles here
    5351AC_OUTPUT(
    5452Makefile
  • c/src/librdbg/include/Makefile.am

    ra976681e r70810dc  
    44
    55AUTOMAKE_OPTIONS = foreign 1.4
    6 ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
    76
    87SUBDIRS = rdbg
  • c/src/librdbg/src/Makefile.am

    ra976681e r70810dc  
    1 ##
     1## 
    22## $Id$
    3 ##
     3## 
    44
    55AUTOMAKE_OPTIONS = foreign 1.4
    6 ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
    76
    87SUBDIRS = $(RTEMS_CPU)
    98
    10 EXTRA_DIST = \
    11 _servtgt.c \
    12 awk.svc \
    13 excep.c \
    14 ptrace.c \
    15 rdbg.c \
    16 remdeb.x \
    17 servbkpt.c \
    18 servcon.c \
    19 servrpc.c \
    20 servtgt.c \
    21 servtsp.c \
    22 servutil.c
     9EXTRA_DIST = _servtgt.c awk.svc excep.c ptrace.c rdbg.c remdeb.x servbkpt.c \
     10    servcon.c servrpc.c servtgt.c servtsp.c servutil.c
    2311
    2412include $(top_srcdir)/../../../automake/subdirs.am
  • c/src/librdbg/src/i386/Makefile.am

    ra976681e r70810dc  
    44
    55AUTOMAKE_OPTIONS = foreign 1.4
    6 ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
    76
    87SUBDIRS = any
  • c/src/librdbg/src/powerpc/Makefile.am

    ra976681e r70810dc  
    44
    55AUTOMAKE_OPTIONS = foreign 1.4
    6 ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
    76
    87SUBDIRS = mcp750
  • c/src/librpc/configure.in

    ra976681e r70810dc  
    1515
    1616RTEMS_ENABLE_NETWORKING
    17 RTEMS_ENABLE_LIBCDIR
    1817RTEMS_ENABLE_BARE
    1918
     
    2221RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
    2322
    24 dnl check target cc
    2523RTEMS_PROG_CC_FOR_TARGET
    2624RTEMS_CANONICALIZE_TOOLS
     
    3230RTEMS_PROJECT_ROOT
    3331
    34 # try to explicitly list a Makefile here
     32# Explicitly list all Makefiles here
    3533AC_OUTPUT(
    3634Makefile
  • c/src/librtems++/configure.in

    ra976681e r70810dc  
    1515
    1616RTEMS_ENABLE_CXX
    17 RTEMS_ENABLE_LIBCDIR
    1817
    1918RTEMS_ENV_RTEMSBSP
     
    3231RTEMS_PROJECT_ROOT
    3332
     33# Explicitly list all Makefiles here
    3434AC_OUTPUT(
    3535Makefile
  • c/src/make/compilers/gcc-target-default.cfg

    ra976681e r70810dc  
    164164
    165165#
    166 # Command to convert a normal archive to one searchable by $(LD)
    167 #
    168 # NOTE: Obsolete, use $(RANLIB) instead, MKLIB may disappear soon
    169 MKLIB=$(RANLIB)
    170 
    171 
    172 #
    173166# How to compile stuff into ${ARCH} subdirectory
    174167#
    175 # OBSOLETE: we use make's default rules now
    176 #
    177 # NOTE: we override COMPILE.[c|cc|S]
    178 # because gmake default rules use TARGET_ARCH for different purposes
    179 #
    180 #
    181 # COMPILE.c=$(CC) $(CPPFLAGS) $(CFLAGS) -c
    182 # COMPILE.cc=$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c
    183 # COMPILE.S=$(CC) $(ASFLAGS) $(CPPFLAGS) -c
    184168
    185169${ARCH}/%.o: %.c
  • c/src/make/configure.in

    ra976681e r70810dc  
    2525RTEMS_ENABLE_CXX
    2626RTEMS_ENABLE_GCC28
    27 RTEMS_ENABLE_LIBCDIR
    2827RTEMS_ENABLE_BARE
    2928
     
    5756RTEMS_PROJECT_ROOT
    5857
    59 dnl check target cc
    6058RTEMS_PROG_CC_FOR_TARGET
    6159
     
    121119AC_LINK_FILES($cfg_dir/README,README)
    122120
     121# Explicitly list all Makefiles here
    123122AC_OUTPUT(
    124123Makefile
  • c/src/make/lib.cfg

    ra976681e r70810dc  
    1313$(RM) $@
    1414$(AR) $(ARFLAGS) $@ $(OBJS)
    15 $(MKLIB) $@
     15$(RANLIB) $@
    1616endef
    1717
  • c/src/tests/configure.in

    ra976681e r70810dc  
    2020RTEMS_ENABLE_CXX
    2121RTEMS_ENABLE_GCC28
    22 RTEMS_ENABLE_LIBCDIR
    2322RTEMS_ENABLE_BARE
    2423RTEMS_ENABLE_TESTS
     
    3029RTEMS_PROJECT_ROOT
    3130
    32 dnl check target cc
    3331RTEMS_PROG_CC_FOR_TARGET
    3432
     
    7270AC_CONFIG_SUBDIRS($cfg_subdirs)
    7371
    74 # Try to explicitly list a Makefile here
     72# Explicitly list all Makefiles here
    7573AC_OUTPUT(
    7674Makefile
  • c/src/tests/itrontests/configure.in

    ra976681e r70810dc  
    1515RTEMS_ENABLE_INLINES
    1616RTEMS_ENABLE_GCC28
    17 RTEMS_ENABLE_LIBCDIR
    1817RTEMS_ENABLE_BARE
    1918
     
    3837AC_SUBST(CC_LDFLAGS_PROFILE_V)
    3938
    40 # Try to explicitly list a Makefile here
     39# Explicitly list all Makefiles here
    4140AC_OUTPUT(
    4241Makefile
  • c/src/tests/libtests/configure.in

    ra976681e r70810dc  
    1616RTEMS_ENABLE_CXX
    1717RTEMS_ENABLE_GCC28
    18 RTEMS_ENABLE_LIBCDIR
    1918RTEMS_ENABLE_BARE
    2019
     
    4140AM_CONDITIONAL(HAS_CXX,test "$HAS_CPLUSPLUS" = "yes")
    4241
    43 # Try to explicitly list a Makefile here
     42# Explicitly list all Makefiles here
    4443AC_OUTPUT(
    4544Makefile
  • c/src/tests/mptests/configure.in

    ra976681e r70810dc  
    1515RTEMS_ENABLE_INLINES
    1616RTEMS_ENABLE_GCC28
    17 RTEMS_ENABLE_LIBCDIR
    1817RTEMS_ENABLE_BARE
    1918RTEMS_ENABLE_MULTIPROCESSING
     
    4241AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
    4342
    44 # Try to explicitly list a Makefile here
     43# Explicitly list all Makefiles here
    4544AC_OUTPUT(
    4645Makefile
  • c/src/tests/psxtests/configure.in

    ra976681e r70810dc  
    1515RTEMS_ENABLE_INLINES
    1616RTEMS_ENABLE_GCC28
    17 RTEMS_ENABLE_LIBCDIR
    1817RTEMS_ENABLE_BARE
    1918
     
    3837AC_SUBST(CC_LDFLAGS_PROFILE_V)
    3938
    40 # Try to explicitly list a Makefile here
     39# Explicitly list all Makefiles here
    4140AC_OUTPUT(
    4241Makefile
  • c/src/tests/samples/configure.in

    ra976681e r70810dc  
    2020RTEMS_ENABLE_CXX
    2121RTEMS_ENABLE_GCC28
    22 RTEMS_ENABLE_LIBCDIR
    2322RTEMS_ENABLE_BARE
    2423
     
    4544AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
    4645
    47 # Try to explicitly list a Makefile here
     46# Explicitly list all Makefiles here
    4847AC_OUTPUT(
    4948Makefile
  • c/src/tests/samples/hello/Makefile.am

    ra976681e r70810dc  
    3939        $(make-exe)
    4040
    41 EXTRA_DIST += $(C_FILES) $(DOCS)
     41EXTRA_DIST = $(C_FILES) $(DOCS)
    4242
    4343include $(top_srcdir)/../../../../automake/local.am
  • c/src/tests/samples/ticker/Makefile.am

    ra976681e r70810dc  
    3939        $(make-exe)
    4040
    41 EXTRA_DIST += $(C_FILES) $(DOCS)
     41EXTRA_DIST = $(C_FILES) $(DOCS)
    4242
    4343include $(top_srcdir)/../../../../automake/local.am
  • c/src/tests/sptests/configure.in

    ra976681e r70810dc  
    1515RTEMS_ENABLE_INLINES
    1616RTEMS_ENABLE_GCC28
    17 RTEMS_ENABLE_LIBCDIR
    1817RTEMS_ENABLE_BARE
    1918
     
    3837AC_SUBST(CC_LDFLAGS_PROFILE_V)
    3938
    40 # Try to explicitly list a Makefile here
     39# Explicitly list all Makefiles here
    4140AC_OUTPUT(
    4241Makefile
  • c/src/tests/support/configure.in

    ra976681e r70810dc  
    2020RTEMS_PROJECT_ROOT
    2121
    22 dnl check target cc
    2322RTEMS_PROG_CC_FOR_TARGET
    2423RTEMS_CANONICALIZE_TOOLS
     
    3130AC_SUBST(BARE_CPU_MODEL)
    3231
    33 # Try to explicitly list a Makefile here
     32# Explicitly list all Makefiles here
    3433AC_OUTPUT(
    3534Makefile
  • c/src/tests/tmitrontests/configure.in

    ra976681e r70810dc  
    1515RTEMS_ENABLE_INLINES
    1616RTEMS_ENABLE_GCC28
    17 RTEMS_ENABLE_LIBCDIR
    1817RTEMS_ENABLE_BARE
    1918
     
    4140AC_SUBST(OPERATION_COUNT)
    4241
    43 # Try to explicitly list a Makefile here
     42# Explicitly list all Makefiles here
    4443AC_OUTPUT(
    4544Makefile
  • c/src/tests/tmtests/configure.in

    ra976681e r70810dc  
    1515RTEMS_ENABLE_INLINES
    1616RTEMS_ENABLE_GCC28
    17 RTEMS_ENABLE_LIBCDIR
    1817RTEMS_ENABLE_BARE
    1918
     
    4140AC_SUBST(OPERATION_COUNT)
    4241
    43 # Try to explicitly list a Makefile here
     42# Explicitly list all Makefiles here
    4443AC_OUTPUT(
    4544Makefile
  • c/src/tests/tools/configure.in

    ra976681e r70810dc  
    99RTEMS_CANONICAL_TARGET_CPU
    1010
    11 AM_INIT_AUTOMAKE(rtems-tests-tools,$RTEMS_VERSION,no)
     11AM_INIT_AUTOMAKE(rtems-c-src-tests-tools,$RTEMS_VERSION,no)
    1212AM_MAINTAINER_MODE
    1313
     
    2020fi
    2121
     22# Explicitly list all Makefiles here
    2223AC_OUTPUT(Makefile)
  • c/src/tests/tools/generic/configure.in

    ra976681e r70810dc  
    99RTEMS_CANONICAL_TARGET_CPU
    1010
    11 AM_INIT_AUTOMAKE(rtems-tests-tools-generic,$RTEMS_VERSION,no)
     11AM_INIT_AUTOMAKE(rtems-c-src-tests-tools-generic,$RTEMS_VERSION,no)
    1212AM_MAINTAINER_MODE
    1313# Override the set of BSPs to be built.
     
    1818RTEMS_PATH_KSH
    1919
     20# Explicitly list all Makefiles here
    2021AC_OUTPUT(
    2122Makefile
  • configure.in

    ra976681e r70810dc  
    4949AC_SUBST(TARGET_SUBDIRS)
    5050
     51# Explicitly list all Makefiles here
    5152AC_OUTPUT(
    5253Makefile
  • cpukit/itron/src/Makefile.am

    ra976681e r70810dc  
    4444C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
    4545
    46 SRCS = $(C_FILES)
    4746OBJS = $(C_O_FILES)
    4847
  • cpukit/libmisc/cpuuse/Makefile.am

    ra976681e r70810dc  
    1 ##
    2 ##  $Id$
    3 ##
     1## 
     2## $Id$
     3## 
    44
    55AUTOMAKE_OPTIONS = foreign 1.4
    66
    77LIBNAME = libcpuuse-tmp
    8 LIB = ${ARCH}/${LIBNAME}.a
     8LIB = $(ARCH)/$(LIBNAME).a
    99
    1010C_FILES = cpuuse.c
    11 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
     11C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
    1212
    1313H_FILES = cpuuse.h
    14 noinst_HEADERS = $(H_FILES)
    1514
    16 SRCS = $(C_FILES) $(H_FILES)
    1715OBJS = $(C_O_FILES)
    1816
    1917include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    20 include $(RTEMS_ROOT)/make/lib.cfg
    21 
    22 PREINSTALL_FILES = \
    23 $(PROJECT_INCLUDE)/rtems \
    24 $(H_FILES:%=$(PROJECT_INCLUDE)/rtems/%)
     18include $(top_srcdir)/../../../automake/lib.am
    2519
    2620$(PROJECT_INCLUDE)/rtems:
     
    3327#
    3428
    35 ${LIB}: ${OBJS}
     29$(LIB): $(OBJS)
    3630        $(make-library)
    3731
    38 all: ${ARCH} $(PREINSTALL_FILES) $(LIB) $(TMPINSTALL_FILES)
     32PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \
     33    $(H_FILES:%=$(PROJECT_INCLUDE)/rtems/%)
    3934
    40 EXTRA_DIST += $(C_FILES)
     35all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
     36
     37.PRECIOUS: $(LIB)
     38
     39EXTRA_DIST = README cpuuse.c cpuuse.h
    4140
    4241include $(top_srcdir)/../../../automake/local.am
  • cpukit/libmisc/monitor/Makefile.am

    ra976681e r70810dc  
    1 ##
    2 ##  $Id$
    3 ##
     1## 
     2## $Id$
     3## 
    44
    55AUTOMAKE_OPTIONS = foreign 1.4
    66
    77LIBNAME = libmonitor-tmp
    8 LIB = ${ARCH}/$(LIBNAME).a
     8LIB = $(ARCH)/$(LIBNAME).a
    99
    1010# We only build multiprocessing related files if HAS_MP was defined
     
    1616
    1717if HAS_MP
    18 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o) $(MP_C_FILES:%.c=${ARCH}/%.o)
     18C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) $(MP_C_FILES:%.c=$(ARCH)/%.o)
    1919else
    20 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
     20C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
    2121endif
    2222
    2323H_FILES = monitor.h symbols.h
    24 noinst_HEADERS = $(H_FILES)
    2524
    26 SRCS = README $(C_FILES) $(H_FILES)
    2725OBJS = $(C_O_FILES)
    2826
    2927include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    30 include $(RTEMS_ROOT)/make/lib.cfg
    31 
    32 PREINSTALL_FILES = \
    33 $(PROJECT_INCLUDE)/rtems \
    34 $(H_FILES:%=$(PROJECT_INCLUDE)/rtems/%)
     28include $(top_srcdir)/../../../automake/lib.am
    3529
    3630$(PROJECT_INCLUDE)/rtems:
     
    4337#
    4438
    45 ${LIB}: ${OBJS}
     39$(LIB): $(OBJS)
    4640        $(make-library)
    4741
    48 all: ${ARCH} $(PREINSTALL_FILES) $(LIB) $(TMPINSTALL_FILES)
     42PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \
     43    $(H_FILES:%=$(PROJECT_INCLUDE)/rtems/%)
    4944
    50 EXTRA_DIST += $(C_FILES) $(MP_C_FILES)
     45all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
     46
     47.PRECIOUS: $(LIB)
     48
     49EXTRA_DIST = README mon-command.c mon-config.c mon-dname.c mon-driver.c \
     50    mon-extension.c mon-itask.c mon-manager.c mon-monitor.c mon-mpci.c \
     51    mon-object.c mon-prmisc.c mon-queue.c mon-server.c mon-symbols.c \
     52    mon-task.c monitor.h symbols.h
    5153
    5254include $(top_srcdir)/../../../automake/local.am
  • cpukit/libmisc/rtmonuse/Makefile.am

    ra976681e r70810dc  
    1 ##
    2 ##  $Id$
    3 ##
     1## 
     2## $Id$
     3## 
    44
    55AUTOMAKE_OPTIONS = foreign 1.4
    66
    77LIBNAME = librtmonuse-tmp
    8 LIB = ${ARCH}/${LIBNAME}.a
     8LIB = $(ARCH)/$(LIBNAME).a
    99
    1010C_FILES = rtmonuse.c
    11 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
     11C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
    1212
    1313H_FILES = rtmonuse.h
    14 noinst_HEADERS = $(H_FILES)
    1514
    16 SRCS = $(C_FILES) $(H_FILES)
    1715OBJS = $(C_O_FILES)
    1816
    1917include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    20 include $(RTEMS_ROOT)/make/lib.cfg
    21 
    22 PREINSTALL_FILES = \
    23 $(PROJECT_INCLUDE)/rtems \
    24 $(H_FILES:%=$(PROJECT_INCLUDE)/rtems/%)
     18include $(top_srcdir)/../../../automake/lib.am
    2519
    2620$(PROJECT_INCLUDE)/rtems:
     
    3327#
    3428
    35 ${LIB}: ${OBJS}
     29$(LIB): $(OBJS)
    3630        $(make-library)
    3731
    38 all: ${ARCH} $(PREINSTALL_FILES) $(LIB) $(TMPINSTALL_FILES)
     32PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \
     33    $(H_FILES:%=$(PROJECT_INCLUDE)/rtems/%)
    3934
    40 EXTRA_DIST += $(C_FILES)
     35all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
     36
     37.PRECIOUS: $(LIB)
     38
     39EXTRA_DIST = rtmonuse.c rtmonuse.h
    4140
    4241include $(top_srcdir)/../../../automake/local.am
  • cpukit/libmisc/stackchk/Makefile.am

    ra976681e r70810dc  
    1 ##
    2 ##  $Id$
    3 ##
     1## 
     2## $Id$
     3## 
    44
    55AUTOMAKE_OPTIONS = foreign 1.4
    66
    77LIBNAME = libstackchk-tmp
    8 LIB = ${ARCH}/${LIBNAME}.a
     8LIB = $(ARCH)/$(LIBNAME).a
    99
    1010C_FILES = check.c
    11 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
     11C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
    1212
    1313H_FILES = internal.h
    1414INSTALLED_H_FILES = stackchk.h
    15 noinst_HEADERS = $(H_FILES) $(INSTALLED_H_FILES)
    1615
    17 SRCS = $(C_FILES) $(H_FILES) $(INSTALLED_H_FILES)
    1816OBJS = $(C_O_FILES)
    1917
    2018include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    21 include $(RTEMS_ROOT)/make/lib.cfg
    22 
    23 PREINSTALL_FILES = \
    24 $(PROJECT_INCLUDE)/rtems \
    25 $(INSTALLED_H_FILES:%=$(PROJECT_INCLUDE)/rtems/%)
     19include $(top_srcdir)/../../../automake/lib.am
    2620
    2721$(PROJECT_INCLUDE)/rtems:
     
    3428#
    3529
    36 ${LIB}: ${OBJS}
     30$(LIB): $(OBJS)
    3731        $(make-library)
    3832
    39 all: ${ARCH} $(PREINSTALL_FILES) $(LIB) $(TMPINSTALL_FILES)
     33PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \
     34    $(INSTALLED_H_FILES:%=$(PROJECT_INCLUDE)/rtems/%)
    4035
    41 EXTRA_DIST += $(C_FILES)
     36all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
     37
     38.PRECIOUS: $(LIB)
     39
     40EXTRA_DIST = README check.c internal.h stackchk.h
    4241
    4342include $(top_srcdir)/../../../automake/local.am
  • cpukit/libmisc/untar/Makefile.am

    ra976681e r70810dc  
    1 ##
    2 ##  $Id$
    3 ##
     1## 
     2## $Id$
     3## 
    44
    55AUTOMAKE_OPTIONS = foreign 1.4
    66
    77LIBNAME = libuntar-tmp
    8 LIB = ${ARCH}/${LIBNAME}.a
     8LIB = $(ARCH)/$(LIBNAME).a
    99
    1010C_FILES = untar.c
    11 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
     11C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
    1212
    1313H_FILES = untar.h
    14 noinst_HEADERS = $(H_FILES)
    1514
    16 SRCS = $(C_FILES) $(H_FILES)
    1715OBJS = $(C_O_FILES)
    1816
    1917include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    20 include $(RTEMS_ROOT)/make/lib.cfg
    21 
    22 PREINSTALL_FILES = \
    23 $(PROJECT_INCLUDE)/rtems \
    24 $(H_FILES:%=$(PROJECT_INCLUDE)/rtems/%)
     18include $(top_srcdir)/../../../automake/lib.am
    2519
    2620$(PROJECT_INCLUDE)/rtems:
     
    3327#
    3428
    35 ${LIB}: ${OBJS}
     29$(LIB): $(OBJS)
    3630        $(make-library)
    3731
    38 all: ${ARCH} $(PREINSTALL_FILES) $(LIB) $(TMPINSTALL_FILES)
     32PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \
     33    $(H_FILES:%=$(PROJECT_INCLUDE)/rtems/%)
    3934
    40 EXTRA_DIST += $(C_FILES)
     35all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
     36
     37.PRECIOUS: $(LIB)
     38
     39EXTRA_DIST = README untar.c untar.h
    4140
    4241include $(top_srcdir)/../../../automake/local.am
  • cpukit/libmisc/wrapup/Makefile.am

    ra976681e r70810dc  
    1 ##
    2 ##  $Id$
    3 ##
     1## 
     2## $Id$
     3## 
    44
    55AUTOMAKE_OPTIONS = foreign 1.4
    66
    77LIBNAME = libmisc
    8 LIB = ${ARCH}/$(LIBNAME).a
     8LIB = $(ARCH)/$(LIBNAME).a
    99
    1010include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    1111include $(top_srcdir)/../../../automake/lib.am
    1212
    13 TMP_LIBS = ../monitor/$(ARCH)/libmonitor-tmp.a ../untar/$(ARCH)/libuntar-tmp.a \
    14     ../stackchk/$(ARCH)/libstackchk-tmp.a ../cpuuse/$(ARCH)/libcpuuse-tmp.a \
    15     ../rtmonuse/$(ARCH)/librtmonuse-tmp.a \
     13TMP_LIBS = ../monitor/$(ARCH)/libmonitor-tmp.a \
     14    ../untar/$(ARCH)/libuntar-tmp.a ../stackchk/$(ARCH)/libstackchk-tmp.a \
     15    ../cpuuse/$(ARCH)/libcpuuse-tmp.a ../rtmonuse/$(ARCH)/librtmonuse-tmp.a \
    1616    ../dumpbuf/$(ARCH)/libdumpbuf-tmp.a
    17 
    18 TMPINSTALL_FILES += \
    19 $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
    2017
    2118$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
     
    3027        $(RM) -r $(ARCH)
    3128        mkdir $(ARCH)
    32         cd $(ARCH); for lib in $^; do \
    33                          $(AR) -xv ../$$lib; \
    34                     done
     29        cd $(ARCH); for lib in $^; do $(AR) -xv ../$$lib; done
    3530        $(AR) ruv $@ $(ARCH)/*
    3631        $(RANLIB) $@
    3732
    38 all: ${ARCH} $(LIB) $(TMPINSTALL_FILES)
     33TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
     34
     35all-local: $(ARCH) $(LIB) $(TMPINSTALL_FILES)
     36
     37.PRECIOUS: $(LIB)
    3938
    4039include $(top_srcdir)/../../../automake/local.am
  • cpukit/posix/src/Makefile.am

    ra976681e r70810dc  
    8282C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
    8383
    84 SRCS = $(C_FILES)
    8584OBJS = $(C_O_FILES)
    8685
     
    9594AM_CFLAGS += $(CFLAGS_OS_V)
    9695
    97 all: ${ARCH} $(SRCS) ${OBJS}
     96all: ${ARCH} ${OBJS}
    9897
    9998# temporary so we can see how many things are left to implement
  • cpukit/rtems/src/Makefile.am

    ra976681e r70810dc  
    6464C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
    6565
    66 SRCS = $(C_FILES)
    6766OBJS = $(C_O_FILES)
    6867
     
    7473AM_CFLAGS += $(CFLAGS_OS_V)
    7574
    76 all: ${ARCH} $(SRCS) ${OBJS}
     75all: ${ARCH} ${OBJS}
    7776
    7877EXTRA_DIST = $(STD_C_FILES) $(MP_C_FILES)
  • cpukit/sapi/src/Makefile.am

    ra976681e r70810dc  
    99C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
    1010
    11 SRCS = $(C_FILES)
    1211OBJS = $(C_O_FILES)
    1312
  • cpukit/score/src/Makefile.am

    ra976681e r70810dc  
    6565C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
    6666
    67 SRCS = $(C_FILES)
    6867OBJS = $(C_O_FILES)
    6968
  • make/compilers/gcc-target-default.cfg

    ra976681e r70810dc  
    164164
    165165#
    166 # Command to convert a normal archive to one searchable by $(LD)
    167 #
    168 # NOTE: Obsolete, use $(RANLIB) instead, MKLIB may disappear soon
    169 MKLIB=$(RANLIB)
    170 
    171 
    172 #
    173166# How to compile stuff into ${ARCH} subdirectory
    174167#
    175 # OBSOLETE: we use make's default rules now
    176 #
    177 # NOTE: we override COMPILE.[c|cc|S]
    178 # because gmake default rules use TARGET_ARCH for different purposes
    179 #
    180 #
    181 # COMPILE.c=$(CC) $(CPPFLAGS) $(CFLAGS) -c
    182 # COMPILE.cc=$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c
    183 # COMPILE.S=$(CC) $(ASFLAGS) $(CPPFLAGS) -c
    184168
    185169${ARCH}/%.o: %.c
  • make/custom/gen68360.cfg

    ra976681e r70810dc  
    8080
    8181define make-exe
    82         $(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_LD) -o $@ \
     82        $(LINK.c) $(LDLIBS) -o $@ \
    8383            $(LINK_OBJS) $(LINK_LIBS)
    8484        $(NM) -g -n $@ > $(basename $@).num
  • make/lib.cfg

    ra976681e r70810dc  
    1313$(RM) $@
    1414$(AR) $(ARFLAGS) $@ $(OBJS)
    15 $(MKLIB) $@
     15$(RANLIB) $@
    1616endef
    1717
  • scripts-ada/configure.in

    ra976681e r70810dc  
    22
    33AC_INIT(binutils)
    4 AM_INIT_AUTOMAKE(scripts,20000125-0,no)
     4AM_INIT_AUTOMAKE(rtems-scripts_ada,20000125-0,no)
    55
    66AC_EXEEXT
  • scripts/configure.in

    ra976681e r70810dc  
    22
    33AC_INIT(binutils)
    4 AM_INIT_AUTOMAKE(scripts,20000125-0,no)
     4AM_INIT_AUTOMAKE(rtems-scripts,20000125-0,no)
    55
    66AC_EXEEXT
  • testsuites/samples/hello/Makefile.am

    ra976681e r70810dc  
    3939        $(make-exe)
    4040
    41 EXTRA_DIST += $(C_FILES) $(DOCS)
     41EXTRA_DIST = $(C_FILES) $(DOCS)
    4242
    4343include $(top_srcdir)/../../../../automake/local.am
  • testsuites/samples/ticker/Makefile.am

    ra976681e r70810dc  
    3939        $(make-exe)
    4040
    41 EXTRA_DIST += $(C_FILES) $(DOCS)
     41EXTRA_DIST = $(C_FILES) $(DOCS)
    4242
    4343include $(top_srcdir)/../../../../automake/local.am
  • tools/build/configure.in

    ra976681e r70810dc  
    2121AM_CONFIG_HEADER(config.h)
    2222
     23# Explicitly list all Makefiles here
    2324AC_OUTPUT(
    2425Makefile
  • tools/cpu/configure.in

    ra976681e r70810dc  
    2222fi
    2323
     24# Explicitly list all Makefiles here
    2425AC_OUTPUT(Makefile)
  • tools/cpu/generic/configure.in

    ra976681e r70810dc  
    99RTEMS_CANONICAL_TARGET_CPU
    1010
    11 AM_INIT_AUTOMAKE(rtems-cpu-tools-generic,$RTEMS_VERSION,no)
     11AM_INIT_AUTOMAKE(rtems-tools-cpu-generic,$RTEMS_VERSION,no)
    1212AM_MAINTAINER_MODE
    1313
     
    1717AC_SUBST(program_prefix)
    1818
     19# Explicitly list all Makefiles here
    1920AC_OUTPUT(Makefile
    2021size_rtems)
  • tools/cpu/hppa1.1/configure.in

    ra976681e r70810dc  
    99RTEMS_CANONICAL_TARGET_CPU
    1010
    11 AM_INIT_AUTOMAKE(rtems-cpu-tools-hppa,$RTEMS_VERSION,no)
     11AM_INIT_AUTOMAKE(rtems-tools-cpu-hppa1.1,$RTEMS_VERSION,no)
    1212AM_MAINTAINER_MODE
    1313AC_EXEEXT
     
    1717RTEMS_TOOLPATHS
    1818
     19# Explicitly list all Makefiles here
    1920AC_OUTPUT(Makefile)
  • tools/cpu/sh/configure.in

    ra976681e r70810dc  
    99RTEMS_CANONICAL_TARGET_CPU
    1010
    11 AM_INIT_AUTOMAKE(rtems-cpu-tools-sh,$RTEMS_VERSION,no)
     11AM_INIT_AUTOMAKE(rtems-tools-cpu-sh,$RTEMS_VERSION,no)
    1212AM_MAINTAINER_MODE
    1313AC_EXEEXT
     
    1818RTEMS_TOOLPATHS
    1919
     20# Explicitly list all Makefiles here
    2021AC_OUTPUT(Makefile)
  • tools/cpu/unix/configure.in

    ra976681e r70810dc  
    99RTEMS_CANONICAL_TARGET_CPU
    1010
    11 AM_INIT_AUTOMAKE(rtems-cpu-tools-unix,$RTEMS_VERSION,no)
     11AM_INIT_AUTOMAKE(rtems-tools-cpu-unix,$RTEMS_VERSION,no)
    1212AM_MAINTAINER_MODE
    1313AC_EXEEXT
     
    1717RTEMS_TOOLPATHS
    1818
     19# Explicitly list all Makefiles here
    1920AC_OUTPUT(Makefile)
  • tools/update/cipolish

    ra976681e r70810dc  
    1010# mv configure.in~ configure.in
    1111#
    12 # ATTENTION: This file contains embedded tabs
    13 
    14 my $nl_seen = 0 ;
     12
     13# $Id$
     14
     15# find relative up-path to configure.in
     16my $rtems_cfg = &find_file(".","VERSION");
     17my $rtems_root = &find_root() ;
     18$rtems_root =~ tr/\//\-/ ;
     19my $rtems_name = "rtems" ;
     20$rtems_name .=  "-" . "$rtems_root" if (length($rtems_root) > 0 ) ;
     21
     22my @buffer = () ;
     23
     24while ( <> )
     25{
     26  push @buffer, "$_" ;
     27}
     28
     29{
     30  my @tbuf = () ;
     31
     32  foreach ( @buffer )
     33  {
     34    if ( /^#.*list.*Makefile.*$/o ) {}
     35    elsif ( /^dnl[\s]+check.*target.*cc.*$/o ) {}
     36    elsif ( /^[\s]*AC_CONFIG_AUX_DIR\(.*\)[\s]*$/o )
     37    {
     38      push @tbuf, "AC_CONFIG_AUX_DIR($rtems_cfg)\n" ;
     39    }
     40    elsif ( /^[\s]*RTEMS_TOP\(.*\)[\s]*$/o )
     41    {
     42      push @tbuf, "RTEMS_TOP($rtems_cfg)\n" ;
     43    }
     44    elsif ( /^[\s]*AM_INIT_AUTOMAKE\(.*\)[\s]*$/o )
     45    {
     46      push @tbuf, "AM_INIT_AUTOMAKE($rtems_name,\$RTEMS_VERSION,no)\n" ;
     47    }
     48    elsif ( /^[\s]*AC_SUBST\(RTEMS_HAS_POSIX_API\)[\s]*$/o )
     49    {
     50      #remove the line
     51    }
     52    elsif ( /^[\s]*AC_SUBST\(RTEMS_HAS_ITRON_API\)[\s]*$/o )
     53    {
     54      #remove the line
     55    }
     56    elsif ( /^[\s]*AC_SUBST\(RTEMS_HAS_HWAPI\)[\s]*$/o )
     57    {
     58      #remove the line
     59    }
     60    elsif ( /^[\s]*AC_SUBST\(RTEMS_USE_MACROS\)[\s]*$/o )
     61    {
     62      #remove the line
     63    }
     64    elsif ( /^[\s]*AC_SUBST\(RTEMS_HAS_MULTIPROCESSING\)[\s]*$/o )
     65    {
     66      #remove the line
     67    }
     68    elsif ( /^[\s]*AC_SUBST\(RTEMS_HAS_RDBG\)[\s]*$/o )
     69    {
     70      #remove the line
     71    }
     72    elsif ( /^[\s\t]*AC_SUBST\(RTEMS_USE_OWN_PDIR\)[\s]*$/o )
     73    { # obsolete option
     74      #remove the line
     75    }
     76    elsif ( /^[\s\t]*RTEMS_ENABLE_GMAKE_PRINT[     ]*$/o )
     77    { # obsolete macro
     78      #remove the line
     79    }
     80    elsif ( /^[\s]*AC_SUBST\(RTEMS_HAS_NETWORKING\)[\s]*$/o )
     81    {
     82      #remove the line
     83    }
     84    elsif ( /^[\s]*AC_SUBST\(RTEMS_LIBC_DIR\)[\s]*$/o )
     85    {
     86      #remove the line
     87    }
     88    elsif ( /^[\s]*AC_SUBST\(PROJECT_ROOT\)[\s]*$/o )
     89    {
     90      #remove the line
     91    }
     92    elsif ( /^[\s]*AC_SUBST\(RTEMS_GAS_CODE16\)[\s]*$/o )
     93    {
     94      #remove the line
     95    }
     96    elsif ( /^[\s]*PROJECT_ROOT[\s]*=.*$/o )
     97    {
     98      #remove the line
     99    }
     100    elsif ( /^[\s]*(RTEMS_ENABLE_LIBCDIR).*$/o )
     101    { #remove the line
     102      &define_variable("$1","");
     103      push @tbuf, "$_" ;
     104    }
     105    elsif ( /^[\s]*(RTEMS_PROG_CC_FOR_TARGET).*$/o )
     106    {
     107      &define_variable("$1","");
     108      push @tbuf, "$_" ;
     109    }
     110    elsif ( /^[\s]*(RTEMS_PROG_CXX_FOR_TARGET).*$/o )
     111    {
     112      &define_variable("$1","");
     113      push @tbuf, "$_" ;
     114    }
     115    else
     116    {
     117      push @tbuf, "$_" ;
     118    }
     119  } # foreach
     120  @buffer = @tbuf ;
     121}
     122
     123{
     124  my @tbuf = () ;
     125  foreach ( @buffer )
     126  {
     127    if ( /^[\s]*(RTEMS_ENABLE_LIBCDIR).*$/o )
     128    {
     129      if (  ( not defined $var_RTEMS_PROG_CC_FOR_TARGET )
     130        and ( not defined $var_RTEMS_PROG_CXX_FOR_TARGET )
     131      )
     132      {
     133        push @tbuf, "$_" ;
     134      }
     135    }
     136    elsif ( /^AC_OUTPUT.*$/o )
     137    {
     138      push @tbuf, "# Explicitly list all Makefiles here\n" ;
     139      push @tbuf, "$_" ;
     140    }
     141    else
     142    {
     143      push @tbuf, "$_" ;
     144    }
     145  }
     146  @buffer = @tbuf ;
     147}
     148
     149{ ## pretty print
     150  my $out = join ('',@buffer) ;
     151  $out =~ s/\s\#\n(\#\n)+/\n/g ;
     152  $out =~ s/\n\n\#\n\n/\n/g ;
     153  $out =~ s/\n\n[\n]*/\n\n/g ;
     154  print $out ;
     155}
     156
     157exit 1 ;
    15158
    16159# find a relative up-path to a file $file, starting at directory $pre
    17 sub find_file
     160sub find_file($$)
    18161{
    19162  my $pre = $_[0] ;
     
    43186}
    44187
    45 # find relative up-path to configure.in
    46 my $rtems_cfg = find_file(".","VERSION");
    47 
    48 
    49 while( <> )
    50 {
    51   if ( /^[      ]*$/o )
    52   {
    53     $nl_seen = $nl_seen+1;
    54   }
    55 
    56   if ( /^[      ]*AC_CONFIG_AUX_DIR\(.*\)[      ]*$/o )
    57   {
    58     print "AC_CONFIG_AUX_DIR($rtems_cfg)\n" ;
    59   }
    60   elsif ( /^[   ]*RTEMS_TOP\(.*\)[      ]*$/o )
    61   {
    62     print "RTEMS_TOP($rtems_cfg)\n" ;
    63   }
    64   elsif ( /^[   ]*AC_SUBST\(RTEMS_HAS_POSIX_API\)[      ]*$/o )
    65   {
    66     #remove the line
    67   }
    68   elsif ( /^[   ]*AC_SUBST\(RTEMS_HAS_ITRON_API\)[      ]*$/o )
    69   {
    70     #remove the line
    71   }
    72   elsif ( /^[   ]*AC_SUBST\(RTEMS_HAS_HWAPI\)[  ]*$/o )
    73   {
    74     #remove the line
    75   }
    76   elsif ( /^[   ]*AC_SUBST\(RTEMS_USE_MACROS\)[         ]*$/o )
    77   {
    78     #remove the line
    79   }
    80   elsif ( /^[   ]*AC_SUBST\(RTEMS_HAS_MULTIPROCESSING\)[        ]*$/o )
    81   {
    82     #remove the line
    83   }
    84   elsif ( /^[   ]*AC_SUBST\(RTEMS_HAS_RDBG\)[   ]*$/o )
    85   {
    86     #remove the line
    87   }
    88   elsif ( /^[\s\t]*AC_SUBST\(RTEMS_USE_OWN_PDIR\)[      ]*$/o )
    89   { # obsolete option
    90     #remove the line
    91   }
    92   elsif ( /^[\s\t]*RTEMS_ENABLE_GMAKE_PRINT[     ]*$/o )
    93   { # obsolete macro
    94     #remove the line
    95   }
    96   elsif ( /^[   ]*AC_SUBST\(RTEMS_HAS_NETWORKING\)[     ]*$/o )
    97   {
    98     #remove the line
    99   }
    100   elsif ( /^[   ]*AC_SUBST\(RTEMS_LIBC_DIR\)[   ]*$/o )
    101   {
    102     #remove the line
    103   }
    104   elsif ( /^[   ]*AC_SUBST\(PROJECT_ROOT\)[     ]*$/o )
    105   {
    106     #remove the line
    107   }
    108   elsif ( /^[   ]*AC_SUBST\(RTEMS_GAS_CODE16\)[         ]*$/o )
    109   {
    110     #remove the line
    111   }
    112   elsif ( /^[   ]*PROJECT_ROOT[         ]*=.*$/o )
    113   {
    114     #remove the line
    115   }
    116   elsif ( /^[   ]*$/o )
    117   {
    118     print "$_" if $nl_seen < 2 ;
     188sub find_root()
     189{
     190  my $top_builddir = "." ;
     191  my $subdir="";
     192  my $pwd = `pwd`; chomp $pwd;
     193  $pwd .= "/" ;
     194  my $len ;
     195
     196  if ( -f "VERSION" )  { return $subdir ; }
     197  my $i = rindex($pwd,'/');
     198
     199  $len = $i;
     200  $pwd = substr($pwd,0,$len);
     201  $i = rindex($pwd,'/');
     202  $subdir = substr($pwd,$i+1,$len - 1);
     203  $top_builddir = ".." ; 
     204
     205  while( -d "$top_builddir" )
     206  {
     207    if ( -f "${top_builddir}/VERSION" ) 
     208    {
     209      return $subdir ;
     210    }
     211    $len=$i;
     212    $pwd = substr($pwd,0,$len);
     213    $i = rindex($pwd,'/');
     214    $subdir = substr($pwd,$i+1,$len - 1) . "/$subdir";
     215    $top_builddir .= "/.." ; 
     216  } ;
     217  die "Can't find VERSION\n" ;
     218}
     219
     220sub define_variable
     221{
     222  my ($name,$value) = @_ ;
     223
     224  if ( not defined ${"var_$name"} )
     225  {
     226# print STDERR "DEFINING $name = $value\n" ;
     227    push @vars, "$name" ;
     228    ${"var_$name"} = "$value" ;
    119229  }
    120230  else
    121231  {
    122     print "$_" ;
    123     $nl_seen = 0;
     232# print STDERR "APPENDING <$name> <- <$value>\n" ;
     233    ${"var_$name"} .= " $value" ;
    124234  }
    125 } # while
    126 
    127 ;1
     235}
     236
  • tools/update/configure.in

    ra976681e r70810dc  
    1919
    2020RTEMS_TOOLPATHS
     21# Explicitly list all Makefiles here
    2122AC_OUTPUT(
    2223Makefile
Note: See TracChangeset for help on using the changeset viewer.