From 5be35eecb438fb7c18d979215cce927a2e863996 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 16 Oct 2001 13:30:22 +0000 Subject: 2001-10-16 Ralf Corsepius * 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. --- cpukit/posix/macros/Makefile.am | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) (limited to 'cpukit/posix/macros/Makefile.am') 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 -- cgit v1.2.3