summaryrefslogtreecommitdiffstats
path: root/cpukit/posix
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix')
-rw-r--r--cpukit/posix/Makefile.am11
-rw-r--r--cpukit/posix/include/Makefile.am31
-rw-r--r--cpukit/posix/inline/Makefile.am10
-rw-r--r--cpukit/posix/macros/Makefile.am10
4 files changed, 62 insertions, 0 deletions
diff --git a/cpukit/posix/Makefile.am b/cpukit/posix/Makefile.am
new file mode 100644
index 0000000000..344150db43
--- /dev/null
+++ b/cpukit/posix/Makefile.am
@@ -0,0 +1,11 @@
+#
+# $Id$
+#
+
+AUTOMAKE_OPTIONS = foreign 1.4
+ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
+
+SUBDIRS = include inline macros optman src
+
+include $(top_srcdir)/../../../../automake/subdirs.am
+include $(top_srcdir)/../../../../automake/local.am
diff --git a/cpukit/posix/include/Makefile.am b/cpukit/posix/include/Makefile.am
new file mode 100644
index 0000000000..e56df2781a
--- /dev/null
+++ b/cpukit/posix/include/Makefile.am
@@ -0,0 +1,31 @@
+#
+# $Id$
+#
+
+AUTOMAKE_OPTIONS = foreign 1.4
+
+# RTEMS unistd.h needs to be checked against newlib's and removed
+#noinst_HEADERS= devctl.h intr.h
+H_PIECES = pthread.h sched.h aio.h mqueue.h semaphore.h
+
+noinst_HEADERS = $(H_PIECES)
+
+TMPINSTALL_FILES = \
+$(PROJECT_INCLUDE) \
+$(noinst_HEADERS:%=$(PROJECT_INCLUDE)/%)
+
+$(PROJECT_INCLUDE):
+ @$(mkinstalldirs) $@
+$(PROJECT_INCLUDE)/%.h: %.h
+ $(INSTALL_DATA) $< $@
+
+all-am: $(TMPINSTALL_FILES)
+debug-am: $(TMPINSTALL_FILES)
+profile-am: $(TMPINSTALL_FILES)
+
+SUBDIRS = rtems sys
+
+EXTRA_DIST = intr.h devctl.h
+
+include $(top_srcdir)/../../../../automake/subdirs.am
+include $(top_srcdir)/../../../../automake/local.am
diff --git a/cpukit/posix/inline/Makefile.am b/cpukit/posix/inline/Makefile.am
new file mode 100644
index 0000000000..f0a5d52bfa
--- /dev/null
+++ b/cpukit/posix/inline/Makefile.am
@@ -0,0 +1,10 @@
+#
+# $Id$
+#
+
+AUTOMAKE_OPTIONS = foreign 1.4
+
+SUBDIRS = rtems
+
+include $(top_srcdir)/../../../../automake/subdirs.am
+include $(top_srcdir)/../../../../automake/local.am
diff --git a/cpukit/posix/macros/Makefile.am b/cpukit/posix/macros/Makefile.am
new file mode 100644
index 0000000000..f0a5d52bfa
--- /dev/null
+++ b/cpukit/posix/macros/Makefile.am
@@ -0,0 +1,10 @@
+#
+# $Id$
+#
+
+AUTOMAKE_OPTIONS = foreign 1.4
+
+SUBDIRS = rtems
+
+include $(top_srcdir)/../../../../automake/subdirs.am
+include $(top_srcdir)/../../../../automake/local.am