diff options
Diffstat (limited to 'c/src/exec/rtems/macros/Makefile.am')
-rw-r--r-- | c/src/exec/rtems/macros/Makefile.am | 24 |
1 files changed, 21 insertions, 3 deletions
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 |