summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/macros
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-10-16 13:31:30 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-10-16 13:31:30 +0000
commitfc56625171c5c96b3763a6717a33805b5335b9a6 (patch)
tree3dc7fa01e569d7190a28d6d7f26270bb5facc5ca /cpukit/rtems/macros
parent2001-10-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-fc56625171c5c96b3763a6717a33805b5335b9a6.tar.bz2
2001-10-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* 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.
Diffstat (limited to 'cpukit/rtems/macros')
-rw-r--r--cpukit/rtems/macros/Makefile.am24
1 files changed, 21 insertions, 3 deletions
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