source: rtems/c/src/exec/posix/src/Makefile.in @ 3fb8909a

4.104.114.84.95
Last change on this file since 3fb8909a was 3fb8909a, checked in by Joel Sherrill <joel.sherrill@…>, on 11/09/99 at 13:39:42

sem_close was accidentally lost in the split.

  • Property mode set to 100644
File size: 4.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 utsname
21
22ENOSYS_C_PIECES = execl execle execlp execv execve execvp fork pthreadatfork \
23    wait waitpid
24
25CANCEL_C_PIECES= cancel cancelrun cleanuppop cleanuppush setcancelstate \
26    setcanceltype testcancel
27
28CONDITION_VARIABLE_C_PIECES= cond condattrdestroy condattrgetpshared \
29    condattrinit condattrsetpshared condbroadcast conddefaultattributes \
30    conddestroy condinit condmp condsignal condsignalsupp condtimedwait \
31    condwait condwaitsupp
32
33ID_C_PIECES= getegid geteuid getgid getgroups getlogin getpgrp getpid getppid \
34    getuid setpgid setsid
35
36KEY_C_PIECES= key keycreate keydelete keygetspecific keyrundestructors \
37    keysetspecific
38
39MESSAGE_QUEUE_C_PIECES= mqueue mqueueclose mqueuecreatesupp mqueuedeletesupp \
40    mqueuegetattr mqueuenametoid mqueuenotify mqueueopen mqueuereceive \
41    mqueuerecvsupp mqueuesend mqueuesendsupp mqueuesetattr \
42    mqueuetimedreceive mqueuetimedsend mqueueunlink \
43
44MUTEX_C_PIECES= mutex mutexattrdestroy mutexattrgetprioceiling \
45    mutexattrgetprotocol mutexattrgetpshared mutexattrinit \
46    mutexattrsetprioceiling mutexattrsetprotocol mutexattrsetpshared \
47    mutexdefaultattributes mutexdestroy mutexfromcorestatus \
48    mutexgetprioceiling mutexinit mutexlock mutexlocksupp mutexmp \
49    mutexsetprioceiling mutextimedlock mutextrylock mutexunlock
50
51PTHREAD_C_PIECES = pthread pthreadsetcputime pthreadgetcputime \
52    pthreadgetcpuclockid pthreadonce pthreadequal pthreadself pthreadexit \
53    pthreaddetach pthreadjoin pthreadcreate pthreadattrsetdetachstate \
54    pthreadattrgetdetachstate pthreadattrgetstackaddr \
55    pthreadattrsetstackaddr pthreadattrgetstacksize pthreadattrsetstacksize \
56    pthreadattrinit pthreadattrdestroy pthreadsetschedparam \
57    pthreadgetschedparam pthreadattrsetschedparam pthreadattrgetschedparam \
58    pthreadattrgetschedpolicy pthreadattrsetschedpolicy \
59    pthreadattrgetinheritsched pthreadattrsetinheritsched \
60    pthreadattrgetscope pthreadattrsetscope
61
62PSIGNAL_C_PIECES = psignal alarm kill killinfo pause \
63    psignalclearprocesssignals psignalsetprocesssignals \
64    psignalchecksignal psignalclearsignals \
65    psignalunblockthread pthreadkill \
66    pthreadsigmask sigaction sigaddset sigdelset sigemptyset sigfillset \
67    sigismember sigpending sigprocmask sigqueue sigsuspend sigtimedwait \
68    sigwait sigwaitinfo signal_2
69
70SEMAPHORE_C_PIECES= semaphore semaphorecreatesupp semaphoredeletesupp \
71    semaphoremp semaphorenametoid semaphorewaitsupp semclose semdestroy \
72    semgetvalue seminit semopen sempost semtimedwait semtrywait \
73    semunlink semwait
74
75TIME_C_PIECES= time posixtimespecsubtract posixtimespectointerval \
76    posixintervaltotimespec clockgetcpuclockid clockgetenableattr \
77    clockgetres clockgettime clocksetenableattr clocksettime nanosleep
78
79# the timer manager needs to be split further but only after its
80# dependence on the Classic API Timer Manager is removed.
81TIMER_C_PIECES=ptimer ptimer1
82
83C_PIECES = adasupp $(CANCEL_C_PIECES) $(CONDITION_VARIABLE_C_PIECES) \
84    $(ID_C_PIECES) $(KEY_C_PIECES) $(MESSAGE_QUEUE_C_PIECES) \
85    $(MUTEX_C_PIECES) $(PTHREAD_C_PIECES) \
86    $(PSIGNAL_C_PIECES) sched $(SEMAPHORE_C_PIECES) sleep sysconf \
87    $(TIME_C_PIECES) $(TIMER_C_PIECES) types $(ENOSYS_C_PIECES) \
88    $(BUILD_FOR_NOW_C_PIECES)
89
90C_FILES = $(C_PIECES:%=%.c)
91C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
92
93SRCS = $(C_FILES) $(CC_FILES)
94OBJS = $(C_O_FILES) $(CC_O_FILES)
95
96include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
97include $(RTEMS_ROOT)/make/lib.cfg
98
99INSTALL_CHANGE = @INSTALL_CHANGE@
100
101#
102# Add local stuff here using +=
103#
104
105DEFINES += -D__RTEMS_INSIDE__
106CPPFLAGS +=
107CFLAGS += $(CFLAGS_OS_V)
108
109#
110# Add your list of files to delete here.  The config files
111#  already know how to delete some stuff, so you may want
112#  to just run 'make clean' first to see what gets missed.
113#  'make clobber' already includes 'make clean'
114#
115
116CLEAN_ADDITIONS +=
117CLOBBER_ADDITIONS +=
118
119all: ${ARCH} $(SRCS) ${OBJS}
120
121# temporary so we can see how many things are left to implement
122not:
123        grep -i NOT_IMPL $(C_FILES) | grep -v MP_NOT_IMPL
124        @echo
125        @echo
126        @echo
127        @echo `grep -i NOT_IMPL $(C_FILES) | grep -v MP_NOT_IMPL | wc -l ` places marked not implemented
128        @echo `wc -l $(C_FILES) | grep total` lines of C code to test
129
130Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
131        cd $(top_builddir) \
132         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.