summaryrefslogtreecommitdiffstats
path: root/c/src/ada-tests/samples/hello/Makefile.am
blob: 466c003289f134cf5be0c207b9a89e8170ed9f4d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
## $Id$

include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../../../automake/compile.am

include $(top_srcdir)/ada.am

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

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

noinst_PROGRAMS = hello

hello_SOURCES = hello.adb \
config.h sptest.adb sptest.ads

EXTRA_DIST = hello.scn

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