summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/macros
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-10-16 13:30:22 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-10-16 13:30:22 +0000
commit5be35eecb438fb7c18d979215cce927a2e863996 (patch)
treeeeb4bef07ac28ce7cfd74865ced48ac358dce01c /cpukit/posix/macros
parent5a6ad2a2e91adfd4e38f8865418ce7a5ada76ca3 (diff)
downloadrtems-5be35eecb438fb7c18d979215cce927a2e863996.tar.bz2
2001-10-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/sys/Makefile.am: Remove. * include/rtems/Makefile.am: Remove. * include/rtems/posix/Makefile.am: Remove. * include/Makefile.am: Handle subdirs. * inline/rtems/Makefile.am: Remove. * inline/rtems/posix/Makefile.am: Remove. * inline/Makefile.am: Handle subdirs. * macros/rtems/Makefile.am: Remove. * macros/rtems/posix/Makefile.am: Remove. * macros/Makefile.am: Handle subdirs. * configure.ac: Reflect changes above.
Diffstat (limited to 'cpukit/posix/macros')
-rw-r--r--cpukit/posix/macros/Makefile.am23
1 files changed, 20 insertions, 3 deletions
diff --git a/cpukit/posix/macros/Makefile.am b/cpukit/posix/macros/Makefile.am
index 32269fcdcd..0465f3b814 100644
--- a/cpukit/posix/macros/Makefile.am
+++ b/cpukit/posix/macros/Makefile.am
@@ -2,9 +2,26 @@
## $Id$
##
-AUTOMAKE_OPTIONS = foreign 1.4
+AUTOMAKE_OPTIONS = foreign 1.5
-SUBDIRS = rtems
+include_rtems_posixdir = $(includedir)/rtems/posix
+
+$(PROJECT_INCLUDE)/rtems/posix:
+ @$(mkinstalldirs) $@
+$(PROJECT_INCLUDE)/%: %
+ $(INSTALL_DATA) $< $@
+
+if MACROS
+noinst_HEADERS = rtems/posix/intr.inl
+include_rtems_posix_HEADERS = rtems/posix/cond.inl rtems/posix/key.inl \
+ rtems/posix/mqueue.inl rtems/posix/mutex.inl \
+ rtems/posix/pthread.inl rtems/posix/priority.inl \
+ rtems/posix/semaphore.inl rtems/posix/timer.inl
+
+PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems/posix \
+ $(include_rtems_posix_HEADERS:%=$(PROJECT_INCLUDE)/%)
+endif
+
+all-local: $(PREINSTALL_FILES)
-include $(top_srcdir)/../../../../automake/subdirs.am
include $(top_srcdir)/../../../../automake/local.am