source: rtems/testsuites/ada/ada.am @ 9704efb4

5
Last change on this file since 9704efb4 was ee537ea, checked in by Sebastian Huber <sebastian.huber@…>, on 10/12/17 at 08:00:10

ada-tests: Move to testsuites/ada

This solves a build dependency issue, e.g. building tests before
librtemsbsp.a exists.

Close #3079.

  • Property mode set to 100644
File size: 629 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.