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

4.104.114.84.95
Last change on this file since 9f95a19 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
RevLine 
[254b4450]1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
[d8ff793]7top_srcdir = @top_srcdir@
[e1d8abb]8top_builddir = ..
9subdir = src
[254b4450]10
[6693a68]11RTEMS_ROOT = @RTEMS_ROOT@
[d8ff793]12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@
15
[a2fa8c25]16# following are semi-implemented and untested
[799c767]17# C_PIECES=aio cancel devctl intr utsname
[3090760]18
19# These are really in the stand but not really functional
[799c767]20BUILD_FOR_NOW_C_PIECES = aio cancel utsname
[6693a68]21
22ENOSYS_C_PIECES = execl execle execlp execv execve execvp fork pthreadatfork \
23    wait waitpid
24
[98dca75]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 \
[4dc89814]30    mqueuegetattr mqueuenametoid mqueuenotify mqueueopen mqueuereceive \
31    mqueuerecvsupp mqueuesend mqueuesendsupp mqueuesetattr \
32    mqueuetimedreceive mqueuetimedsend mqueueunlink \
33
[96c041c]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
[6693a68]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
[ee979cd]52PSIGNAL_C_PIECES = psignal alarm kill killinfo pause \
53    psignalclearprocesssignals psignalsetprocesssignals \
54    psignalchecksignal psignalclearsignals \
55    psignalunblockthread pthreadkill \
[6693a68]56    pthreadsigmask sigaction sigaddset sigdelset sigemptyset sigfillset \
57    sigismember sigpending sigprocmask sigqueue sigsuspend sigtimedwait \
58    sigwait sigwaitinfo signal_2
59
[799c767]60SEMAPHORE_C_PIECES= semaphore semaphorecreatesupp semaphoredeletesupp \
61    semaphoremp semaphorenametoid semaphorewaitsupp semdestroy \
62    semgetvalue seminit semopen sempost semtimedwait semtrywait \
63    semunlink semwait
64
[9f95a19]65TIME_C_PIECES= time posixtimespecsubtract posixtimespectointerval \
66    posixintervaltotimespec clockgetcpuclockid clockgetenableattr \
67    clockgetres clockgettime clocksetenableattr clocksettime nanosleep
68
[98dca75]69C_PIECES = adasupp $(CONDITION_VARIABLE_C_PIECES) \
70    getpid key $(MESSAGE_QUEUE_C_PIECES) \
[96c041c]71    $(MUTEX_C_PIECES) $(PTHREAD_C_PIECES) \
[799c767]72    $(PSIGNAL_C_PIECES) ptimer sched $(SEMAPHORE_C_PIECES) \
[9f95a19]73    $(TIME_C_PIECES) types unistd $(ENOSYS_C_PIECES) \
[6693a68]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
[cb5bfe4]83include $(RTEMS_ROOT)/make/lib.cfg
[254b4450]84
[6693a68]85INSTALL_CHANGE = @INSTALL_CHANGE@
86
[254b4450]87#
88# Add local stuff here using +=
89#
90
[6693a68]91DEFINES += -D__RTEMS_INSIDE__
[254b4450]92CPPFLAGS +=
[6693a68]93CFLAGS += $(CFLAGS_OS_V)
[254b4450]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
[6693a68]102CLEAN_ADDITIONS +=
[254b4450]103CLOBBER_ADDITIONS +=
104
[6693a68]105all: ${ARCH} $(SRCS) ${OBJS}
[254b4450]106
107# temporary so we can see how many things are left to implement
[6693a68]108not:
[254b4450]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
[d8ff793]115
[08b5f55]116Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
[d8ff793]117        cd $(top_builddir) \
118         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.