summaryrefslogtreecommitdiffstats
path: root/testsuites/ada/samples/hello/Makefile.am
blob: ccf8ccf37a87a96040308c78334b711da296e1d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am

include $(top_srcdir)/ada.am

ada_hello$(EXEEXT): hello.adb init.$(OBJEXT)
	$(GNATCOMPILE) -margs -a $< -o $@

init.$(OBJEXT): ../../support/init.c
	$(COMPILE.c) $(AM_CPPFLAGS) -I$(srcdir) -c $<

noinst_PROGRAMS = ada_hello

ada_hello_SOURCES = hello.adb config.h sptest.adb sptest.ads

scndir = $(rtems_ada_testsdir)
dist_scn_DATA = ada_hello.scn

include $(top_srcdir)/../automake/local.am