summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-09-13 17:00:18 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-09-13 17:00:18 +0000
commitd7ff09b7191fe46a02d8720cb124d9cab0917e14 (patch)
treee6e465e268f487461a2620918edc51e8e76d4161
parent2002-09-13 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-d7ff09b7191fe46a02d8720cb124d9cab0917e14.tar.bz2
2002-09-13 Joel Sherrill <joel@OARcorp.com>
* samples/hello/Makefile.am: Make sure init.c is compiled and included. This test now runs.
-rw-r--r--c/src/ada-tests/ChangeLog5
-rw-r--r--c/src/ada-tests/samples/hello/Makefile.am5
2 files changed, 9 insertions, 1 deletions
diff --git a/c/src/ada-tests/ChangeLog b/c/src/ada-tests/ChangeLog
index b6a743181f..c042711122 100644
--- a/c/src/ada-tests/ChangeLog
+++ b/c/src/ada-tests/ChangeLog
@@ -1,3 +1,8 @@
+2002-09-13 Joel Sherrill <joel@OARcorp.com>
+
+ * samples/hello/Makefile.am: Make sure init.c is compiled and
+ included. This test now runs.
+
2002-09-07 Joel Sherrill <joel@OARcorp.com>
* samples/base_mp/config.h: New file previously missed.
diff --git a/c/src/ada-tests/samples/hello/Makefile.am b/c/src/ada-tests/samples/hello/Makefile.am
index e7edf3b58e..c5ff73ead4 100644
--- a/c/src/ada-tests/samples/hello/Makefile.am
+++ b/c/src/ada-tests/samples/hello/Makefile.am
@@ -5,9 +5,12 @@ include $(top_srcdir)/../../../automake/compile.am
include $(top_srcdir)/ada.am
-hello$(EXEEXT): hello.adb
+hello$(EXEEXT): hello.adb init.o
$(GNATCOMPILE) -margs -a $< -o $@
+init.o: ../../support/init.c
+ $(COMPILE.c) -I$(srcdir) -c $<
+
noinst_PROGRAMS = hello
hello_SOURCES = hello.adb \