summaryrefslogtreecommitdiffstats
path: root/cpukit/include
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/include')
-rw-r--r--cpukit/include/Makefile.am27
-rw-r--r--cpukit/include/rtems/libio_.h3
2 files changed, 27 insertions, 3 deletions
diff --git a/cpukit/include/Makefile.am b/cpukit/include/Makefile.am
new file mode 100644
index 0000000000..e994ec0134
--- /dev/null
+++ b/cpukit/include/Makefile.am
@@ -0,0 +1,27 @@
+##
+## $Id$
+##
+
+AUTOMAKE_OPTIONS = foreign 1.5
+
+$(PROJECT_INCLUDE)/%.h: %.h
+ $(INSTALL_DATA) $< $@
+
+$(PROJECT_INCLUDE):
+ @$(mkinstalldirs) $@
+
+PREINSTALL_FILES = $(PROJECT_INCLUDE) \
+ $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
+
+include_rtemsdir = $(includedir)/rtems
+include_rtems_HEADERS = rtems/bspIo.h rtems/libio_.h
+
+$(PROJECT_INCLUDE)/rtems:
+ @$(mkinstalldirs) $@
+
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \
+ $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/%)
+
+all-local: $(PREINSTALL_FILES)
+
+include $(top_srcdir)/../../../automake/local.am
diff --git a/cpukit/include/rtems/libio_.h b/cpukit/include/rtems/libio_.h
index 6a4943be75..f0721dafb6 100644
--- a/cpukit/include/rtems/libio_.h
+++ b/cpukit/include/rtems/libio_.h
@@ -308,6 +308,3 @@ int init_fs_mount_table();
#endif
/* end of include file */
-
-
-