source: rtems/c/src/exec/posix/src/Makefile.in @ 98dca75

4.104.114.84.95
Last change on this file since 98dca75 was 98dca75, checked in by Joel Sherrill <joel.sherrill@…>, on 11/02/99 at 18:25:26

Split condition variables into multiple files.

  • Property mode set to 100644
File size: 3.9 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ..
9subdir = src
10
11RTEMS_ROOT = @RTEMS_ROOT@
12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@
15
16# following are semi-implemented and untested
17# C_PIECES=aio cancel devctl intr utsname
18
19# These are really in the stand but not really functional
20BUILD_FOR_NOW_C_PIECES = aio cancel utsname
21
22ENOSYS_C_PIECES = execl execle execlp execv execve execvp fork pthreadatfork \
23    wait waitpid
24
25CONDITION_VARIABLE_C_PIECES= cond condattrdestroy condattrgetpshared \
26    condattrinit condattrsetpshared condbroadcast conddefaultattributes \
27    condmp condsignal condsignalsupp condtimedwait condwait condwaitsupp
28
29MESSAGE_QUEUE_C_PIECES= mqueue mqueueclose mqueuecreatesupp mqueuedeletesupp \
30    mqueuegetattr mqueuenametoid mqueuenotify mqueueopen mqueuereceive \
31    mqueuerecvsupp mqueuesend mqueuesendsupp mqueuesetattr \
32    mqueuetimedreceive mqueuetimedsend mqueueunlink \
33
34MUTEX_C_PIECES= mutex mutexattrdestroy mutexattrgetprioceiling \
35    mutexattrgetprotocol mutexattrgetpshared mutexattrinit \
36    mutexattrsetprioceiling mutexattrsetprotocol mutexattrsetpshared \
37    mutexdefaultattributes mutexdestroy mutexfromcorestatus \
38    mutexgetprioceiling mutexinit mutexlock mutexlocksupp mutexmp \
39    mutexsetprioceiling mutextimedlock mutextrylock mutexunlock
40
41PTHREAD_C_PIECES = pthread pthreadsetcputime pthreadgetcputime \
42    pthreadgetcpuclockid pthreadonce pthreadequal pthreadself pthreadexit \
43    pthreaddetach pthreadjoin pthreadcreate pthreadattrsetdetachstate \
44    pthreadattrgetdetachstate pthreadattrgetstackaddr \
45    pthreadattrsetstackaddr pthreadattrgetstacksize pthreadattrsetstacksize \
46    pthreadattrinit pthreadattrdestroy pthreadsetschedparam \
47    pthreadgetschedparam pthreadattrsetschedparam pthreadattrgetschedparam \
48    pthreadattrgetschedpolicy pthreadattrsetschedpolicy \
49    pthreadattrgetinheritsched pthreadattrsetinheritsched \
50    pthreadattrgetscope pthreadattrsetscope
51
52PSIGNAL_C_PIECES = psignal alarm kill killinfo pause \
53    psignalclearprocesssignals psignalsetprocesssignals \
54    psignalchecksignal psignalclearsignals \
55    psignalunblockthread pthreadkill \
56    pthreadsigmask sigaction sigaddset sigdelset sigemptyset sigfillset \
57    sigismember sigpending sigprocmask sigqueue sigsuspend sigtimedwait \
58    sigwait sigwaitinfo signal_2
59
60SEMAPHORE_C_PIECES= semaphore semaphorecreatesupp semaphoredeletesupp \
61    semaphoremp semaphorenametoid semaphorewaitsupp semdestroy \
62    semgetvalue seminit semopen sempost semtimedwait semtrywait \
63    semunlink semwait
64
65C_PIECES = adasupp $(CONDITION_VARIABLE_C_PIECES) \
66    getpid key $(MESSAGE_QUEUE_C_PIECES) \
67    $(MUTEX_C_PIECES) $(PTHREAD_C_PIECES) \
68    $(PSIGNAL_C_PIECES) ptimer sched $(SEMAPHORE_C_PIECES) \
69    time types unistd $(ENOSYS_C_PIECES) \
70    $(BUILD_FOR_NOW_C_PIECES)
71
72C_FILES = $(C_PIECES:%=%.c)
73C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
74
75SRCS = $(C_FILES) $(CC_FILES)
76OBJS = $(C_O_FILES) $(CC_O_FILES)
77
78include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
79include $(RTEMS_ROOT)/make/lib.cfg
80
81INSTALL_CHANGE = @INSTALL_CHANGE@
82
83#
84# Add local stuff here using +=
85#
86
87DEFINES += -D__RTEMS_INSIDE__
88CPPFLAGS +=
89CFLAGS += $(CFLAGS_OS_V)
90
91#
92# Add your list of files to delete here.  The config files
93#  already know how to delete some stuff, so you may want
94#  to just run 'make clean' first to see what gets missed.
95#  'make clobber' already includes 'make clean'
96#
97
98CLEAN_ADDITIONS +=
99CLOBBER_ADDITIONS +=
100
101all: ${ARCH} $(SRCS) ${OBJS}
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
112Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
113        cd $(top_builddir) \
114         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.