diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-01-03 22:51:40 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-01-03 22:51:40 +0000 |
commit | 0f9e7f9670cf6c36cf34b4ad5e18e8d7ee0244a8 (patch) | |
tree | 8428a26d24d8ee5aa10f6c672dc020b93c1160d8 /c/src/ada-tests/ada.am | |
parent | 2003-01-03 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-0f9e7f9670cf6c36cf34b4ad5e18e8d7ee0244a8.tar.bz2 |
2003-01-03 Joel Sherrill <joel@OARcorp.com>
* 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.
Diffstat (limited to 'c/src/ada-tests/ada.am')
-rw-r--r-- | c/src/ada-tests/ada.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/c/src/ada-tests/ada.am b/c/src/ada-tests/ada.am index 5a8c551137..dad226c953 100644 --- a/c/src/ada-tests/ada.am +++ b/c/src/ada-tests/ada.am @@ -7,10 +7,13 @@ AM_ADAFLAGS = -I$(PROJECT_ROOT)/lib/include/adainclude \ -I$(top_srcdir)/support GNATCOMPILE = $(GNATMAKE) \ +-bargs -Mgnat_main \ -margs $(AM_ADAFLAGS) $(ADAFLAGS) \ -cargs $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) \ -largs $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) \ -$(AM_LDFLAGS) $(LDFLAGS) +$(AM_LDFLAGS) $(LDFLAGS) init.o CLEANFILES = *.ali *.o b~*.adb b~*.ads +%.o: %.c + $(CC) $(CFLAGS) -I@srcdir@ -c $< -o $@ |