diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-10-16 13:31:15 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-10-16 13:31:15 +0000 |
commit | a11e5d35cd6f1e62efdef79ce2061b6bbfe4870e (patch) | |
tree | b64dd8865d46828e8d531e404ca6c97d5841de9f /c/src/exec/sapi/include | |
parent | 2001-10-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-a11e5d35cd6f1e62efdef79ce2061b6bbfe4870e.tar.bz2 |
2001-10-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rtems/Makefile.am: Remove.
* include/Makefile.am: Handle subdirs, require automake-1.5.
* inline/rtems/Makefile.am: Remove.
* inline/Makefile.am: Handle subdirs, require automake-1.5.
* macros/rtems/Makefile.am: Remove.
* Makefile.am: require automake-1.5.
Diffstat (limited to 'c/src/exec/sapi/include')
-rw-r--r-- | c/src/exec/sapi/include/Makefile.am | 29 | ||||
-rw-r--r-- | c/src/exec/sapi/include/rtems/Makefile.am | 24 |
2 files changed, 21 insertions, 32 deletions
diff --git a/c/src/exec/sapi/include/Makefile.am b/c/src/exec/sapi/include/Makefile.am index 7b3b7544f9..44b6440796 100644 --- a/c/src/exec/sapi/include/Makefile.am +++ b/c/src/exec/sapi/include/Makefile.am @@ -2,21 +2,34 @@ ## $Id$ ## -AUTOMAKE_OPTIONS = foreign 1.4 +AUTOMAKE_OPTIONS = foreign 1.5 + +$(PROJECT_INCLUDE): + @$(mkinstalldirs) $@ +$(PROJECT_INCLUDE)/rtems: + @$(mkinstalldirs) $@ + +$(PROJECT_INCLUDE)/%.h: %.h + $(INSTALL_DATA) $< $@ include_HEADERS = confdefs.h PREINSTALL_FILES = $(PROJECT_INCLUDE) \ $(include_HEADERS:%=$(PROJECT_INCLUDE)/%) -$(PROJECT_INCLUDE): - @$(mkinstalldirs) $@ -$(PROJECT_INCLUDE)/%.h: %.h - $(INSTALL_DATA) $< $@ +include_rtemsdir = $(includedir)/rtems -all-local: $(PREINSTALL_FILES) +include_rtems_HEADERS = rtems/config.h rtems/directives.h rtems/extension.h \ + rtems/fatal.h rtems/init.h rtems/io.h rtems/mptables.h rtems/sptables.h -SUBDIRS = rtems +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \ + $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/%) + +EXTRA_DIST = rtems/README + +rtems/sptables.h: $(top_builddir)/config.status $(top_srcdir)/sapi/include/rtems/sptables.h.in + cd $(top_builddir) && CONFIG_FILES=sapi/include/$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status + +all-local: $(PREINSTALL_FILES) -include $(top_srcdir)/../../../automake/subdirs.am include $(top_srcdir)/../../../automake/local.am diff --git a/c/src/exec/sapi/include/rtems/Makefile.am b/c/src/exec/sapi/include/rtems/Makefile.am deleted file mode 100644 index 4bc6fcdc97..0000000000 --- a/c/src/exec/sapi/include/rtems/Makefile.am +++ /dev/null @@ -1,24 +0,0 @@ -## -## $Id$ -## - -AUTOMAKE_OPTIONS = foreign 1.4 - -include_rtemsdir = $(includedir)/rtems - -include_rtems_HEADERS = config.h directives.h extension.h fatal.h init.h io.h mptables.h \ - sptables.h - -PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \ - $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%) - -$(PROJECT_INCLUDE)/rtems: - @$(mkinstalldirs) $@ -$(PROJECT_INCLUDE)/rtems/%.h: %.h - $(INSTALL_DATA) $< $@ - -EXTRA_DIST = README - -all-local: $(PREINSTALL_FILES) - -include $(top_srcdir)/../../../automake/local.am |