source: rtems/c/src/ada-tests/ada.am @ 0f9e7f96

4.104.114.84.95
Last change on this file since 0f9e7f96 was 0f9e7f96, checked in by Joel Sherrill <joel.sherrill@…>, on Jan 3, 2003 at 10:51:40 PM

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.
  • Property mode set to 100644
File size: 550 bytes
Line 
1SUFFIXES = .adb .ali .ads
2
3GNATMAKE = @GNATMAKE@ -cargs $(GCCSPECS) -largs $(GCCSPECS)
4
5AM_ADAFLAGS = -I$(PROJECT_ROOT)/lib/include/adainclude \
6-I$(PROJECT_ROOT)/@RTEMS_BSP@/lib/include/adainclude \
7-I$(top_srcdir)/support
8
9GNATCOMPILE = $(GNATMAKE) \
10-bargs -Mgnat_main \
11-margs $(AM_ADAFLAGS) $(ADAFLAGS) \
12-cargs $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) \
13-largs $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) \
14$(AM_LDFLAGS) $(LDFLAGS) init.o
15
16CLEANFILES = *.ali *.o b~*.adb b~*.ads
17
18%.o: %.c
19        $(CC) $(CFLAGS) -I@srcdir@ -c $< -o $@
Note: See TracBrowser for help on using the repository browser.