Changeset 22b689b in rtems


Ignore:
Timestamp:
11/14/02 12:13:26 (21 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
6184265d
Parents:
6a31b7c0
Message:

2002-11-14 Ralf Corsepius <corsepiu@…>

  • capture/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • serdbg/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • serdbg/serdbgio.c: Add #include <unistd.h>.
  • shell/Makefile.am: Add RTEMS_LIBSHELL conditional.
  • wrapup/Makefile.am: Add RTEMS_LIBSHELL conditional.
  • configure.ac: Check for stdio assignments. Add RTEMS_LIBSHELL conditional.
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • c/src/libmisc/ChangeLog

    r6a31b7c0 r22b689b  
     12002-11-14      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * capture/Makefile.am: Remove AUTOMAKE_OPTIONS.
     4        * serdbg/Makefile.am: Remove AUTOMAKE_OPTIONS.
     5        * serdbg/serdbgio.c: Add #include <unistd.h>.
     6        * shell/Makefile.am: Add RTEMS_LIBSHELL conditional.
     7        * wrapup/Makefile.am: Add RTEMS_LIBSHELL conditional.
     8        * configure.ac: Check for stdio assignments.
     9        Add RTEMS_LIBSHELL conditional.
     10
    1112002-11-01      Joel Sherrill <joel@OARcorp.com>
    212
  • c/src/libmisc/capture/Makefile.am

    r6a31b7c0 r22b689b  
    22## $Id$
    33##
    4 
    5 AUTOMAKE_OPTIONS = foreign 1.4
    64
    75include_rtemsdir = $(includedir)/rtems
  • c/src/libmisc/configure.ac

    r6a31b7c0 r22b689b  
    3030AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
    3131
     32# shell/* wants to assign file descriptors to stdio file descriptors.
     33AC_MSG_CHECKING([for assignable stdio])
     34AC_COMPILE_IFELSE(
     35  [AC_LANG_PROGRAM(
     36    [#include <stdio.h>],
     37    [stdin = fopen("/tmp", "r")])],
     38  [HAVE_ASSIGNABLE_STDIO=yes],
     39  [HAVE_ASSIGNABLE_STDIO=no])
     40AC_MSG_RESULT([$HAVE_ASSIGNABLE_STDIO])
     41
     42AM_CONDITIONAL([RTEMS_LIBSHELL],[test x"$HAVE_ASSIGNABLE_STDIO" = x"yes"])
     43
    3244# Explicitly list all Makefiles here
    3345AC_CONFIG_FILES([Makefile
  • c/src/libmisc/serdbg/Makefile.am

    r6a31b7c0 r22b689b  
    22## $Id$
    33##
    4 
    5 AUTOMAKE_OPTIONS = foreign 1.4
    64
    75include_rtemsdir = $(includedir)/rtems
  • c/src/libmisc/serdbg/serdbgio.c

    r6a31b7c0 r22b689b  
    2929#include <rtems/libio_.h>
    3030#include <errno.h>
     31#include <unistd.h> /* close */
    3132#include <stdio.h>
    3233#include <fcntl.h>
  • c/src/libmisc/shell/Makefile.am

    r6a31b7c0 r22b689b  
    1212C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
    1313
     14if RTEMS_LIBSHELL
    1415include_rtems_HEADERS = shell.h
     16endif
    1517
    1618OBJS = $(C_O_FILES)
     
    3537    $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%)
    3638
     39if RTEMS_LIBSHELL
    3740all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
     41endif
    3842
    3943.PRECIOUS: $(LIB)
    4044
    41 EXTRA_DIST = README shell.c cmds.c
     45EXTRA_DIST = README shell.c cmds.c shell.h
    4246
    4347include $(top_srcdir)/../../../automake/local.am
  • c/src/libmisc/wrapup/Makefile.am

    r6a31b7c0 r22b689b  
    1212## XXX number of BSPs to not link "main(){}" used by autoconf
    1313##    ../serdbg/$(ARCH)/libserdbg-tmp.a
    14  
     14
     15if RTEMS_LIBSHELL
     16RTEMS_LIBSHELL = ../shell/$(ARCH)/libshell-tmp.a
     17endif
     18
    1519TMP_LIBS = ../monitor/$(ARCH)/libmonitor-tmp.a \
    1620    ../untar/$(ARCH)/libuntar-tmp.a ../stackchk/$(ARCH)/libstackchk-tmp.a \
    1721    ../cpuuse/$(ARCH)/libcpuuse-tmp.a ../rtmonuse/$(ARCH)/librtmonuse-tmp.a \
    18     ../shell/$(ARCH)/libshell-tmp.a ../dumpbuf/$(ARCH)/libdumpbuf-tmp.a \
     22    $(RTEMS_LIBSHELL) ../dumpbuf/$(ARCH)/libdumpbuf-tmp.a \
    1923    ../devnull/$(ARCH)/libdevnull-tmp.a ../dummy/$(ARCH)/libdummy-tmp.a \
    2024    ../mw-fb/$(ARCH)/libmw-fb-tmp.a ../capture/$(ARCH)/libcapture-tmp.a
  • cpukit/libmisc/ChangeLog

    r6a31b7c0 r22b689b  
     12002-11-14      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * capture/Makefile.am: Remove AUTOMAKE_OPTIONS.
     4        * serdbg/Makefile.am: Remove AUTOMAKE_OPTIONS.
     5        * serdbg/serdbgio.c: Add #include <unistd.h>.
     6        * shell/Makefile.am: Add RTEMS_LIBSHELL conditional.
     7        * wrapup/Makefile.am: Add RTEMS_LIBSHELL conditional.
     8        * configure.ac: Check for stdio assignments.
     9        Add RTEMS_LIBSHELL conditional.
     10
    1112002-11-01      Joel Sherrill <joel@OARcorp.com>
    212
  • cpukit/libmisc/capture/Makefile.am

    r6a31b7c0 r22b689b  
    22## $Id$
    33##
    4 
    5 AUTOMAKE_OPTIONS = foreign 1.4
    64
    75include_rtemsdir = $(includedir)/rtems
  • cpukit/libmisc/configure.ac

    r6a31b7c0 r22b689b  
    3030AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
    3131
     32# shell/* wants to assign file descriptors to stdio file descriptors.
     33AC_MSG_CHECKING([for assignable stdio])
     34AC_COMPILE_IFELSE(
     35  [AC_LANG_PROGRAM(
     36    [#include <stdio.h>],
     37    [stdin = fopen("/tmp", "r")])],
     38  [HAVE_ASSIGNABLE_STDIO=yes],
     39  [HAVE_ASSIGNABLE_STDIO=no])
     40AC_MSG_RESULT([$HAVE_ASSIGNABLE_STDIO])
     41
     42AM_CONDITIONAL([RTEMS_LIBSHELL],[test x"$HAVE_ASSIGNABLE_STDIO" = x"yes"])
     43
    3244# Explicitly list all Makefiles here
    3345AC_CONFIG_FILES([Makefile
  • cpukit/libmisc/serdbg/Makefile.am

    r6a31b7c0 r22b689b  
    22## $Id$
    33##
    4 
    5 AUTOMAKE_OPTIONS = foreign 1.4
    64
    75include_rtemsdir = $(includedir)/rtems
  • cpukit/libmisc/serdbg/serdbgio.c

    r6a31b7c0 r22b689b  
    2929#include <rtems/libio_.h>
    3030#include <errno.h>
     31#include <unistd.h> /* close */
    3132#include <stdio.h>
    3233#include <fcntl.h>
  • cpukit/libmisc/shell/Makefile.am

    r6a31b7c0 r22b689b  
    1212C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
    1313
     14if RTEMS_LIBSHELL
    1415include_rtems_HEADERS = shell.h
     16endif
    1517
    1618OBJS = $(C_O_FILES)
     
    3537    $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%)
    3638
     39if RTEMS_LIBSHELL
    3740all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
     41endif
    3842
    3943.PRECIOUS: $(LIB)
    4044
    41 EXTRA_DIST = README shell.c cmds.c
     45EXTRA_DIST = README shell.c cmds.c shell.h
    4246
    4347include $(top_srcdir)/../../../automake/local.am
  • cpukit/libmisc/wrapup/Makefile.am

    r6a31b7c0 r22b689b  
    1212## XXX number of BSPs to not link "main(){}" used by autoconf
    1313##    ../serdbg/$(ARCH)/libserdbg-tmp.a
    14  
     14
     15if RTEMS_LIBSHELL
     16RTEMS_LIBSHELL = ../shell/$(ARCH)/libshell-tmp.a
     17endif
     18
    1519TMP_LIBS = ../monitor/$(ARCH)/libmonitor-tmp.a \
    1620    ../untar/$(ARCH)/libuntar-tmp.a ../stackchk/$(ARCH)/libstackchk-tmp.a \
    1721    ../cpuuse/$(ARCH)/libcpuuse-tmp.a ../rtmonuse/$(ARCH)/librtmonuse-tmp.a \
    18     ../shell/$(ARCH)/libshell-tmp.a ../dumpbuf/$(ARCH)/libdumpbuf-tmp.a \
     22    $(RTEMS_LIBSHELL) ../dumpbuf/$(ARCH)/libdumpbuf-tmp.a \
    1923    ../devnull/$(ARCH)/libdevnull-tmp.a ../dummy/$(ARCH)/libdummy-tmp.a \
    2024    ../mw-fb/$(ARCH)/libmw-fb-tmp.a ../capture/$(ARCH)/libcapture-tmp.a
Note: See TracChangeset for help on using the changeset viewer.