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

4.104.114.84.95
Last change on this file since 3090760 was 3090760, checked in by Joel Sherrill <joel.sherrill@…>, on 04/15/99 at 18:55:55

Now compile files that previously existed but were not built because they
had not yet been debugged.

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