summaryrefslogtreecommitdiffstats
path: root/c/src/ada-tests/sptests/sp19/Makefile.am
blob: 94ab7370800391f3d97fb4c7be15e25761b7a2fc (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
25
26
## $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.

if EXPADA
noinst_PROGRAMS = sp19
endif

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