source: rtems/cpukit/sapi/Makefile.am @ c3db01d0

4.104.114.84.9
Last change on this file since c3db01d0 was c3db01d0, checked in by Joel Sherrill <joel.sherrill@…>, on May 9, 2007 at 6:27:26 PM

2007-05-09 Joel Sherrill <joel.sherrill@…>

  • libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c, sapi/Makefile.am, sapi/include/confdefs.h, sapi/src/exinit.c, score/Makefile.am, score/preinstall.am, score/include/rtems/score/userext.h, score/src/chain.c, score/src/userext.c: Switch to newlib reentrancy extension being installed in the initial set instead of using rtems_extension_create. While implementing this, noticed that user extensions and chain code had multiple functions in a single file which is not desirable in the SuperCore? and API portions of RTEMS, so split these into multiple files with one function per file. Also noticed that some of user extension code was inlined for no particular reason so moved that to C bodies. Split executive shutdown from initialization since not every application shuts down. Moved fini call to executive shutdown to be more symmetrical with where it is called at startup.
  • sapi/src/exshutdown.c, score/src/chainappend.c, score/src/chainextract.c, score/src/chainget.c, score/src/chaininsert.c, score/src/userextaddapiset.c, score/src/userextaddset.c, score/src/userextremoveset.c, score/src/userextthreadbegin.c, score/src/userextthreadcreate.c, score/src/userextthreaddelete.c, score/src/userextthreadrestart.c, score/src/userextthreadstart.c, score/src/userextthreadswitch.c: New files.
  • score/inline/rtems/score/userext.inl: Removed.
  • Property mode set to 100644
File size: 872 bytes
Line 
1##
2## $Id$
3##
4
5include $(top_srcdir)/automake/multilib.am
6include $(top_srcdir)/automake/compile.am
7
8include_rtemsdir = $(includedir)/rtems
9
10include_rtems_HEADERS = include/confdefs.h
11include_rtems_HEADERS += include/rtems/config.h include/rtems/extension.h \
12    include/rtems/fatal.h include/rtems/init.h include/rtems/io.h \
13    include/rtems/mptables.h include/rtems/sptables.h
14
15EXTRA_DIST = include/rtems/README
16
17include_rtems_HEADERS += inline/rtems/extension.inl
18
19## src
20AM_CPPFLAGS += -D__RTEMS_INSIDE__
21
22noinst_LIBRARIES = libsapi.a
23libsapi_a_SOURCES = src/debug.c src/extension.c src/extensioncreate.c \
24    src/extensiondelete.c src/extensionident.c src/fatal.c src/exinit.c \
25    src/exshutdown.c src/io.c src/itronapi.c src/posixapi.c src/rtemsapi.c
26libsapi_a_CPPFLAGS = $(AM_CPPFLAGS)
27
28include $(srcdir)/preinstall.am
29include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.