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

4.104.114.84.95
Last change on this file since 4dc89814 was 4dc89814, checked in by Joel Sherrill <joel.sherrill@…>, on 11/02/99 at 17:00:35

Split mqueue.c into a variety of files.

  • Property mode set to 100644
File size: 2.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 mqueue semaphore utsname
18
19# These are really in the stand but not really functional
20BUILD_FOR_NOW_C_PIECES = aio cancel mqueue semaphore 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
30PTHREAD_C_PIECES = pthread pthreadsetcputime pthreadgetcputime \
31    pthreadgetcpuclockid pthreadonce pthreadequal pthreadself pthreadexit \
32    pthreaddetach pthreadjoin pthreadcreate pthreadattrsetdetachstate \
33    pthreadattrgetdetachstate pthreadattrgetstackaddr \
34    pthreadattrsetstackaddr pthreadattrgetstacksize pthreadattrsetstacksize \
35    pthreadattrinit pthreadattrdestroy pthreadsetschedparam \
36    pthreadgetschedparam pthreadattrsetschedparam pthreadattrgetschedparam \
37    pthreadattrgetschedpolicy pthreadattrsetschedpolicy \
38    pthreadattrgetinheritsched pthreadattrsetinheritsched \
39    pthreadattrgetscope pthreadattrsetscope
40
41PSIGNAL_C_PIECES = psignal alarm kill killinfo pause pthreadkill \
42    pthreadsigmask sigaction sigaddset sigdelset sigemptyset sigfillset \
43    sigismember sigpending sigprocmask sigqueue sigsuspend sigtimedwait \
44    sigwait sigwaitinfo signal_2
45
46C_PIECES = adasupp cond getpid key $(MESSAGE_QUEUE_PIECES) \
47    mutex $(PTHREAD_C_PIECES) \
48    $(PSIGNAL_C_PIECES) ptimer sched time types unistd $(ENOSYS_C_PIECES) \
49    $(BUILD_FOR_NOW_C_PIECES)
50
51C_FILES = $(C_PIECES:%=%.c)
52C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
53
54SRCS = $(C_FILES) $(CC_FILES)
55OBJS = $(C_O_FILES) $(CC_O_FILES)
56
57include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
58include $(RTEMS_ROOT)/make/lib.cfg
59
60INSTALL_CHANGE = @INSTALL_CHANGE@
61
62#
63# Add local stuff here using +=
64#
65
66DEFINES += -D__RTEMS_INSIDE__
67CPPFLAGS +=
68CFLAGS += $(CFLAGS_OS_V)
69
70#
71# Add your list of files to delete here.  The config files
72#  already know how to delete some stuff, so you may want
73#  to just run 'make clean' first to see what gets missed.
74#  'make clobber' already includes 'make clean'
75#
76
77CLEAN_ADDITIONS +=
78CLOBBER_ADDITIONS +=
79
80all: ${ARCH} $(SRCS) ${OBJS}
81
82# temporary so we can see how many things are left to implement
83not:
84        grep -i NOT_IMPL $(C_FILES) | grep -v MP_NOT_IMPL
85        @echo
86        @echo
87        @echo
88        @echo `grep -i NOT_IMPL $(C_FILES) | grep -v MP_NOT_IMPL | wc -l ` places marked not implemented
89        @echo `wc -l $(C_FILES) | grep total` lines of C code to test
90
91Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
92        cd $(top_builddir) \
93         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.