source: rtems/cpukit/posix/src/Makefile.am @ 78c2a97

4.104.114.84.95
Last change on this file since 78c2a97 was 78c2a97, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jun 17, 2002 at 9:07:32 AM

2002-06-17 Ralf Corsepius <corsepiu@…>

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