Changeset 5a8a05b in rtems


Ignore:
Timestamp:
Jan 24, 2003, 12:05:44 PM (18 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
22bd219b
Parents:
086aae8f
Message:

2002-01-24 Ralf Corsepius <corsepiu@…>

  • configure.ac: Add check for weak function attribute. Remove AM_CONDITIONAL([RTEMS_LIBSHELL]. Add AM_CONDITIONAL(LIBSHELL), AM_CONDITIONAL(LIBSERDBG).
  • capture/Makefile.am: Use *.a instead of *-tmp.a.
  • cpuuse/Makefile.am: Use *.a instead of *-tmp.a.
  • devnull/Makefile.am: Use *.a instead of *-tmp.a.
  • dummy/Makefile.am: Use *.a instead of *-tmp.a.
  • dumpbuf/Makefile.am: Use *.a instead of *-tmp.a.
  • monitor/Makefile.am: Use *.a instead of *-tmp.a.
  • mw-fb/Makefile.am: Use *.a instead of *-tmp.a.
  • rtmonuse/Makefile.am: Use *.a instead of *-tmp.a.
  • serdbg/Makefile.am: Use *.a instead of *-tmp.a. Build iff LIBSERDBG is true.
  • shell/Makefile.am: Use *.a instead of *-tmp.a. Build iff LIBSHELL is true.
  • stackchk/Makefile.am: Use *.a instead of *-tmp.a.
  • untar/Makefile.am: Use *.a instead of *-tmp.a.
  • wrapup/Makefile.am: Reflect changes above.
Location:
cpukit/libmisc
Files:
15 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/ChangeLog

    r086aae8f r5a8a05b  
     12002-01-24      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * configure.ac: Add check for weak function attribute.
     4        Remove AM_CONDITIONAL([RTEMS_LIBSHELL].
     5        Add AM_CONDITIONAL(LIBSHELL), AM_CONDITIONAL(LIBSERDBG).
     6        * capture/Makefile.am:  Use *.a instead of *-tmp.a.
     7        * cpuuse/Makefile.am:  Use *.a instead of *-tmp.a.
     8        * devnull/Makefile.am:  Use *.a instead of *-tmp.a.
     9        * dummy/Makefile.am:  Use *.a instead of *-tmp.a.
     10        * dumpbuf/Makefile.am:  Use *.a instead of *-tmp.a.
     11        * monitor/Makefile.am:  Use *.a instead of *-tmp.a.
     12        * mw-fb/Makefile.am:  Use *.a instead of *-tmp.a.
     13        * rtmonuse/Makefile.am:  Use *.a instead of *-tmp.a.
     14        * serdbg/Makefile.am:  Use *.a instead of *-tmp.a.
     15        Build iff LIBSERDBG is true.
     16        * shell/Makefile.am:  Use *.a instead of *-tmp.a.
     17        Build iff LIBSHELL is true.
     18        * stackchk/Makefile.am:  Use *.a instead of *-tmp.a.
     19        * untar/Makefile.am:  Use *.a instead of *-tmp.a.
     20        * wrapup/Makefile.am: Reflect changes above.
     21
    1222002-12-12      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    223
  • cpukit/libmisc/capture/Makefile.am

    r086aae8f r5a8a05b  
    55include_rtemsdir = $(includedir)/rtems
    66
    7 LIBNAME = libcapture-tmp
     7LIBNAME = libcapture
    88LIB = $(ARCH)/$(LIBNAME).a
    99
  • cpukit/libmisc/configure.ac

    r086aae8f r5a8a05b  
    3737AC_MSG_RESULT([$HAVE_ASSIGNABLE_STDIO])
    3838
    39 AM_CONDITIONAL([RTEMS_LIBSHELL],[test x"$HAVE_ASSIGNABLE_STDIO" = x"yes"])
     39# serdbg exploits weak symbols
     40AC_CACHE_CHECK([whether $CC supports function __attribute__((weak))],
     41[rtems_cv_cc_attribute_weak],[
     42  AS_IF([test $GCC = yes],[
     43    save_CFLAGS=$CFLAGS
     44    CFLAGS=-Werror])
     45
     46  AC_COMPILE_IFELSE([
     47    AC_LANG_PROGRAM(
     48    [void myfunc(char c) __attribute__ ((weak));
     49     void myfunc(char c) {}],
     50    [])],
     51    [rtems_cv_cc_attribute_weak=yes],
     52    [rtems_cv_cc_attribute_weak=no])
     53
     54  AS_IF([test $GCC = yes],[
     55    CFLAGS=$save_CFLAGS])
     56])
     57
     58AM_CONDITIONAL([LIBSHELL],[test x"$HAVE_ASSIGNABLE_STDIO" = x"yes"])
     59AM_CONDITIONAL([LIBSERDBG],[test x"$rtems_cv_cc_attribute_weak" = x"yes"])
    4060
    4161# Explicitly list all Makefiles here
  • cpukit/libmisc/cpuuse/Makefile.am

    r086aae8f r5a8a05b  
    66include_rtemsdir = $(includedir)/rtems
    77
    8 LIBNAME = libcpuuse-tmp
     8LIBNAME = libcpuuse
    99LIB = $(ARCH)/$(LIBNAME).a
    1010
  • cpukit/libmisc/devnull/Makefile.am

    r086aae8f r5a8a05b  
    66include_rtemsdir = $(includedir)/rtems
    77
    8 LIBNAME = libdevnull-tmp
     8LIBNAME = libdevnull
    99LIB = $(ARCH)/$(LIBNAME).a
    1010
  • cpukit/libmisc/dummy/Makefile.am

    r086aae8f r5a8a05b  
    44
    55
    6 LIBNAME = libdummy-tmp
     6LIBNAME = libdummy
    77LIB = $(ARCH)/$(LIBNAME).a
    88
  • cpukit/libmisc/dumpbuf/Makefile.am

    r086aae8f r5a8a05b  
    66include_rtemsdir = $(includedir)/rtems
    77
    8 LIBNAME = libdumpbuf-tmp
     8LIBNAME = libdumpbuf
    99LIB = $(ARCH)/$(LIBNAME).a
    1010
  • cpukit/libmisc/monitor/Makefile.am

    r086aae8f r5a8a05b  
    66include_rtemsdir = $(includedir)/rtems
    77
    8 LIBNAME = libmonitor-tmp
     8LIBNAME = libmonitor
    99LIB = $(ARCH)/$(LIBNAME).a
    1010
  • cpukit/libmisc/mw-fb/Makefile.am

    r086aae8f r5a8a05b  
    66include_rtemsdir = $(includedir)/rtems
    77
    8 LIBNAME = libmw-fb-tmp
     8LIBNAME = libmw-fb
    99LIB = ${ARCH}/${LIBNAME}.a
    1010
  • cpukit/libmisc/rtmonuse/Makefile.am

    r086aae8f r5a8a05b  
    66include_rtemsdir = $(includedir)/rtems
    77
    8 LIBNAME = librtmonuse-tmp
     8LIBNAME = librtmonuse
    99LIB = $(ARCH)/$(LIBNAME).a
    1010
  • cpukit/libmisc/serdbg/Makefile.am

    r086aae8f r5a8a05b  
    55include_rtemsdir = $(includedir)/rtems
    66
    7 LIBNAME = libserdbg-tmp
     7LIBNAME = libserdbg
    88LIB = $(ARCH)/$(LIBNAME).a
    99
     
    1212
    1313noinst_HEADERS =
     14if LIBSERDBG
    1415include_HEADERS = serdbgcnf.h serdbg.h termios_printk_cnf.h \
    1516                  termios_printk.h
     17endif
    1618
    1719include $(top_srcdir)/../automake/compile.am
     
    3335    $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
    3436
     37if LIBSERDBG
    3538all-local: $(ARCH) $(PREINSTALL_FILES) $(LIB)
     39endif
    3640
    3741.PRECIOUS: $(LIB)
  • cpukit/libmisc/shell/Makefile.am

    r086aae8f r5a8a05b  
    66include_rtemsdir = $(includedir)/rtems
    77
    8 LIBNAME = libshell-tmp
     8LIBNAME = libshell
    99LIB = $(ARCH)/$(LIBNAME).a
    1010
     
    1212OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
    1313
    14 if RTEMS_LIBSHELL
     14if LIBSHELL
    1515include_rtems_HEADERS = shell.h
    1616endif
     
    3434    $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%)
    3535
    36 if RTEMS_LIBSHELL
     36if LIBSHELL
    3737all-local: $(ARCH) $(PREINSTALL_FILES) $(LIB)
    3838endif
  • cpukit/libmisc/stackchk/Makefile.am

    r086aae8f r5a8a05b  
    66include_rtemsdir = $(includedir)/rtems
    77
    8 LIBNAME = libstackchk-tmp
     8LIBNAME = libstackchk
    99LIB = $(ARCH)/$(LIBNAME).a
    1010
  • cpukit/libmisc/untar/Makefile.am

    r086aae8f r5a8a05b  
    66include_rtemsdir = $(includedir)/rtems
    77
    8 LIBNAME = libuntar-tmp
     8LIBNAME = libuntar
    99LIB = $(ARCH)/$(LIBNAME).a
    1010
  • cpukit/libmisc/wrapup/Makefile.am

    r086aae8f r5a8a05b  
    88include $(top_srcdir)/../automake/lib.am
    99
    10 ## XXX temporarily remove this from the list because it causes a
     10TMP_LIBS = ../monitor/$(ARCH)/libmonitor.a
     11TMP_LIBS += ../untar/$(ARCH)/libuntar.a
     12TMP_LIBS += ../stackchk/$(ARCH)/libstackchk.a
     13TMP_LIBS += ../cpuuse/$(ARCH)/libcpuuse.a
     14TMP_LIBS += ../rtmonuse/$(ARCH)/librtmonuse.a
     15
     16## XXX temporarily remove this from the list because it causes a
    1117## XXX number of BSPs to not link "main(){}" used by autoconf
    12 ##    ../serdbg/$(ARCH)/libserdbg-tmp.a
     18# if LIBSERDBG
     19# TMP_LIBS += ../serdbg/$(ARCH)/libserdbg.a
     20# endif
    1321
    14 if RTEMS_LIBSHELL
    15 RTEMS_LIBSHELL = ../shell/$(ARCH)/libshell-tmp.a
     22if LIBSHELL
     23TMP_LIBS += ../shell/$(ARCH)/libshell.a
    1624endif
    1725
    18 TMP_LIBS = ../monitor/$(ARCH)/libmonitor-tmp.a \
    19     ../untar/$(ARCH)/libuntar-tmp.a ../stackchk/$(ARCH)/libstackchk-tmp.a \
    20     ../cpuuse/$(ARCH)/libcpuuse-tmp.a ../rtmonuse/$(ARCH)/librtmonuse-tmp.a \
    21     $(RTEMS_LIBSHELL) ../dumpbuf/$(ARCH)/libdumpbuf-tmp.a \
    22     ../devnull/$(ARCH)/libdevnull-tmp.a ../dummy/$(ARCH)/libdummy-tmp.a \
    23     ../mw-fb/$(ARCH)/libmw-fb-tmp.a ../capture/$(ARCH)/libcapture-tmp.a
     26TMP_LIBS += ../dumpbuf/$(ARCH)/libdumpbuf.a
     27TMP_LIBS += ../devnull/$(ARCH)/libdevnull.a
     28TMP_LIBS += ../dummy/$(ARCH)/libdummy.a
     29TMP_LIBS += ../mw-fb/$(ARCH)/libmw-fb.a
     30TMP_LIBS += ../capture/$(ARCH)/libcapture.a
    2431
    2532#
Note: See TracChangeset for help on using the changeset viewer.