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

4.104.114.84.95
Last change on this file since cec0371 was 9f95a19, checked in by Joel Sherrill <joel.sherrill@…>, on 11/02/99 at 18:35:52

Split time.c into multiple files.

  • Property mode set to 100644
File size: 4.1 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
65TIME_C_PIECES= time posixtimespecsubtract posixtimespectointerval \
66    posixintervaltotimespec clockgetcpuclockid clockgetenableattr \
67    clockgetres clockgettime clocksetenableattr clocksettime nanosleep
68
69C_PIECES = adasupp $(CONDITION_VARIABLE_C_PIECES) \
70    getpid key $(MESSAGE_QUEUE_C_PIECES) \
71    $(MUTEX_C_PIECES) $(PTHREAD_C_PIECES) \
72    $(PSIGNAL_C_PIECES) ptimer sched $(SEMAPHORE_C_PIECES) \
73    $(TIME_C_PIECES) types unistd $(ENOSYS_C_PIECES) \
74    $(BUILD_FOR_NOW_C_PIECES)
75
76C_FILES = $(C_PIECES:%=%.c)
77C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
78
79SRCS = $(C_FILES) $(CC_FILES)
80OBJS = $(C_O_FILES) $(CC_O_FILES)
81
82include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
83include $(RTEMS_ROOT)/make/lib.cfg
84
85INSTALL_CHANGE = @INSTALL_CHANGE@
86
87#
88# Add local stuff here using +=
89#
90
91DEFINES += -D__RTEMS_INSIDE__
92CPPFLAGS +=
93CFLAGS += $(CFLAGS_OS_V)
94
95#
96# Add your list of files to delete here.  The config files
97#  already know how to delete some stuff, so you may want
98#  to just run 'make clean' first to see what gets missed.
99#  'make clobber' already includes 'make clean'
100#
101
102CLEAN_ADDITIONS +=
103CLOBBER_ADDITIONS +=
104
105all: ${ARCH} $(SRCS) ${OBJS}
106
107# temporary so we can see how many things are left to implement
108not:
109        grep -i NOT_IMPL $(C_FILES) | grep -v MP_NOT_IMPL
110        @echo
111        @echo
112        @echo
113        @echo `grep -i NOT_IMPL $(C_FILES) | grep -v MP_NOT_IMPL | wc -l ` places marked not implemented
114        @echo `wc -l $(C_FILES) | grep total` lines of C code to test
115
116Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
117        cd $(top_builddir) \
118         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.