summaryrefslogtreecommitdiffstats
path: root/c/src/ada-tests/sptests/sp19/Makefile.am
blob: 36c64ad94b84a8fac933b7cc3e0a3d196deddb70 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
## $Id$

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

include $(top_srcdir)/ada.am

AM_ADAFLAGS += -I.

noinst_PROGRAMS = sp19

sp19_SOURCES = sp19.adb sptest.adb config.h sptest.ads

sptest.adb: sptest.adp
	pwd=`pwd` && cd $(srcdir) && $(M4) < sptest.adp > $${pwd}/sptest.adb
CLEANFILES += sptest.adb

sp19$(EXEEXT): sp19.adb sptest.adb sptest.ads
	$(GNATCOMPILE) -margs -a $< -o $@

EXTRA_DIST = sp19.scn

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