source: rtems/cpukit/posix/src/Makefile.am @ 3d57435d

4.104.114.84.95
Last change on this file since 3d57435d was 3d57435d, checked in by Joel Sherrill <joel.sherrill@…>, on 08/21/02 at 17:45:10

2002-08-21 Joel Sherrill <joel@…>

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