From 283d72854148a4f210d12805c2fe60a351e36fe2 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 16 Dec 1998 00:01:08 +0000 Subject: Patch from Ralf Corsepius heading toward automake: Notes: * I didn't yet touch the cpu subdirectory. I still need some time to think on how to handle them. * I probably will wait for the next snapshot before mailing more patches (I still have some pending), giving you a chance to apply them and me a chance to become target of the bullets which will probably be aimed at me after these modifications. --- c/src/exec/score/Makefile.in | 2 +- c/src/exec/score/include/Makefile.in | 14 ++++++++++++++ c/src/exec/score/include/rtems/Makefile.in | 14 ++++++++++++++ c/src/exec/score/include/rtems/score/Makefile.in | 12 +----------- c/src/exec/score/include/rtems/wrap/Makefile.in | 20 ++++++++++++++++++++ c/src/exec/score/inline/Makefile.in | 14 ++++++++++++++ c/src/exec/score/inline/rtems/Makefile.in | 14 ++++++++++++++ c/src/exec/score/macros/Makefile.in | 14 ++++++++++++++ c/src/exec/score/macros/rtems/Makefile.in | 14 ++++++++++++++ 9 files changed, 106 insertions(+), 12 deletions(-) create mode 100644 c/src/exec/score/include/Makefile.in create mode 100644 c/src/exec/score/include/rtems/Makefile.in create mode 100644 c/src/exec/score/include/rtems/wrap/Makefile.in create mode 100644 c/src/exec/score/inline/rtems/Makefile.in create mode 100644 c/src/exec/score/macros/rtems/Makefile.in (limited to 'c/src/exec') diff --git a/c/src/exec/score/Makefile.in b/c/src/exec/score/Makefile.in index 3266e1fc58..0558304188 100644 --- a/c/src/exec/score/Makefile.in +++ b/c/src/exec/score/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=headers $(INLINE) tools cpu src +SUB_DIRS=include $(INLINE) tools cpu src diff --git a/c/src/exec/score/include/Makefile.in b/c/src/exec/score/include/Makefile.in new file mode 100644 index 0000000000..11b5d84e87 --- /dev/null +++ b/c/src/exec/score/include/Makefile.in @@ -0,0 +1,14 @@ +# +# $Id$ +# + +@SET_MAKE@ +srcdir = @srcdir@ +VPATH = @srcdir@ +RTEMS_ROOT = @top_srcdir@ +PROJECT_ROOT = @PROJECT_ROOT@ + +include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg +include $(RTEMS_ROOT)/make/directory.cfg + +SUB_DIRS=rtems diff --git a/c/src/exec/score/include/rtems/Makefile.in b/c/src/exec/score/include/rtems/Makefile.in new file mode 100644 index 0000000000..e5f650d756 --- /dev/null +++ b/c/src/exec/score/include/rtems/Makefile.in @@ -0,0 +1,14 @@ +# +# $Id$ +# + +@SET_MAKE@ +srcdir = @srcdir@ +VPATH = @srcdir@ +RTEMS_ROOT = @top_srcdir@ +PROJECT_ROOT = @PROJECT_ROOT@ + +include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg +include $(RTEMS_ROOT)/make/directory.cfg + +SUB_DIRS=wrap score diff --git a/c/src/exec/score/include/rtems/score/Makefile.in b/c/src/exec/score/include/rtems/score/Makefile.in index 792ca73fce..86ba5ab541 100644 --- a/c/src/exec/score/include/rtems/score/Makefile.in +++ b/c/src/exec/score/include/rtems/score/Makefile.in @@ -19,15 +19,7 @@ H_PIECES= address apiext bitfield chain context copyrt coremsg coremutex \ tod tqdata userext watchdog wkspace H_FILES=$(H_PIECES:%=$(srcdir)/%.h) -# H_FILES that get installed in the rtems subdirectoy -SAPI_H_PIECES=debug system -SAPI_H_FILES=$(SAPI_H_PIECES:%=$(srcdir)/%.h) - -# H_FILES that get installed at the top level -EXTERNAL_H_PIECES = -EXTERNAL_H_FILES=$(EXTERNAL_H_PIECES:%=$(srcdir)/%.h) - -SRCS=$(H_FILES) $(SAPI_H_FILES) $(EXTERNAL_H_FILES) +SRCS=$(H_FILES) include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg include $(RTEMS_ROOT)/make/leaf.cfg @@ -44,5 +36,3 @@ CLOBBER_ADDITIONS += all: $(SRCS) $(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/rtems/score - $(INSTALL) -m 444 ${SAPI_H_FILES} $(PROJECT_INCLUDE)/rtems/ -# $(INSTALL) -m 444 ${EXTERNAL_H_FILES} $(PROJECT_INCLUDE) diff --git a/c/src/exec/score/include/rtems/wrap/Makefile.in b/c/src/exec/score/include/rtems/wrap/Makefile.in new file mode 100644 index 0000000000..b6abaa78b4 --- /dev/null +++ b/c/src/exec/score/include/rtems/wrap/Makefile.in @@ -0,0 +1,20 @@ +# +# $Id$ +# + +@SET_MAKE@ +srcdir = @srcdir@ +VPATH = @srcdir@ +RTEMS_ROOT = @top_srcdir@ +PROJECT_ROOT = @PROJECT_ROOT@ + +H_PIECES=debug system +H_FILES=$(H_PIECES:%=$(srcdir)/../%.h) + +SRCS=$(H_FILES) + +include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg +include $(RTEMS_ROOT)/make/leaf.cfg + +all: $(SRCS) + $(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/rtems diff --git a/c/src/exec/score/inline/Makefile.in b/c/src/exec/score/inline/Makefile.in index 228ef54748..f21b40f456 100644 --- a/c/src/exec/score/inline/Makefile.in +++ b/c/src/exec/score/inline/Makefile.in @@ -8,6 +8,20 @@ VPATH = @srcdir@ RTEMS_ROOT = @top_srcdir@ PROJECT_ROOT = @PROJECT_ROOT@ +include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg +include $(RTEMS_ROOT)/make/directory.cfg + +SUB_DIRS=rtems +# +# $Id$ +# + +@SET_MAKE@ +srcdir = @srcdir@ +VPATH = @srcdir@ +RTEMS_ROOT = @top_srcdir@ +PROJECT_ROOT = @PROJECT_ROOT@ + # We only build multiprocessing related files if HAS_MP was defined MP_PIECES_yes_V = mppkt objectmp threadmp MP_PIECES = $(MP_PIECES_$(HAS_MP)_V) diff --git a/c/src/exec/score/inline/rtems/Makefile.in b/c/src/exec/score/inline/rtems/Makefile.in new file mode 100644 index 0000000000..9793eb1590 --- /dev/null +++ b/c/src/exec/score/inline/rtems/Makefile.in @@ -0,0 +1,14 @@ +# +# $Id$ +# + +@SET_MAKE@ +srcdir = @srcdir@ +VPATH = @srcdir@ +RTEMS_ROOT = @top_srcdir@ +PROJECT_ROOT = @PROJECT_ROOT@ + +include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg +include $(RTEMS_ROOT)/make/directory.cfg + +SUB_DIRS=score diff --git a/c/src/exec/score/macros/Makefile.in b/c/src/exec/score/macros/Makefile.in index 228ef54748..f21b40f456 100644 --- a/c/src/exec/score/macros/Makefile.in +++ b/c/src/exec/score/macros/Makefile.in @@ -8,6 +8,20 @@ VPATH = @srcdir@ RTEMS_ROOT = @top_srcdir@ PROJECT_ROOT = @PROJECT_ROOT@ +include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg +include $(RTEMS_ROOT)/make/directory.cfg + +SUB_DIRS=rtems +# +# $Id$ +# + +@SET_MAKE@ +srcdir = @srcdir@ +VPATH = @srcdir@ +RTEMS_ROOT = @top_srcdir@ +PROJECT_ROOT = @PROJECT_ROOT@ + # We only build multiprocessing related files if HAS_MP was defined MP_PIECES_yes_V = mppkt objectmp threadmp MP_PIECES = $(MP_PIECES_$(HAS_MP)_V) diff --git a/c/src/exec/score/macros/rtems/Makefile.in b/c/src/exec/score/macros/rtems/Makefile.in new file mode 100644 index 0000000000..9793eb1590 --- /dev/null +++ b/c/src/exec/score/macros/rtems/Makefile.in @@ -0,0 +1,14 @@ +# +# $Id$ +# + +@SET_MAKE@ +srcdir = @srcdir@ +VPATH = @srcdir@ +RTEMS_ROOT = @top_srcdir@ +PROJECT_ROOT = @PROJECT_ROOT@ + +include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg +include $(RTEMS_ROOT)/make/directory.cfg + +SUB_DIRS=score -- cgit v1.2.3