source: rtems/cpukit/posix/src/Makefile.am @ 61581a1

4.104.114.84.95
Last change on this file since 61581a1 was fba12eb6, checked in by Joel Sherrill <joel.sherrill@…>, on 11/23/99 at 13:29:04

Patch rtems-rc-19991117-11.diff from Ralf Corsepius <corsepiu@…>
to convert the libc directory to automake and "dozens of
small fixes for Makefile.ins/configure.ins below c/src/lib."

  • Property mode set to 100644
File size: 4.4 KB
Line 
1##
2##  $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
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
30MESSAGE_QUEUE_C_FILES = mqueue.c mqueueclose.c mqueuecreatesupp.c \
31    mqueuedeletesupp.c mqueuegetattr.c mqueuenametoid.c mqueuenotify.c \
32    mqueueopen.c mqueuereceive.c mqueuerecvsupp.c mqueuesend.c \
33    mqueuesendsupp.c mqueuesetattr.c mqueuetimedreceive.c mqueuetimedsend.c \
34    mqueueunlink.c
35MUTEX_C_FILES = mutex.c mutexattrdestroy.c mutexattrgetprioceiling.c \
36    mutexattrgetprotocol.c mutexattrgetpshared.c mutexattrinit.c \
37    mutexattrsetprioceiling.c mutexattrsetprotocol.c mutexattrsetpshared.c \
38    mutexdefaultattributes.c mutexdestroy.c mutexfromcorestatus.c \
39    mutexgetprioceiling.c mutexinit.c mutexlock.c mutexlocksupp.c mutexmp.c \
40    mutexsetprioceiling.c mutextimedlock.c mutextrylock.c mutexunlock.c
41
42PTHREAD_C_FILES = pthread.c pthreadsetcputime.c pthreadgetcputime.c \
43    pthreadgetcpuclockid.c pthreadonce.c pthreadequal.c pthreadself.c \
44    pthreadexit.c pthreaddetach.c pthreadjoin.c pthreadcreate.c \
45    pthreadattrsetdetachstate.c pthreadattrgetdetachstate.c \
46    pthreadattrgetstackaddr.c pthreadattrsetstackaddr.c \
47    pthreadattrgetstacksize.c pthreadattrsetstacksize.c pthreadattrinit.c \
48    pthreadattrdestroy.c pthreadsetschedparam.c pthreadgetschedparam.c \
49    pthreadattrsetschedparam.c pthreadattrgetschedparam.c \
50    pthreadattrgetschedpolicy.c pthreadattrsetschedpolicy.c \
51    pthreadattrgetinheritsched.c pthreadattrsetinheritsched.c \
52    pthreadattrgetscope.c pthreadattrsetscope.c
53
54PSIGNAL_C_FILES = psignal.c alarm.c kill.c killinfo.c pause.c \
55    psignalclearprocesssignals.c psignalsetprocesssignals.c \
56    psignalchecksignal.c psignalclearsignals.c psignalunblockthread.c \
57    pthreadkill.c pthreadsigmask.c sigaction.c sigaddset.c sigdelset.c \
58    sigemptyset.c sigfillset.c sigismember.c sigpending.c sigprocmask.c \
59    sigqueue.c sigsuspend.c sigtimedwait.c sigwait.c sigwaitinfo.c \
60    signal_2.c
61
62SEMAPHORE_C_FILES = semaphore.c semaphorecreatesupp.c semaphoredeletesupp.c \
63    semaphoremp.c semaphorenametoid.c semaphorewaitsupp.c semclose.c \
64    semdestroy.c semgetvalue.c seminit.c semopen.c sempost.c semtimedwait.c \
65    semtrywait.c semunlink.c semwait.c
66
67TIME_C_FILES = time.c posixtimespecsubtract.c posixtimespectointerval.c \
68    posixintervaltotimespec.c clockgetcpuclockid.c clockgetenableattr.c \
69    clockgetres.c clockgettime.c clocksetenableattr.c clocksettime.c \
70    nanosleep.c sleep.c
71
72# the timer manager needs to be split further but only after its
73# dependence on the Classic API Timer Manager is removed.
74TIMER_C_FILES = ptimer.c ptimer1.c
75
76C_FILES = adasupp.c $(CANCEL_C_FILES) $(CONDITION_VARIABLE_C_FILES) \
77    $(ID_C_FILES) $(KEY_C_FILES) $(MESSAGE_QUEUE_C_FILES) $(MUTEX_C_FILES) \
78    $(PTHREAD_C_FILES) $(PSIGNAL_C_FILES) sched.c $(SEMAPHORE_C_FILES) \
79    sysconf.c $(TIME_C_FILES) $(TIMER_C_FILES) types.c $(ENOSYS_C_FILES) \
80    $(BUILD_FOR_NOW_C_FILES) utsname.c
81C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
82
83SRCS = $(C_FILES)
84OBJS = $(C_O_FILES)
85
86include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
87include $(top_srcdir)/../../../../automake/lib.am
88
89#
90# Add local stuff here using +=
91#
92
93AM_CPPFLAGS += -D__RTEMS_INSIDE__
94AM_CFLAGS += $(CFLAGS_OS_V)
95
96all: ${ARCH} $(SRCS) ${OBJS}
97
98# temporary so we can see how many things are left to implement
99not:
100        grep -i NOT_IMPL $(C_FILES) | grep -v MP_NOT_IMPL
101        @echo
102        @echo
103        @echo
104        @echo `grep -i NOT_IMPL $(C_FILES) | grep -v MP_NOT_IMPL | wc -l ` places marked not implemented
105        @echo `wc -l $(C_FILES) | grep total` lines of C code to test
106
107EXTRA_DIST = $(C_FILES) $(UNUSED_C_FILES)
108
109include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.