summaryrefslogtreecommitdiffstats
path: root/c/src/lib/include/rtems
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/include/rtems')
-rw-r--r--c/src/lib/include/rtems/.cvsignore2
-rw-r--r--c/src/lib/include/rtems/Makefile.am21
-rw-r--r--c/src/lib/include/rtems/libio_.h4
3 files changed, 25 insertions, 2 deletions
diff --git a/c/src/lib/include/rtems/.cvsignore b/c/src/lib/include/rtems/.cvsignore
new file mode 100644
index 0000000000..282522db03
--- /dev/null
+++ b/c/src/lib/include/rtems/.cvsignore
@@ -0,0 +1,2 @@
+Makefile
+Makefile.in
diff --git a/c/src/lib/include/rtems/Makefile.am b/c/src/lib/include/rtems/Makefile.am
new file mode 100644
index 0000000000..1b54a93c86
--- /dev/null
+++ b/c/src/lib/include/rtems/Makefile.am
@@ -0,0 +1,21 @@
+##
+## $Id$
+##
+
+AUTOMAKE_OPTIONS = foreign 1.4
+
+H_FILES = assoc.h error.h libcsupport.h libio.h libio_.h
+
+noinst_HEADERS = $(H_FILES)
+
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \
+ $(noinst_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%)
+
+$(PROJECT_INCLUDE)/rtems:
+ @$(mkinstalldirs) $@
+$(PROJECT_INCLUDE)/rtems/%.h: %.h
+ $(INSTALL_DATA) $< $@
+
+all-local: $(PREINSTALL_FILES)
+
+include $(top_srcdir)/../../../automake/local.am
diff --git a/c/src/lib/include/rtems/libio_.h b/c/src/lib/include/rtems/libio_.h
index e840c74a1b..008c7c3fb7 100644
--- a/c/src/lib/include/rtems/libio_.h
+++ b/c/src/lib/include/rtems/libio_.h
@@ -11,8 +11,8 @@
* $Id$
*/
-#ifndef __LIBIO__h
-#define __LIBIO__h
+#ifndef __RTEMS_LIBIO_INTERNAL__h
+#define __RTEMS_LIBIO_INTERNAL__h
#ifdef __cplusplus
extern "C" {