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

4.104.114.84.95
Last change on this file since c3db01d0 was c3db01d0, checked in by Joel Sherrill <joel.sherrill@…>, on 05/09/07 at 18:27:26

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
RevLine 
[811804fe]1##
2## $Id$
3##
[e1d8abb]4
[f117cafc]5include $(top_srcdir)/automake/multilib.am
[53fa63e]6include $(top_srcdir)/automake/compile.am
[e1d8abb]7
[f117cafc]8include_rtemsdir = $(includedir)/rtems
9
[08119f1]10include_rtems_HEADERS = include/confdefs.h
11include_rtems_HEADERS += include/rtems/config.h include/rtems/extension.h \
[8b273c2]12    include/rtems/fatal.h include/rtems/init.h include/rtems/io.h \
13    include/rtems/mptables.h include/rtems/sptables.h
[f117cafc]14
15EXTRA_DIST = include/rtems/README
16
[8b273c2]17include_rtems_HEADERS += inline/rtems/extension.inl
[f117cafc]18
19## src
20AM_CPPFLAGS += -D__RTEMS_INSIDE__
21
[846a4af]22noinst_LIBRARIES = libsapi.a
[97f2e1c]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 \
[c3db01d0]25    src/exshutdown.c src/io.c src/itronapi.c src/posixapi.c src/rtemsapi.c
[a369ade]26libsapi_a_CPPFLAGS = $(AM_CPPFLAGS)
[f117cafc]27
[6265b83]28include $(srcdir)/preinstall.am
[fed6210d]29include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.