summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2002-12-09 05:22:15 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2002-12-09 05:22:15 +0000
commit2aab7ae97fb7c2e14f02dc566cb7eeb0500e7f57 (patch)
treea4abaef9960646d2e584ba695d65f0b30fc87f71 /cpukit
parent6ff2c0a369f7da3628adcae2b64498c164bea7d9 (diff)
downloadrtems-2aab7ae97fb7c2e14f02dc566cb7eeb0500e7f57.tar.bz2
2002-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/Makefile.am: Remove. * inline/Makefile.am: Remove. * macros/Makefile.am: Remove. * src/Makefile.am: Remove. * Makefile.am: Merge-in removed Makefile.ams. * configure.ac: Reflect changes above.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/posix/ChangeLog9
-rw-r--r--cpukit/posix/Makefile.am189
-rw-r--r--cpukit/posix/configure.ac8
-rw-r--r--cpukit/posix/include/Makefile.am55
-rw-r--r--cpukit/posix/inline/Makefile.am26
-rw-r--r--cpukit/posix/macros/Makefile.am26
-rw-r--r--cpukit/posix/src/Makefile.am114
7 files changed, 198 insertions, 229 deletions
diff --git a/cpukit/posix/ChangeLog b/cpukit/posix/ChangeLog
index 80b450c3b8..fb25b26c62 100644
--- a/cpukit/posix/ChangeLog
+++ b/cpukit/posix/ChangeLog
@@ -1,3 +1,12 @@
+2002-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * include/Makefile.am: Remove.
+ * inline/Makefile.am: Remove.
+ * macros/Makefile.am: Remove.
+ * src/Makefile.am: Remove.
+ * Makefile.am: Merge-in removed Makefile.ams.
+ * configure.ac: Reflect changes above.
+
2002-12-06 Vladimir Nesic <vnesic@dkts.co.yu>
* inline/rtems/posix/cond.inl, macros/rtems/posix/cond.inl:
diff --git a/cpukit/posix/Makefile.am b/cpukit/posix/Makefile.am
index e76b696b26..dcf40f7d45 100644
--- a/cpukit/posix/Makefile.am
+++ b/cpukit/posix/Makefile.am
@@ -4,7 +4,192 @@
ACLOCAL_AMFLAGS = -I ../aclocal
-SUBDIRS = include inline macros src
+include $(top_srcdir)/../automake/multilib.am
+include $(top_srcdir)/../automake/compile.am
+include $(top_srcdir)/../automake/lib.am
+
+EXTRA_DIST =
+
+$(PROJECT_INCLUDE):
+ @$(mkinstalldirs) $@
+$(PROJECT_INCLUDE)/rtems/posix:
+ @$(mkinstalldirs) $@
+
+$(PROJECT_INCLUDE)/%.h: include/%.h
+ $(INSTALL_DATA) $< $@
+$(PROJECT_INCLUDE)/%.inl: $(INLINEdir)/%.inl
+ $(INSTALL_DATA) $< $@
+
+PREINSTALL_FILES = $(PROJECT_INCLUDE)
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix
+
+# include
+
+noinst_HEADERS = include/devctl.h include/intr.h
+
+include_HEADERS = include/sched.h include/aio.h include/mqueue.h include/semaphore.h
+
+PREINSTALL_FILES += $(include_HEADERS:include/%=$(PROJECT_INCLUDE)/%)
+
+# include/rtems/posix
+
+include_rtems_posixdir = $(includedir)/rtems/posix
+
+include_H_FILES = include/rtems/posix/cancel.h include/rtems/posix/cond.h include/rtems/posix/config.h \
+ include/rtems/posix/key.h include/rtems/posix/mqueue.h include/rtems/posix/mutex.h \
+ include/rtems/posix/posixapi.h include/rtems/posix/priority.h include/rtems/posix/psignal.h \
+ include/rtems/posix/pthread.h include/rtems/posix/ptimer.h include/rtems/posix/semaphore.h \
+ include/rtems/posix/threadsup.h include/rtems/posix/time.h include/rtems/posix/timer.h
+PREINSTALL_FILES += $(include_H_FILES:include/%=$(PROJECT_INCLUDE)/%)
+include_rtems_posix_HEADERS = $(include_H_FILES)
+
+include_MP_H_FILES = include/rtems/posix/condmp.h include/rtems/posix/mqueuemp.h include/rtems/posix/mutexmp.h \
+ include/rtems/posix/pthreadmp.h include/rtems/posix/semaphoremp.h
+if HAS_MP
+PREINSTALL_FILES += $(include_MP_H_FILES:include/%=$(PROJECT_INCLUDE)/%)
+include_rtems_posix_HEADERS += $(include_MP_H_FILES)
+endif
+
+noinst_HEADERS += include/rtems/posix/intr.h include/rtems/posix/threadsup.h
+noinst_HEADERS += $(include_H_FILES) $(include_MP_H_FILES)
+
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix \
+ $(include_rtems_posix_HEADERS:include/%=$(PROJECT_INCLUDE)/%)
+
+## inline
+
+inline_H_FILES = inline/rtems/posix/cond.inl inline/rtems/posix/key.inl \
+ inline/rtems/posix/mqueue.inl inline/rtems/posix/mutex.inl \
+ inline/rtems/posix/pthread.inl inline/rtems/posix/priority.inl \
+ inline/rtems/posix/semaphore.inl inline/rtems/posix/timer.inl
+noinst_HEADERS += inline/rtems/posix/intr.inl $(inline_H_FILES)
+
+if INLINE
+PREINSTALL_FILES += $(inline_H_FILES:inline/%=$(PROJECT_INCLUDE)/%)
+include_rtems_posix_HEADERS += $(inline_H_FILES)
+endif
+
+## macros
+
+macros_H_FILES = macros/rtems/posix/cond.inl macros/rtems/posix/key.inl \
+ macros/rtems/posix/mqueue.inl macros/rtems/posix/mutex.inl \
+ macros/rtems/posix/pthread.inl macros/rtems/posix/priority.inl \
+ macros/rtems/posix/semaphore.inl macros/rtems/posix/timer.inl
+noinst_HEADERS += macros/rtems/posix/intr.inl $(macros_H_FILES)
+
+if MACROS
+PREINSTALL_FILES += $(macros_H_FILES:macros/%=$(PROJECT_INCLUDE)/%)
+include_rtems_posix_HEADERS += $(macros_H_FILES)
+endif
+
+## src
+LIB=$(ARCH)/libposix.a
+
+# following are semi-implemented and untested
+UNUSED_C_FILES = src/devctl.c src/intr.c
+
+# These are really in the stand but not really functional
+BUILD_FOR_NOW_C_FILES = src/aio.c
+
+ENOSYS_C_FILES = src/execl.c src/execle.c src/execlp.c src/execv.c src/execve.c src/execvp.c src/fork.c \
+ src/pthreadatfork.c src/wait.c src/waitpid.c
+
+CANCEL_C_FILES = src/cancel.c src/cancelrun.c src/cleanuppop.c src/cleanuppush.c \
+ src/setcancelstate.c src/setcanceltype.c src/testcancel.c
+
+CONDITION_VARIABLE_C_FILES = src/cond.c src/condattrdestroy.c src/condattrgetpshared.c \
+ src/condattrinit.c src/condattrsetpshared.c src/condbroadcast.c \
+ src/conddefaultattributes.c src/conddestroy.c src/condinit.c src/condmp.c src/condsignal.c \
+ src/condsignalsupp.c src/condtimedwait.c src/condwait.c src/condwaitsupp.c
+
+ID_C_FILES = src/getegid.c src/geteuid.c src/getgid.c src/getgroups.c src/getlogin.c src/getpgrp.c \
+ src/getpid.c src/getppid.c src/getuid.c src/setpgid.c src/setsid.c
+
+KEY_C_FILES = src/key.c src/keycreate.c src/keydelete.c src/keygetspecific.c \
+ src/keyrundestructors.c src/keysetspecific.c
+
+MEMORY_C_FILES = src/getpagesize.c src/mprotect.c
+
+MESSAGE_QUEUE_C_FILES = src/mqueue.c src/mqueueclose.c src/mqueuecreatesupp.c \
+ src/mqueuedeletesupp.c src/mqueuegetattr.c src/mqueuenametoid.c src/mqueuenotify.c \
+ src/mqueueopen.c src/mqueuereceive.c src/mqueuerecvsupp.c src/mqueuesend.c \
+ src/mqueuesendsupp.c src/mqueuesetattr.c src/mqueuetimedreceive.c src/mqueuetimedsend.c \
+ src/mqueuetranslatereturncode.c src/mqueueunlink.c
+
+MUTEX_C_FILES = src/mutex.c src/mutexattrdestroy.c src/mutexattrgetprioceiling.c \
+ src/mutexattrgetprotocol.c src/mutexattrgetpshared.c src/mutexattrinit.c \
+ src/mutexattrsetprioceiling.c src/mutexattrsetprotocol.c src/mutexattrsetpshared.c \
+ src/mutexdefaultattributes.c src/mutexdestroy.c src/mutexfromcorestatus.c \
+ src/mutexgetprioceiling.c src/mutexinit.c src/mutexlock.c src/mutexlocksupp.c src/mutexmp.c \
+ src/mutexsetprioceiling.c src/mutextimedlock.c src/mutextrylock.c src/mutexunlock.c
+
+PTHREAD_C_FILES = src/pthread.c src/pthreadsetcputime.c src/pthreadgetcputime.c \
+ src/pthreadgetcpuclockid.c src/pthreadonce.c src/pthreadequal.c src/pthreadself.c \
+ src/pthreadexit.c src/pthreaddetach.c src/pthreadjoin.c src/pthreadcreate.c \
+ src/pthreadattrsetdetachstate.c src/pthreadattrgetdetachstate.c \
+ src/pthreadattrgetstackaddr.c src/pthreadattrsetstackaddr.c \
+ src/pthreadattrgetstacksize.c src/pthreadattrsetstacksize.c src/pthreadattrinit.c \
+ src/pthreadattrdestroy.c src/pthreadsetschedparam.c src/pthreadgetschedparam.c \
+ src/pthreadattrsetschedparam.c src/pthreadattrgetschedparam.c \
+ src/pthreadattrgetschedpolicy.c src/pthreadattrsetschedpolicy.c \
+ src/pthreadattrgetinheritsched.c src/pthreadattrsetinheritsched.c \
+ src/pthreadattrgetscope.c src/pthreadattrsetscope.c
+
+PSIGNAL_C_FILES = src/psignal.c src/alarm.c src/kill.c src/killinfo.c src/pause.c \
+ src/psignalclearprocesssignals.c src/psignalsetprocesssignals.c \
+ src/psignalchecksignal.c src/psignalclearsignals.c src/psignalunblockthread.c \
+ src/pthreadkill.c src/pthreadsigmask.c src/sigaction.c src/sigaddset.c src/sigdelset.c \
+ src/sigemptyset.c src/sigfillset.c src/sigismember.c src/sigpending.c src/sigprocmask.c \
+ src/sigqueue.c src/sigsuspend.c src/sigtimedwait.c src/sigwait.c src/sigwaitinfo.c \
+ src/signal_2.c
+
+SEMAPHORE_C_FILES = src/semaphore.c src/semaphorecreatesupp.c src/semaphoredeletesupp.c \
+ src/semaphoremp.c src/semaphorenametoid.c src/semaphorewaitsupp.c src/semclose.c \
+ src/semdestroy.c src/semgetvalue.c src/seminit.c src/semopen.c src/sempost.c src/semtimedwait.c \
+ src/semtrywait.c src/semunlink.c src/semwait.c
+
+TIME_C_FILES = src/adjtime.c src/time.c src/posixtimespecsubtract.c \
+ src/posixtimespectointerval.c src/posixintervaltotimespec.c src/clockgetcpuclockid.c \
+ src/clockgetenableattr.c src/clockgetres.c src/clockgettime.c src/clocksetenableattr.c \
+ src/clocksettime.c src/nanosleep.c src/sleep.c
+
+# the timer manager needs to be split further but only after its
+# dependence on the Classic API Timer Manager is removed.
+TIMER_C_FILES = src/ptimer.c src/ptimer1.c
+
+EXTRA_DIST += src/README.mqueue
+
+C_FILES = src/adasupp.c $(CANCEL_C_FILES) $(CONDITION_VARIABLE_C_FILES) \
+ $(ID_C_FILES) $(KEY_C_FILES) $(MEMORY_C_FILES) $(MESSAGE_QUEUE_C_FILES) \
+ $(MUTEX_C_FILES) $(PTHREAD_C_FILES) $(PSIGNAL_C_FILES) src/sched.c \
+ $(SEMAPHORE_C_FILES) src/sysconf.c $(TIME_C_FILES) $(TIMER_C_FILES) src/types.c \
+ $(ENOSYS_C_FILES) $(BUILD_FOR_NOW_C_FILES)
+OBJS = $(C_FILES:src/%.c=${ARCH}/%.$(OBJEXT))
+
+#
+# Add local stuff here using +=
+#
+
+AM_CPPFLAGS += -Isrc -D__RTEMS_INSIDE__
+
+all-local: ${ARCH} $(PREINSTALL_FILES) $(LIB)
+
+$(LIB): ${OBJS}
+ $(make-library)
+
+${ARCH}/%.$(OBJEXT): src/%.c
+ test -d $(ARCH) || mkdir $(ARCH)
+ ${COMPILE} -o $@ -c $<
+
+# temporary so we can see how many things are left to implement
+not:
+ grep -i NOT_IMPL $(C_FILES:%=$(srcdir)/%) | grep -v MP_NOT_IMPL
+ @echo
+ @echo
+ @echo
+ @echo `grep -i NOT_IMPL $(C_FILES:%=$(srcdir)/%) | grep -v MP_NOT_IMPL | wc -l ` places marked not implemented
+ @echo `wc -l $(C_FILES:%=$(srcdir)/%) | grep total` lines of C code to test
+
+EXTRA_DIST += $(C_FILES) $(UNUSED_C_FILES)
-include $(top_srcdir)/../automake/subdirs.am
include $(top_srcdir)/../automake/local.am
diff --git a/cpukit/posix/configure.ac b/cpukit/posix/configure.ac
index aeec1e13d9..02973c35b4 100644
--- a/cpukit/posix/configure.ac
+++ b/cpukit/posix/configure.ac
@@ -34,6 +34,7 @@ if test "$RTEMS_USE_MACROS" = "yes"; then
else
INLINEdir="inline"
fi
+AC_SUBST(INLINEdir)
AM_CONDITIONAL(INLINE,test "$INLINEdir" = "inline" )
AM_CONDITIONAL(MACROS,test "$INLINEdir" = "macros" )
AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes" )
@@ -49,10 +50,5 @@ fi
AM_CONFIG_HEADER([src/config.h])
# Explicitly list all Makefiles here
-AC_CONFIG_FILES([Makefile
-src/Makefile
-include/Makefile
-inline/Makefile
-macros/Makefile
-])
+AC_CONFIG_FILES([Makefile])
AC_OUTPUT
diff --git a/cpukit/posix/include/Makefile.am b/cpukit/posix/include/Makefile.am
deleted file mode 100644
index 46b1d374ca..0000000000
--- a/cpukit/posix/include/Makefile.am
+++ /dev/null
@@ -1,55 +0,0 @@
-##
-## $Id$
-##
-
-
-$(PROJECT_INCLUDE):
- @$(mkinstalldirs) $@
-$(PROJECT_INCLUDE)/sys:
- @$(mkinstalldirs) $@
-$(PROJECT_INCLUDE)/rtems/posix:
- @$(mkinstalldirs) $@
-
-$(PROJECT_INCLUDE)/%.h: %.h
- $(INSTALL_DATA) $< $@
-
-# include
-noinst_HEADERS = devctl.h intr.h
-
-include_HEADERS = sched.h aio.h mqueue.h semaphore.h
-
-PREINSTALL_FILES = $(PROJECT_INCLUDE) \
- $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
-
-# rtems/posix
-
-include_rtems_posixdir = $(includedir)/rtems/posix
-
-MP_H_FILES = rtems/posix/condmp.h rtems/posix/mqueuemp.h rtems/posix/mutexmp.h \
- rtems/posix/pthreadmp.h rtems/posix/semaphoremp.h
-
-STD_H_FILES = rtems/posix/cancel.h rtems/posix/cond.h rtems/posix/config.h \
- rtems/posix/key.h rtems/posix/mqueue.h rtems/posix/mutex.h \
- rtems/posix/posixapi.h rtems/posix/priority.h rtems/posix/psignal.h \
- rtems/posix/pthread.h rtems/posix/ptimer.h rtems/posix/semaphore.h \
- rtems/posix/threadsup.h rtems/posix/time.h rtems/posix/timer.h \
- $(MP_H_FILES)
-
-noinst_HEADERS += rtems/posix/intr.h rtems/posix/threadsup.h
-
-if HAS_MP
-include_rtems_posix_HEADERS = $(STD_H_FILES) $(MP_H_FILES)
-else
-include_rtems_posix_HEADERS = $(STD_H_FILES)
-endif
-
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix \
- $(include_rtems_posix_HEADERS:%=$(PROJECT_INCLUDE)/%)
-
-## General
-
-all-local: $(PREINSTALL_FILES)
-
-EXTRA_DIST = $(noinst_HEADERS)
-
-include $(top_srcdir)/../automake/local.am
diff --git a/cpukit/posix/inline/Makefile.am b/cpukit/posix/inline/Makefile.am
deleted file mode 100644
index 131ba6b783..0000000000
--- a/cpukit/posix/inline/Makefile.am
+++ /dev/null
@@ -1,26 +0,0 @@
-##
-## $Id$
-##
-
-
-include_rtems_posixdir = $(includedir)/rtems/posix
-
-$(PROJECT_INCLUDE)/rtems/posix:
- @$(mkinstalldirs) $@
-$(PROJECT_INCLUDE)/%: %
- $(INSTALL_DATA) $< $@
-
-if INLINE
-noinst_HEADERS = rtems/posix/intr.inl
-include_rtems_posix_HEADERS = rtems/posix/cond.inl rtems/posix/key.inl \
- rtems/posix/mqueue.inl rtems/posix/mutex.inl \
- rtems/posix/pthread.inl rtems/posix/priority.inl \
- rtems/posix/semaphore.inl rtems/posix/timer.inl
-
-PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems/posix \
- $(include_rtems_posix_HEADERS:%=$(PROJECT_INCLUDE)/%)
-endif
-
-all-local: $(PREINSTALL_FILES)
-
-include $(top_srcdir)/../automake/local.am
diff --git a/cpukit/posix/macros/Makefile.am b/cpukit/posix/macros/Makefile.am
deleted file mode 100644
index dbf40773f8..0000000000
--- a/cpukit/posix/macros/Makefile.am
+++ /dev/null
@@ -1,26 +0,0 @@
-##
-## $Id$
-##
-
-
-include_rtems_posixdir = $(includedir)/rtems/posix
-
-$(PROJECT_INCLUDE)/rtems/posix:
- @$(mkinstalldirs) $@
-$(PROJECT_INCLUDE)/%: %
- $(INSTALL_DATA) $< $@
-
-if MACROS
-noinst_HEADERS = rtems/posix/intr.inl
-include_rtems_posix_HEADERS = rtems/posix/cond.inl rtems/posix/key.inl \
- rtems/posix/mqueue.inl rtems/posix/mutex.inl \
- rtems/posix/pthread.inl rtems/posix/priority.inl \
- rtems/posix/semaphore.inl rtems/posix/timer.inl
-
-PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems/posix \
- $(include_rtems_posix_HEADERS:%=$(PROJECT_INCLUDE)/%)
-endif
-
-all-local: $(PREINSTALL_FILES)
-
-include $(top_srcdir)/../automake/local.am
diff --git a/cpukit/posix/src/Makefile.am b/cpukit/posix/src/Makefile.am
deleted file mode 100644
index ec08068468..0000000000
--- a/cpukit/posix/src/Makefile.am
+++ /dev/null
@@ -1,114 +0,0 @@
-##
-## $Id$
-##
-
-LIB=$(ARCH)/libposix.a
-
-# following are semi-implemented and untested
-UNUSED_C_FILES = devctl.c intr.c
-
-# These are really in the stand but not really functional
-BUILD_FOR_NOW_C_FILES = aio.c
-
-ENOSYS_C_FILES = execl.c execle.c execlp.c execv.c execve.c execvp.c fork.c \
- pthreadatfork.c wait.c waitpid.c
-
-CANCEL_C_FILES = cancel.c cancelrun.c cleanuppop.c cleanuppush.c \
- setcancelstate.c setcanceltype.c testcancel.c
-
-CONDITION_VARIABLE_C_FILES = cond.c condattrdestroy.c condattrgetpshared.c \
- condattrinit.c condattrsetpshared.c condbroadcast.c \
- conddefaultattributes.c conddestroy.c condinit.c condmp.c condsignal.c \
- condsignalsupp.c condtimedwait.c condwait.c condwaitsupp.c
-
-ID_C_FILES = getegid.c geteuid.c getgid.c getgroups.c getlogin.c getpgrp.c \
- getpid.c getppid.c getuid.c setpgid.c setsid.c
-
-KEY_C_FILES = key.c keycreate.c keydelete.c keygetspecific.c \
- keyrundestructors.c keysetspecific.c
-
-MEMORY_C_FILES = getpagesize.c mprotect.c
-
-MESSAGE_QUEUE_C_FILES = mqueue.c mqueueclose.c mqueuecreatesupp.c \
- mqueuedeletesupp.c mqueuegetattr.c mqueuenametoid.c mqueuenotify.c \
- mqueueopen.c mqueuereceive.c mqueuerecvsupp.c mqueuesend.c \
- mqueuesendsupp.c mqueuesetattr.c mqueuetimedreceive.c mqueuetimedsend.c \
- mqueuetranslatereturncode.c mqueueunlink.c
-
-MUTEX_C_FILES = mutex.c mutexattrdestroy.c mutexattrgetprioceiling.c \
- mutexattrgetprotocol.c mutexattrgetpshared.c mutexattrinit.c \
- mutexattrsetprioceiling.c mutexattrsetprotocol.c mutexattrsetpshared.c \
- mutexdefaultattributes.c mutexdestroy.c mutexfromcorestatus.c \
- mutexgetprioceiling.c mutexinit.c mutexlock.c mutexlocksupp.c mutexmp.c \
- mutexsetprioceiling.c mutextimedlock.c mutextrylock.c mutexunlock.c
-
-PTHREAD_C_FILES = pthread.c pthreadsetcputime.c pthreadgetcputime.c \
- pthreadgetcpuclockid.c pthreadonce.c pthreadequal.c pthreadself.c \
- pthreadexit.c pthreaddetach.c pthreadjoin.c pthreadcreate.c \
- pthreadattrsetdetachstate.c pthreadattrgetdetachstate.c \
- pthreadattrgetstackaddr.c pthreadattrsetstackaddr.c \
- pthreadattrgetstacksize.c pthreadattrsetstacksize.c pthreadattrinit.c \
- pthreadattrdestroy.c pthreadsetschedparam.c pthreadgetschedparam.c \
- pthreadattrsetschedparam.c pthreadattrgetschedparam.c \
- pthreadattrgetschedpolicy.c pthreadattrsetschedpolicy.c \
- pthreadattrgetinheritsched.c pthreadattrsetinheritsched.c \
- pthreadattrgetscope.c pthreadattrsetscope.c
-
-PSIGNAL_C_FILES = psignal.c alarm.c kill.c killinfo.c pause.c \
- psignalclearprocesssignals.c psignalsetprocesssignals.c \
- psignalchecksignal.c psignalclearsignals.c psignalunblockthread.c \
- pthreadkill.c pthreadsigmask.c sigaction.c sigaddset.c sigdelset.c \
- sigemptyset.c sigfillset.c sigismember.c sigpending.c sigprocmask.c \
- sigqueue.c sigsuspend.c sigtimedwait.c sigwait.c sigwaitinfo.c \
- signal_2.c
-
-SEMAPHORE_C_FILES = semaphore.c semaphorecreatesupp.c semaphoredeletesupp.c \
- semaphoremp.c semaphorenametoid.c semaphorewaitsupp.c semclose.c \
- semdestroy.c semgetvalue.c seminit.c semopen.c sempost.c semtimedwait.c \
- semtrywait.c semunlink.c semwait.c
-
-TIME_C_FILES = adjtime.c time.c posixtimespecsubtract.c \
- posixtimespectointerval.c posixintervaltotimespec.c clockgetcpuclockid.c \
- clockgetenableattr.c clockgetres.c clockgettime.c clocksetenableattr.c \
- clocksettime.c nanosleep.c sleep.c
-
-# the timer manager needs to be split further but only after its
-# dependence on the Classic API Timer Manager is removed.
-TIMER_C_FILES = ptimer.c ptimer1.c
-
-C_FILES = adasupp.c $(CANCEL_C_FILES) $(CONDITION_VARIABLE_C_FILES) \
- $(ID_C_FILES) $(KEY_C_FILES) $(MEMORY_C_FILES) $(MESSAGE_QUEUE_C_FILES) \
- $(MUTEX_C_FILES) $(PTHREAD_C_FILES) $(PSIGNAL_C_FILES) sched.c \
- $(SEMAPHORE_C_FILES) sysconf.c $(TIME_C_FILES) $(TIMER_C_FILES) types.c \
- $(ENOSYS_C_FILES) $(BUILD_FOR_NOW_C_FILES)
-C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
-
-OBJS = $(C_O_FILES)
-
-include $(top_srcdir)/../automake/multilib.am
-include $(top_srcdir)/../automake/compile.am
-include $(top_srcdir)/../automake/lib.am
-
-#
-# Add local stuff here using +=
-#
-
-AM_CPPFLAGS += -I. -D__RTEMS_INSIDE__
-
-all-local: ${ARCH} $(LIB)
-
-$(LIB): ${OBJS}
- $(make-library)
-
-# temporary so we can see how many things are left to implement
-not:
- grep -i NOT_IMPL $(C_FILES) | grep -v MP_NOT_IMPL
- @echo
- @echo
- @echo
- @echo `grep -i NOT_IMPL $(C_FILES) | grep -v MP_NOT_IMPL | wc -l ` places marked not implemented
- @echo `wc -l $(C_FILES) | grep total` lines of C code to test
-
-EXTRA_DIST = $(C_FILES) $(UNUSED_C_FILES)
-
-include $(top_srcdir)/../automake/local.am