From 62184317de53074fd3b74ef7e01b48e087e68535 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 15 Dec 1998 00:55:28 +0000 Subject: [PATCH] Patch from Ralf Corsepius to reorganize POSIX directory in preparation for automake: Here is a shell script which reorganizes some parts of the exec/posix source tree. This shell scripts moves include files below exec/posix to different locations than now. It doesn't yet apply automake, but still use the old autoconf configuration scheme. It doesn't influence the build scheme at all (unless I corrupted something), only the location of the header files is different, which would ease applying automake later. The purpose of this shell script is to demonstrate the style of structural changes I would like to see in rtems in near future to prepare a smooth transition to automake. Then CC could pickup rtems' header files from their location inside of the source tree in future, instead of the build tree as it is done now. In case you would accept this patch/script, there would be more similiar ones to come. --- c/src/exec/posix/Makefile.in | 2 +- c/src/exec/posix/include/wrap/Makefile.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/c/src/exec/posix/Makefile.in b/c/src/exec/posix/Makefile.in index edf011951a..72a335b4f4 100644 --- a/c/src/exec/posix/Makefile.in +++ b/c/src/exec/posix/Makefile.in @@ -11,4 +11,4 @@ PROJECT_ROOT = @PROJECT_ROOT@ include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg include $(RTEMS_ROOT)/make/directory.cfg -SUB_DIRS=base sys headers $(INLINE) optman src +SUB_DIRS=include $(INLINE) optman src diff --git a/c/src/exec/posix/include/wrap/Makefile.in b/c/src/exec/posix/include/wrap/Makefile.in index 1d2e92cca0..d58dbb7f51 100644 --- a/c/src/exec/posix/include/wrap/Makefile.in +++ b/c/src/exec/posix/include/wrap/Makefile.in @@ -13,7 +13,7 @@ PROJECT_ROOT = @PROJECT_ROOT@ 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) +H_FILES=$(H_PIECES:%=$(srcdir)/../%.h) SRCS=$(H_FILES)