diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 386e613413..810cedf67d 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2007-12-12 Joel Sherrill + + * libgnat/Makefile.am, wrapup/Makefile.am: Another attempt at the + automake variables. + 2007-12-12 Joel Sherrill * rtems/Makefile.am, rtems/include/rtems/rtems/tasks.h, diff --git a/cpukit/libgnat/Makefile.am b/cpukit/libgnat/Makefile.am index fbf9720ef6..a30610e848 100644 --- a/cpukit/libgnat/Makefile.am +++ b/cpukit/libgnat/Makefile.am @@ -6,7 +6,9 @@ include $(top_srcdir)/automake/compile.am EXTRA_DIST= -if LIBPOSIX +if HAS_PTHREADS +AM_CPPFLAGS += -D__RTEMS_INSIDE__ + noinst_LIBRARIES = libgnat.a libgnat_a_SOURCES = ada_intrsupp.c adasupp.c diff --git a/cpukit/wrapup/Makefile.am b/cpukit/wrapup/Makefile.am index 06a84bcf75..ef6bb703cb 100644 --- a/cpukit/wrapup/Makefile.am +++ b/cpukit/wrapup/Makefile.am @@ -19,6 +19,9 @@ TMP_LIBS += ../rtems/librtems.a if LIBPOSIX TMP_LIBS += ../posix/libposix.a +endif + +if HAS_PTHREADS TMP_LIBS += ../libgnat/libgnat.a endif