diff options
Diffstat (limited to 'c/src/exec/rtems/include')
-rw-r--r-- | c/src/exec/rtems/include/Makefile.in | 16 | ||||
-rw-r--r-- | c/src/exec/rtems/include/rtems/Makefile.in | 16 | ||||
-rw-r--r-- | c/src/exec/rtems/include/rtems/rtems/Makefile.in | 41 | ||||
-rw-r--r-- | c/src/exec/rtems/include/wrap/Makefile.in | 32 |
4 files changed, 60 insertions, 45 deletions
diff --git a/c/src/exec/rtems/include/Makefile.in b/c/src/exec/rtems/include/Makefile.in index 3fe8c3e185..9919d92014 100644 --- a/c/src/exec/rtems/include/Makefile.in +++ b/c/src/exec/rtems/include/Makefile.in @@ -5,21 +5,21 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../../../.. -subdir = c/src/exec/rtems/include +top_builddir = ../.. +subdir = rtems/include -INSTALL = @INSTALL@ - -RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@ +RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ VPATH = @srcdir@ -include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(RTEMS_ROOT)/make/directory.cfg -SUB_DIRS=wrap rtems +INSTALL_CHANGE = @INSTALL_CHANGE@ + +SUB_DIRS = wrap rtems -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/rtems/include/rtems/Makefile.in b/c/src/exec/rtems/include/rtems/Makefile.in index 537ef76931..30201e5942 100644 --- a/c/src/exec/rtems/include/rtems/Makefile.in +++ b/c/src/exec/rtems/include/rtems/Makefile.in @@ -5,21 +5,21 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../../../../.. -subdir = c/src/exec/rtems/include/rtems +top_builddir = ../../.. +subdir = rtems/include/rtems -INSTALL = @INSTALL@ - -RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@ +RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ VPATH = @srcdir@ -include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(RTEMS_ROOT)/make/directory.cfg -SUB_DIRS=rtems +INSTALL_CHANGE = @INSTALL_CHANGE@ + +SUB_DIRS = rtems -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/rtems/include/rtems/rtems/Makefile.in b/c/src/exec/rtems/include/rtems/rtems/Makefile.in index ac4298e659..a1f93027e7 100644 --- a/c/src/exec/rtems/include/rtems/rtems/Makefile.in +++ b/c/src/exec/rtems/include/rtems/rtems/Makefile.in @@ -5,31 +5,36 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../../../../../.. -subdir = c/src/exec/rtems/include/rtems/rtems +top_builddir = ../../../.. +subdir = rtems/include/rtems/rtems -INSTALL = @INSTALL@ - -RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@ +RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ VPATH = @srcdir@ # We only build multiprocessing related files if HAS_MP was defined -MP_PIECES_yes_V = eventmp mp msgmp partmp regionmp semmp signalmp taskmp -MP_PIECES = $(MP_PIECES_$(HAS_MP)_V) +MP_H_PIECES_yes_V = eventmp mp msgmp partmp regionmp semmp signalmp taskmp +MP_H_PIECES = $(MP_H_PIECES_$(HAS_MP)_V) -H_PIECES=asr attr clock config dpmem event eventset \ - intr message modes options part \ - ratemon region rtemsapi sem signal status \ - support tasks timer types $(MP_PIECES) -H_FILES=$(H_PIECES:%=$(srcdir)/%.h) +H_PIECES = asr attr clock config dpmem event eventset intr message modes \ + options part ratemon region rtemsapi sem signal status support tasks \ + timer types $(MP_H_PIECES) +H_FILES = $(H_PIECES:%=$(srcdir)/%.h) -SRCS=$(H_FILES) +SRCS = $(H_FILES) -include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(RTEMS_ROOT)/make/leaf.cfg +INSTALL_CHANGE = @INSTALL_CHANGE@ +mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs + +INSTALLDIRS = $(PROJECT_INCLUDE)/rtems/rtems + +$(INSTALLDIRS): + @$(mkinstalldirs) $(INSTALLDIRS) + # # Add your list of files to delete here. The config files # already know how to delete some stuff, so you may want @@ -40,9 +45,11 @@ include $(RTEMS_ROOT)/make/leaf.cfg CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -all: $(SRCS) - $(INSTALL_CHANGE) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/rtems/rtems +preinstall: $(INSTALLDIRS) $(H_FILES) + @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/rtems/rtems + +all: preinstall -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status diff --git a/c/src/exec/rtems/include/wrap/Makefile.in b/c/src/exec/rtems/include/wrap/Makefile.in index 52857c7307..bd613c36d4 100644 --- a/c/src/exec/rtems/include/wrap/Makefile.in +++ b/c/src/exec/rtems/include/wrap/Makefile.in @@ -5,24 +5,30 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../../../../.. -subdir = c/src/exec/rtems/include/wrap +top_builddir = ../../.. +subdir = rtems/include/wrap -INSTALL = @INSTALL@ - -RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@ +RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ VPATH = @srcdir@ -H_PIECES=rtems -H_FILES=$(H_PIECES:%=$(srcdir)/../%.h) +H_PIECES = rtems +H_FILES = $(H_PIECES:%=$(srcdir)/../%.h) -SRCS=$(H_FILES) +SRCS = $(H_FILES) -include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(RTEMS_ROOT)/make/leaf.cfg +INSTALL_CHANGE = @INSTALL_CHANGE@ +mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs + +INSTALLDIRS = $(PROJECT_INCLUDE) + +$(INSTALLDIRS): + @$(mkinstalldirs) $(INSTALLDIRS) + # # Add your list of files to delete here. The config files # already know how to delete some stuff, so you may want @@ -33,9 +39,11 @@ include $(RTEMS_ROOT)/make/leaf.cfg CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -all: $(SRCS) - $(INSTALL_CHANGE) -m 444 ${H_FILES} $(PROJECT_INCLUDE) +all: preinstall + +preinstall: $(INSTALLDIRS) $(H_FILES) + @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE) -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |