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

4.104.114.84.95
Last change on this file since 5906ac5 was 8548fe0, checked in by Joel Sherrill <joel.sherrill@…>, on 02/18/99 at 18:36:05

Part of the automake VI patch from Ralf Corsepius <corsepiu@…>:

5) rtems-rc-19990202-1.diff/reorg-install.sh

reorg-install.sh fixes a Makefile variable name clash of RTEMS
configuration files and automake/autoconf standards.
Until now, RTEMS used $(INSTALL) for install-if-change. Automake and
autoconf use $(INSTALL) for a bsd-compatible install. As
install-if-change and bsd-install are not compatible, I renamed all
references to install-if-changed to $(INSTALL_CHANGED) and used
$(INSTALL) for bsd-install (==automake/autoconf standard). When
automake will be introduced install-if-change will probably be replaced
by $(INSTALL) and therefore will slowly vanish. For the moment, this
patch fixes a very nasty problem which prevents adding any automake file
until now (There are still more).

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