From db27544606497dbd7a87ad03857c17536cf38883 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 12 Dec 2007 00:15:54 +0000 Subject: [PATCH] 2007-12-11 Joel Sherrill * Makefile.am, configure.ac, posix/Makefile.am, wrapup/Makefile.am: Move Ada support code that is untestable from the Standard RTEMS Test Suite into its own directory. All code in score, posix, rtems, and sapi should be testable by the Standard RTEMS Test Suites. It was buried under POSIX before so this should be a clearer location anyway. * libgnat/.cvsignore, libgnat/Makefile.am, libgnat/ada_intrsupp.c, libgnat/adasupp.c: New files. * posix/src/ada_intrsupp.c, posix/src/adasupp.c: Removed. --- cpukit/ChangeLog | 12 ++++++++++++ cpukit/Makefile.am | 1 + cpukit/configure.ac | 1 + cpukit/libgnat/.cvsignore | 2 ++ cpukit/libgnat/Makefile.am | 16 ++++++++++++++++ cpukit/{posix/src => libgnat}/ada_intrsupp.c | 0 cpukit/{posix/src => libgnat}/adasupp.c | 0 cpukit/posix/Makefile.am | 3 +-- cpukit/wrapup/Makefile.am | 1 + 9 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 cpukit/libgnat/.cvsignore create mode 100644 cpukit/libgnat/Makefile.am rename cpukit/{posix/src => libgnat}/ada_intrsupp.c (100%) rename cpukit/{posix/src => libgnat}/adasupp.c (100%) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 4be440234e..aedddb254f 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,15 @@ +2007-12-11 Joel Sherrill + + * Makefile.am, configure.ac, posix/Makefile.am, wrapup/Makefile.am: + Move Ada support code that is untestable from the Standard RTEMS Test + Suite into its own directory. All code in score, posix, rtems, and + sapi should be testable by the Standard RTEMS Test Suites. It was + buried under POSIX before so this should be a clearer location + anyway. + * libgnat/.cvsignore, libgnat/Makefile.am, libgnat/ada_intrsupp.c, + libgnat/adasupp.c: New files. + * posix/src/ada_intrsupp.c, posix/src/adasupp.c: Removed. + 2007-12-11 Joel Sherrill * score/src/pheapallocatealigned.c, score/src/pheapgetblocksize.c: diff --git a/cpukit/Makefile.am b/cpukit/Makefile.am index bc1b29526b..4a2abfadf4 100644 --- a/cpukit/Makefile.am +++ b/cpukit/Makefile.am @@ -14,6 +14,7 @@ SUBDIRS += libnetworking librpc SUBDIRS += libi2c SUBDIRS += libmisc SUBDIRS += libmd +SUBDIRS += libgnat SUBDIRS += wrapup SUBDIRS += zlib diff --git a/cpukit/configure.ac b/cpukit/configure.ac index 91b6804e26..d19d66e759 100644 --- a/cpukit/configure.ac +++ b/cpukit/configure.ac @@ -351,6 +351,7 @@ posix/Makefile itron/Makefile libblock/Makefile libfs/Makefile +libgnat/Makefile libcsupport/Makefile libnetworking/Makefile librpc/Makefile diff --git a/cpukit/libgnat/.cvsignore b/cpukit/libgnat/.cvsignore new file mode 100644 index 0000000000..282522db03 --- /dev/null +++ b/cpukit/libgnat/.cvsignore @@ -0,0 +1,2 @@ +Makefile +Makefile.in diff --git a/cpukit/libgnat/Makefile.am b/cpukit/libgnat/Makefile.am new file mode 100644 index 0000000000..378f290cfa --- /dev/null +++ b/cpukit/libgnat/Makefile.am @@ -0,0 +1,16 @@ +## +## $Id$ +## + +include $(top_srcdir)/automake/compile.am + +EXTRA_DIST= + +if LIBPOSIX + +noinst_LIBRARIES = libgnat.a + +libgnat_a_SOURCES = ada_intrsupp.c adasupp.c + +include $(top_srcdir)/automake/local.am +endif diff --git a/cpukit/posix/src/ada_intrsupp.c b/cpukit/libgnat/ada_intrsupp.c similarity index 100% rename from cpukit/posix/src/ada_intrsupp.c rename to cpukit/libgnat/ada_intrsupp.c diff --git a/cpukit/posix/src/adasupp.c b/cpukit/libgnat/adasupp.c similarity index 100% rename from cpukit/posix/src/adasupp.c rename to cpukit/libgnat/adasupp.c diff --git a/cpukit/posix/Makefile.am b/cpukit/posix/Makefile.am index 3a09c799d3..60785028d0 100644 --- a/cpukit/posix/Makefile.am +++ b/cpukit/posix/Makefile.am @@ -163,8 +163,7 @@ libposix_a_SOURCES += src/ptimer.c src/ptimer1.c EXTRA_DIST += src/README.mqueue -libposix_a_SOURCES += src/adasupp.c src/ada_intrsupp.c src/sched.c \ - src/sysconf.c src/types.c +libposix_a_SOURCES += src/sched.c src/sysconf.c src/types.c endif endif diff --git a/cpukit/wrapup/Makefile.am b/cpukit/wrapup/Makefile.am index c68ce2ce4c..06a84bcf75 100644 --- a/cpukit/wrapup/Makefile.am +++ b/cpukit/wrapup/Makefile.am @@ -19,6 +19,7 @@ TMP_LIBS += ../rtems/librtems.a if LIBPOSIX TMP_LIBS += ../posix/libposix.a +TMP_LIBS += ../libgnat/libgnat.a endif if LIBITRON