diff options
Diffstat (limited to '')
-rw-r--r-- | c/src/librtems++/include/Makefile.am | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/c/src/librtems++/include/Makefile.am b/c/src/librtems++/include/Makefile.am index 540e68ec55..1230c5b701 100644 --- a/c/src/librtems++/include/Makefile.am +++ b/c/src/librtems++/include/Makefile.am @@ -2,9 +2,27 @@ ## $Id$ ## -AUTOMAKE_OPTIONS = foreign 1.4 +AUTOMAKE_OPTIONS = foreign 1.5 -SUBDIRS = rtems++ +include_rtems__dir = $(includedir)/rtems++ + +$(PROJECT_INCLUDE)/%.h: %.h + $(INSTALL_DATA) $< $@ + +$(PROJECT_INCLUDE)/rtems++: + @$(mkinstalldirs) $@ + +if HAS_CXX +include_rtems___HEADERS = rtems++/rtemsEvent.h \ + rtems++/rtemsInterrupt.h rtems++/rtemsMessageQueue.h rtems++/rtemsSemaphore.h \ + rtems++/rtemsStatusCode.h rtems++/rtemsTask.h rtems++/rtemsTaskMode.h \ + rtems++/rtemsTimer.h + +PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems++ \ + $(include_rtems___HEADERS:%=$(PROJECT_INCLUDE)/%) + +endif + +all-local: $(PREINSTALL_FILES) -include $(top_srcdir)/../../../automake/subdirs.am include $(top_srcdir)/../../../automake/local.am |