summaryrefslogtreecommitdiffstats
path: root/cpukit/include/Makefile.am
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/Makefile.am
parent46ea78a08cb4a29a847e90e487ae1c3e5ba8ae96 (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/Makefile.am')
-rw-r--r--cpukit/include/Makefile.am27
1 files changed, 27 insertions, 0 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