summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-11-26 15:31:12 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-11-26 15:31:12 +0000
commit6547cf03dc0506b192390a62db949e50dd85efcd (patch)
tree0a8b4f13dac6e9f94e47398ec1c38de9e63f80a7
parent2003-11-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-6547cf03dc0506b192390a62db949e50dd85efcd.tar.bz2
2003-11-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* acinclude.m4: New. * configure.ac: Don't use AUTOHEADER to generate cpuopts.h. Add local autoheader config.h. * aclocal/canonical-target-name.m4: Require AC_CANONICAL_HOST. * aclocal/enable-inlines.m4: Remove USE_MACROS (Unused).
-rw-r--r--cpukit/Makefile.am40
1 files changed, 24 insertions, 16 deletions
diff --git a/cpukit/Makefile.am b/cpukit/Makefile.am
index 9512ddda6d..1137705609 100644
--- a/cpukit/Makefile.am
+++ b/cpukit/Makefile.am
@@ -19,29 +19,37 @@ preinstall-stamp:
touch preinstall-stamp
CLEANFILES = preinstall-stamp
-$(PROJECT_INCLUDE)/%.h: include/%.h
- $(INSTALL_DATA) $< $@
-
-$(PROJECT_INCLUDE):
- @$(mkinstalldirs) $@
-
-$(PROJECT_INCLUDE)/rtems:
- @$(mkinstalldirs) $@
-
-PREINSTALL_FILES = $(PROJECT_INCLUDE)
-
include_rtemsdir = $(includedir)/rtems
include_rtems_HEADERS = include/rtems/bspIo.h include/rtems/userenv.h \
- include/rtems/fs.h include/rtems/stdint.h
-
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \
- $(include_rtems_HEADERS:include/%.h=$(PROJECT_INCLUDE)/%.h)
+ include/rtems/fs.h include/rtems/stdint.h
-all-local: $(PREINSTALL_FILES)
+BUILT_SOURCES = $(PREINSTALL_FILES)
AUTOMAKE_FILES = automake/compile.am automake/lib.am automake/local.am \
automake/multilib.am automake/subdirs.am
EXTRA_DIST = $(AUTOMAKE_FILES)
+PREINSTALL_FILES =
+
+$(PROJECT_INCLUDE)/rtems:
+ @$(mkinstalldirs) $(PROJECT_INCLUDE)/rtems
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems
+
+$(PROJECT_INCLUDE)/rtems/bspIo.h: include/rtems/bspIo.h
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/bspIo.h
+
+$(PROJECT_INCLUDE)/rtems/userenv.h: include/rtems/userenv.h
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/userenv.h
+
+$(PROJECT_INCLUDE)/rtems/fs.h: include/rtems/fs.h
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/fs.h
+
+$(PROJECT_INCLUDE)/rtems/stdint.h: include/rtems/stdint.h
+ $(INSTALL_DATA) $< $@
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/stdint.h
+
include $(top_srcdir)/automake/subdirs.am
include $(top_srcdir)/automake/local.am