summaryrefslogtreecommitdiffstats
path: root/cpukit/posix
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-11-22 11:47:29 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-11-22 11:47:29 +0000
commit32195d5d0f06e286a763abfea71fc1c991a20515 (patch)
treef7c64eb78e8b086112f6b5cd00af4f32ac113c8c /cpukit/posix
parentbcb9ab43d37afb8f90392f682dfba0cacc4679a3 (diff)
downloadrtems-32195d5d0f06e286a763abfea71fc1c991a20515.tar.bz2
2003-11-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Reworked.
Diffstat (limited to 'cpukit/posix')
-rw-r--r--cpukit/posix/ChangeLog4
-rw-r--r--cpukit/posix/Makefile.am348
2 files changed, 261 insertions, 91 deletions
diff --git a/cpukit/posix/ChangeLog b/cpukit/posix/ChangeLog
index 06b785d542..078cf8b3d8 100644
--- a/cpukit/posix/ChangeLog
+++ b/cpukit/posix/ChangeLog
@@ -1,3 +1,7 @@
+2003-11-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * Makefile.am: Reworked.
+
2003-11-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/config.h: Remove.
diff --git a/cpukit/posix/Makefile.am b/cpukit/posix/Makefile.am
index 44a7a4091d..88df6d3302 100644
--- a/cpukit/posix/Makefile.am
+++ b/cpukit/posix/Makefile.am
@@ -8,78 +8,57 @@ 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) $< $@
-
if HAS_POSIX
-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_HEADERS = include/sched.h include/aio.h include/mqueue.h \
+ include/semaphore.h
# 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_rtems_posix_HEADERS = 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
-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)
+include_rtems_posix_HEADERS += 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
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)/%)
+noinst_HEADERS += include/rtems/posix/intr.h \
+ include/rtems/posix/threadsup.h
## 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)
+include_rtems_posix_HEADERS += 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
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)
+include_rtems_posix_HEADERS += 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
endif
## src
@@ -91,64 +70,77 @@ 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
+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
+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
+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
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 \
+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/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 src/ualarm.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
+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 src/ualarm.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 src/usleep.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 src/usleep.c
# the timer manager needs to be split further but only after its
# dependence on the Classic API Timer Manager is removed.
@@ -159,8 +151,8 @@ EXTRA_DIST += src/README.mqueue
C_FILES = src/adasupp.c $(CANCEL_C_FILES) $(CONDITION_VARIABLE_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)
+ $(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))
#
@@ -190,4 +182,178 @@ not:
EXTRA_DIST += $(C_FILES) $(UNUSED_C_FILES)
+PREINSTALL_FILES =
+
+if HAS_POSIX
+$(PROJECT_INCLUDE)/sched.h: include/sched.h
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/sched.h
+
+$(PROJECT_INCLUDE)/aio.h: include/aio.h
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/aio.h
+
+$(PROJECT_INCLUDE)/mqueue.h: include/mqueue.h
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/mqueue.h
+
+$(PROJECT_INCLUDE)/semaphore.h: include/semaphore.h
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/semaphore.h
+
+$(PROJECT_INCLUDE)/rtems/posix:
+ @$(mkinstalldirs) $(PROJECT_INCLUDE)/rtems/posix
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix
+
+$(PROJECT_INCLUDE)/rtems/posix/cancel.h: include/rtems/posix/cancel.h
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/cancel.h
+
+$(PROJECT_INCLUDE)/rtems/posix/cond.h: include/rtems/posix/cond.h
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/cond.h
+
+$(PROJECT_INCLUDE)/rtems/posix/config.h: include/rtems/posix/config.h
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/config.h
+
+$(PROJECT_INCLUDE)/rtems/posix/key.h: include/rtems/posix/key.h
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/key.h
+
+$(PROJECT_INCLUDE)/rtems/posix/mqueue.h: include/rtems/posix/mqueue.h
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/mqueue.h
+
+$(PROJECT_INCLUDE)/rtems/posix/mutex.h: include/rtems/posix/mutex.h
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/mutex.h
+
+$(PROJECT_INCLUDE)/rtems/posix/posixapi.h: include/rtems/posix/posixapi.h
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/posixapi.h
+
+$(PROJECT_INCLUDE)/rtems/posix/priority.h: include/rtems/posix/priority.h
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/priority.h
+
+$(PROJECT_INCLUDE)/rtems/posix/psignal.h: include/rtems/posix/psignal.h
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/psignal.h
+
+$(PROJECT_INCLUDE)/rtems/posix/pthread.h: include/rtems/posix/pthread.h
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/pthread.h
+
+$(PROJECT_INCLUDE)/rtems/posix/ptimer.h: include/rtems/posix/ptimer.h
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/ptimer.h
+
+$(PROJECT_INCLUDE)/rtems/posix/semaphore.h: include/rtems/posix/semaphore.h
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/semaphore.h
+
+$(PROJECT_INCLUDE)/rtems/posix/threadsup.h: include/rtems/posix/threadsup.h
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/threadsup.h
+
+$(PROJECT_INCLUDE)/rtems/posix/time.h: include/rtems/posix/time.h
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/time.h
+
+$(PROJECT_INCLUDE)/rtems/posix/timer.h: include/rtems/posix/timer.h
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/timer.h
+
+if HAS_MP
+$(PROJECT_INCLUDE)/rtems/posix/condmp.h: include/rtems/posix/condmp.h
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/condmp.h
+
+$(PROJECT_INCLUDE)/rtems/posix/mqueuemp.h: include/rtems/posix/mqueuemp.h
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/mqueuemp.h
+
+$(PROJECT_INCLUDE)/rtems/posix/mutexmp.h: include/rtems/posix/mutexmp.h
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/mutexmp.h
+
+$(PROJECT_INCLUDE)/rtems/posix/pthreadmp.h: include/rtems/posix/pthreadmp.h
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/pthreadmp.h
+
+$(PROJECT_INCLUDE)/rtems/posix/semaphoremp.h: include/rtems/posix/semaphoremp.h
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/semaphoremp.h
+endif
+
+if INLINE
+$(PROJECT_INCLUDE)/rtems/posix/cond.inl: inline/rtems/posix/cond.inl
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/cond.inl
+
+$(PROJECT_INCLUDE)/rtems/posix/key.inl: inline/rtems/posix/key.inl
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/key.inl
+
+$(PROJECT_INCLUDE)/rtems/posix/mqueue.inl: inline/rtems/posix/mqueue.inl
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/mqueue.inl
+
+$(PROJECT_INCLUDE)/rtems/posix/mutex.inl: inline/rtems/posix/mutex.inl
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/mutex.inl
+
+$(PROJECT_INCLUDE)/rtems/posix/pthread.inl: inline/rtems/posix/pthread.inl
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/pthread.inl
+
+$(PROJECT_INCLUDE)/rtems/posix/priority.inl: inline/rtems/posix/priority.inl
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/priority.inl
+
+$(PROJECT_INCLUDE)/rtems/posix/semaphore.inl: inline/rtems/posix/semaphore.inl
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/semaphore.inl
+
+$(PROJECT_INCLUDE)/rtems/posix/timer.inl: inline/rtems/posix/timer.inl
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/timer.inl
+endif
+
+if MACROS
+$(PROJECT_INCLUDE)/rtems/posix/cond.inl: macros/rtems/posix/cond.inl
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/cond.inl
+
+$(PROJECT_INCLUDE)/rtems/posix/key.inl: macros/rtems/posix/key.inl
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/key.inl
+
+$(PROJECT_INCLUDE)/rtems/posix/mqueue.inl: macros/rtems/posix/mqueue.inl
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/mqueue.inl
+
+$(PROJECT_INCLUDE)/rtems/posix/mutex.inl: macros/rtems/posix/mutex.inl
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/mutex.inl
+
+$(PROJECT_INCLUDE)/rtems/posix/pthread.inl: macros/rtems/posix/pthread.inl
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/pthread.inl
+
+$(PROJECT_INCLUDE)/rtems/posix/priority.inl: macros/rtems/posix/priority.inl
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/priority.inl
+
+$(PROJECT_INCLUDE)/rtems/posix/semaphore.inl: macros/rtems/posix/semaphore.inl
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/semaphore.inl
+
+$(PROJECT_INCLUDE)/rtems/posix/timer.inl: macros/rtems/posix/timer.inl
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/posix/timer.inl
+endif
+endif
+
include $(top_srcdir)/automake/local.am