source: rtems/cpukit/posix/Makefile.am @ 0243b0d

4.104.114.84.9
Last change on this file since 0243b0d was 0243b0d, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 8, 2006 at 8:47:48 PM

2006-06-08 Joel Sherrill <joel@…>

  • posix/Makefile.am, posix/preinstall.am, posix/include/rtems/posix/timer.h, posix/src/ptimer.c, posix/src/ptimer1.c, sapi/src/posixapi.c, score/include/rtems/score/object.h:
  • Property mode set to 100644
File size: 6.2 KB
Line 
1##
2## $Id$
3##
4
5include $(top_srcdir)/automake/multilib.am
6include $(top_srcdir)/automake/compile.am
7
8EXTRA_DIST =
9
10if HAS_POSIX
11
12# include
13
14include_HEADERS = include/sched.h include/aio.h include/mqueue.h \
15    include/semaphore.h include/devctl.h
16
17# include/rtems/posix
18
19include_rtems_posixdir = $(includedir)/rtems/posix
20
21include_rtems_posix_HEADERS = include/rtems/posix/cancel.h \
22    include/rtems/posix/cond.h include/rtems/posix/config.h \
23    include/rtems/posix/key.h include/rtems/posix/mqueue.h \
24    include/rtems/posix/mutex.h include/rtems/posix/posixapi.h \
25    include/rtems/posix/priority.h include/rtems/posix/psignal.h \
26    include/rtems/posix/pthread.h include/rtems/posix/semaphore.h \
27    include/rtems/posix/threadsup.h include/rtems/posix/time.h \
28    include/rtems/posix/timer.h
29
30if HAS_MP
31include_rtems_posix_HEADERS += include/rtems/posix/condmp.h \
32    include/rtems/posix/mqueuemp.h include/rtems/posix/mutexmp.h \
33    include/rtems/posix/pthreadmp.h include/rtems/posix/semaphoremp.h
34endif
35
36if INLINE
37include_rtems_posix_HEADERS += inline/rtems/posix/cond.inl \
38    inline/rtems/posix/key.inl inline/rtems/posix/mqueue.inl \
39    inline/rtems/posix/mutex.inl inline/rtems/posix/pthread.inl \
40    inline/rtems/posix/priority.inl inline/rtems/posix/semaphore.inl \
41    inline/rtems/posix/timer.inl
42else
43include_rtems_posix_HEADERS += macros/rtems/posix/cond.inl \
44    macros/rtems/posix/key.inl macros/rtems/posix/mqueue.inl \
45    macros/rtems/posix/mutex.inl macros/rtems/posix/pthread.inl \
46    macros/rtems/posix/priority.inl macros/rtems/posix/semaphore.inl \
47    macros/rtems/posix/timer.inl
48endif
49
50## src
51
52# These are really in the stand but not really functional
53## BUILD_FOR_NOW_C_FILES
54libposix_a_SOURCES = src/aio.c src/devctl.c
55
56## ENOSYS_C_FILES
57libposix_a_SOURCES += src/execl.c src/execle.c src/execlp.c src/execv.c \
58    src/execve.c src/execvp.c src/fork.c src/pthreadatfork.c src/wait.c \
59    src/waitpid.c
60
61## CANCEL_C_FILES
62libposix_a_SOURCES += src/cancel.c src/cancelrun.c src/cleanuppop.c \
63    src/cleanuppush.c src/setcancelstate.c src/setcanceltype.c \
64    src/testcancel.c
65
66## CONDITION_VARIABLE_C_FILES
67libposix_a_SOURCES += src/cond.c src/condattrdestroy.c \
68    src/condattrgetpshared.c src/condattrinit.c src/condattrsetpshared.c \
69    src/condbroadcast.c src/conddefaultattributes.c src/conddestroy.c \
70    src/condinit.c src/condmp.c src/condsignal.c src/condsignalsupp.c \
71    src/condtimedwait.c src/condwait.c src/condwaitsupp.c
72
73## KEY_C_FILES
74libposix_a_SOURCES += src/key.c src/keycreate.c src/keydelete.c \
75    src/keygetspecific.c \
76    src/keyrundestructors.c src/keysetspecific.c
77
78## MEMORY_C_FILES
79libposix_a_SOURCES += src/getpagesize.c src/mprotect.c
80
81## MESSAGE_QUEUE_C_FILES
82libposix_a_SOURCES += src/mqueue.c src/mqueueclose.c \
83    src/mqueuecreatesupp.c src/mqueuedeletesupp.c src/mqueuegetattr.c \
84    src/mqueuenametoid.c src/mqueuenotify.c src/mqueueopen.c \
85    src/mqueuereceive.c src/mqueuerecvsupp.c src/mqueuesend.c \
86    src/mqueuesendsupp.c src/mqueuesetattr.c src/mqueuetimedreceive.c \
87    src/mqueuetimedsend.c src/mqueuetranslatereturncode.c \
88    src/mqueueunlink.c
89
90## MUTEX_C_FILES
91libposix_a_SOURCES += src/mutex.c src/mutexattrdestroy.c \
92    src/mutexattrgetprioceiling.c src/mutexattrgetprotocol.c \
93    src/mutexattrgetpshared.c src/mutexattrinit.c \
94    src/mutexattrsetprioceiling.c src/mutexattrsetprotocol.c \
95    src/mutexattrsetpshared.c src/mutexdefaultattributes.c \
96    src/mutexdestroy.c src/mutexfromcorestatus.c src/mutexgetprioceiling.c \
97    src/mutexinit.c src/mutexlock.c src/mutexlocksupp.c src/mutexmp.c \
98    src/mutexsetprioceiling.c src/mutextimedlock.c src/mutextrylock.c \
99    src/mutexunlock.c
100
101## PTHREAD_C_FILES
102libposix_a_SOURCES += src/pthread.c src/pthreadsetcputime.c \
103    src/pthreadgetcputime.c src/pthreadgetcpuclockid.c src/pthreadonce.c \
104    src/pthreadequal.c src/pthreadself.c src/pthreadexit.c \
105    src/pthreaddetach.c src/pthreadjoin.c src/pthreadcreate.c \
106    src/pthreadattrsetdetachstate.c src/pthreadattrgetdetachstate.c \
107    src/pthreadattrgetstackaddr.c src/pthreadattrsetstackaddr.c \
108    src/pthreadattrgetstacksize.c src/pthreadattrsetstacksize.c \
109    src/pthreadattrinit.c src/pthreadattrdestroy.c \
110    src/pthreadsetschedparam.c src/pthreadgetschedparam.c \
111    src/pthreadattrsetschedparam.c src/pthreadattrgetschedparam.c \
112    src/pthreadattrgetschedpolicy.c src/pthreadattrsetschedpolicy.c \
113    src/pthreadattrgetinheritsched.c src/pthreadattrsetinheritsched.c \
114    src/pthreadattrgetscope.c src/pthreadattrsetscope.c
115
116## PSIGNAL_C_FILES
117libposix_a_SOURCES += src/psignal.c src/alarm.c src/kill.c src/killinfo.c \
118    src/pause.c src/psignalclearprocesssignals.c \
119    src/psignalsetprocesssignals.c src/psignalchecksignal.c \
120    src/psignalclearsignals.c src/psignalunblockthread.c src/pthreadkill.c \
121    src/pthreadsigmask.c src/sigaction.c src/sigaddset.c src/sigdelset.c \
122    src/sigemptyset.c src/sigfillset.c src/sigismember.c src/sigpending.c \
123    src/sigprocmask.c src/sigqueue.c src/sigsuspend.c src/sigtimedwait.c \
124    src/sigwait.c src/sigwaitinfo.c src/signal_2.c src/ualarm.c
125
126## SEMAPHORE_C_FILES
127libposix_a_SOURCES += src/semaphore.c src/semaphorecreatesupp.c \
128    src/semaphoredeletesupp.c src/semaphoremp.c src/semaphorenametoid.c \
129    src/semaphorewaitsupp.c src/semclose.c src/semdestroy.c \
130    src/semgetvalue.c src/seminit.c src/semopen.c src/sempost.c \
131    src/semtimedwait.c src/semtrywait.c src/semunlink.c src/semwait.c
132
133## TIME_C_FILES
134libposix_a_SOURCES += src/adjtime.c src/time.c src/posixtimespecsubtract.c \
135    src/posixtimespectointerval.c src/posixintervaltotimespec.c \
136    src/clockgetcpuclockid.c src/clockgetenableattr.c src/clockgetres.c \
137    src/clockgettime.c src/clocksetenableattr.c src/clocksettime.c \
138    src/nanosleep.c src/sleep.c src/usleep.c
139
140# the timer manager needs to be split further but only after its
141# dependence on the Classic API Timer Manager is removed.
142## TIMER_C_FILES
143libposix_a_SOURCES += src/ptimer.c src/ptimer1.c
144
145EXTRA_DIST += src/README.mqueue
146
147libposix_a_SOURCES += src/adasupp.c src/sched.c \
148    src/sysconf.c src/types.c
149
150AM_CPPFLAGS += -D__RTEMS_INSIDE__
151
152noinst_LIBRARIES = libposix.a
153libposix_a_CPPFLAGS = $(AM_CPPFLAGS)
154endif
155
156include $(srcdir)/preinstall.am
157include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.