source: rtems/c/src/exec/posix/src/Makefile.in @ 799c767

4.104.114.84.95
Last change on this file since 799c767 was 799c767, checked in by Joel Sherrill <joel.sherrill@…>, on 11/02/99 at 18:00:15

Split the POSIX semaphore manager into multiple files.

  • Property mode set to 100644
File size: 3.6 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
25MESSAGE_QUEUE_PIECES= mqueue mqueueclose mqueuecreatesupp mqueuedeletesupp \
26    mqueuegetattr mqueuenametoid mqueuenotify mqueueopen mqueuereceive \
27    mqueuerecvsupp mqueuesend mqueuesendsupp mqueuesetattr \
28    mqueuetimedreceive mqueuetimedsend mqueueunlink \
29
30MUTEX_C_PIECES= mutex mutexattrdestroy mutexattrgetprioceiling \
31    mutexattrgetprotocol mutexattrgetpshared mutexattrinit \
32    mutexattrsetprioceiling mutexattrsetprotocol mutexattrsetpshared \
33    mutexdefaultattributes mutexdestroy mutexfromcorestatus \
34    mutexgetprioceiling mutexinit mutexlock mutexlocksupp mutexmp \
35    mutexsetprioceiling mutextimedlock mutextrylock mutexunlock
36
37PTHREAD_C_PIECES = pthread pthreadsetcputime pthreadgetcputime \
38    pthreadgetcpuclockid pthreadonce pthreadequal pthreadself pthreadexit \
39    pthreaddetach pthreadjoin pthreadcreate pthreadattrsetdetachstate \
40    pthreadattrgetdetachstate pthreadattrgetstackaddr \
41    pthreadattrsetstackaddr pthreadattrgetstacksize pthreadattrsetstacksize \
42    pthreadattrinit pthreadattrdestroy pthreadsetschedparam \
43    pthreadgetschedparam pthreadattrsetschedparam pthreadattrgetschedparam \
44    pthreadattrgetschedpolicy pthreadattrsetschedpolicy \
45    pthreadattrgetinheritsched pthreadattrsetinheritsched \
46    pthreadattrgetscope pthreadattrsetscope
47
48PSIGNAL_C_PIECES = psignal alarm kill killinfo pause \
49    psignalclearprocesssignals psignalsetprocesssignals \
50    psignalchecksignal psignalclearsignals \
51    psignalunblockthread pthreadkill \
52    pthreadsigmask sigaction sigaddset sigdelset sigemptyset sigfillset \
53    sigismember sigpending sigprocmask sigqueue sigsuspend sigtimedwait \
54    sigwait sigwaitinfo signal_2
55
56SEMAPHORE_C_PIECES= semaphore semaphorecreatesupp semaphoredeletesupp \
57    semaphoremp semaphorenametoid semaphorewaitsupp semdestroy \
58    semgetvalue seminit semopen sempost semtimedwait semtrywait \
59    semunlink semwait
60
61C_PIECES = adasupp cond getpid key $(MESSAGE_QUEUE_PIECES) \
62    $(MUTEX_C_PIECES) $(PTHREAD_C_PIECES) \
63    $(PSIGNAL_C_PIECES) ptimer sched $(SEMAPHORE_C_PIECES) \
64    time types unistd $(ENOSYS_C_PIECES) \
65    $(BUILD_FOR_NOW_C_PIECES)
66
67C_FILES = $(C_PIECES:%=%.c)
68C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
69
70SRCS = $(C_FILES) $(CC_FILES)
71OBJS = $(C_O_FILES) $(CC_O_FILES)
72
73include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
74include $(RTEMS_ROOT)/make/lib.cfg
75
76INSTALL_CHANGE = @INSTALL_CHANGE@
77
78#
79# Add local stuff here using +=
80#
81
82DEFINES += -D__RTEMS_INSIDE__
83CPPFLAGS +=
84CFLAGS += $(CFLAGS_OS_V)
85
86#
87# Add your list of files to delete here.  The config files
88#  already know how to delete some stuff, so you may want
89#  to just run 'make clean' first to see what gets missed.
90#  'make clobber' already includes 'make clean'
91#
92
93CLEAN_ADDITIONS +=
94CLOBBER_ADDITIONS +=
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
107Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
108        cd $(top_builddir) \
109         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.