summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 \