1 |
158 |
chris |
##
|
2 |
|
|
## $Id: Makefile.am,v 1.1.1.1 2001-07-10 09:42:26 chris Exp $
|
3 |
|
|
##
|
4 |
|
|
|
5 |
|
|
AUTOMAKE_OPTIONS = foreign 1.4
|
6 |
|
|
|
7 |
|
|
# following are semi-implemented and untested
|
8 |
|
|
UNUSED_C_FILES = devctl.c intr.c
|
9 |
|
|
|
10 |
|
|
# These are really in the stand but not really functional
|
11 |
|
|
BUILD_FOR_NOW_C_FILES = aio.c
|
12 |
|
|
|
13 |
|
|
ENOSYS_C_FILES = execl.c execle.c execlp.c execv.c execve.c execvp.c fork.c \
|
14 |
|
|
pthreadatfork.c wait.c waitpid.c
|
15 |
|
|
|
16 |
|
|
CANCEL_C_FILES = cancel.c cancelrun.c cleanuppop.c cleanuppush.c \
|
17 |
|
|
setcancelstate.c setcanceltype.c testcancel.c
|
18 |
|
|
|
19 |
|
|
CONDITION_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 |
|
|
|
24 |
|
|
ID_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 |
|
|
|
27 |
|
|
KEY_C_FILES = key.c keycreate.c keydelete.c keygetspecific.c \
|
28 |
|
|
keyrundestructors.c keysetspecific.c
|
29 |
|
|
|
30 |
|
|
MESSAGE_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 |
|
|
mqueuetranslatereturncode.c mqueueunlink.c
|
35 |
|
|
|
36 |
|
|
MUTEX_C_FILES = mutex.c mutexattrdestroy.c mutexattrgetprioceiling.c \
|
37 |
|
|
mutexattrgetprotocol.c mutexattrgetpshared.c mutexattrinit.c \
|
38 |
|
|
mutexattrsetprioceiling.c mutexattrsetprotocol.c mutexattrsetpshared.c \
|
39 |
|
|
mutexdefaultattributes.c mutexdestroy.c mutexfromcorestatus.c \
|
40 |
|
|
mutexgetprioceiling.c mutexinit.c mutexlock.c mutexlocksupp.c mutexmp.c \
|
41 |
|
|
mutexsetprioceiling.c mutextimedlock.c mutextrylock.c mutexunlock.c
|
42 |
|
|
|
43 |
|
|
PTHREAD_C_FILES = pthread.c pthreadsetcputime.c pthreadgetcputime.c \
|
44 |
|
|
pthreadgetcpuclockid.c pthreadonce.c pthreadequal.c pthreadself.c \
|
45 |
|
|
pthreadexit.c pthreaddetach.c pthreadjoin.c pthreadcreate.c \
|
46 |
|
|
pthreadattrsetdetachstate.c pthreadattrgetdetachstate.c \
|
47 |
|
|
pthreadattrgetstackaddr.c pthreadattrsetstackaddr.c \
|
48 |
|
|
pthreadattrgetstacksize.c pthreadattrsetstacksize.c pthreadattrinit.c \
|
49 |
|
|
pthreadattrdestroy.c pthreadsetschedparam.c pthreadgetschedparam.c \
|
50 |
|
|
pthreadattrsetschedparam.c pthreadattrgetschedparam.c \
|
51 |
|
|
pthreadattrgetschedpolicy.c pthreadattrsetschedpolicy.c \
|
52 |
|
|
pthreadattrgetinheritsched.c pthreadattrsetinheritsched.c \
|
53 |
|
|
pthreadattrgetscope.c pthreadattrsetscope.c
|
54 |
|
|
|
55 |
|
|
PSIGNAL_C_FILES = psignal.c alarm.c kill.c killinfo.c pause.c \
|
56 |
|
|
psignalclearprocesssignals.c psignalsetprocesssignals.c \
|
57 |
|
|
psignalchecksignal.c psignalclearsignals.c psignalunblockthread.c \
|
58 |
|
|
pthreadkill.c pthreadsigmask.c sigaction.c sigaddset.c sigdelset.c \
|
59 |
|
|
sigemptyset.c sigfillset.c sigismember.c sigpending.c sigprocmask.c \
|
60 |
|
|
sigqueue.c sigsuspend.c sigtimedwait.c sigwait.c sigwaitinfo.c \
|
61 |
|
|
signal_2.c
|
62 |
|
|
|
63 |
|
|
SEMAPHORE_C_FILES = semaphore.c semaphorecreatesupp.c semaphoredeletesupp.c \
|
64 |
|
|
semaphoremp.c semaphorenametoid.c semaphorewaitsupp.c semclose.c \
|
65 |
|
|
semdestroy.c semgetvalue.c seminit.c semopen.c sempost.c semtimedwait.c \
|
66 |
|
|
semtrywait.c semunlink.c semwait.c
|
67 |
|
|
|
68 |
|
|
TIME_C_FILES = time.c posixtimespecsubtract.c posixtimespectointerval.c \
|
69 |
|
|
posixintervaltotimespec.c clockgetcpuclockid.c clockgetenableattr.c \
|
70 |
|
|
clockgetres.c clockgettime.c clocksetenableattr.c clocksettime.c \
|
71 |
|
|
nanosleep.c sleep.c
|
72 |
|
|
|
73 |
|
|
# the timer manager needs to be split further but only after its
|
74 |
|
|
# dependence on the Classic API Timer Manager is removed.
|
75 |
|
|
TIMER_C_FILES = ptimer.c ptimer1.c
|
76 |
|
|
|
77 |
|
|
C_FILES = adasupp.c $(CANCEL_C_FILES) $(CONDITION_VARIABLE_C_FILES) \
|
78 |
|
|
$(ID_C_FILES) $(KEY_C_FILES) $(MESSAGE_QUEUE_C_FILES) $(MUTEX_C_FILES) \
|
79 |
|
|
$(PTHREAD_C_FILES) $(PSIGNAL_C_FILES) sched.c $(SEMAPHORE_C_FILES) \
|
80 |
|
|
sysconf.c $(TIME_C_FILES) $(TIMER_C_FILES) types.c $(ENOSYS_C_FILES) \
|
81 |
|
|
$(BUILD_FOR_NOW_C_FILES) utsname.c
|
82 |
|
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
83 |
|
|
|
84 |
|
|
OBJS = $(C_O_FILES)
|
85 |
|
|
|
86 |
|
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
87 |
|
|
include $(top_srcdir)/../../../../automake/lib.am
|
88 |
|
|
|
89 |
|
|
#
|
90 |
|
|
# Add local stuff here using +=
|
91 |
|
|
#
|
92 |
|
|
|
93 |
|
|
AM_CPPFLAGS += -D__RTEMS_INSIDE__
|
94 |
|
|
|
95 |
|
|
all-local: ${ARCH} ${OBJS}
|
96 |
|
|
|
97 |
|
|
# temporary so we can see how many things are left to implement
|
98 |
|
|
not:
|
99 |
|
|
grep -i NOT_IMPL $(C_FILES) | grep -v MP_NOT_IMPL
|
100 |
|
|
@echo
|
101 |
|
|
@echo
|
102 |
|
|
@echo
|
103 |
|
|
@echo `grep -i NOT_IMPL $(C_FILES) | grep -v MP_NOT_IMPL | wc -l ` places marked not implemented
|
104 |
|
|
@echo `wc -l $(C_FILES) | grep total` lines of C code to test
|
105 |
|
|
|
106 |
|
|
EXTRA_DIST = $(C_FILES) $(UNUSED_C_FILES)
|
107 |
|
|
|
108 |
|
|
include $(top_srcdir)/../../../../automake/local.am
|