summaryrefslogtreecommitdiffstats
path: root/cpukit/include
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-01-04 17:57:28 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-01-04 17:57:28 +0000
commit8217c40656e00102bb2f96c4b36edd47c0aadcfc (patch)
treead2e9a485187d3805489eac0735b88d8b219e25d /cpukit/include
parent2001-12-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-8217c40656e00102bb2f96c4b36edd47c0aadcfc.tar.bz2
2001-12-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Use AS_IF instead of if/then/else. Add AC_DEFINE_UNQUOTED(RTEMS_UNIX) for RTEMS_CPU==unix. Add AC_DEFINE_UNQUOTED(RTEMS_UNIXLIB) for RTEMS_CPU==unix. Add include/Makefile to CONFIG_FILES. Add AC_ENABLE_MULITLIB. Remove wrapup/rtems, wrapup/itron, wrapup/posix. Remove */optman/Makefile from CONFIG_FILES. * Makefile.am: Add include to SUBDIRS. * rtems/Makefile.am: Remove optman from SUBDIRS. * sapi/Makefile.am: Remove optman from SUBDIRS. * include/Makefile.am: New file. * include/rtems/bspIo.h: Relocated from lib/include. * include/rtems/libio_.h: Relocated from lib/include.
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 */
-
-
-