forked from Imagelibrary/rtems
Provide an init.c for each Ada test instead of the #include <config.h> magic which works only due to hand crafted include paths. Update #3818.
19 lines
524 B
Makefile
19 lines
524 B
Makefile
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
include $(top_srcdir)/../automake/compile.am
|
|
|
|
include $(top_srcdir)/ada.am
|
|
|
|
AM_ADAFLAGS += -I$(srcdir)/..
|
|
|
|
noinst_PROGRAMS = mp09_ada_mp09_node1
|
|
mp09_ada_mp09_node1_SOURCES = mp09_node1.adb ../mptest.adb config.h
|
|
mp09_ada_mp09_node1_SOURCES += ../mptest.ads
|
|
mp09_ada_mp09_node1_SOURCES += init.c
|
|
|
|
mp09_ada_mp09_node1$(EXEEXT): mp09_node1.adb ../mptest.adb init.$(OBJEXT)
|
|
$(GNATCOMPILE) -margs -a $< -o $@
|
|
|
|
scndir = $(rtems_ada_testsdir)
|
|
dist_scn_DATA = ada_mp09-node1.scn
|
|
|