summaryrefslogtreecommitdiffstats
path: root/c/src/librtems++
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-08-15 13:49:03 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-08-15 13:49:03 +0000
commit5c5c238fa1c2c46e2686b1ac6adf470f1a9e3b9b (patch)
treeefb9422f90d6b4cd6150b3064177f0a5680c0664 /c/src/librtems++
parentRegenerate. (diff)
downloadrtems-5c5c238fa1c2c46e2686b1ac6adf470f1a9e3b9b.tar.bz2
Add preinstall.am.
Diffstat (limited to 'c/src/librtems++')
-rw-r--r--c/src/librtems++/Makefile.am57
1 files changed, 3 insertions, 54 deletions
diff --git a/c/src/librtems++/Makefile.am b/c/src/librtems++/Makefile.am
index 34fbff8523..d61d7b0e98 100644
--- a/c/src/librtems++/Makefile.am
+++ b/c/src/librtems++/Makefile.am
@@ -25,60 +25,9 @@ endif
all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
-PREINSTALL_DIRS =
-PREINSTALL_FILES =
-TMPINSTALL_FILES =
+CLEANFILES =
+DISTCLEANFILES =
-$(PROJECT_LIB)/$(dirstamp):
- @$(mkdir_p) $(PROJECT_LIB)
- @: > $(PROJECT_LIB)/$(dirstamp)
-TMPINSTALL_FILES += $(PROJECT_LIB)/$(dirstamp)
-
-if HAS_CXX
-$(PROJECT_INCLUDE)/rtems++/$(dirstamp):
- @$(mkdir_p) $(PROJECT_INCLUDE)/rtems++
- @: > $(PROJECT_INCLUDE)/rtems++/$(dirstamp)
-PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems++/$(dirstamp)
-
-$(PROJECT_INCLUDE)/rtems++/rtemsEvent.h: include/rtems++/rtemsEvent.h $(PROJECT_INCLUDE)/rtems++/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems++/rtemsEvent.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems++/rtemsEvent.h
-
-$(PROJECT_INCLUDE)/rtems++/rtemsInterrupt.h: include/rtems++/rtemsInterrupt.h $(PROJECT_INCLUDE)/rtems++/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems++/rtemsInterrupt.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems++/rtemsInterrupt.h
-
-$(PROJECT_INCLUDE)/rtems++/rtemsMessageQueue.h: include/rtems++/rtemsMessageQueue.h $(PROJECT_INCLUDE)/rtems++/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems++/rtemsMessageQueue.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems++/rtemsMessageQueue.h
-
-$(PROJECT_INCLUDE)/rtems++/rtemsSemaphore.h: include/rtems++/rtemsSemaphore.h $(PROJECT_INCLUDE)/rtems++/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems++/rtemsSemaphore.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems++/rtemsSemaphore.h
-
-$(PROJECT_INCLUDE)/rtems++/rtemsStatusCode.h: include/rtems++/rtemsStatusCode.h $(PROJECT_INCLUDE)/rtems++/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems++/rtemsStatusCode.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems++/rtemsStatusCode.h
-
-$(PROJECT_INCLUDE)/rtems++/rtemsTask.h: include/rtems++/rtemsTask.h $(PROJECT_INCLUDE)/rtems++/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems++/rtemsTask.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems++/rtemsTask.h
-
-$(PROJECT_INCLUDE)/rtems++/rtemsTaskMode.h: include/rtems++/rtemsTaskMode.h $(PROJECT_INCLUDE)/rtems++/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems++/rtemsTaskMode.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems++/rtemsTaskMode.h
-
-$(PROJECT_INCLUDE)/rtems++/rtemsTimer.h: include/rtems++/rtemsTimer.h $(PROJECT_INCLUDE)/rtems++/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems++/rtemsTimer.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems++/rtemsTimer.h
-
-$(PROJECT_LIB)/librtems++.a: librtems++.a $(PROJECT_LIB)/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_LIB)/librtems++.a
-TMPINSTALL_FILES += $(PROJECT_LIB)/librtems++.a
-endif
-
-CLEANFILES = $(PREINSTALL_FILES)
-DISTCLEANFILES = $(PREINSTALL_DIRS)
-CLEANFILES += $(TMPINSTALL_FILES)
+include $(srcdir)/preinstall.am
include $(top_srcdir)/../automake/local.am