Changeset 0f9e7f96 in rtems for c/src/ada-tests


Ignore:
Timestamp:
Jan 3, 2003, 10:51:40 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
7ab11c0
Parents:
e1fe652
Message:

2003-01-03 Joel Sherrill <joel@…>

  • ada.am, samples/ticker/Makefile.am, sptests/sp01/Makefile.am, sptests/sp01/config.h, sptests/sp04/Makefile.am, sptests/sp04/config.h, support/init.c: Modified build rules slightly so gnat_main is used as the Ada main entry point. Modified sp01 and sp04 Makefile.am's to compile and link with init.o. The test config.h's specified the Ada application requirements -- not the Classic API ones.
Location:
c/src/ada-tests
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • c/src/ada-tests/ChangeLog

    re1fe652 r0f9e7f96  
     12003-01-03      Joel Sherrill <joel@OARcorp.com>
     2
     3        * ada.am, samples/ticker/Makefile.am, sptests/sp01/Makefile.am,
     4        sptests/sp01/config.h, sptests/sp04/Makefile.am,
     5        sptests/sp04/config.h, support/init.c: Modified build rules slightly
     6        so gnat_main is used as the Ada main entry point.  Modified
     7        sp01 and sp04 Makefile.am's to compile and link with init.o.
     8        The test config.h's specified the Ada application requirements -- not
     9        the Classic API ones.
     10
    1112003-01-03      Joel Sherrill <joel@OARcorp.com>
    212
  • c/src/ada-tests/ada.am

    re1fe652 r0f9e7f96  
    88
    99GNATCOMPILE = $(GNATMAKE) \
     10-bargs -Mgnat_main \
    1011-margs $(AM_ADAFLAGS) $(ADAFLAGS) \
    1112-cargs $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) \
    1213-largs $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) \
    13 $(AM_LDFLAGS) $(LDFLAGS)
     14$(AM_LDFLAGS) $(LDFLAGS) init.o
    1415
    1516CLEANFILES = *.ali *.o b~*.adb b~*.ads
    1617
     18%.o: %.c
     19        $(CC) $(CFLAGS) -I@srcdir@ -c $< -o $@
  • c/src/ada-tests/samples/ticker/Makefile.am

    re1fe652 r0f9e7f96  
    11## $Id$
     2
     3VPATH = @srcdir@:@srcdir@/../../support
    24
    35include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
     
    68include $(top_srcdir)/ada.am
    79
    8 ticker$(EXEEXT): ticker.adb
     10ticker$(EXEEXT): ticker.adb init.o
    911        $(GNATCOMPILE) -margs -a $< -o $@
    1012
  • c/src/ada-tests/sptests/sp01/Makefile.am

    re1fe652 r0f9e7f96  
    11## $Id$
     2
     3VPATH = @srcdir@:@srcdir@/../../support
    24
    35include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
     
    1012sp01_SOURCES = sp01.adb config.h sptest.adb sptest.ads
    1113
    12 sp01$(EXEEXT): sp01.adb
     14sp01$(EXEEXT): sp01.adb init.o
    1315        $(GNATCOMPILE) -margs -a $< -o $@
    1416
  • c/src/ada-tests/sptests/sp01/config.h

    re1fe652 r0f9e7f96  
    2929#define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES  10
    3030
     31#define CONFIGURE_MAXIMUM_TASKS             4
     32
    3133#include <confdefs.h>
    3234
  • c/src/ada-tests/sptests/sp04/Makefile.am

    re1fe652 r0f9e7f96  
    11## $Id$
     2
     3VPATH = @srcdir@:@srcdir@/../../support
    24
    35include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
     
    1315sp04_SOURCES = sp04.adb config.h sptest.adb sptest.ads
    1416
    15 sp04$(EXEEXT): sp04.adb
     17sp04$(EXEEXT): sp04.adb init.o
    1618        $(GNATCOMPILE) -margs -a $< -o $@
    1719
  • c/src/ada-tests/sptests/sp04/config.h

    re1fe652 r0f9e7f96  
    3232#define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES  10
    3333
     34#define CONFIGURE_MAXIMUM_TASKS             4
     35
    3436#include <confdefs.h>
    3537
  • c/src/ada-tests/support/init.c

    re1fe652 r0f9e7f96  
    4343
    4444#define CONFIGURE_INIT
     45#define CONFIGURE_GNAT_RTEMS
     46#define CONFIGURE_MEMORY_OVERHEAD        (256)
     47
    4548#include <config.h>
Note: See TracChangeset for help on using the changeset viewer.