source: rtems/cpukit/posix/Makefile.am @ 2d0bc83

Last change on this file since 2d0bc83 was 2d0bc83, checked in by Sebastian Huber <sebastian.huber@…>, on Mar 30, 2018 at 6:42:21 PM

build: Remove EXTRA_DIST

A "make dist" is not supported. So, it makes no sense to have pure "make
dist" related stuff in the Makefile.am.

  • Property mode set to 100644
File size: 7.0 KB
Line 
1include $(top_srcdir)/automake/multilib.am
2include $(top_srcdir)/automake/compile.am
3
4
5noinst_LIBRARIES = libposix.a
6libposix_a_CPPFLAGS = $(AM_CPPFLAGS)
7libposix_a_SOURCES =
8
9# Some POSIX functions that are nice to always have
10libposix_a_SOURCES += src/nanosleep.c src/clockgettime.c src/clocksettime.c \
11    src/clockgetres.c src/sysconf.c
12
13## Some POSIX threads features are needed all the time
14if HAS_PTHREADS
15# include
16# include/rtems/posix
17## src
18libposix_a_SOURCES += src/aio_cancel.c src/aio_error.c src/aio_fsync.c \
19    src/aio_read.c src/aio_return.c src/aio_suspend.c src/aio_write.c \
20    src/lio_listio.c src/aio_misc.c
21
22libposix_a_SOURCES += src/_execve.c
23endif
24
25libposix_a_SOURCES += src/fork.c src/vfork.c
26
27libposix_a_SOURCES += src/wait.c src/waitpid.c
28libposix_a_SOURCES += src/pthreadgetnamenp.c
29libposix_a_SOURCES += src/pthreadsetnamenp.c
30
31## BARRIER_C_FILES
32libposix_a_SOURCES += src/barrierattrdestroy.c src/barrierattrgetpshared.c \
33    src/barrierattrinit.c src/barrierattrsetpshared.c \
34    src/pbarrierdestroy.c src/pbarrierinit.c \
35    src/pbarrierwait.c
36
37## CONDITION_VARIABLE_C_FILES
38libposix_a_SOURCES += src/condattrdestroy.c \
39    src/condattrinit.c  \
40    src/condattrgetpshared.c src/condattrsetpshared.c \
41    src/condattrgetclock.c src/condattrsetclock.c \
42    src/condbroadcast.c src/conddefaultattributes.c src/conddestroy.c \
43    src/condinit.c src/condsignal.c src/condsignalsupp.c \
44    src/condtimedwait.c src/condwait.c src/condwaitsupp.c
45
46## MUTEX_C_FILES
47libposix_a_SOURCES += src/mutexattrdestroy.c src/mutexattrgetprioceiling.c \
48    src/mutexattrgetprotocol.c src/mutexattrgetpshared.c \
49    src/mutexattrgettype.c src/mutexattrinit.c src/mutexattrsetprioceiling.c \
50    src/mutexattrsetprotocol.c src/mutexattrsetpshared.c \
51    src/mutexattrsettype.c src/mutexdestroy.c \
52    src/mutexgetprioceiling.c src/mutexinit.c src/mutexlock.c \
53    src/mutexlocksupp.c src/mutexsetprioceiling.c src/mutextimedlock.c \
54    src/mutextrylock.c src/mutexunlock.c
55
56## PTHREAD_C_FILES
57libposix_a_SOURCES += src/psxpriorityisvalid.c
58
59## PTHREAD_ATTR_C_FILES
60libposix_a_SOURCES += src/pthreadattrdefault.c src/pthreadattrdestroy.c \
61   src/pthreadattrgetdetachstate.c src/pthreadattrgetguardsize.c \
62   src/pthreadattrgetinheritsched.c src/pthreadattrgetschedparam.c \
63   src/pthreadattrgetschedpolicy.c src/pthreadattrgetscope.c \
64   src/pthreadattrgetstackaddr.c src/pthreadattrgetstack.c \
65   src/pthreadattrgetstacksize.c src/pthreadattrinit.c \
66   src/pthreadattrsetdetachstate.c src/pthreadattrsetguardsize.c \
67   src/pthreadattrsetinheritsched.c src/pthreadattrsetschedparam.c \
68   src/pthreadattrsetschedpolicy.c src/pthreadattrsetscope.c \
69   src/pthreadattrsetstackaddr.c src/pthreadattrsetstack.c \
70   src/pthreadattrsetstacksize.c
71
72## PTHREAD_AFFINITY_C_FILES
73libposix_a_SOURCES += src/pthreadattrsetaffinitynp.c \
74    src/pthreadattrgetaffinitynp.c  src/pthreadgetaffinitynp.c   \
75    src/pthreadsetaffinitynp.c
76
77if HAS_PTHREADS
78## CANCEL_C_FILES
79libposix_a_SOURCES += src/cancel.c \
80    src/cleanuppush.c src/setcancelstate.c \
81    src/setcanceltype.c src/testcancel.c
82
83## MEMORY_C_FILES
84libposix_a_SOURCES += src/mlockall.c
85libposix_a_SOURCES += src/mlock.c
86libposix_a_SOURCES += src/mmap.c
87libposix_a_SOURCES += src/mprotect.c
88libposix_a_SOURCES += src/msync.c
89libposix_a_SOURCES += src/munlockall.c
90libposix_a_SOURCES += src/munlock.c
91libposix_a_SOURCES += src/munmap.c
92libposix_a_SOURCES += src/posix_madvise.c
93libposix_a_SOURCES += src/shm.c
94libposix_a_SOURCES += src/shmheap.c
95libposix_a_SOURCES += src/shmopen.c
96libposix_a_SOURCES += src/shmunlink.c
97libposix_a_SOURCES += src/shmwkspace.c
98
99## MESSAGE_QUEUE_C_FILES
100libposix_a_SOURCES += src/mqueue.c src/mqueueclose.c \
101    src/mqueuedeletesupp.c src/mqueuegetattr.c \
102    src/mqueuenotify.c src/mqueueopen.c \
103    src/mqueuereceive.c src/mqueuerecvsupp.c src/mqueuesend.c \
104    src/mqueuesendsupp.c src/mqueuesetattr.c src/mqueuetimedreceive.c \
105    src/mqueuetimedsend.c \
106    src/mqueueunlink.c
107
108## PTHREAD_C_FILES
109libposix_a_SOURCES += src/pthreadatfork.c \
110    src/pthreadgetattrnp.c \
111    src/pthread.c \
112    src/pthreadconcurrency.c \
113    src/pthreadcreate.c src/pthreaddetach.c src/pthreadequal.c \
114    src/pthreadexit.c src/pthreadgetcpuclockid.c \
115    src/pthreadgetschedparam.c \
116    src/pthreadinitthreads.c src/pthreadjoin.c src/pthreadkill.c \
117    src/pthreadself.c \
118    src/pthreadsetschedparam.c src/pthreadsigmask.c \
119    src/psxtransschedparam.c
120libposix_a_SOURCES += src/pthreadsetschedprio.c
121
122## PSIGNAL_C_FILES
123libposix_a_SOURCES += src/psignal.c src/alarm.c src/kill.c src/killinfo.c \
124    src/kill_r.c src/pause.c src/psignalclearprocesssignals.c \
125    src/psignalsetprocesssignals.c \
126    src/psignalclearsignals.c src/psignalunblockthread.c src/pthreadkill.c \
127    src/pthreadsigmask.c src/sigaction.c
128endif
129
130## KEY_C_FILES
131libposix_a_SOURCES += src/key.c src/keycreate.c src/keydelete.c \
132    src/keygetspecific.c \
133    src/keysetspecific.c
134
135## ONCE_C_FILES
136libposix_a_SOURCES += src/pthreadonce.c
137
138libposix_a_SOURCES += src/sigaddset.c src/sigdelset.c src/sigfillset.c \
139   src/sigemptyset.c src/sigismember.c
140
141libposix_a_SOURCES += src/sigprocmask.c
142
143## SPINLOCK_C_FILES
144libposix_a_SOURCES += src/pspindestroy.c
145libposix_a_SOURCES += src/pspininit.c
146libposix_a_SOURCES += src/pspinlock.c
147libposix_a_SOURCES += src/pspinunlock.c
148
149## SEMAPHORE_C_FILES
150libposix_a_SOURCES += src/semdestroy.c
151libposix_a_SOURCES += src/semgetvalue.c
152libposix_a_SOURCES += src/seminit.c
153libposix_a_SOURCES += src/sempost.c
154libposix_a_SOURCES += src/semtimedwait.c
155libposix_a_SOURCES += src/semtrywait.c
156libposix_a_SOURCES += src/semwait.c
157
158## RWLOCK_C_FILES
159libposix_a_SOURCES += src/prwlockdestroy.c src/prwlockinit.c \
160    src/prwlockrdlock.c src/prwlocktimedrdlock.c src/prwlocktimedwrlock.c \
161    src/prwlocktryrdlock.c src/prwlocktrywrlock.c src/prwlockunlock.c \
162    src/prwlockwrlock.c src/rwlockattrdestroy.c src/rwlockattrgetpshared.c \
163    src/rwlockattrinit.c src/rwlockattrsetpshared.c
164
165if HAS_PTHREADS
166libposix_a_SOURCES += src/sigpending.c \
167    src/sigqueue.c src/sigsuspend.c src/sigtimedwait.c \
168    src/sigwait.c src/sigwaitinfo.c src/signal_2.c src/ualarm.c
169
170## SEMAPHORE_C_FILES
171libposix_a_SOURCES += src/semaphore.c
172libposix_a_SOURCES += src/semaphoredeletesupp.c
173libposix_a_SOURCES += src/semclose.c
174libposix_a_SOURCES += src/semopen.c
175libposix_a_SOURCES += src/semunlink.c
176
177## TIME_C_FILES
178libposix_a_SOURCES += src/adjtime.c src/clockgetcpuclockid.c
179
180## TIMER_C_FILES
181libposix_a_SOURCES += src/ptimer.c src/timercreate.c src/timerdelete.c \
182    src/timergetoverrun.c src/timergettime.c src/timersettime.c
183
184## ITIMER_C_FILES
185libposix_a_SOURCES += src/getitimer.c src/setitimer.c
186
187## SUPPORT_C_FILES
188libposix_a_SOURCES += src/psxpriorityisvalid.c
189libposix_a_SOURCES += src/psxnametoid.c
190
191
192libposix_a_SOURCES += src/sched_getparam.c \
193    src/sched_getscheduler.c \
194    src/sched_rr_get_interval.c src/sched_setparam.c \
195    src/sched_setscheduler.c src/sched_yield.c
196endif
197
198libposix_a_SOURCES += src/sched_getprioritymin.c
199libposix_a_SOURCES += src/sched_getprioritymax.c
200
201include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.