diff options
Diffstat (limited to 'c/src/exec/sapi/macros')
-rw-r--r-- | c/src/exec/sapi/macros/Makefile.am | 19 | ||||
-rw-r--r-- | c/src/exec/sapi/macros/rtems/Makefile.am | 27 |
2 files changed, 16 insertions, 30 deletions
diff --git a/c/src/exec/sapi/macros/Makefile.am b/c/src/exec/sapi/macros/Makefile.am index 0c97211587..3a2b5f0e23 100644 --- a/c/src/exec/sapi/macros/Makefile.am +++ b/c/src/exec/sapi/macros/Makefile.am @@ -2,9 +2,22 @@ ## $Id$ ## -AUTOMAKE_OPTIONS = foreign 1.4 +AUTOMAKE_OPTIONS = foreign 1.5 -SUBDIRS = rtems +include_rtemsdir = $(includedir)/rtems + +$(PROJECT_INCLUDE)/rtems: + @$(mkinstalldirs) $@ +$(PROJECT_INCLUDE)/%: % + $(INSTALL_DATA) $< $@ + +if MACROS +include_rtems_HEADERS = rtems/extension.inl + +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 diff --git a/c/src/exec/sapi/macros/rtems/Makefile.am b/c/src/exec/sapi/macros/rtems/Makefile.am deleted file mode 100644 index 4ece1dfc6a..0000000000 --- a/c/src/exec/sapi/macros/rtems/Makefile.am +++ /dev/null @@ -1,27 +0,0 @@ -## -## $Id$ -## - -AUTOMAKE_OPTIONS = foreign 1.4 - -include_rtemsdir = $(includedir)/rtems - -I_FILES = extension.inl - -if MACROS -include_rtems_HEADERS = $(I_FILES) - -PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \ - $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%) - -$(PROJECT_INCLUDE)/rtems: - @$(mkinstalldirs) $@ -$(PROJECT_INCLUDE)/rtems/%.inl: %.inl - $(INSTALL_DATA) $< $@ -endif - -all-local: $(PREINSTALL_FILES) - -EXTRA_DIST = $(I_FILES) - -include $(top_srcdir)/../../../automake/local.am |