From fba12eb6ff4a91fcbac1c43dd3196114cc12756b Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 23 Nov 1999 13:29:04 +0000 Subject: Patch rtems-rc-19991117-11.diff from Ralf Corsepius to convert the libc directory to automake and "dozens of small fixes for Makefile.ins/configure.ins below c/src/lib." --- c/src/exec/score/src/Makefile.am | 81 +++++++++++++++++++++++++++++++++ c/src/exec/score/src/Makefile.in | 96 ---------------------------------------- 2 files changed, 81 insertions(+), 96 deletions(-) create mode 100644 c/src/exec/score/src/Makefile.am delete mode 100644 c/src/exec/score/src/Makefile.in (limited to 'c/src/exec/score/src') diff --git a/c/src/exec/score/src/Makefile.am b/c/src/exec/score/src/Makefile.am new file mode 100644 index 0000000000..04947cec47 --- /dev/null +++ b/c/src/exec/score/src/Makefile.am @@ -0,0 +1,81 @@ +## +## $Id$ +## + +AUTOMAKE_OPTIONS = foreign 1.4 + +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg +include $(top_srcdir)/../../../automake/lib.am + +# We only build multiprocessing related files if HAS_MP was defined +MP_C_FILES = mpci.c objectmp.c threadmp.c + +CORE_MESSAGE_QUEUE_C_FILES = coremsg.c coremsgbroadcast.c coremsgclose.c \ + coremsgflush.c coremsgflushsupp.c coremsgseize.c coremsgsubmit.c + +CORE_MUTEX_C_FILES = coremutex.c coremutexflush.c coremutexseize.c \ + coremutexsurrender.c + +CORE_SEMAPHORE_C_FILES = coresem.c coresemflush.c coresemseize.c \ + coresemsurrender.c + +HEAP_C_FILES = heap.c heapallocate.c heapextend.c heapfree.c \ + heapsizeofuserarea.c heapwalk.c + +OBJECT_C_FILES = object.c objectallocate.c objectallocatebyindex.c \ + objectclearname.c objectcomparenameraw.c objectcomparenamestring.c \ + objectcopynameraw.c objectcopynamestring.c objectextendinformation.c \ + objectfree.c objectget.c objectgetbyindex.c objectgetnext.c \ + objectinitializeinformation.c objectnametoid.c objectshrinkinformation.c + +THREAD_C_FILES = thread.c threadchangepriority.c threadclearstate.c \ + threadclose.c threadcreateidle.c threaddelayended.c threaddispatch.c \ + threadevaluatemode.c threadget.c threadhandler.c threadidlebody.c \ + threadinitialize.c threadloadenv.c threadready.c threadresettimeslice.c \ + threadreset.c threadrestart.c threadresume.c threadrotatequeue.c \ + threadsetpriority.c threadsetstate.c threadsettransient.c \ + threadstackallocate.c threadstackfree.c threadstart.c \ + threadstartmultitasking.c threadsuspend.c threadtickletimeslice.c \ + threadyieldprocessor.c + +THREADQ_C_FILES = threadq.c threadqdequeue.c threadqdequeuefifo.c \ + threadqdequeuepriority.c threadqenqueue.c threadqenqueuefifo.c \ + threadqenqueuepriority.c threadqextract.c threadqextractfifo.c \ + threadqextractpriority.c threadqextractwithproxy.c threadqfirst.c \ + threadqfirstfifo.c threadqfirstpriority.c threadqflush.c \ + threadqtimeout.c + +TOD_C_FILES = coretod.c coretodset.c coretodtickle.c coretodtoseconds.c \ + coretodvalidate.c + +WATCHDOG_C_FILES = watchdog.c watchdogadjust.c watchdoginsert.c \ + watchdogremove.c watchdogtickle.c + +# C and C++ source names, if any, go here -- minus the .c or .cc +STD_C_FILES = apiext.c chain.c $(CORE_MESSAGE_QUEUE_C_FILES) \ + $(CORE_MUTEX_C_FILES) $(CORE_SEMAPHORE_C_FILES) $(HEAP_C_FILES) interr.c \ + isr.c $(OBJECT_C_FILES) $(THREAD_C_FILES) $(THREADQ_C_FILES) \ + $(TOD_C_FILES) userext.c $(WATCHDOG_C_FILES) wkspace.c + +if HAS_MP +C_FILES = $(STD_C_FILES) $(MP_C_FILES) +else +C_FILES = $(STD_C_FILES) +endif +C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o) + +SRCS = $(C_FILES) +OBJS = $(C_O_FILES) + +# +# Add local stuff here using += +# + +AM_CPPFLAGS += -D__RTEMS_INSIDE__ +AM_CFLAGS += $(CFLAGS_OS_V) + +all: ${ARCH} ${OBJS} + +EXTRA_DIST = $(STD_C_FILES) $(MP_C_FILES) Unlimited.txt + +include $(top_srcdir)/../../../automake/local.am diff --git a/c/src/exec/score/src/Makefile.in b/c/src/exec/score/src/Makefile.in deleted file mode 100644 index f92f3c9577..0000000000 --- a/c/src/exec/score/src/Makefile.in +++ /dev/null @@ -1,96 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = score/src - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/lib.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ - -# We only build multiprocessing related files if HAS_MP was defined -MP_C_PIECES_yes_V = mpci objectmp threadmp -MP_C_PIECES = $(MP_C_PIECES_$(HAS_MP)_V) - -CORE_MESSAGE_QUEUE_C_PIECES= coremsg coremsgbroadcast coremsgclose \ - coremsgflush coremsgflushsupp coremsgseize coremsgsubmit - -CORE_MUTEX_C_PIECES= coremutex coremutexflush coremutexseize \ - coremutexsurrender - -CORE_SEMAPHORE_C_PIECES= coresem coresemflush coresemseize coresemsurrender - -HEAP_C_PIECES = heap heapallocate heapextend heapfree \ - heapsizeofuserarea heapwalk - -OBJECT_C_PIECES = object objectallocate objectallocatebyindex \ - objectclearname objectcomparenameraw objectcomparenamestring \ - objectcopynameraw objectcopynamestring objectextendinformation \ - objectfree objectget objectgetbyindex objectgetnext \ - objectinitializeinformation objectnametoid objectshrinkinformation - -THREAD_C_PIECES = thread threadchangepriority threadclearstate threadclose \ - threadcreateidle threaddelayended threaddispatch threadevaluatemode \ - threadget threadhandler threadidlebody threadinitialize threadloadenv \ - threadready threadresettimeslice threadreset threadrestart threadresume \ - threadrotatequeue threadsetpriority threadsetstate threadsettransient \ - threadstackallocate threadstackfree threadstart threadstartmultitasking \ - threadsuspend threadtickletimeslice threadyieldprocessor - -THREADQ_C_PIECES= threadq threadqdequeue threadqdequeuefifo \ - threadqdequeuepriority threadqenqueue threadqenqueuefifo \ - threadqenqueuepriority threadqextract threadqextractfifo \ - threadqextractpriority threadqextractwithproxy threadqfirst \ - threadqfirstfifo threadqfirstpriority threadqflush threadqtimeout - -TOD_C_PIECES= coretod coretodset coretodtickle coretodtoseconds \ - coretodvalidate - -WATCHDOG_C_PIECES= watchdog watchdogadjust watchdoginsert watchdogremove \ - watchdogtickle - -# C and C++ source names, if any, go here -- minus the .c or .cc -C_PIECES = apiext chain $(CORE_MESSAGE_QUEUE_C_PIECES) $(CORE_MUTEX_C_PIECES) \ - $(CORE_SEMAPHORE_C_PIECES) $(HEAP_C_PIECES) interr isr \ - $(OBJECT_C_PIECES) $(THREAD_C_PIECES) $(THREADQ_C_PIECES) \ - $(TOD_C_PIECES) userext \ - $(WATCHDOG_C_PIECES) wkspace $(MP_C_PIECES) -C_FILES = $(C_PIECES:%=%.c) -C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) - -SRCS = $(C_FILES) -OBJS = $(C_O_FILES) - -# -# Add local stuff here using += -# - -DEFINES += -D__RTEMS_INSIDE__ -CPPFLAGS += -CFLAGS += $(CFLAGS_OS_V) - -# -# Add your list of files to delete here. The config files -# already know how to delete some stuff, so you may want -# to just run 'make clean' first to see what gets missed. -# 'make clobber' already includes 'make clean' -# - -CLEAN_ADDITIONS += -CLOBBER_ADDITIONS += - -all: ${ARCH} $(SRCS) ${OBJS} - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status -- cgit v1.2.3