summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-02-18 17:45:41 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-02-18 17:45:41 +0000
commit7597fbf00c4438ab04bf1edfa886ac1d1cfea759 (patch)
tree77b626f768b1067588515280c339f13d1b0b356e /cpukit/libcsupport
parentThis commit was generated by cvs2svn to compensate for changes in r16912, (diff)
downloadrtems-7597fbf00c4438ab04bf1edfa886ac1d1cfea759.tar.bz2
Revert Joel's 2008-01-31 screw up.
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r--cpukit/libcsupport/preinstall.am16
1 files changed, 15 insertions, 1 deletions
diff --git a/cpukit/libcsupport/preinstall.am b/cpukit/libcsupport/preinstall.am
index 80443d7011..cccde53bc0 100644
--- a/cpukit/libcsupport/preinstall.am
+++ b/cpukit/libcsupport/preinstall.am
@@ -8,10 +8,24 @@ endif
PREINSTALL_DIRS =
DISTCLEANFILES = $(PREINSTALL_DIRS)
+all-local: $(TMPINSTALL_FILES)
+
+TMPINSTALL_FILES =
+CLEANFILES = $(TMPINSTALL_FILES)
+
all-am: $(PREINSTALL_FILES)
PREINSTALL_FILES =
-CLEANFILES = $(PREINSTALL_FILES)
+CLEANFILES += $(PREINSTALL_FILES)
+
+$(PROJECT_LIB)/$(dirstamp):
+ @$(MKDIR_P) $(PROJECT_LIB)
+ @: > $(PROJECT_LIB)/$(dirstamp)
+PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp)
+
+$(PROJECT_LIB)/libcsupport.a: libcsupport.a $(PROJECT_LIB)/$(dirstamp)
+ $(INSTALL_DATA) $< $(PROJECT_LIB)/libcsupport.a
+TMPINSTALL_FILES += $(PROJECT_LIB)/libcsupport.a
$(PROJECT_INCLUDE)/rtems/$(dirstamp):
@$(MKDIR_P) $(PROJECT_INCLUDE)/rtems