From fc56625171c5c96b3763a6717a33805b5335b9a6 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 16 Oct 2001 13:31:30 +0000 Subject: 2001-10-16 Ralf Corsepius * include/rtems/Makefile.am: Remove. * include/rtems/rtems/Makefile.am: Remove. * include/Makefile.am: Handle subdirs, require automake-1.5. * inline/rtems/Makefile.am: Remove. * inline/rtems/rtems/Makefile.am: Remove. * inline/Makefile.am: Handle subdirs, require automake-1.5. * macros/rtems/Makefile.am: Remove. * macros/rtems/rtems/Makefile.am: Remove. * macros: Handle subdirs, require automake-1.5. * Makefile.am: require automake-1.5. --- c/src/exec/rtems/ChangeLog | 13 ++++++++ c/src/exec/rtems/Makefile.am | 2 +- c/src/exec/rtems/include/Makefile.am | 40 +++++++++++++++++++----- c/src/exec/rtems/include/rtems/Makefile.am | 10 ------ c/src/exec/rtems/include/rtems/rtems/Makefile.am | 33 ------------------- c/src/exec/rtems/inline/Makefile.am | 24 ++++++++++++-- c/src/exec/rtems/inline/rtems/Makefile.am | 10 ------ c/src/exec/rtems/inline/rtems/rtems/Makefile.am | 29 ----------------- c/src/exec/rtems/macros/Makefile.am | 24 ++++++++++++-- c/src/exec/rtems/macros/rtems/Makefile.am | 10 ------ c/src/exec/rtems/macros/rtems/rtems/Makefile.am | 29 ----------------- 11 files changed, 89 insertions(+), 135 deletions(-) delete mode 100644 c/src/exec/rtems/include/rtems/Makefile.am delete mode 100644 c/src/exec/rtems/include/rtems/rtems/Makefile.am delete mode 100644 c/src/exec/rtems/inline/rtems/Makefile.am delete mode 100644 c/src/exec/rtems/inline/rtems/rtems/Makefile.am delete mode 100644 c/src/exec/rtems/macros/rtems/Makefile.am delete mode 100644 c/src/exec/rtems/macros/rtems/rtems/Makefile.am (limited to 'c/src/exec/rtems') diff --git a/c/src/exec/rtems/ChangeLog b/c/src/exec/rtems/ChangeLog index 57a07c1ecb..bc64acf5f5 100644 --- a/c/src/exec/rtems/ChangeLog +++ b/c/src/exec/rtems/ChangeLog @@ -1,3 +1,16 @@ +2001-10-16 Ralf Corsepius + + * include/rtems/Makefile.am: Remove. + * include/rtems/rtems/Makefile.am: Remove. + * include/Makefile.am: Handle subdirs, require automake-1.5. + * inline/rtems/Makefile.am: Remove. + * inline/rtems/rtems/Makefile.am: Remove. + * inline/Makefile.am: Handle subdirs, require automake-1.5. + * macros/rtems/Makefile.am: Remove. + * macros/rtems/rtems/Makefile.am: Remove. + * macros: Handle subdirs, require automake-1.5. + * Makefile.am: require automake-1.5. + 2001-09-28 Ralf Corsepius * include/rtems/rtems/Makefile.am: Use 'PREINSTALL_FILES ='. diff --git a/c/src/exec/rtems/Makefile.am b/c/src/exec/rtems/Makefile.am index 242daede4e..59f18c7a79 100644 --- a/c/src/exec/rtems/Makefile.am +++ b/c/src/exec/rtems/Makefile.am @@ -2,7 +2,7 @@ ## $Id$ ## -AUTOMAKE_OPTIONS = foreign 1.4 +AUTOMAKE_OPTIONS = foreign 1.5 SUBDIRS = include inline macros optman src diff --git a/c/src/exec/rtems/include/Makefile.am b/c/src/exec/rtems/include/Makefile.am index c5e9d17580..39d7bde82c 100644 --- a/c/src/exec/rtems/include/Makefile.am +++ b/c/src/exec/rtems/include/Makefile.am @@ -2,21 +2,47 @@ ## $Id$ ## -AUTOMAKE_OPTIONS = foreign 1.4 +AUTOMAKE_OPTIONS = foreign 1.5 + +$(PROJECT_INCLUDE)/%.h: %.h + $(INSTALL_DATA) $< $@ include_HEADERS = rtems.h +$(PROJECT_INCLUDE): + @$(mkinstalldirs) $@ + PREINSTALL_FILES = $(PROJECT_INCLUDE) \ $(include_HEADERS:%=$(PROJECT_INCLUDE)/%) -$(PROJECT_INCLUDE): +include_rtems_rtemsdir = $(includedir)/rtems/rtems + +$(PROJECT_INCLUDE)/rtems/rtems: @$(mkinstalldirs) $@ -$(PROJECT_INCLUDE)/%.h: %.h - $(INSTALL_DATA) $< $@ -all-local: $(PREINSTALL_FILES) +## We only build multiprocessing related files if HAS_MP was defined +MP_H_FILES = rtems/rtems/eventmp.h rtems/rtems/mp.h rtems/rtems/msgmp.h \ + rtems/rtems/partmp.h rtems/rtems/regionmp.h rtems/rtems/semmp.h \ + rtems/rtems/signalmp.h rtems/rtems/taskmp.h + +STD_H_FILES = rtems/rtems/asr.h rtems/rtems/attr.h rtems/rtems/cache.h \ + rtems/rtems/clock.h rtems/rtems/config.h rtems/rtems/dpmem.h \ + rtems/rtems/event.h rtems/rtems/eventset.h rtems/rtems/intr.h \ + rtems/rtems/message.h rtems/rtems/modes.h rtems/rtems/options.h \ + rtems/rtems/part.h rtems/rtems/ratemon.h rtems/rtems/region.h \ + rtems/rtems/rtemsapi.h rtems/rtems/sem.h rtems/rtems/signal.h \ + rtems/rtems/status.h rtems/rtems/support.h rtems/rtems/tasks.h \ + rtems/rtems/timer.h rtems/rtems/types.h -SUBDIRS = rtems +if HAS_MP +include_rtems_rtems_HEADERS = $(STD_H_FILES) $(MP_H_FILES) +else +include_rtems_rtems_HEADERS = $(STD_H_FILES) +endif + +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/rtems \ + $(include_rtems_rtems_HEADERS:%=$(PROJECT_INCLUDE)/%) + +all-local: $(PREINSTALL_FILES) -include $(top_srcdir)/../../../automake/subdirs.am include $(top_srcdir)/../../../automake/local.am diff --git a/c/src/exec/rtems/include/rtems/Makefile.am b/c/src/exec/rtems/include/rtems/Makefile.am deleted file mode 100644 index 0c97211587..0000000000 --- a/c/src/exec/rtems/include/rtems/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -## -## $Id$ -## - -AUTOMAKE_OPTIONS = foreign 1.4 - -SUBDIRS = rtems - -include $(top_srcdir)/../../../automake/subdirs.am -include $(top_srcdir)/../../../automake/local.am diff --git a/c/src/exec/rtems/include/rtems/rtems/Makefile.am b/c/src/exec/rtems/include/rtems/rtems/Makefile.am deleted file mode 100644 index df65390ece..0000000000 --- a/c/src/exec/rtems/include/rtems/rtems/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ -## -## $Id$ -## - -AUTOMAKE_OPTIONS = foreign 1.4 - -include_rtems_rtemsdir = $(includedir)/rtems/rtems - -## We only build multiprocessing related files if HAS_MP was defined -MP_H_FILES = eventmp.h mp.h msgmp.h partmp.h regionmp.h semmp.h signalmp.h \ - taskmp.h - -STD_H_FILES = asr.h attr.h cache.h clock.h config.h dpmem.h event.h \ - eventset.h intr.h message.h modes.h options.h part.h ratemon.h region.h \ - rtemsapi.h sem.h signal.h status.h support.h tasks.h timer.h types.h - -if HAS_MP -include_rtems_rtems_HEADERS = $(STD_H_FILES) $(MP_H_FILES) -else -include_rtems_rtems_HEADERS = $(STD_H_FILES) $(MP_H_FILES) -endif - -PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems/rtems \ - $(include_rtems_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/rtems/%) - -$(PROJECT_INCLUDE)/rtems/rtems: - @$(mkinstalldirs) $@ -$(PROJECT_INCLUDE)/rtems/rtems/%.h: %.h - $(INSTALL_DATA) $< $@ - -all-local: $(PREINSTALL_FILES) - -include $(top_srcdir)/../../../automake/local.am diff --git a/c/src/exec/rtems/inline/Makefile.am b/c/src/exec/rtems/inline/Makefile.am index 0c97211587..7365f30596 100644 --- a/c/src/exec/rtems/inline/Makefile.am +++ b/c/src/exec/rtems/inline/Makefile.am @@ -2,9 +2,27 @@ ## $Id$ ## -AUTOMAKE_OPTIONS = foreign 1.4 +AUTOMAKE_OPTIONS = foreign 1.5 -SUBDIRS = rtems +include_rtems_rtemsdir = $(includedir)/rtems/rtems + +$(PROJECT_INCLUDE)/rtems/rtems: + @$(mkinstalldirs) $@ +$(PROJECT_INCLUDE)/%: % + $(INSTALL_DATA) $< $@ + +if INLINE +include_rtems_rtems_HEADERS = rtems/rtems/asr.inl rtems/rtems/attr.inl \ + rtems/rtems/dpmem.inl rtems/rtems/event.inl rtems/rtems/eventset.inl \ + rtems/rtems/message.inl rtems/rtems/modes.inl rtems/rtems/options.inl \ + rtems/rtems/part.inl rtems/rtems/ratemon.inl rtems/rtems/region.inl \ + rtems/rtems/sem.inl rtems/rtems/status.inl rtems/rtems/support.inl \ + rtems/rtems/tasks.inl rtems/rtems/timer.inl + +PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems/rtems \ + $(include_rtems_rtems_HEADERS:%=$(PROJECT_INCLUDE)/%) +endif + +all-local: $(PREINSTALL_FILES) -include $(top_srcdir)/../../../automake/subdirs.am include $(top_srcdir)/../../../automake/local.am diff --git a/c/src/exec/rtems/inline/rtems/Makefile.am b/c/src/exec/rtems/inline/rtems/Makefile.am deleted file mode 100644 index 0c97211587..0000000000 --- a/c/src/exec/rtems/inline/rtems/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -## -## $Id$ -## - -AUTOMAKE_OPTIONS = foreign 1.4 - -SUBDIRS = rtems - -include $(top_srcdir)/../../../automake/subdirs.am -include $(top_srcdir)/../../../automake/local.am diff --git a/c/src/exec/rtems/inline/rtems/rtems/Makefile.am b/c/src/exec/rtems/inline/rtems/rtems/Makefile.am deleted file mode 100644 index 63ff2daa6d..0000000000 --- a/c/src/exec/rtems/inline/rtems/rtems/Makefile.am +++ /dev/null @@ -1,29 +0,0 @@ -## -## $Id$ -## - -AUTOMAKE_OPTIONS = foreign 1.4 - -include_rtems_rtemsdir = $(includedir)/rtems/rtems - -I_FILES = asr.inl attr.inl dpmem.inl event.inl eventset.inl message.inl \ - modes.inl options.inl part.inl ratemon.inl region.inl sem.inl status.inl \ - support.inl tasks.inl timer.inl - -if INLINE -include_rtems_rtems_HEADERS = $(I_FILES) - -PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems/rtems \ - $(include_rtems_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/rtems/%) - -$(PROJECT_INCLUDE)/rtems/rtems: - @$(mkinstalldirs) $@ -$(PROJECT_INCLUDE)/rtems/rtems/%.inl: %.inl - $(INSTALL_DATA) $< $@ -endif - -all-local: $(PREINSTALL_FILES) - -EXTRA_DIST = $(I_FILES) - -include $(top_srcdir)/../../../automake/local.am diff --git a/c/src/exec/rtems/macros/Makefile.am b/c/src/exec/rtems/macros/Makefile.am index 0c97211587..7365f30596 100644 --- a/c/src/exec/rtems/macros/Makefile.am +++ b/c/src/exec/rtems/macros/Makefile.am @@ -2,9 +2,27 @@ ## $Id$ ## -AUTOMAKE_OPTIONS = foreign 1.4 +AUTOMAKE_OPTIONS = foreign 1.5 -SUBDIRS = rtems +include_rtems_rtemsdir = $(includedir)/rtems/rtems + +$(PROJECT_INCLUDE)/rtems/rtems: + @$(mkinstalldirs) $@ +$(PROJECT_INCLUDE)/%: % + $(INSTALL_DATA) $< $@ + +if INLINE +include_rtems_rtems_HEADERS = rtems/rtems/asr.inl rtems/rtems/attr.inl \ + rtems/rtems/dpmem.inl rtems/rtems/event.inl rtems/rtems/eventset.inl \ + rtems/rtems/message.inl rtems/rtems/modes.inl rtems/rtems/options.inl \ + rtems/rtems/part.inl rtems/rtems/ratemon.inl rtems/rtems/region.inl \ + rtems/rtems/sem.inl rtems/rtems/status.inl rtems/rtems/support.inl \ + rtems/rtems/tasks.inl rtems/rtems/timer.inl + +PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems/rtems \ + $(include_rtems_rtems_HEADERS:%=$(PROJECT_INCLUDE)/%) +endif + +all-local: $(PREINSTALL_FILES) -include $(top_srcdir)/../../../automake/subdirs.am include $(top_srcdir)/../../../automake/local.am diff --git a/c/src/exec/rtems/macros/rtems/Makefile.am b/c/src/exec/rtems/macros/rtems/Makefile.am deleted file mode 100644 index 0c97211587..0000000000 --- a/c/src/exec/rtems/macros/rtems/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -## -## $Id$ -## - -AUTOMAKE_OPTIONS = foreign 1.4 - -SUBDIRS = rtems - -include $(top_srcdir)/../../../automake/subdirs.am -include $(top_srcdir)/../../../automake/local.am diff --git a/c/src/exec/rtems/macros/rtems/rtems/Makefile.am b/c/src/exec/rtems/macros/rtems/rtems/Makefile.am deleted file mode 100644 index 0c5dd673ef..0000000000 --- a/c/src/exec/rtems/macros/rtems/rtems/Makefile.am +++ /dev/null @@ -1,29 +0,0 @@ -## -## $Id$ -## - -AUTOMAKE_OPTIONS = foreign 1.4 - -include_rtems_rtemsdir = $(includedir)/rtems/rtems - -I_FILES = asr.inl attr.inl dpmem.inl event.inl eventset.inl message.inl \ - modes.inl options.inl part.inl ratemon.inl region.inl sem.inl status.inl \ - support.inl tasks.inl timer.inl - -if MACROS -include_rtems_rtems_HEADERS = $(I_FILES) - -PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems/rtems \ - $(include_rtems_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/rtems/%) - -$(PROJECT_INCLUDE)/rtems/rtems: - @$(mkinstalldirs) $@ -$(PROJECT_INCLUDE)/rtems/rtems/%.inl: %.inl - $(INSTALL_DATA) $< $@ -endif - -all-local: $(PREINSTALL_FILES) - -EXTRA_DIST = $(I_FILES) - -include $(top_srcdir)/../../../automake/local.am -- cgit v1.2.3