source: rtems/c/src/ada-tests/ada.am @ 58c5a9b

4.115
Last change on this file since 58c5a9b was d880c88e, checked in by Joel Sherrill <joel.sherrill@…>, on Nov 9, 2007 at 5:09:41 PM

2007-11-09 Joel Sherrill <joel.sherrill@…>

  • ada.am: Now builds cleanly with GCC trunk.
  • Property mode set to 100644
File size: 628 bytes
Line 
1SUFFIXES = .adb .ali .ads .adp
2
3GNATMAKE = @GNATMAKE@
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    $(GCCSPECS) \
14-largs $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) \
15    $(GCCSPECS) \
16$(AM_LDFLAGS) $(LDFLAGS) init.o
17
18CLEANFILES = *.ali *.o b~*.adb b~*.ads
19
20#%.o: %.c
21#       $(CC) $(CFLAGS) -I@srcdir@ -c $< -o $@
22
23.adp.adb:
24        pwd=`pwd` && cd $(srcdir) && $(M4) < $*.adp > $${pwd}/$*.adb
Note: See TracBrowser for help on using the repository browser.