source: rtems/c/src/exec/posix/src/Makefile.am @ 586a31b

4.104.114.84.95
Last change on this file since 586a31b was 586a31b, checked in by Joel Sherrill <joel.sherrill@…>, on 09/24/01 at 18:20:22

2001-09-22 Ralf Corsepius <corsepiu@…>

  • optman/Makefile.am: Adapt ASM4FLAGS to automake-1.5 happy.
  • src/Makefile.am: Adapt INCLUDES to make automake-1.5 happy.
  • Property mode set to 100644
File size: 4.6 KB
Line 
1##
2##  $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7INCLUDES = -I.
8
9# following are semi-implemented and untested
10UNUSED_C_FILES = devctl.c intr.c
11
12# These are really in the stand but not really functional
13BUILD_FOR_NOW_C_FILES = aio.c
14
15ENOSYS_C_FILES = execl.c execle.c execlp.c execv.c execve.c execvp.c fork.c \
16    pthreadatfork.c wait.c waitpid.c
17
18CANCEL_C_FILES = cancel.c cancelrun.c cleanuppop.c cleanuppush.c \
19    setcancelstate.c setcanceltype.c testcancel.c
20
21CONDITION_VARIABLE_C_FILES = cond.c condattrdestroy.c condattrgetpshared.c \
22    condattrinit.c condattrsetpshared.c condbroadcast.c \
23    conddefaultattributes.c conddestroy.c condinit.c condmp.c condsignal.c \
24    condsignalsupp.c condtimedwait.c condwait.c condwaitsupp.c
25
26ID_C_FILES = getegid.c geteuid.c getgid.c getgroups.c getlogin.c getpgrp.c \
27    getpid.c getppid.c getuid.c setpgid.c setsid.c
28
29KEY_C_FILES = key.c keycreate.c keydelete.c keygetspecific.c \
30    keyrundestructors.c keysetspecific.c
31
32MEMORY_C_FILES = getpagesize.c mprotect.c
33
34MESSAGE_QUEUE_C_FILES = mqueue.c mqueueclose.c mqueuecreatesupp.c \
35    mqueuedeletesupp.c mqueuegetattr.c mqueuenametoid.c mqueuenotify.c \
36    mqueueopen.c mqueuereceive.c mqueuerecvsupp.c mqueuesend.c \
37    mqueuesendsupp.c mqueuesetattr.c mqueuetimedreceive.c mqueuetimedsend.c \
38    mqueuetranslatereturncode.c mqueueunlink.c
39
40MUTEX_C_FILES = mutex.c mutexattrdestroy.c mutexattrgetprioceiling.c \
41    mutexattrgetprotocol.c mutexattrgetpshared.c mutexattrinit.c \
42    mutexattrsetprioceiling.c mutexattrsetprotocol.c mutexattrsetpshared.c \
43    mutexdefaultattributes.c mutexdestroy.c mutexfromcorestatus.c \
44    mutexgetprioceiling.c mutexinit.c mutexlock.c mutexlocksupp.c mutexmp.c \
45    mutexsetprioceiling.c mutextimedlock.c mutextrylock.c mutexunlock.c
46
47PTHREAD_C_FILES = pthread.c pthreadsetcputime.c pthreadgetcputime.c \
48    pthreadgetcpuclockid.c pthreadonce.c pthreadequal.c pthreadself.c \
49    pthreadexit.c pthreaddetach.c pthreadjoin.c pthreadcreate.c \
50    pthreadattrsetdetachstate.c pthreadattrgetdetachstate.c \
51    pthreadattrgetstackaddr.c pthreadattrsetstackaddr.c \
52    pthreadattrgetstacksize.c pthreadattrsetstacksize.c pthreadattrinit.c \
53    pthreadattrdestroy.c pthreadsetschedparam.c pthreadgetschedparam.c \
54    pthreadattrsetschedparam.c pthreadattrgetschedparam.c \
55    pthreadattrgetschedpolicy.c pthreadattrsetschedpolicy.c \
56    pthreadattrgetinheritsched.c pthreadattrsetinheritsched.c \
57    pthreadattrgetscope.c pthreadattrsetscope.c
58
59PSIGNAL_C_FILES = psignal.c alarm.c kill.c killinfo.c pause.c \
60    psignalclearprocesssignals.c psignalsetprocesssignals.c \
61    psignalchecksignal.c psignalclearsignals.c psignalunblockthread.c \
62    pthreadkill.c pthreadsigmask.c sigaction.c sigaddset.c sigdelset.c \
63    sigemptyset.c sigfillset.c sigismember.c sigpending.c sigprocmask.c \
64    sigqueue.c sigsuspend.c sigtimedwait.c sigwait.c sigwaitinfo.c \
65    signal_2.c
66
67SEMAPHORE_C_FILES = semaphore.c semaphorecreatesupp.c semaphoredeletesupp.c \
68    semaphoremp.c semaphorenametoid.c semaphorewaitsupp.c semclose.c \
69    semdestroy.c semgetvalue.c seminit.c semopen.c sempost.c semtimedwait.c \
70    semtrywait.c semunlink.c semwait.c
71
72TIME_C_FILES = time.c posixtimespecsubtract.c posixtimespectointerval.c \
73    posixintervaltotimespec.c clockgetcpuclockid.c clockgetenableattr.c \
74    clockgetres.c clockgettime.c clocksetenableattr.c clocksettime.c \
75    nanosleep.c sleep.c
76
77# the timer manager needs to be split further but only after its
78# dependence on the Classic API Timer Manager is removed.
79TIMER_C_FILES = ptimer.c ptimer1.c
80
81C_FILES = adasupp.c $(CANCEL_C_FILES) $(CONDITION_VARIABLE_C_FILES) \
82    $(ID_C_FILES) $(KEY_C_FILES) $(MEMORY_C_FILES) $(MESSAGE_QUEUE_C_FILES) \
83    $(MUTEX_C_FILES) $(PTHREAD_C_FILES) $(PSIGNAL_C_FILES) sched.c \
84    $(SEMAPHORE_C_FILES) sysconf.c $(TIME_C_FILES) $(TIMER_C_FILES) types.c \
85    $(ENOSYS_C_FILES) $(BUILD_FOR_NOW_C_FILES) utsname.c
86C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
87
88OBJS = $(C_O_FILES)
89
90include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
91include $(top_srcdir)/../../../../automake/compile.am
92include $(top_srcdir)/../../../../automake/lib.am
93
94#
95# Add local stuff here using +=
96#
97
98AM_CPPFLAGS += -D__RTEMS_INSIDE__
99
100all-local: ${ARCH} ${OBJS}
101
102# temporary so we can see how many things are left to implement
103not:
104        grep -i NOT_IMPL $(C_FILES) | grep -v MP_NOT_IMPL
105        @echo
106        @echo
107        @echo
108        @echo `grep -i NOT_IMPL $(C_FILES) | grep -v MP_NOT_IMPL | wc -l ` places marked not implemented
109        @echo `wc -l $(C_FILES) | grep total` lines of C code to test
110
111EXTRA_DIST = $(C_FILES) $(UNUSED_C_FILES)
112
113include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.