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. --- cpukit/rtems/macros/Makefile.am | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) (limited to 'cpukit/rtems/macros') diff --git a/cpukit/rtems/macros/Makefile.am b/cpukit/rtems/macros/Makefile.am index 0c97211587..7365f30596 100644 --- a/cpukit/rtems/macros/Makefile.am +++ b/cpukit/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 -- cgit v1.2.3