From 254b4450718a0873b444d35aeb6d74ba589734ea Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 1 Apr 1997 23:07:52 +0000 Subject: This set of changes is the build of what was required to convert to GNU autoconf. This is the first large step in allowing an RTEMS user to perform a one-tree build (per crossgcc FAQ) including RTEMS in the build process. With this change RTEMS is configured in built in the same style as the GNU tools, yet retains the basic structure of its traditional Makefiles (ala Tony Bennett). Jiri Gaisler (jgais@wd.estec.esa.nl) deserves (and received) a big thank you for doing this. There are still issues to be resolved but as of this commit, all target which can be built on a linux host have been using a modified version of the source Jiri submitted. This source was merged and most targets built in the tree before this commit. There are some issues which remain to be resolved but they are primarily related to host OS dependencies, script issues, the use of gawk for hack_specs, and the dependence on gcc snapshots. These will be resolved. --- c/src/exec/posix/Makefile.in | 13 ++++++ c/src/exec/posix/base/Makefile.in | 33 ++++++++++++++++ c/src/exec/posix/headers/Makefile.in | 33 ++++++++++++++++ c/src/exec/posix/include/rtems/posix/Makefile.in | 33 ++++++++++++++++ c/src/exec/posix/include/sys/Makefile.in | 30 ++++++++++++++ c/src/exec/posix/include/wrap/Makefile.in | 33 ++++++++++++++++ c/src/exec/posix/inline/Makefile.in | 30 ++++++++++++++ c/src/exec/posix/inline/rtems/posix/Makefile.in | 30 ++++++++++++++ c/src/exec/posix/macros/Makefile.in | 31 +++++++++++++++ c/src/exec/posix/macros/rtems/posix/Makefile.in | 31 +++++++++++++++ c/src/exec/posix/optman/Makefile.in | 46 ++++++++++++++++++++++ c/src/exec/posix/src/Makefile.in | 50 ++++++++++++++++++++++++ c/src/exec/posix/sys/Makefile.in | 30 ++++++++++++++ 13 files changed, 423 insertions(+) create mode 100644 c/src/exec/posix/Makefile.in create mode 100644 c/src/exec/posix/base/Makefile.in create mode 100644 c/src/exec/posix/headers/Makefile.in create mode 100644 c/src/exec/posix/include/rtems/posix/Makefile.in create mode 100644 c/src/exec/posix/include/sys/Makefile.in create mode 100644 c/src/exec/posix/include/wrap/Makefile.in create mode 100644 c/src/exec/posix/inline/Makefile.in create mode 100644 c/src/exec/posix/inline/rtems/posix/Makefile.in create mode 100644 c/src/exec/posix/macros/Makefile.in create mode 100644 c/src/exec/posix/macros/rtems/posix/Makefile.in create mode 100644 c/src/exec/posix/optman/Makefile.in create mode 100644 c/src/exec/posix/src/Makefile.in create mode 100644 c/src/exec/posix/sys/Makefile.in (limited to 'c/src/exec/posix') diff --git a/c/src/exec/posix/Makefile.in b/c/src/exec/posix/Makefile.in new file mode 100644 index 0000000000..c2b64184d4 --- /dev/null +++ b/c/src/exec/posix/Makefile.in @@ -0,0 +1,13 @@ +# +# $Id$ +# + +@SET_MAKE@ +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH=@srcdir@ + +include $(RTEMS_CUSTOM) +include $(PROJECT_ROOT)/make/directory.cfg + +SUB_DIRS=base sys headers $(INLINE) optman src diff --git a/c/src/exec/posix/base/Makefile.in b/c/src/exec/posix/base/Makefile.in new file mode 100644 index 0000000000..d11541a321 --- /dev/null +++ b/c/src/exec/posix/base/Makefile.in @@ -0,0 +1,33 @@ +# +# $Id$ +# + +@SET_MAKE@ +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH=@srcdir@ + +#H_PIECES= aio devctl intr limits mqueue pthread sched semaphore \ +# signal time unistd +H_PIECES= pthread sched +# limits.h may have been moved into newlib -- check before removing it +# from the cvs tree +H_FILES=$(H_PIECES:%=$(srcdir)/%.h) + +SRCS=$(H_FILES) + +include $(RTEMS_CUSTOM) +include $(PROJECT_ROOT)/make/leaf.cfg + +# +# Add your list of files to delete here. The config files +# already know how to delete some stuff, so you may want +# to just run 'make clean' first to see what gets missed. +# 'make clobber' already includes 'make clean' +# + +CLEAN_ADDITIONS += +CLOBBER_ADDITIONS += + +all: $(SRCS) + $(INSTALL) -m 444 ${H_FILES} ${PROJECT_RELEASE}/include/ diff --git a/c/src/exec/posix/headers/Makefile.in b/c/src/exec/posix/headers/Makefile.in new file mode 100644 index 0000000000..7769a4cada --- /dev/null +++ b/c/src/exec/posix/headers/Makefile.in @@ -0,0 +1,33 @@ +# +# $Id$ +# + +@SET_MAKE@ +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH=@srcdir@ + +H_PIECES= cond condmp config key mutex mutexmp posixapi \ + priority psignal pthread pthreadmp seterr threadsup time +#H_PIECES= cancel cond condmp intr key mqueue mqueuemp mutex \ +# mutexmp pthread pthreadmp priority semaphore semaphoremp threadsup \ +# time +H_FILES=$(H_PIECES:%=$(srcdir)/%.h) + +SRCS=$(H_FILES) + +include $(RTEMS_CUSTOM) +include $(PROJECT_ROOT)/make/leaf.cfg + +# +# Add your list of files to delete here. The config files +# already know how to delete some stuff, so you may want +# to just run 'make clean' first to see what gets missed. +# 'make clobber' already includes 'make clean' +# + +CLEAN_ADDITIONS += +CLOBBER_ADDITIONS += + +all: $(SRCS) + $(INSTALL) -m 444 ${H_FILES} ${PROJECT_RELEASE}/include/rtems/posix diff --git a/c/src/exec/posix/include/rtems/posix/Makefile.in b/c/src/exec/posix/include/rtems/posix/Makefile.in new file mode 100644 index 0000000000..7769a4cada --- /dev/null +++ b/c/src/exec/posix/include/rtems/posix/Makefile.in @@ -0,0 +1,33 @@ +# +# $Id$ +# + +@SET_MAKE@ +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH=@srcdir@ + +H_PIECES= cond condmp config key mutex mutexmp posixapi \ + priority psignal pthread pthreadmp seterr threadsup time +#H_PIECES= cancel cond condmp intr key mqueue mqueuemp mutex \ +# mutexmp pthread pthreadmp priority semaphore semaphoremp threadsup \ +# time +H_FILES=$(H_PIECES:%=$(srcdir)/%.h) + +SRCS=$(H_FILES) + +include $(RTEMS_CUSTOM) +include $(PROJECT_ROOT)/make/leaf.cfg + +# +# Add your list of files to delete here. The config files +# already know how to delete some stuff, so you may want +# to just run 'make clean' first to see what gets missed. +# 'make clobber' already includes 'make clean' +# + +CLEAN_ADDITIONS += +CLOBBER_ADDITIONS += + +all: $(SRCS) + $(INSTALL) -m 444 ${H_FILES} ${PROJECT_RELEASE}/include/rtems/posix diff --git a/c/src/exec/posix/include/sys/Makefile.in b/c/src/exec/posix/include/sys/Makefile.in new file mode 100644 index 0000000000..84d2003ba3 --- /dev/null +++ b/c/src/exec/posix/include/sys/Makefile.in @@ -0,0 +1,30 @@ +# +# $Id$ +# + +@SET_MAKE@ +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH=@srcdir@ + +#H_PIECES=utsname +H_PIECES= +H_FILES=$(H_PIECES:%=$(srcdir)/%.h) + +SRCS=$(H_FILES) + +include $(RTEMS_CUSTOM) +include $(PROJECT_ROOT)/make/leaf.cfg + +# +# Add your list of files to delete here. The config files +# already know how to delete some stuff, so you may want +# to just run 'make clean' first to see what gets missed. +# 'make clobber' already includes 'make clean' +# + +CLEAN_ADDITIONS += +CLOBBER_ADDITIONS += + +all: $(SRCS) + $(INSTALL) -m 444 ${H_FILES} ${PROJECT_RELEASE}/include/sys diff --git a/c/src/exec/posix/include/wrap/Makefile.in b/c/src/exec/posix/include/wrap/Makefile.in new file mode 100644 index 0000000000..d11541a321 --- /dev/null +++ b/c/src/exec/posix/include/wrap/Makefile.in @@ -0,0 +1,33 @@ +# +# $Id$ +# + +@SET_MAKE@ +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH=@srcdir@ + +#H_PIECES= aio devctl intr limits mqueue pthread sched semaphore \ +# signal time unistd +H_PIECES= pthread sched +# limits.h may have been moved into newlib -- check before removing it +# from the cvs tree +H_FILES=$(H_PIECES:%=$(srcdir)/%.h) + +SRCS=$(H_FILES) + +include $(RTEMS_CUSTOM) +include $(PROJECT_ROOT)/make/leaf.cfg + +# +# Add your list of files to delete here. The config files +# already know how to delete some stuff, so you may want +# to just run 'make clean' first to see what gets missed. +# 'make clobber' already includes 'make clean' +# + +CLEAN_ADDITIONS += +CLOBBER_ADDITIONS += + +all: $(SRCS) + $(INSTALL) -m 444 ${H_FILES} ${PROJECT_RELEASE}/include/ diff --git a/c/src/exec/posix/inline/Makefile.in b/c/src/exec/posix/inline/Makefile.in new file mode 100644 index 0000000000..a68a481925 --- /dev/null +++ b/c/src/exec/posix/inline/Makefile.in @@ -0,0 +1,30 @@ +# +# $Id$ +# + +@SET_MAKE@ +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH=@srcdir@ + +#I_PIECES= cond intr key mqueue mutex pthread priority semaphore +I_PIECES=cond key mutex pthread priority +I_FILES=$(I_PIECES:%=$(srcdir)/%.inl) + +SRCS=$(I_FILES) + +include $(RTEMS_CUSTOM) +include $(PROJECT_ROOT)/make/leaf.cfg + +# +# Add your list of files to delete here. The config files +# already know how to delete some stuff, so you may want +# to just run 'make clean' first to see what gets missed. +# 'make clobber' already includes 'make clean' +# + +CLEAN_ADDITIONS += +CLOBBER_ADDITIONS += + +all: $(SRCS) + $(INSTALL) -m 444 ${I_FILES} ${PROJECT_RELEASE}/include/rtems/posix diff --git a/c/src/exec/posix/inline/rtems/posix/Makefile.in b/c/src/exec/posix/inline/rtems/posix/Makefile.in new file mode 100644 index 0000000000..a68a481925 --- /dev/null +++ b/c/src/exec/posix/inline/rtems/posix/Makefile.in @@ -0,0 +1,30 @@ +# +# $Id$ +# + +@SET_MAKE@ +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH=@srcdir@ + +#I_PIECES= cond intr key mqueue mutex pthread priority semaphore +I_PIECES=cond key mutex pthread priority +I_FILES=$(I_PIECES:%=$(srcdir)/%.inl) + +SRCS=$(I_FILES) + +include $(RTEMS_CUSTOM) +include $(PROJECT_ROOT)/make/leaf.cfg + +# +# Add your list of files to delete here. The config files +# already know how to delete some stuff, so you may want +# to just run 'make clean' first to see what gets missed. +# 'make clobber' already includes 'make clean' +# + +CLEAN_ADDITIONS += +CLOBBER_ADDITIONS += + +all: $(SRCS) + $(INSTALL) -m 444 ${I_FILES} ${PROJECT_RELEASE}/include/rtems/posix diff --git a/c/src/exec/posix/macros/Makefile.in b/c/src/exec/posix/macros/Makefile.in new file mode 100644 index 0000000000..127eec1a58 --- /dev/null +++ b/c/src/exec/posix/macros/Makefile.in @@ -0,0 +1,31 @@ +# +# $Id$ +# + +@SET_MAKE@ +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH=@srcdir@ + +# Right now there are not macro implementation of the posix inline routines +# So it won't build +I_PIECES= +I_FILES=$(I_PIECES:%=$(srcdir)/%.inl) + +SRCS=$(I_FILES) + +include $(RTEMS_CUSTOM) +include $(PROJECT_ROOT)/make/leaf.cfg + +# +# Add your list of files to delete here. The config files +# already know how to delete some stuff, so you may want +# to just run 'make clean' first to see what gets missed. +# 'make clobber' already includes 'make clean' +# + +CLEAN_ADDITIONS += +CLOBBER_ADDITIONS += + +all: $(SRCS) + #$(INSTALL) -m 444 ${I_FILES} ${PROJECT_RELEASE}/include/rtems/posix diff --git a/c/src/exec/posix/macros/rtems/posix/Makefile.in b/c/src/exec/posix/macros/rtems/posix/Makefile.in new file mode 100644 index 0000000000..127eec1a58 --- /dev/null +++ b/c/src/exec/posix/macros/rtems/posix/Makefile.in @@ -0,0 +1,31 @@ +# +# $Id$ +# + +@SET_MAKE@ +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH=@srcdir@ + +# Right now there are not macro implementation of the posix inline routines +# So it won't build +I_PIECES= +I_FILES=$(I_PIECES:%=$(srcdir)/%.inl) + +SRCS=$(I_FILES) + +include $(RTEMS_CUSTOM) +include $(PROJECT_ROOT)/make/leaf.cfg + +# +# Add your list of files to delete here. The config files +# already know how to delete some stuff, so you may want +# to just run 'make clean' first to see what gets missed. +# 'make clobber' already includes 'make clean' +# + +CLEAN_ADDITIONS += +CLOBBER_ADDITIONS += + +all: $(SRCS) + #$(INSTALL) -m 444 ${I_FILES} ${PROJECT_RELEASE}/include/rtems/posix diff --git a/c/src/exec/posix/optman/Makefile.in b/c/src/exec/posix/optman/Makefile.in new file mode 100644 index 0000000000..6d99022a3a --- /dev/null +++ b/c/src/exec/posix/optman/Makefile.in @@ -0,0 +1,46 @@ +# +# $Id$ +# + +@SET_MAKE@ +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH=@srcdir@ + +C_FILES= + +H_FILES= + +SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) +OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) + +PGMS=$(C_FILES:%.c=$(ARCH)/%.rel) + +include $(RTEMS_CUSTOM) +include $(PROJECT_ROOT)/make/leaf.cfg + +# +# (OPTIONAL) Add local stuff here using += +# + +DEFINES += +CPPFLAGS += +CFLAGS += $(CFLAGS_OS_V) + +ASM4FLAGS += -I $(PROJECT_RELEASE)/include/rtems +LD_PATHS += +LD_LIBS += +LDFLAGS += + +# +# Add your list of files to delete here. The config files +# already know how to delete some stuff, so you may want +# to just run 'make clean' first to see what gets missed. +# 'make clobber' already includes 'make clean' +# + +CLEAN_ADDITIONS += +CLOBBER_ADDITIONS += + +all: ${ARCH} $(SRCS) $(OBJS) $(PGMS) + #$(INSTALL_VARIANT) -m 555 ${PGMS} ${PROJECT_RELEASE}/lib diff --git a/c/src/exec/posix/src/Makefile.in b/c/src/exec/posix/src/Makefile.in new file mode 100644 index 0000000000..c88a034d27 --- /dev/null +++ b/c/src/exec/posix/src/Makefile.in @@ -0,0 +1,50 @@ +# +# $Id$ +# + +@SET_MAKE@ +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH=@srcdir@ + +#C_PIECES= aio cancel cond devctl intr key mqueue mutex pthread \ +# ptimer sched semaphore signal time types unistd utsname +C_PIECES= adasupp cond getpid key mutex pthread psignal sched time \ + types unistd +C_FILES=$(C_PIECES:%=%.c) +C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) + +SRCS=$(C_FILES) $(CC_FILES) +OBJS=$(C_O_FILES) $(CC_O_FILES) + +include $(RTEMS_CUSTOM) +include $(PROJECT_ROOT)/make/lib.cfg + +# +# Add local stuff here using += +# + +DEFINES += +CPPFLAGS += +CFLAGS += $(CFLAGS_OS_V) + +# +# Add your list of files to delete here. The config files +# already know how to delete some stuff, so you may want +# to just run 'make clean' first to see what gets missed. +# 'make clobber' already includes 'make clean' +# + +CLEAN_ADDITIONS += +CLOBBER_ADDITIONS += + +all: ${ARCH} $(SRCS) ${OBJS} + +# temporary so we can see how many things are left to implement +not: + grep -i NOT_IMPL $(C_FILES) | grep -v MP_NOT_IMPL + @echo + @echo + @echo + @echo `grep -i NOT_IMPL $(C_FILES) | grep -v MP_NOT_IMPL | wc -l ` places marked not implemented + @echo `wc -l $(C_FILES) | grep total` lines of C code to test diff --git a/c/src/exec/posix/sys/Makefile.in b/c/src/exec/posix/sys/Makefile.in new file mode 100644 index 0000000000..84d2003ba3 --- /dev/null +++ b/c/src/exec/posix/sys/Makefile.in @@ -0,0 +1,30 @@ +# +# $Id$ +# + +@SET_MAKE@ +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH=@srcdir@ + +#H_PIECES=utsname +H_PIECES= +H_FILES=$(H_PIECES:%=$(srcdir)/%.h) + +SRCS=$(H_FILES) + +include $(RTEMS_CUSTOM) +include $(PROJECT_ROOT)/make/leaf.cfg + +# +# Add your list of files to delete here. The config files +# already know how to delete some stuff, so you may want +# to just run 'make clean' first to see what gets missed. +# 'make clobber' already includes 'make clean' +# + +CLEAN_ADDITIONS += +CLOBBER_ADDITIONS += + +all: $(SRCS) + $(INSTALL) -m 444 ${H_FILES} ${PROJECT_RELEASE}/include/sys -- cgit v1.2.3