source: rtems/cpukit/posix/Makefile.am @ 522f374

4.104.11
Last change on this file since 522f374 was 522f374, checked in by Ralf Corsepius <ralf.corsepius@…>, on Dec 4, 2009 at 3:30:35 PM

Unconditionally install posix/include/rtems/posix/sigset.h.

  • Property mode set to 100644
File size: 7.6 KB
Line 
1##
2## $Id$
3##
4
5include $(top_srcdir)/automake/multilib.am
6include $(top_srcdir)/automake/compile.am
7
8EXTRA_DIST =
9
10AM_CPPFLAGS += -D__RTEMS_INSIDE__
11
12noinst_LIBRARIES = libposix.a
13libposix_a_CPPFLAGS = $(AM_CPPFLAGS)
14libposix_a_SOURCES =
15
16# Some POSIX functions that are nice to always have
17## 20 Nov 2008: Now using these from newlib's posix directory
18libposix_a_SOURCES += src/sleep.c src/usleep.c
19libposix_a_SOURCES += src/nanosleep.c src/clockgettime.c src/clocksettime.c \
20    src/clockgetres.c
21
22include_rtems_posixdir = $(includedir)/rtems/posix
23
24include_rtems_posix_HEADERS = include/rtems/posix/sigset.h
25
26if HAS_PTHREADS
27# include
28
29include_HEADERS = include/sched.h include/aio.h include/mqueue.h \
30    include/semaphore.h include/devctl.h
31
32# include/rtems/posix
33
34
35include_rtems_posix_HEADERS += include/rtems/posix/cancel.h \
36    include/rtems/posix/cond.h include/rtems/posix/config.h \
37    include/rtems/posix/key.h include/rtems/posix/mqueue.h \
38    include/rtems/posix/mutex.h include/rtems/posix/posixapi.h \
39    include/rtems/posix/priority.h include/rtems/posix/psignal.h \
40    include/rtems/posix/pthread.h include/rtems/posix/ptimer.h \
41    include/rtems/posix/semaphore.h include/rtems/posix/threadsup.h \
42    include/rtems/posix/time.h include/rtems/posix/timer.h \
43    include/rtems/posix/barrier.h include/rtems/posix/rwlock.h \
44    include/rtems/posix/spinlock.h
45
46include_rtems_posix_HEADERS += inline/rtems/posix/cond.inl \
47    inline/rtems/posix/key.inl inline/rtems/posix/mqueue.inl \
48    inline/rtems/posix/mutex.inl inline/rtems/posix/pthread.inl \
49    inline/rtems/posix/priority.inl inline/rtems/posix/semaphore.inl \
50    inline/rtems/posix/timer.inl inline/rtems/posix/barrier.inl \
51    inline/rtems/posix/rwlock.inl inline/rtems/posix/spinlock.inl
52
53## src
54
55# These are really in the stand but not really functional
56## BUILD_FOR_NOW_C_FILES
57libposix_a_SOURCES += src/aio_cancel.c src/aio_error.c src/aio_fsync.c \
58    src/aio_read.c src/aio_return.c src/aio_suspend.c src/aio_write.c \
59    src/lio_listio.c src/devctl.c
60
61## ENOSYS_C_FILES
62libposix_a_SOURCES += src/_execve.c src/execl.c src/execle.c src/execlp.c \
63    src/execv.c src/execve.c src/execvp.c
64endif
65
66libposix_a_SOURCES += src/fork.c src/vfork.c
67
68libposix_a_SOURCES += src/wait.c src/waitpid.c
69
70if HAS_PTHREADS
71libposix_a_SOURCES +=  src/pthreadatfork.c
72
73## BARRIER_C_FILES
74libposix_a_SOURCES += src/barrierattrdestroy.c src/barrierattrgetpshared.c \
75    src/barrierattrinit.c src/barrierattrsetpshared.c src/pbarrier.c \
76    src/pbarrierdestroy.c src/pbarrierinit.c \
77    src/pbarriertranslatereturncode.c src/pbarrierwait.c
78
79## CANCEL_C_FILES
80libposix_a_SOURCES += src/cancel.c src/canceleval.c src/cancelrun.c \
81    src/cleanuppop.c src/cleanuppush.c src/setcancelstate.c \
82    src/setcanceltype.c src/testcancel.c
83
84## CONDITION_VARIABLE_C_FILES
85libposix_a_SOURCES += src/cond.c src/condattrdestroy.c \
86    src/condattrgetpshared.c src/condattrinit.c src/condattrsetpshared.c \
87    src/condbroadcast.c src/conddefaultattributes.c src/conddestroy.c \
88    src/condinit.c src/condsignal.c src/condsignalsupp.c \
89    src/condtimedwait.c src/condwait.c src/condwaitsupp.c src/condget.c
90
91## KEY_C_FILES
92libposix_a_SOURCES += src/key.c src/keycreate.c src/keydelete.c \
93    src/keygetspecific.c src/keyrundestructors.c src/keysetspecific.c
94
95## MEMORY_C_FILES
96libposix_a_SOURCES += src/mprotect.c
97
98## MESSAGE_QUEUE_C_FILES
99libposix_a_SOURCES += src/mqueue.c src/mqueueclose.c \
100    src/mqueuecreatesupp.c src/mqueuedeletesupp.c src/mqueuegetattr.c \
101    src/mqueuenametoid.c src/mqueuenotify.c src/mqueueopen.c \
102    src/mqueuereceive.c src/mqueuerecvsupp.c src/mqueuesend.c \
103    src/mqueuesendsupp.c src/mqueuesetattr.c src/mqueuetimedreceive.c \
104    src/mqueuetimedsend.c src/mqueuetranslatereturncode.c \
105    src/mqueueunlink.c
106
107## MUTEX_C_FILES
108libposix_a_SOURCES += src/mutexattrdestroy.c src/mutexattrgetprioceiling.c \
109    src/mutexattrgetprotocol.c src/mutexattrgetpshared.c \
110    src/mutexattrgettype.c src/mutexattrinit.c src/mutexattrsetprioceiling.c \
111    src/mutexattrsetprotocol.c src/mutexattrsetpshared.c \
112    src/mutexattrsettype.c src/mutex.c src/mutexdestroy.c src/mutexget.c \
113    src/mutexgetprioceiling.c src/mutexinit.c src/mutexlock.c \
114    src/mutexlocksupp.c src/mutexsetprioceiling.c src/mutextimedlock.c \
115    src/mutextranslatereturncode.c src/mutextrylock.c src/mutexunlock.c
116
117## PTHREAD_C_FILES
118libposix_a_SOURCES += src/pthread.c src/pthreadsetcputime.c \
119    src/pthreadgetcputime.c src/pthreadgetcpuclockid.c src/pthreadonce.c \
120    src/pthreadequal.c src/pthreadself.c src/pthreadexit.c \
121    src/pthreaddetach.c src/pthreadjoin.c src/pthreadcreate.c \
122    src/pthreadattrsetdetachstate.c src/pthreadattrgetdetachstate.c \
123    src/pthreadattrgetstackaddr.c src/pthreadattrsetstackaddr.c \
124    src/pthreadattrgetstacksize.c src/pthreadattrsetstacksize.c \
125    src/pthreadattrinit.c src/pthreadattrdestroy.c \
126    src/pthreadsetschedparam.c src/pthreadgetschedparam.c \
127    src/pthreadattrsetschedparam.c src/pthreadattrgetschedparam.c \
128    src/pthreadattrgetschedpolicy.c src/pthreadattrsetschedpolicy.c \
129    src/pthreadattrgetinheritsched.c src/pthreadattrsetinheritsched.c \
130    src/pthreadattrgetscope.c src/pthreadattrsetscope.c \
131    src/pthreadinitthreads.c src/psxtransschedparam.c
132
133## PSIGNAL_C_FILES
134libposix_a_SOURCES += src/psignal.c src/alarm.c src/kill.c src/killinfo.c \
135    src/kill_r.c src/pause.c src/psignalclearprocesssignals.c \
136    src/psignalsetprocesssignals.c src/psignalchecksignal.c \
137    src/psignalclearsignals.c src/psignalunblockthread.c src/pthreadkill.c \
138    src/pthreadsigmask.c src/sigaction.c src/sigaddset.c src/sigdelset.c \
139    src/sigemptyset.c src/sigfillset.c src/sigismember.c src/sigpending.c \
140    src/sigprocmask.c src/sigqueue.c src/sigsuspend.c src/sigtimedwait.c \
141    src/sigwait.c src/sigwaitinfo.c src/signal_2.c src/ualarm.c
142
143## RWLOCK_C_FILES
144libposix_a_SOURCES += src/prwlock.c src/prwlockdestroy.c src/prwlockinit.c \
145    src/prwlockrdlock.c src/prwlocktimedrdlock.c src/prwlocktimedwrlock.c \
146    src/prwlocktryrdlock.c src/prwlocktrywrlock.c src/prwlockunlock.c \
147    src/prwlockwrlock.c src/rwlockattrdestroy.c src/rwlockattrgetpshared.c \
148    src/rwlockattrinit.c src/rwlockattrsetpshared.c \
149    src/prwlocktranslatereturncode.c
150
151## SEMAPHORE_C_FILES
152libposix_a_SOURCES += src/semaphore.c src/semaphorecreatesupp.c \
153    src/semaphoredeletesupp.c src/semaphorenametoid.c \
154    src/semaphoretranslatereturncode.c src/semaphorewaitsupp.c \
155    src/semclose.c src/semdestroy.c src/semgetvalue.c src/seminit.c \
156    src/semopen.c src/sempost.c src/semtimedwait.c src/semtrywait.c \
157    src/semunlink.c src/semwait.c
158
159## SPINLOCK_C_FILES
160libposix_a_SOURCES += src/pspin.c src/pspindestroy.c src/pspininit.c \
161    src/pspinlock.c src/pspinlocktranslatereturncode.c src/pspintrylock.c \
162    src/pspinunlock.c
163
164## TIME_C_FILES
165libposix_a_SOURCES += src/adjtime.c src/posixtimespecabsolutetimeout.c \
166    src/clockgetcpuclockid.c src/clockgetenableattr.c src/clocksetenableattr.c
167
168## TIMER_C_FILES
169libposix_a_SOURCES += src/ptimer.c src/timercreate.c src/timerdelete.c \
170    src/timergetoverrun.c src/timergettime.c src/timersettime.c \
171    src/timertsr.c src/timerinserthelper.c
172
173## ITIMER_C_FILES
174libposix_a_SOURCES += src/getitimer.c src/setitimer.c
175
176## SUPPORT_C_FILES
177libposix_a_SOURCES += src/psxpriorityisvalid.c
178
179EXTRA_DIST += src/README.mqueue
180
181libposix_a_SOURCES += src/sched_getparam.c src/sched_getprioritymax.c \
182    src/sched_getprioritymin.c src/sched_getscheduler.c \
183    src/sched_rr_get_interval.c src/sched_setparam.c \
184    src/sched_setscheduler.c src/sched_yield.c src/sysconf.c
185endif
186
187include $(srcdir)/preinstall.am
188include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.